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