@@ -26,6 +26,7 @@ What's New
2626
2727Learn what's new in:
2828
29+ * :ref:`Version 2.1 <golang-version-2.1>`
2930* :ref:`Version 2.0 <golang-version-2.0>`
3031* :ref:`Version 1.17 <golang-version-1.17>`
3132* :ref:`Version 1.16 <version-1.16>`
@@ -36,6 +37,34 @@ Learn what's new in:
3637* :ref:`Version 1.12.1 <version-1.12.1>`
3738* :ref:`Version 1.12 <version-1.12>`
3839
40+ .. _golang-version-2.1:
41+
42+ What's New in 2.1
43+ -----------------
44+
45+ The 2.1 {+driver-short+} release includes the following improvements
46+ and fixes:
47+
48+ - Introduces the new `Client.BulkWrite <{+api+}/mongo#Client.BulkWrite>`__ method,
49+ enabling clients to perform multiple insert, update, and delete operations across
50+ multiple databases and collections in a single request.
51+
52+ - Introduces the new `bson.Vector <{+api+}/bson#Vector>`__ type to make inserting and querying
53+ vector data by using :atlas:`Atlas Vector Search </atlas-vector-search/vector-search-overview/>`
54+ easier and more efficient.
55+
56+ - Extends the `ServerError <{+api+}/mongo#ServerError>`__ interface to include
57+ ``ErrorCodes``, which returns a list of deduplicated error codes returned by
58+ the server during the lifetime of operation execution.
59+
60+ - Adds the ``sort`` option to `UpdateOneOptions <{+api+}/mongo/options#UpdateOneOptions>`__
61+ and `ReplaceOptions <{+api+}/mongo/options#ReplaceOptions>`__ for the ``updateOne``
62+ and ``replaceOne`` operations.
63+
64+ For more information about the changes in this version, see the
65+ :github:`v2.1 release notes </mongodb/mongo-go-driver/releases/tag/v2.1.0>`
66+ on GitHub.
67+
3968.. _golang-version-2.0:
4069
4170What's New in 2.0
0 commit comments