Skip to content

Commit f97c8cd

Browse files
authoredAug 14, 2024
DOCSP-42256: leftover v2 migration items (mongodb#377)
* DOCSP-42256: leftover v2 migration items * JS PR fixes 1
1 parent 51473b1 commit f97c8cd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎source/whats-new.txt

+7
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ What's New in 2.0
6060
method accepts only an options object. To view an example that uses
6161
this method, see the :ref:`Connection Example Code
6262
<go-connection-example-code>` in the Connection Guide.
63+
64+
- The ``Cursor.SetMaxTime()`` method is renamed to
65+
``Cursor.SetMaxAwaitTime()``. This method specifies the maximum time
66+
that the server waits for new documents retrieved from a capped
67+
collection with a tailable cursor.
6368

6469
- Removal of operation-specific timeout options. The following fields
6570
and setter methods have been removed from the driver:
@@ -148,6 +153,8 @@ The 2.0 {+driver-short+} release includes the following improvements and fixes:
148153
``SessionOptions`` type. To learn more, see the
149154
:ref:`golang-session-txn-options` section of the Transactions guide.
150155

156+
- The ``Collection.Clone()`` method does not return an error.
157+
151158
.. _version-1.16:
152159

153160
What's New in 1.16

0 commit comments

Comments
 (0)