hawk-eye
hawk-eye copied to clipboard
Bump pymongo from 4.6.3 to 4.12.0
Bumps pymongo from 4.6.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
PyMongo 4.11.3
What's Changed
- PYTHON-5202 WaitQueueTimeoutError should not clear the pool (#2192) [v4.11] by
@mongodb-drivers-pr-botin mongodb/mongo-python-driver#2196- PYTHON-5131 [v4.11] Migrate off of Ubuntu 20.04 GitHub Actions Runners by
@blink1073in mongodb/mongo-python-driver#2182- PYTHON-5198 Fix test_03_invalid_keyid (#2195) [v4.11] by
@mongodb-drivers-pr-botin mongodb/mongo-python-driver#2198- Prepare for 4.11.3 release by
@blink1073in mongodb/mongo-python-driver#2208New Contributors
@mongodb-drivers-pr-botmade their first contribution in mongodb/mongo-python-driver#2196Full Changelog: https://github.com/mongodb/mongo-python-driver/compare/4.11.2...4.11.3
PyMongo 4.11.2
Community notes:
What's Changed
- PYTHON-5166 Allow Database.command to run bulkWrite commands (#2164) [v4.11] by
@ShaneHarveyin mongodb/mongo-python-driver#2172- PYTHON-5155 Use dochub link for fork warning (#2173) [v4.11] by
@ShaneHarveyin mongodb/mongo-python-driver#2174Full Changelog: https://github.com/mongodb/mongo-python-driver/compare/4.11.1...4.11.2
PyMongo 4.11.1
Community notes: https://www.mongodb.com/community/forums/t/pymongo-4-11-1-released/312193
PyMongo 4.11.0
Community notes: https://www.mongodb.com/community/forums/t/pymongo-4-11-released/310976
PyMongo 4.10.1
Community notes: https://www.mongodb.com/community/forums/t/pymongo-4-10-1-released/299573
PyMongo 4.10.0
Community notes: https://www.mongodb.com/community/forums/t/pymongo-4-10-0-released/299474
PyMongo 4.9.2
- Fixed a bug where
pymongo.asynchronous.mongo_client.AsyncMongoClientcould deadlock.- Fixed a bug where PyMongo could fail to import on Windows if asyncio is misconfigured.
- Fixed a bug where
pymongo.results.UpdateResult.did_upsertwould raise a TypeError.PyMongo 4.9.1
Community notes: https://www.mongodb.com/community/forums/t/pymongo-4-9-released/297833
PyMongo 4.8.0
Changes in Version 4.8.0
PyMongo 4.8 brings a number of improvements including:
- The handshake metadata for "os.name" on Windows has been simplified to "Windows" to improve import time.
- The repr of
bson.binary.Binaryis now redacted when the subtype is SENSITIVE_SUBTYPE(8).
... (truncated)
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_msargument 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 Encryptionsupport.- Added :meth:
gridfs.asynchronous.grid_file.AsyncGridFSBucket.rename_by_nameand :meth:gridfs.grid_file.GridFSBucket.rename_by_namefor more performant renaming of a file with multiple revisions.- Added :meth:
gridfs.asynchronous.grid_file.AsyncGridFSBucket.delete_by_nameand :meth:gridfs.grid_file.GridFSBucket.delete_by_namefor 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.distinctand :meth:~pymongo.collection.Collection.distinctcommands.- Deprecated the
hedgeparameter for :class:~pymongo.read_preferences.PrimaryPreferred, :class:~pymongo.read_preferences.Secondary, :class:~pymongo.read_preferences.SecondaryPreferred, :class:~pymongo.read_preferences.Nearest. Support forhedgewill 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.commandwould 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
98b656fBUMP 4.12.092970d3PYTHON-5248 Update changelog for 4.12 release (#2265)4d4a26cPYTHON-5270 Server selection should log remainingTimeMS as milliseconds (#2263)7a4218fPYTHON-5263 Convert s3-related functions to generated config (#2259)79e5d60PYTHON-5268 Fix handling of PYTHON_BINARY (#2264)bf0aa56PYTHON-5252 Add dependency on pymongocrypt 1.13 (#2258)708ce16PYTHON-4724 - Prohibit AsyncMongoClient from being used across multiple event...1c813dcPYTHON-4575 Allow valid SRV hostnames with less than 3 parts (#2234)e7c0814PYTHON-4557 - Fix write log messages for retried commands (#2260)b402239PYTHON-5219 - Avoid awaiting coroutines when holding locks (#2250)- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)