Skip to content

Releases: mongodb/mongo-python-driver

PyMongo 4.9.2

02 Oct 23:57
Compare
Choose a tag to compare
  • 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

02 Oct 11:00
Compare
Choose a tag to compare

PyMongo 4.10.0

01 Oct 17:19
Compare
Choose a tag to compare

PyMongo 4.9.1

18 Sep 23:17
Compare
Choose a tag to compare

PyMongo 4.8.0

26 Jun 18:56
Compare
Choose a tag to compare

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 and resumeToken
    could be added to a retry attempt, which caused the retry to fail.
  • Fallback to stdlib ssl module when pyopenssl 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 usable setup.py file
    and require installation using pip. Attempts to invoke the setup.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

PyMongo 4.7.3

04 Jun 19:31
398be02
Compare
Choose a tag to compare

PyMongo 4.7.2

07 May 20:50
29f4d5c
Compare
Choose a tag to compare

PyMongo 4.7.1

30 Apr 17:32
0841039
Compare
Choose a tag to compare

PyMongo 4.7.0

24 Apr 20:53
3664925
Compare
Choose a tag to compare

PyMongo 4.6.3

11 Jun 11:26
8da192f
Compare
Choose a tag to compare