@@ -20,6 +20,7 @@ Release Notes
20
20
21
21
Learn what's new in:
22
22
23
+ * :ref:`Version 4.12 <version-4.12>`
23
24
* :ref:`Version 4.11 <version-4.11>`
24
25
* :ref:`Version 4.10 <version-4.10>`
25
26
* :ref:`Version 4.9 <version-4.9>`
@@ -37,6 +38,33 @@ version of {+driver-short+} will raise the minimum {+mdb-server+} version from
37
38
4.0 to 4.2. {+driver-short+} will no longer support {+mdb-server+} 4.0. To learn
38
39
how to upgrade your driver version, see the :ref:`pymongo-upgrade` guide.
39
40
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
+
40
68
.. _version-4.11:
41
69
42
70
What's New in 4.11
0 commit comments