Skip to content

Commit fa74e69

Browse files
authored
DOCSP-49183: v4.12 (#251)
1 parent 4062570 commit fa74e69

File tree

4 files changed

+32
-4
lines changed

4 files changed

+32
-4
lines changed

config/redirects

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define: prefix docs/languages/python/pymongo-driver
22
define: base https://www.mongodb.com/${prefix}
3-
define: versions v4.0 v4.1 v4.2 v4.3 v4.4 v4.5 v4.6 v4.7 v4.8 v4.9 4.10 4.11 master
3+
define: versions v4.0 v4.1 v4.2 v4.3 v4.4 v4.5 v4.6 v4.7 v4.8 v4.9 4.10 4.11 4.12 master
44

55
symlink: current -> master
66

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ mdb-server = "MongoDB Server"
3030
mongo-community = "MongoDB Community Edition"
3131
mongo-enterprise = "MongoDB Enterprise Edition"
3232
docs-branch = "master" # always set this to the docs branch (i.e. master, 1.7, 1.8, etc.)
33-
version-number = "4.11"
33+
version-number = "4.12"
3434
patch-version-number = "{+version-number+}" # always set this to the driver branch (i.e. 1.7.0, 1.8.0, etc.)
3535
version = "v{+version-number+}"
3636
stable-api = "Stable API"

source/includes/language-compatibility-table-pymongo.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ CPython
2727
- CPython 3.5
2828
- CPython 3.4
2929

30-
* - 4.11
30+
* - 4.11 to 4.12
3131
- ✓
3232
- ✓
3333
- ✓
@@ -199,7 +199,7 @@ PyPy
199199
- PyPy3.6
200200
- PyPy3.5
201201

202-
* - 4.11
202+
* - 4.11 to 4.12
203203
- ✓
204204
-
205205
-

source/reference/release-notes.txt

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Release Notes
2020

2121
Learn 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
3738
4.0 to 4.2. {+driver-short+} will no longer support {+mdb-server+} 4.0. To learn
3839
how 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

4270
What's New in 4.11

0 commit comments

Comments
 (0)