PyMongo 4.10.0 Released

We are pleased to announce the 4.10.0 release of PyMongo - MongoDB’s Python Driver.

Changes in 4.10.0

PyMongo 4.10 has the following changes:

  • Added provisional (BETA) support for a new Binary BSON subtype (9) used for efficient storage and retrieval of vectors: densely packed arrays of numbers, all of the same type. This includes new methods bson.binary.Binary.from_vector and bson.binary.Binary.as_vector.

  • Added C extension use to client metadata, for example: {"driver": {"name": "PyMongo|c", "version": "4.10.0"}, ...}

  • Fixed a bug where AsyncMongoClient could deadlock.

  • Fixed a bug where PyMongo could fail to import on Windows if asyncio is misconfigured.

Issues Resolved

See the PyMongo 4.10 release notes in JIRA for the list of resolved issues in this release.