diff --git a/python-mongoengine.changes b/python-mongoengine.changes index e311a78..c41acf2 100644 --- a/python-mongoengine.changes +++ b/python-mongoengine.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Sun Mar 26 19:10:01 UTC 2023 - Dirk Müller + +- update to 0.27.0: + * Update uuidRepresentation warnings with "unspecified" as the + future default (instead of 'standard' previously advertised) + #2739 + * Added `mongo_client_class` optional parameter to connect() to + allow to use an alternative mongo client than + pymongo.MongoClient. + * Fix DictField that always gets marked as changed #2606 + * fix for Queryset.none() that has no effect on + update/aggregate / first #2669 + * 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 will still be created + on the fly, during the first usage of the collection + (query, insert, etc), they will just not be re-created + whenever .save() is called. + * BREAKING CHANGE: remove deprecated method ``ensure_index`` + (replaced by ``create_index`` long time ago). + * Addition of Decimal128Field: + :class:`~mongoengine.fields.Decimal128Field` for accurate + representation of Decimals (much better than the legacy field + DecimalField). + * BREAKING CHANGE: When using ListField(EnumField) or + DictField(EnumField), the values weren't always cast into the + Enum + * BREAKING CHANGE (bugfix) Querying ObjectIdField or + ComplexDateTimeField with None no longer raise a + ValidationError + * Allow updating a field that has an operator name e.g. "type" + with .update(set__type="foo"). It was raising an error + previously. #2595 + ------------------------------------------------------------------- Wed Jan 4 19:57:30 UTC 2023 - Dirk Müller diff --git a/python-mongoengine.spec b/python-mongoengine.spec index 531e84c..d687ac1 100644 --- a/python-mongoengine.spec +++ b/python-mongoengine.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %global skip_python2 1 Name: python-mongoengine -Version: 0.25.0 +Version: 0.27.0 Release: 0 Summary: Python Object-Document Mapper for working with MongoDB License: MIT diff --git a/v0.25.0.tar.gz b/v0.25.0.tar.gz deleted file mode 100644 index 513b33d..0000000 --- a/v0.25.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9762ef638e1e39d436df3093d82241b7f819364e2dfbf018e814185009e9c8b5 -size 329494 diff --git a/v0.27.0.tar.gz b/v0.27.0.tar.gz new file mode 100644 index 0000000..2103910 --- /dev/null +++ b/v0.27.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31f8f58daa5efc7c87582d5cc7aea7e6343123ab95471a9853aa60286cf77677 +size 328925