Tornium / tornium

A website and Discord bot to assist with the playing of Torn City developed with love <3
https://tornium.com
12 stars 7 forks source link

Update mongoengine requirement from ~=0.26.0 to ~=0.27.0 #132

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

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)
dssecret commented 1 year ago

@dependabot ignore this dependency

dependabot[bot] commented 1 year ago

OK, I won't notify you about mongoengine again, unless you re-open this PR.