We are pleased to announce the 4.14.0 release of PyMongo - MongoDB’s Python Driver.
PyMongo 4.14.0 Released (2025-08-06)
We’re happy to announce the release of PyMongo 4.14.0! This release includes new features, some improvements, and minor breaking changes.
Highlights
- Preliminary support for Python 3.14, including free-threading
- Not yet supported with Python 3.14:
- Subinterpreters (
concurrent.interpreters) - Free-threading with Encryption
- mod_wsgi
- Subinterpreters (
- Not yet supported with Python 3.14:
- Experimental support for free-threading in Python 3.13 has been removed.
- New properties on
bson.codec_options.TypeRegistry:.codecs.fallback_encoderThese allow users to directly access the type codecs and fallback encoder for a givenTypeRegistry.
- New method:
append_metadata- For both
AsyncMongoClientandMongoClient, you can now useappend_metadatato allow instantiated clients to send client metadata on demand.
- For both
- Server selection performance improved when selecting a server with the Primary selector.
Minor Breaking Change
- When encoding a
bson.binary.BinaryVector, aValueErrorwill now be raised if:- The
'padding'metadata field is< 0or> 7 - The
'padding'field is non-zero for any type other than PACKED_BIT.
- The
- The
optionsparameter forpymongo.uri_parser.parse_uriis now of typedict(was previously_CaseInsensitiveDictionary).