Skip to content

Commit

Permalink
Node Driver Version bson-6.4.0 Released (#877)
Browse files Browse the repository at this point in the history
* v6.4.0 docs release
  • Loading branch information
rachel-mack authored Mar 5, 2024
1 parent 212ff26 commit 5d78623
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 3 deletions.
1 change: 1 addition & 0 deletions .backportrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// the branches available to backport to
"targetBranchChoices": [
"master",
"v6.4"
"v6.3",
"v6.2",
"v6.1",
Expand Down
2 changes: 1 addition & 1 deletion config/redirects
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
define: prefix docs/drivers/node
define: base https://www.mongodb.com/${prefix}
define: versions v3.6 v3.7 v4.0 v4.1 v4.2 v4.3 v4.4 v4.5 v4.6 v4.7 v4.8 v4.9 v4.10 v4.11 v4.12 v4.13 v4.14 v4.15 v4.16 v4.17 v5.0 v5.1 v5.2 v5.3 v5.4 v5.5 v5.6 v5.7 v5.8 v5.9 v6.0 v6.1 v6.2 v6.3 master
define: versions v3.6 v3.7 v4.0 v4.1 v4.2 v4.3 v4.4 v4.5 v4.6 v4.7 v4.8 v4.9 v4.10 v4.11 v4.12 v4.13 v4.14 v4.15 v4.16 v4.17 v5.0 v5.1 v5.2 v5.3 v5.4 v5.5 v5.6 v5.7 v5.8 v5.9 v6.0 v6.1 v6.2 v6.3 v6.4 master

symlink: current -> master

Expand Down
2 changes: 1 addition & 1 deletion snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ toc_landing_pages = [
sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"

[constants]
version = "6.3"
version = "6.4"
api = "https://mongodb.github.io/node-mongodb-native/{+version+}"
driver-long = "MongoDB Node.js driver"
driver-short = "Node.js driver"
Expand Down
2 changes: 1 addition & 1 deletion source/includes/mongodb-compatibility-table-node.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- MongoDB 3.0
- MongoDB 2.6

* - 6.0 to 6.3
* - 6.0 to 6.4
- ✓
- ✓
- ✓
Expand Down
44 changes: 44 additions & 0 deletions source/whats-new.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ What's New

Learn what's new in:

* :ref:`Version 6.4 <version-6.4>`
* :ref:`Version 6.3 <version-6.3>`
* :ref:`Version 6.2 <version-6.2>`
* :ref:`Version 6.1 <version-6.1>`
Expand Down Expand Up @@ -55,6 +56,49 @@ Learn what's new in:
* :ref:`Version 3.7 <version-3.7>`
* :ref:`Version 3.6 <version-3.6>`

.. _version-6.4:

What's New in 6.4
-----------------

The {+driver-short+} v6.4 release includes the following features:

- When multiple ``mongos`` instances are available, different servers are used
for read and write retry attempts.

- Caches AWS credentials at the client level, rather than for each
authentication.

- Upgrades to using BSON 6.4.0. For details about the new BSON features, see the
release notes for `BSON 6.3.0
<https://github.com/mongodb/js-bson/releases/tag/v6.3.0>`__ and `BSON 6.4.0
<https://github.com/mongodb/js-bson/releases/tag/v6.4.0>`__.

- Read operations that result in an ``ExceededTimeLimit`` error are retried.

- Fixes a request issue related to :ref:`TLS sockets <node-connect-tls>` and
:manual:`KMS Providers
</core/queryable-encryption/fundamentals/kms-providers/>`.

- Fixes the base64 padding on the ``saslContinue`` command to allow for mongosh
authentication.

- Types ``countDocuments`` using ``Filter<Schema>`` rather than ``Document``,
which enables autocompletion and helps prevent downstream typing issues.

- Fixes a type error in the ``$addToSet`` option of the ``bulkWrite`` command.
The driver skips ``$addToSet`` validation you extend your types from
``Document`` or ``any``, or use properties of any type.

- Fixes the ``ServerHeartbeatSucceeded`` and ``ServerHeartbeatFailed`` event
heartbeat duration so that it does not include the time to create the socket.

- Appropriately emits errors from cursor transform streams, rather than
absorbing them.

- Makes AWS session tokens optional when a username and password are provided,
and allows AWS SDK to handle the authentication requests.

.. _version-6.3:

What's New in 6.3
Expand Down

0 comments on commit 5d78623

Please sign in to comment.