-
Notifications
You must be signed in to change notification settings - Fork 34
DOCSP-47961 v2.1 release #465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ | |
|
||
Learn what's new in: | ||
|
||
* :ref:`Version 2.1 <golang-version-2.1>` | ||
* :ref:`Version 2.0 <golang-version-2.0>` | ||
* :ref:`Version 1.17 <golang-version-1.17>` | ||
* :ref:`Version 1.16 <version-1.16>` | ||
|
@@ -36,6 +37,34 @@ | |
* :ref:`Version 1.12.1 <version-1.12.1>` | ||
* :ref:`Version 1.12 <version-1.12>` | ||
|
||
.. _golang-version-2.1: | ||
|
||
What's New in 2.1 | ||
----------------- | ||
|
||
The 2.1 {+driver-short+} release includes the following improvements | ||
and fixes: | ||
|
||
- Adds the new `Client.BulkWrite <{+api+}/mongo#Client.BulkWrite>`__ method | ||
to make performing many insert, update, and delete operations on multiple databases and | ||
Check failure on line 49 in source/whats-new.txt
|
||
collections in one request more efficient. | ||
|
||
|
||
- Adds the new `bson.Vector <{+api+}/bson#Vector>`__ type to make inserting and querying | ||
vector data by using :atlas:`Atlas Vector Search </atlas-vector-search/vector-search-overview/>` | ||
more efficient. | ||
|
||
- Extends the `ServerError <{+api+}/mongo#ServerError>`__ interface to include | ||
``ErrorCodes``, which returns a list of deduplicated error codes returned by | ||
the server during the lifetime of operation execution. | ||
|
||
- Adds the ``sort`` option to `UpdateOneOptions <{+api+}/mongo/options#UpdateOneOptions>`__ | ||
and `ReplaceOptions <{+api+}/mongo/options#ReplaceOptions>`__ for the ``updateOne`` | ||
and ``replaceOne`` operations. | ||
|
||
For more information about the changes in this version, see the | ||
:github:`v2.1 release notes </mongodb/mongo-go-driver/releases/tag/v2.1.0>` | ||
on GitHub. | ||
|
||
.. _golang-version-2.0: | ||
|
||
What's New in 2.0 | ||
|
Uh oh!
There was an error while loading. Please reload this page.