Skip to content

Commit 10bc1a0

Browse files
feedback
1 parent 6cadbb2 commit 10bc1a0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

source/whats-new.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,23 +52,23 @@ The {+driver-short+} v4.11 release includes the following new features:
5252
For more information about free threading, see the
5353
`Python documentation <https://docs.python.org/3/howto/free-threading-python.html>`__.
5454
- 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
5656
when called on unconnected clients.
5757
- Adds ``__repr__`` support for the ``IndexModel`` and ``SearchIndexModel`` classes.
5858
- Adds a ``sort`` parameter to the following methods:
5959

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``.
6868
- Fixes a bug that caused ``DatetimeMS`` to be incorrectly encoded as
6969
``'{"$date": "X"}'`` instead of ``'{"$date": X}'`` when using the the legacy
7070
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``
7272
instead of a ``ValueError`` when parsing an invalid ``$date`` value.
7373

7474
.. _version-4.10:

0 commit comments

Comments
 (0)