17
0

- 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mongoengine?expand=0&rev=13
This commit is contained in:
2023-03-26 19:11:32 +00:00
committed by Git OBS Bridge
parent 7954f504e6
commit c605ad5fd3
4 changed files with 43 additions and 4 deletions

View File

@@ -1,3 +1,42 @@
-------------------------------------------------------------------
Sun Mar 26 19:10:01 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>

View File

@@ -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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9762ef638e1e39d436df3093d82241b7f819364e2dfbf018e814185009e9c8b5
size 329494

3
v0.27.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:31f8f58daa5efc7c87582d5cc7aea7e6343123ab95471a9853aa60286cf77677
size 328925