From 4137ab6dd565a36d76047e48aba9cf0e8c801bff Mon Sep 17 00:00:00 2001 From: Bastien Gerard Date: Fri, 20 Jan 2023 23:14:27 +0100 Subject: [PATCH] prepare_0_26_0_release --- docs/changelog.rst | 5 ++++- mongoengine/__init__.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index d1c962216..ad96f3e03 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -7,6 +7,9 @@ Changelog Development =========== - (Fill this out as you fix issues and develop your features). + +Changes in 0.26.0 +================= - BREAKING CHANGE: Improved the performance of :meth:`~mongoengine.Document.save()` by removing the call to :meth:`~mongoengine.Document.ensure_indexes` unless ``meta['auto_create_index_on_save']`` is set to True. With the default settings, Document indexes @@ -19,7 +22,7 @@ Development Although it could work to switch an existing DecimalField to Decimal128Field without applying a migration script, it is not recommended to do so (DecimalField uses float/str to store the value, Decimal128Field uses Decimal128). - BREAKING CHANGE: When using ListField(EnumField) or DictField(EnumField), the values weren't always cast into the Enum (#2531) -- BREAKING CHANGE (bugfix) Querying ObjectIdField or ComplexDateTimeField with None will no longer raise a ValidationError (#2681) +- BREAKING CHANGE (bugfix) Querying ObjectIdField or ComplexDateTimeField with None no longer raise a ValidationError (#2681) - Allow updating a field that has an operator name e.g. "type" with .update(set__type="foo"). It was raising an error previously. #2595 Changes in 0.25.0 diff --git a/mongoengine/__init__.py b/mongoengine/__init__.py index 08192b80a..8d6cf7705 100644 --- a/mongoengine/__init__.py +++ b/mongoengine/__init__.py @@ -29,7 +29,7 @@ ) -VERSION = (0, 25, 0) +VERSION = (0, 26, 0) def get_version():