forked from pool/python-mongoengine
- update to 0.28.2:
* Fix typing import incompatible with Pymongo 3.7
* Fix bug related with recent updates to no_dereference context
manager #2799
* Fix for uuidRepresentation not read when provided in URI #2741
* Add option to user array_filters
* Fix combination of __raw__ and mongoengine syntax #2773
* Add tests against MongoDB 6.0 and MongoDB 7.0 in the pipeline
* Fix validate() not being called when inheritance is used in
EmbeddedDocument and validate is overriden #2784
* Add support for readPreferenceTags in connection parameters
* Use estimated_documents_count OR documents_count when count
is called, based on the query #2529
* Fix no_dereference context manager which wasn't turning off
auto-dereferencing correctly in some cases #2788
* BREAKING CHANGE: no_dereference context manager no longer
returns the class in __enter__ #2788
as it was useless and making it look like it was returning
a different class although it was the same.
* Added __raw__ to :meth:`~mongoengine.Queryset.order_by()` to
allow to provide raw pymongo 'sort' argument and get around
some of the limitations #2783
* Add `text_score` argument on mongoengine.Document.search_text()
to allow text_score computation to be turned off
as it interfere with natural returned documents order #2759
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mongoengine?expand=0&rev=15
This commit is contained in:
@@ -1,3 +1,32 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 19 07:04:04 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.28.2:
|
||||
* Fix typing import incompatible with Pymongo 3.7
|
||||
* Fix bug related with recent updates to no_dereference context
|
||||
manager #2799
|
||||
* Fix for uuidRepresentation not read when provided in URI #2741
|
||||
* Add option to user array_filters
|
||||
* Fix combination of __raw__ and mongoengine syntax #2773
|
||||
* Add tests against MongoDB 6.0 and MongoDB 7.0 in the pipeline
|
||||
* Fix validate() not being called when inheritance is used in
|
||||
EmbeddedDocument and validate is overriden #2784
|
||||
* Add support for readPreferenceTags in connection parameters
|
||||
* Use estimated_documents_count OR documents_count when count
|
||||
is called, based on the query #2529
|
||||
* Fix no_dereference context manager which wasn't turning off
|
||||
auto-dereferencing correctly in some cases #2788
|
||||
* BREAKING CHANGE: no_dereference context manager no longer
|
||||
returns the class in __enter__ #2788
|
||||
as it was useless and making it look like it was returning
|
||||
a different class although it was the same.
|
||||
* Added __raw__ to :meth:`~mongoengine.Queryset.order_by()` to
|
||||
allow to provide raw pymongo 'sort' argument and get around
|
||||
some of the limitations #2783
|
||||
* Add `text_score` argument on mongoengine.Document.search_text()
|
||||
to allow text_score computation to be turned off
|
||||
as it interfere with natural returned documents order #2759
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 26 19:10:01 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-mongoengine
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%global skip_python2 1
|
||||
Name: python-mongoengine
|
||||
Version: 0.27.0
|
||||
Version: 0.28.2
|
||||
Release: 0
|
||||
Summary: Python Object-Document Mapper for working with MongoDB
|
||||
License: MIT
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:31f8f58daa5efc7c87582d5cc7aea7e6343123ab95471a9853aa60286cf77677
|
||||
size 328925
|
||||
3
v0.28.2.tar.gz
Normal file
3
v0.28.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:066724e1570df75aa540ad399191103aa6d0be8013d735f5f17326b245b627ac
|
||||
size 332841
|
||||
Reference in New Issue
Block a user