Skip to content

Commit 92f0aa5

Browse files
authored
DOCSP-41800: merge options - builder pattern (#372)
* DOCSP-41800: merge options - builder pattern * vale
1 parent 04159a3 commit 92f0aa5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/whats-new.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ The 2.0 {+driver-short+} release includes the following improvements and fixes:
9292
contained the number of dropped indexes. See the
9393
:ref:`golang-remove-index` section of the Indexes guide to learn more.
9494

95+
- Updates to the builder pattern for types in the ``options`` package.
96+
The pattern maintains a slice of setter functions, so you cannot set
97+
data directly to an options object. This update does not
98+
generally change how you create and use options. To learn more, see
99+
the `feature JIRA ticket <https://jira.mongodb.org/browse/GODRIVER-2696>`__.
100+
95101
- The driver no longer supports the ``mongo.ErrUnacknowledgedWrite`` sentinel
96102
error if a write operation is not acknowledged. To confirm that the server
97103
acknowledged a write operation, you must access the ``Acknowledged``

0 commit comments

Comments
 (0)