Skip to content

Bump mongoengine from 0.22.1 to 0.24.1#122

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/mongoengine-0.24.1
Closed

Bump mongoengine from 0.22.1 to 0.24.1#122
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/mongoengine-0.24.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 23, 2022

Bumps mongoengine from 0.22.1 to 0.24.1.

Release notes

Sourced from mongoengine's releases.

v0.24.1

What's Changed

New Contributors

v0.24.0

No release notes provided.

v0.23.1

No release notes provided.

v0.23.0

see changelog

Changelog

Sourced from mongoengine's changelog.

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

  • Introduce a base exception class for MongoEngine exceptions (MongoEngineException). Note that this doesn't concern the pymongo errors #2515

  • Fix error when using precision=0 with DecimalField #2535

  • Add support for regex and whole word text search query #2568

  • Add support for update aggregation pipeline #2578

  • BREAKING CHANGE: Updates to support pymongo 4.0. Where possible deprecated functionality has been migrated, but additional care should be taken when migrating to pymongo 4.0 as existing code may have been using deprecated features which have now been removed #2614.

    For the pymongo migration guide see: https://pymongo.readthedocs.io/en/stable/migrate-to-pymongo4.html.

    In addition to the changes in the migration guide, the following is a high level overview of the changes made to MongoEngine when using pymongo 4.0:

    • limited support of geohaystack indexes has been removed
    • QuerySet.map_reduce has been migrated from Collection.map_reduce and Collection.inline_map_reduce to use db.command({mapReduce: ..., ...}) and support between the two may need additional verification.
    • UUIDs are encoded with the pythonLegacy encoding by default instead of the newer and cross platform standard encoding. Existing UUIDs will need to be migrated before changing the encoding, and this should be done explicitly by the user rather than switching to a new default by MongoEngine. This default will change at a later date, but to allow specifying and then migrating to the new format a default json_options has been provided.
    • Queryset.count has been using Collection.count_documents and transparently falling back to Collection.count when using features that are not supported by Collection.count_documents. Collection.count has been removed and no automatic fallback is possible. The migration guide documents the extended functionality which is no longer supported. Rewrite the unsupported queries or fetch the whole result set and perform the count locally.
    • Pymongo 4 removed db.authenticate(), on which we were relying for authenticating with username/password. The migration involved switching to providing credentials to MongoClient BUT in case the authSource isn't provided, db.authenticate used to default to authSource=current-database and MongoClient defaults to authSource="admin". Long story short,

... (truncated)

Commits
  • 2cab8a0 Merge pull request #2637 from bagerard/prepare_0_24_1
  • 968625c update pc hooks
  • 356f507 prepare release 0.24.1
  • dd17d73 Merge pull request #2633 from arthurio/master
  • 669f3ba Remove cast to bool
  • dbc31f0 Merge pull request #2634 from bagerard/elaborate_authentication_breaking_chan...
  • be0c2ff elaborate_authentication_breaking_change_authsource
  • bc981bd Don't use deprecated property for emptiness check
  • 23ab63c Merge pull request #2630 from terencehonles/allow-pymongo-4.x
  • cd7b828 update dependency specifier to allow pymongo 4.x
  • 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 23, 2022
@dependabot dependabot bot requested a review from a team March 23, 2022 19:23
@codecov
Copy link

codecov bot commented Mar 23, 2022

Codecov Report

Merging #122 (6d9fbf2) into main (09d60e1) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #122   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines          276       276           
  Branches        48        48           
=========================================
  Hits           276       276           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 09d60e1...6d9fbf2. Read the comment docs.

Bumps [mongoengine](https://github.com/MongoEngine/mongoengine) from 0.22.1 to 0.24.1.
- [Release notes](https://github.com/MongoEngine/mongoengine/releases)
- [Changelog](https://github.com/MongoEngine/mongoengine/blob/master/docs/changelog.rst)
- [Commits](MongoEngine/mongoengine@v0.22.1...v0.24.1)

---
updated-dependencies:
- dependency-name: mongoengine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/mongoengine-0.24.1 branch from 7aba9c5 to 6d9fbf2 Compare April 1, 2022 00:21
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 20, 2022

Superseded by #131.

@dependabot dependabot bot closed this Jul 20, 2022
@dependabot dependabot bot deleted the dependabot/pip/mongoengine-0.24.1 branch July 20, 2022 15:04
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