Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Apr 15, 2025

Bumps pymongo from 4.11.3 to 4.12.0.

Release notes

Sourced from pymongo's releases.

PyMongo 4.12.0

Community notes: https://www.mongodb.com/community/forums/t/pymongo-4-12-released/318187

Changelog

Sourced from pymongo's changelog.

Changes in Version 4.12.0 (2025/04/08)

.. warning:: Driver support for MongoDB 4.0 reached end of life in April 2025. PyMongo 4.12 will be the last release to support MongoDB 4.0.

PyMongo 4.12 brings a number of changes including:

  • Support for configuring DEK cache lifetime via the key_expiration_ms argument to :class:~pymongo.encryption_options.AutoEncryptionOpts.
  • Support for $lookup in CSFLE and QE supported on MongoDB 8.1+.
  • pymongocrypt>=1.13 is now required for :ref:In-Use Encryption support.
  • Added :meth:gridfs.asynchronous.grid_file.AsyncGridFSBucket.rename_by_name and :meth:gridfs.grid_file.GridFSBucket.rename_by_name for more performant renaming of a file with multiple revisions.
  • Added :meth:gridfs.asynchronous.grid_file.AsyncGridFSBucket.delete_by_name and :meth:gridfs.grid_file.GridFSBucket.delete_by_name for more performant deletion of a file with multiple revisions.
  • AsyncMongoClient no longer performs DNS resolution for "mongodb+srv://" connection strings on creation. To avoid blocking the asyncio loop, the resolution is now deferred until the client is first connected.
  • Added index hinting support to the :meth:~pymongo.asynchronous.collection.AsyncCollection.distinct and :meth:~pymongo.collection.Collection.distinct commands.
  • Deprecated the hedge parameter for :class:~pymongo.read_preferences.PrimaryPreferred, :class:~pymongo.read_preferences.Secondary, :class:~pymongo.read_preferences.SecondaryPreferred, :class:~pymongo.read_preferences.Nearest. Support for hedge will be removed in PyMongo 5.0.
  • Removed PyOpenSSL support from the asynchronous API due to limitations of the CPython asyncio.Protocol SSL implementation.
  • Allow valid SRV hostnames with less than 3 parts.

Issues Resolved ...............

See the PyMongo 4.12 release notes in JIRA_ for the list of resolved issues in this release.

.. _PyMongo 4.12 release notes in JIRA: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=41916

Changes in Version 4.11.2 (2025/03/05)

Version 4.11.2 is a bug fix release.

  • Fixed a bug where :meth:~pymongo.database.Database.command would fail when attempting to run the bulkWrite command.

Issues Resolved ...............

See the PyMongo 4.11.2 release notes in JIRA_ for the list of resolved issues in this release.

.. _PyMongo 4.11.2 release notes in JIRA: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=42506

... (truncated)

Commits
  • 98b656f BUMP 4.12.0
  • 92970d3 PYTHON-5248 Update changelog for 4.12 release (#2265)
  • 4d4a26c PYTHON-5270 Server selection should log remainingTimeMS as milliseconds (#2263)
  • 7a4218f PYTHON-5263 Convert s3-related functions to generated config (#2259)
  • 79e5d60 PYTHON-5268 Fix handling of PYTHON_BINARY (#2264)
  • bf0aa56 PYTHON-5252 Add dependency on pymongocrypt 1.13 (#2258)
  • 708ce16 PYTHON-4724 - Prohibit AsyncMongoClient from being used across multiple event...
  • 1c813dc PYTHON-4575 Allow valid SRV hostnames with less than 3 parts (#2234)
  • e7c0814 PYTHON-4557 - Fix write log messages for retried commands (#2260)
  • b402239 PYTHON-5219 - Avoid awaiting coroutines when holding locks (#2250)
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [pymongo](https://github.com/mongodb/mongo-python-driver) from 4.11.3 to 4.12.0.
- [Release notes](https://github.com/mongodb/mongo-python-driver/releases)
- [Changelog](https://github.com/mongodb/mongo-python-driver/blob/master/doc/changelog.rst)
- [Commits](mongodb/mongo-python-driver@4.11.3...4.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 15, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 6, 2025

Superseded by #20.

@dependabot dependabot bot closed this May 6, 2025
@dependabot dependabot bot deleted the dependabot/pip/pymongo-4.12.0 branch May 6, 2025 01:07
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.

1 participant