From e52603b4a7ab540aaa74e3fafcbe432d1c15fb70 Mon Sep 17 00:00:00 2001 From: Stefan Wojcik Date: Mon, 8 May 2017 00:12:26 -0400 Subject: [PATCH] ver bump to v0.14.0 + changelog/upgrade docs update --- docs/changelog.rst | 6 ++++++ docs/upgrade.rst | 12 ++++++++++++ mongoengine/__init__.py | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 46d47b97..b50b1b32 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -6,6 +6,12 @@ Development =========== - (Fill this out as you fix issues and develop your features). +Changes in 0.14.0 +================= +- BREAKING CHANGE: Removed the `coerce_types` param from `QuerySet.as_pymongo`. +- POTENTIAL BREAKING CHANGE: Made EmbeddedDocument not hashable by default #1528 +- Improved code quality #1531, #1540, #1541, #1547 + Changes in 0.13.0 ================= - POTENTIAL BREAKING CHANGE: Added Unicode support to the `EmailField`, see diff --git a/docs/upgrade.rst b/docs/upgrade.rst index d612df88..a433db7d 100644 --- a/docs/upgrade.rst +++ b/docs/upgrade.rst @@ -6,6 +6,18 @@ Development *********** (Fill this out whenever you introduce breaking changes to MongoEngine) +0.14.0 +****** +This release includes a few bug fixes and another significant code cleanup. +The most important change is that `QuerySet.as_pymongo` no longer supports a +`coerce_types` mode. If you used it in the past, a) please let us know of your +use case, b) you'll need to override `as_pymongo` to get the desired outcome. + +This release also makes the EmbeddedDocument not hashable by default. If you +use embedded documents in sets or dictionaries, you might have to override +`__hash__` and implement a hashing logic specific to your use case. See #1528 +for the reason behind this change. + 0.13.0 ****** This release adds Unicode support to the `EmailField` and changes its diff --git a/mongoengine/__init__.py b/mongoengine/__init__.py index 840c90d7..b41e87e7 100644 --- a/mongoengine/__init__.py +++ b/mongoengine/__init__.py @@ -23,7 +23,7 @@ __all__ = (list(document.__all__) + list(fields.__all__) + list(signals.__all__) + list(errors.__all__)) -VERSION = (0, 13, 0) +VERSION = (0, 14, 0) def get_version():