Skip to content

Commit ed72dbb

Browse files
v4.11 release
1 parent 12cb738 commit ed72dbb

File tree

5 files changed

+52
-5
lines changed

5 files changed

+52
-5
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+}.0" # 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: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,19 @@ Python 3
1919
- CPython 3.4
2020
- PyPy3
2121

22+
* - 4.11
23+
- ✓
24+
- ✓
25+
- ✓
26+
- ✓
27+
- ✓
28+
-
29+
-
30+
-
31+
-
32+
-
33+
-
34+
2235
* - 4.10
2336
- ✓
2437
- ✓

source/upgrade.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,14 @@ Version 4.11 Breaking Changes
111111

112112
- {+mdb-server+} v3.6 is no longer supported. 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+
- Python v3.8 is no longer supported. The minimum supported Python version is
115+
now v3.9.
116+
- PyPy v3.9 is no longer supported. The minimum supported PyPy version is now
117+
v3.10.
118+
- The minimum wire version is now 7. For more information, see
119+
:manual:`minWireVersion
120+
</reference/command/hello/#mongodb-data-hello.minWireVersion>` in the
121+
{+mdb-server+} manual.
116122

117123
.. _version-4.9-breaking-changes:
118124

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+
- ``MongoClient.address`` and ``AsyncMongoClient.address`` now 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+
- ``MongoClient.bulkWrite`` and ``AsyncMongoClient.bulk_write`` now throw an
66+
error when the ``ordered`` or ``verboseResults`` options are set to ``True``
67+
and are used with unacknowledged writes.
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 ``bson.json_util.loads`` 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)