Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mongoengine requirement from <0.27.0,>=0.16.3 to >=0.16.3,<0.28.0 #52

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 27, 2023

Updates the requirements on mongoengine to permit the latest version.

Changelog

Sourced from mongoengine's changelog.

Changes in 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. Typically to support mock mongo libraries like mongomock, montydb, mongita #2729
  • BREAKING CHANGE: connecting MongoEngine with mongomock should now use the new mongo_client_class For more info, check https://docs.mongoengine.org/guide/mongomock.html
  • 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.
  • Added meta auto_create_index_on_save so you can enable index creation on :meth:~mongoengine.Document.save() (as it was < 0.26.0).
  • 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). 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 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

  • Support MONGODB-AWS authentication mechanism (with authmechanismproperties) #2507
  • Bug Fix - distinct query doesn't obey the no_dereference(). #2663
  • Add tests against Mongo 5.0 in pipeline
  • Drop support for Python 3.6 (EOL)
  • Bug fix support for PyMongo>=4 to fix "pymongo.errors.InvalidOperation: Cannot use MongoClient after close" errors. #2627

Changes in 0.24.2

  • Bug fix regarding uuidRepresentation that was case sensitive #2650

Changes in 0.24.1

  • Allow pymongo<5.0 to be pulled
  • Don't use deprecated property for emptiness check in queryset base #2633

Changes in 0.24.0

  • EnumField improvements: now choices limits the values of an enum to allow
  • Fix bug that prevented instance queryset from using custom queryset_class #2589
  • Fix deepcopy of EmbeddedDocument #2202

... (truncated)

Commits
  • ac8ba50 Merge pull request #2740 from bagerard/prepare_0_27
  • aaf0a53 update version
  • ceb7415 update changelog for 0.27.0
  • 4c55088 Merge pull request #2739 from ShaneHarvey/uuidRepr-deprecation-warning
  • 9b879d1 Update uuidRepresentation warnings with "unspecified" as the future default
  • d0e7564 Merge pull request #2738 from bagerard/Document_string_operator_on_ListField
  • 6a7a279 Document_string_operator_on_ListField
  • 22fa33e Merge pull request #2737 from bagerard/idoshr-fix_none_queryset_run_on_all_co...
  • 24136df Fix none() no-match condition for aggregation + update changelog
  • 0767033 Merge branch 'fix_none_queryset_run_on_all_collection' of github.com:idoshr/m...
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [mongoengine](https://github.com/MongoEngine/mongoengine) to permit the latest version.
- [Release notes](https://github.com/MongoEngine/mongoengine/releases)
- [Changelog](https://github.com/MongoEngine/mongoengine/blob/master/docs/changelog.rst)
- [Commits](MongoEngine/mongoengine@v0.16.3...v0.27.0)

---
updated-dependencies:
- dependency-name: mongoengine
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants