@@ -20,6 +20,7 @@ Release Notes
2020
2121Learn what's new in:
2222
23+ * :ref:`Version 4.12 <version-4.12>`
2324* :ref:`Version 4.11 <version-4.11>`
2425* :ref:`Version 4.10 <version-4.10>`
2526* :ref:`Version 4.9 <version-4.9>`
@@ -37,6 +38,33 @@ version of {+driver-short+} will raise the minimum {+mdb-server+} version from
37384.0 to 4.2. {+driver-short+} will no longer support {+mdb-server+} 4.0. To learn
3839how to upgrade your driver version, see the :ref:`pymongo-upgrade` guide.
3940
41+ .. _version-4.12:
42+ 
43+ What's New in 4.12
44+ ------------------
45+ 
46+ The {+driver-short+} v4.12 release includes the following new features:
47+ 
48+ - Adds support for configuring DEK cache lifetime by using the ``key_expiration_ms``
49+   argument to ``AutoEncryptionOpts``.
50+ - Adds support for ``$lookup`` in CSFLE and QE for {+mdb-server+} 8.1 and later.
51+ - Adds the ``gridfs.asynchronous.grid_file.AsyncGridFSBucket.rename_by_name()`` and
52+   ``gridfs.grid_file.GridFSBucket.rename_by_name()`` methods. You can use these methods for
53+   more performant renaming of files with multiple revisions.
54+ - Adds the ``gridfs.asynchronous.grid_file.AsyncGridFSBucket.delete_by_name()`` and
55+   ``gridfs.grid_file.GridFSBucket.delete_by_name()`` methods. You can use these methods for
56+   more performant deletion of files with multiple revisions.
57+ - ``AsyncMongoClient`` objects no longer perform DNS resolution for ``mongodb+srv://``
58+   connection strings on creation. To avoid blocking the ``asyncio`` loop, {+driver-short+}
59+   now defers the resolution until the client is first connected.
60+ - Adds index hinting support to the ``pymongo.asynchronous.collection.AsyncCollection.distinct()``
61+   and ``pymongo.collection.Collection.distinct()`` methods.
62+ - Deprecates the ``hedge`` parameter for the ``PrimaryPreferred``, ``Secondary``,
63+   ``SecondaryPreferred``, and ``Nearest`` read preferences. Support for ``hedge`` will be
64+   removed in {+driver-short+} v5.0.
65+ - Removes PyOpenSSL support from the {+driver-async+} driver.
66+ - Allows valid SRV hostnames with fewer than 3 parts.
67+ 
4068.. _version-4.11:
4169
4270What's New in 4.11
0 commit comments