@@ -52,23 +52,23 @@ The {+driver-short+} v4.11 release includes the following new features:
52
52
For more information about free threading, see the
53
53
`Python documentation <https://docs.python.org/3/howto/free-threading-python.html>`__.
54
54
- In-use encryption requires ``pymongocrypt`` v1.12 or later.
55
- - ``MongoClient.address`` and ``AsyncMongoClient.address`` now correctly block
55
+ - The ``MongoClient.address() `` and ``AsyncMongoClient.address() `` methods correctly block
56
56
when called on unconnected clients.
57
57
- Adds ``__repr__`` support for the ``IndexModel`` and ``SearchIndexModel`` classes.
58
58
- Adds a ``sort`` parameter to the following methods:
59
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 .
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
68
- Fixes a bug that caused ``DatetimeMS`` to be incorrectly encoded as
69
69
``'{"$date": "X"}'`` instead of ``'{"$date": X}'`` when using the the legacy
70
70
MongoDB Extended JSON datetime representation.
71
- - Fixes a bug that caused ``bson.json_util.loads`` to raise an ``IndexError``
71
+ - Fixes a bug that caused the ``bson.json_util.loads()`` method to raise an ``IndexError``
72
72
instead of a ``ValueError`` when parsing an invalid ``$date`` value.
73
73
74
74
.. _version-4.10:
0 commit comments