|
1 | 1 | Changelog |
2 | 2 | ========= |
3 | 3 |
|
4 | | -Changes in Version 4.14.0 (XXXX/XX/XX) |
| 4 | +Changes in Version 4.14.0 (2025/08/06) |
5 | 5 | -------------------------------------- |
| 6 | + |
| 7 | +.. warning:: PyMongo 4.14 drops support for MongoDB 4.0. PyMongo now supports |
| 8 | + MongoDB 4.2+. |
| 9 | + |
6 | 10 | PyMongo 4.14 brings a number of changes including: |
7 | 11 |
|
8 | | -- Added preliminary support for Python 3.14 and 3.14 with free-threading. We do not yet support the following with Python 3.14: |
9 | | - - Subinterpreters (``concurrent.interpreters``) |
10 | | - - Free-threading with Encryption |
11 | | - - mod_wsgi |
| 12 | +- Dropped support for MongoDB 4.0. |
| 13 | +- Added preliminary support for Python 3.14 and 3.14 with free-threading. We do |
| 14 | + not yet support the following with Python 3.14: |
| 15 | + |
| 16 | + - Subinterpreters (``concurrent.interpreters``) |
| 17 | + - Free-threading with Encryption |
| 18 | + - mod_wsgi |
| 19 | + |
12 | 20 | - Removed experimental support for free-threading support in Python 3.13. |
13 | | -- Added :attr:`bson.codec_options.TypeRegistry.codecs` and :attr:`bson.codec_options.TypeRegistry.fallback_encoder` properties |
14 | | - to allow users to directly access the type codecs and fallback encoder for a given :class:`bson.codec_options.TypeRegistry`. |
15 | | -- Added :meth:`pymongo.asynchronous.mongo_client.AsyncMongoClient.append_metadata` and |
16 | | - :meth:`pymongo.mongo_client.MongoClient.append_metadata` to allow instantiated MongoClients to send client metadata |
17 | | - on-demand |
| 21 | +- Added :attr:`bson.codec_options.TypeRegistry.codecs` and |
| 22 | + :attr:`bson.codec_options.TypeRegistry.fallback_encoder` properties |
| 23 | + to allow users to directly access the type codecs and fallback encoder for a |
| 24 | + given :class:`bson.codec_options.TypeRegistry`. |
| 25 | +- Added |
| 26 | + :meth:`pymongo.asynchronous.mongo_client.AsyncMongoClient.append_metadata` and |
| 27 | + :meth:`pymongo.mongo_client.MongoClient.append_metadata` to allow instantiated |
| 28 | + MongoClients to send client metadata on-demand |
18 | 29 | - Improved performance of selecting a server with the Primary selector. |
19 | | - |
20 | | -- Introduces a minor breaking change. When encoding :class:`bson.binary.BinaryVector`, a ``ValueError`` will be raised |
21 | | - if the 'padding' metadata field is < 0 or > 7, or non-zero for any type other than PACKED_BIT. |
22 | | -- Changed :meth:`~pymongo.uri_parser.parse_uri`'s ``options`` parameter to be type ``dict`` instead of ``_CaseInsensitiveDictionary``. |
| 30 | +- Introduces a minor breaking change. When encoding |
| 31 | + :class:`bson.binary.BinaryVector`, a ``ValueError`` will be raised if the |
| 32 | + 'padding' metadata field is < 0 or > 7, or non-zero for any type other than |
| 33 | + PACKED_BIT. |
| 34 | +- Changed :meth:`~pymongo.uri_parser.parse_uri`'s ``options`` return value to be |
| 35 | + type ``dict`` instead of ``_CaseInsensitiveDictionary``. |
23 | 36 |
|
24 | 37 | Changes in Version 4.13.2 (2025/06/17) |
25 | 38 | -------------------------------------- |
|
0 commit comments