From 888a6da4a58b0b0e6d62ba626af18e0993102f57 Mon Sep 17 00:00:00 2001 From: Stefan Wojcik Date: Fri, 7 Apr 2017 10:18:39 -0400 Subject: [PATCH] update the changelog and bump the version to v0.12.0 --- docs/changelog.rst | 12 +++++++++++- docs/upgrade.rst | 3 +++ mongoengine/__init__.py | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 0da97e90..8764b8e9 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -5,11 +5,21 @@ Changelog Development =========== - (Fill this out as you fix issues and develop your features). -- Fixed using sets in field choices #1481 + +Changes in 0.12.0 +================= - POTENTIAL BREAKING CHANGE: Fixed limit/skip/hint/batch_size chaining #1476 - POTENTIAL BREAKING CHANGE: Changed a public `QuerySet.clone_into` method to a private `QuerySet._clone_into` #1476 - Fixed connecting to a replica set with PyMongo 2.x #1436 +- Fixed using sets in field choices #1481 +- Fixed deleting items from a `ListField` #1318 - Fixed an obscure error message when filtering by `field__in=non_iterable`. #1237 +- Fixed behavior of a `dec` update operator #1450 +- Added a `rename` update operator #1454 +- Added validation for the `db_field` parameter #1448 +- Fixed the error message displayed when querying an `EmbeddedDocumentField` by an invalid value #1440 +- Fixed the error message displayed when validating unicode URLs #1486 +- Raise an error when trying to save an abstract document #1449 Changes in 0.11.0 ================= diff --git a/docs/upgrade.rst b/docs/upgrade.rst index 17b1c4ac..a9a547e4 100644 --- a/docs/upgrade.rst +++ b/docs/upgrade.rst @@ -6,6 +6,9 @@ Development *********** (Fill this out whenever you introduce breaking changes to MongoEngine) + +0.12.0 +****** This release includes various fixes for the `BaseQuerySet` methods and how they are chained together. Since version 0.10.1 applying limit/skip/hint/batch_size to an already-existing queryset wouldn't modify the underlying PyMongo cursor. diff --git a/mongoengine/__init__.py b/mongoengine/__init__.py index f8969592..0feb49e0 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, 11, 0) +VERSION = (0, 12, 0) def get_version():