diff --git a/source/whats-new.txt b/source/whats-new.txt index 1a0d1024..6b27b315 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -52,12 +52,19 @@ What's New in 2.0 ----------------- .. important:: Breaking Change + + The {+driver-short+} v2.0 release introduces the following breaking + changes: - Starting in version 2.0, the ``mongo.Connect()`` method does not - accept a context parameter. This method accepts only an options - object. To view an example that uses this method, see the - :ref:`Connection Example Code ` in the - Connection Guide. + - ``mongo.Connect()`` does not accept a Context parameter. This + method accepts only an options object. To view an example that uses + this method, see the :ref:`Connection Example Code + ` in the Connection Guide. + + - The ``Cursor.SetMaxTime()`` method is renamed to + ``Cursor.SetMaxAwaitTime()``. This method specifies the maximum time + that the server waits for new documents retrieved from a capped + collection with a tailable cursor. The 2.0 {+driver-short+} release includes the following improvements and fixes: @@ -122,11 +129,6 @@ The 2.0 {+driver-short+} release includes the following improvements and fixes: ``SessionOptions`` type. To learn more, see the :ref:`golang-session-txn-options` section of the Transactions guide. -- The ``Cursor.SetMaxTime()`` method is renamed to - ``Cursor.SetMaxAwaitTime()``. This method specifies the maximum time - that the server waits for new documents when you retrieve documents by - using a tailable cursor when querying a capped collection. - - The ``Collection.Clone()`` method does not return an error. .. _version-1.16: