Skip to content

Commit 98ca967

Browse files
v4.11 release (#155)
1 parent 12cb738 commit 98ca967

File tree

6 files changed

+48
-24
lines changed

6 files changed

+48
-24
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 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 master
44

55
symlink: current -> master
66

snooty.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ mdb-server = "MongoDB Server"
3131
mongo-community = "MongoDB Community Edition"
3232
mongo-enterprise = "MongoDB Enterprise Edition"
3333
docs-branch = "master" # always set this to the docs branch (i.e. master, 1.7, 1.8, etc.)
34-
version-number = "4.10"
35-
patch-version-number = "{+version-number+}.1" # always set this to the driver branch (i.e. 1.7.0, 1.8.0, etc.)
34+
version-number = "4.11"
35+
patch-version-number = "{+version-number+}" # always set this to the driver branch (i.e. 1.7.0, 1.8.0, etc.)
3636
version = "v{+version-number+}"
3737
stable-api = "Stable API"
3838
api-root = "https://pymongo.readthedocs.io/en/{+patch-version-number+}/api/"

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@ Python 3
1919
- CPython 3.4
2020
- PyPy3
2121

22-
* - 4.10
23-
- ✓
22+
* - 4.11
2423
- ✓
2524
- ✓
2625
- ✓
2726
- ✓
2827
- ✓
28+
-
2929
-
3030
-
3131
-
3232
-
3333
-
3434

35-
* - 4.9
35+
* - 4.9 to 4.10
3636
- ✓
3737
- ✓
3838
- ✓
@@ -193,10 +193,6 @@ Python 3
193193
:ref:`TLS <pymongo-troubleshoot-tls>` section of the Troubleshooting guide.
194194
.. [#three-six-compat] Pymongo 4.1 requires Python 3.6.2 or later.
195195
196-
.. note::
197-
198-
PyPy3 is a Python 3.2-compatible alternative interpreter.
199-
200196
Python 2
201197
~~~~~~~~
202198

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

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,7 @@
2323
- ✓
2424
-
2525

26-
* - 4.10
27-
- ✓
28-
- ✓
29-
- ✓
30-
- ✓
31-
- ✓
32-
- ✓
33-
- ✓
34-
- ✓
35-
36-
* - 4.9
26+
* - 4.9 to 4.10
3727
- ✓
3828
- ✓
3929
- ✓

source/upgrade.txt

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,20 @@ and upgrade versions.
109109
Version 4.11 Breaking Changes
110110
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111111

112-
- {+mdb-server+} v3.6 is no longer supported. The minimum supported {+mdb-server+}
112+
- Drops support for {+mdb-server+} v3.6. The minimum supported {+mdb-server+}
113113
version is now v4.0.
114-
115-
- The minimum wire version is now 7. See :manual:`minWireVersion </reference/command/hello/#mongodb-data-hello.minWireVersion>`.
114+
- Deprecates support for {+mdb-server+} v4.0. In accordance with the `MongoDB
115+
Software Lifecycle Schedules
116+
<https://www.mongodb.com/legal/support-policy/lifecycles>`__, an upcoming
117+
minor version of {+driver-short+} will raise the minimum {+mdb-server+}
118+
version from 4.0 to 4.2.
119+
- Drops support for Python v3.8. The minimum supported Python version is
120+
now v3.9.
121+
- Drops support for PyPy v3.9. The minimum supported PyPy version is now
122+
v3.10.
123+
- Drops support for the ``MONGODB-CR`` authentication mechanism. For more
124+
information about authentication, see the :ref:`Authentication Mechanisms
125+
<pymongo-authentication-mechanisms>` guide.
116126

117127
.. _version-4.9-breaking-changes:
118128

source/whats-new.txt

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ Learn what's new in:
2727

2828
.. _upcoming-breaking-changes:
2929

30+
Upcoming Breaking Changes
31+
-------------------------
32+
33+
In accordance with the `MongoDB Software Lifecycle Schedules
34+
<https://www.mongodb.com/legal/support-policy/lifecycles>`__, an upcoming minor
35+
version of {+driver-short+} will raise the minimum {+mdb-server+} version from
36+
4.0 to 4.2. {+driver-short+} will no longer support {+mdb-server+} 4.0. To learn
37+
how to upgrade your driver version, see the :ref:`pymongo-upgrade` guide.
38+
3039
.. _version-4.11:
3140

3241
What's New in 4.11
@@ -42,6 +51,25 @@ The {+driver-short+} v4.11 release includes the following new features:
4251
- Adds support for free-threaded CPython when running Python v3.13+.
4352
For more information about free threading, see the
4453
`Python documentation <https://docs.python.org/3/howto/free-threading-python.html>`__.
54+
- In-use encryption requires ``pymongocrypt`` v1.12 or later.
55+
- The ``MongoClient.address()`` and ``AsyncMongoClient.address()`` methods correctly block
56+
when called on unconnected clients.
57+
- Adds ``__repr__`` support for the ``IndexModel`` and ``SearchIndexModel`` classes.
58+
- Adds a ``sort`` parameter to the following methods:
59+
60+
- ``Collection.update_one()``
61+
- ``Collection.replace_one()``
62+
- ``operations.UpdateOne()``
63+
- ``operations.UpdateMany()``
64+
65+
- The ``MongoClient.bulkWrite()`` and ``AsyncMongoClient.bulk_write()`` methods throw an
66+
error error if you use them with unacknowledged writes when the
67+
``ordered`` or ``verboseResults`` options are set to ``True``.
68+
- Fixes a bug that caused ``DatetimeMS`` to be incorrectly encoded as
69+
``'{"$date": "X"}'`` instead of ``'{"$date": X}'`` when using the the legacy
70+
MongoDB Extended JSON datetime representation.
71+
- Fixes a bug that caused the ``bson.json_util.loads()`` method to raise an ``IndexError``
72+
instead of a ``ValueError`` when parsing an invalid ``$date`` value.
4573

4674
.. _version-4.10:
4775

0 commit comments

Comments
 (0)