Releases: mongodb/mongo-python-driver
Releases Β· mongodb/mongo-python-driver
PyMongo 4.11.3
What's Changed
- PYTHON-5202 WaitQueueTimeoutError should not clear the pool (#2192) [v4.11] by @mongodb-drivers-pr-bot in #2196
- PYTHON-5131 [v4.11] Migrate off of Ubuntu 20.04 GitHub Actions Runners by @blink1073 in #2182
- PYTHON-5198 Fix test_03_invalid_keyid (#2195) [v4.11] by @mongodb-drivers-pr-bot in #2198
- Prepare for 4.11.3 release by @blink1073 in #2208
New Contributors
- @mongodb-drivers-pr-bot made their first contribution in #2196
Full Changelog: 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 @ShaneHarvey in #2172
- PYTHON-5155 Use dochub link for fork warning (#2173) [v4.11] by @ShaneHarvey in #2174
Full Changelog: 4.11.1...4.11.2
PyMongo 4.11.1
PyMongo 4.11.0
PyMongo 4.9.2
- Fixed a bug where
pymongo.asynchronous.mongo_client.AsyncMongoClient
could deadlock. - Fixed a bug where PyMongo could fail to import on Windows if asyncio is misconfigured.
- Fixed a bug where
pymongo.results.UpdateResult.did_upsert
would raise a TypeError.
PyMongo 4.10.1
PyMongo 4.10.0
PyMongo 4.9.1
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.Binary
is now redacted when the subtype is SENSITIVE_SUBTYPE(8). - Secure Software Development Life Cycle automation for release process.
GitHub Releases now include a Software Bill of Materials, and signature
files corresponding to the distribution files released on PyPI. - Fixed a bug in change streams where both
startAtOperationTime
andresumeToken
could be added to a retry attempt, which caused the retry to fail. - Fallback to stdlib
ssl
module whenpyopenssl
import fails with AttributeError. - Improved performance of MongoClient operations, especially when many operations are being run concurrently.
Unavoidable breaking changes
- Since we are now using
hatch
as our build backend, we no longer have a usablesetup.py
file
and require installation usingpip
. Attempts to invoke thesetup.py
file will raise an exception.
Additionally,pip
>= 21.3 is now required for editable installs.
Issues Resolved
See the PyMongo 4.8 release notes in JIRA for the list of resolved issues in this release.
Full Changelog: 4.7.1...4.8.0