PyMongo 4.14 Released

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
  • 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 given TypeRegistry.
  • New method: append_metadata
    • For both AsyncMongoClient and MongoClient, you can now use append_metadata to allow instantiated clients to send client metadata on demand.
  • Server selection performance improved when selecting a server with the Primary selector.

Minor Breaking Change

  • When encoding a bson.binary.BinaryVector, a ValueError will now be raised if:
    • The 'padding' metadata field is < 0 or > 7
    • The 'padding' field is non-zero for any type other than PACKED_BIT.
  • The options parameter for pymongo.uri_parser.parse_uri is now of type dict (was previously _CaseInsensitiveDictionary).
2 Likes

This topic was automatically closed after 90 days. New replies are no longer allowed.