@@ -27,6 +27,15 @@ Learn what's new in:
27
27
28
28
.. _upcoming-breaking-changes:
29
29
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
+
30
39
.. _version-4.11:
31
40
32
41
What's New in 4.11
@@ -42,6 +51,25 @@ The {+driver-short+} v4.11 release includes the following new features:
42
51
- Adds support for free-threaded CPython when running Python v3.13+.
43
52
For more information about free threading, see the
44
53
`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.
45
73
46
74
.. _version-4.10:
47
75
0 commit comments