Skip to content

Bump mongoengine from 0.24.1 to 0.26.0#46

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/mongoengine-0.26.0
Closed

Bump mongoengine from 0.24.1 to 0.26.0#46
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/mongoengine-0.26.0

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jan 23, 2023

Bumps mongoengine from 0.24.1 to 0.26.0.

Changelog

Sourced from mongoengine's changelog.

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
Commits
  • fcb7b60 Merge pull request #2727 from bagerard/prepare_0_26_0_release
  • 4137ab6 prepare_0_26_0_release
  • f3c944a Merge pull request #2724 from bagerard/update_operator_name_field
  • 41689b8 Allow .update(set__type='foo') to work without raising an error in case 'type...
  • d9dd375 Merge branch 'master' of github.com:bunnyxt/mongoengine into update_operator_...
  • 53a6693 update actions/checkout action
  • c4ef4d4 Merge pull request #2723 from bagerard/clone_null_check_oid
  • e81a106 improve tests
  • d0a8f93 Merge branch 'master' of github.com:prabhupad26/mongoengine into clone_null_c...
  • d783f32 Merge pull request #2722 from bagerard/clone_list_enum_fields
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Loading
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants