From 3d2fbcf8fb78add9fd25c635c989499a64a7c86afc30d39a06a77286f7d27f7d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 19 Mar 2024 07:06:16 +0000 Subject: [PATCH] - 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 --- python-mongoengine.changes | 29 +++++++++++++++++++++++++++++ python-mongoengine.spec | 4 ++-- v0.27.0.tar.gz | 3 --- v0.28.2.tar.gz | 3 +++ 4 files changed, 34 insertions(+), 5 deletions(-) delete mode 100644 v0.27.0.tar.gz create mode 100644 v0.28.2.tar.gz diff --git a/python-mongoengine.changes b/python-mongoengine.changes index c41acf2..2e862dc 100644 --- a/python-mongoengine.changes +++ b/python-mongoengine.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Tue Mar 19 07:04:04 UTC 2024 - Dirk Müller + +- 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 diff --git a/python-mongoengine.spec b/python-mongoengine.spec index d687ac1..69bfaf2 100644 --- a/python-mongoengine.spec +++ b/python-mongoengine.spec @@ -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 diff --git a/v0.27.0.tar.gz b/v0.27.0.tar.gz deleted file mode 100644 index 2103910..0000000 --- a/v0.27.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:31f8f58daa5efc7c87582d5cc7aea7e6343123ab95471a9853aa60286cf77677 -size 328925 diff --git a/v0.28.2.tar.gz b/v0.28.2.tar.gz new file mode 100644 index 0000000..a43a0a7 --- /dev/null +++ b/v0.28.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:066724e1570df75aa540ad399191103aa6d0be8013d735f5f17326b245b627ac +size 332841