Skip to content

Commit 5d78623

Browse files
authored
Node Driver Version bson-6.4.0 Released (#877)
* v6.4.0 docs release
1 parent 212ff26 commit 5d78623

File tree

5 files changed

+48
-3
lines changed

5 files changed

+48
-3
lines changed

.backportrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// the branches available to backport to
66
"targetBranchChoices": [
77
"master",
8+
"v6.4"
89
"v6.3",
910
"v6.2",
1011
"v6.1",

config/redirects

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define: prefix docs/drivers/node
22
define: base https://www.mongodb.com/${prefix}
3-
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
3+
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
44

55
symlink: current -> master
66

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ toc_landing_pages = [
1919
sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
2020

2121
[constants]
22-
version = "6.3"
22+
version = "6.4"
2323
api = "https://mongodb.github.io/node-mongodb-native/{+version+}"
2424
driver-long = "MongoDB Node.js driver"
2525
driver-short = "Node.js driver"

source/includes/mongodb-compatibility-table-node.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
- MongoDB 3.0
1717
- MongoDB 2.6
1818

19-
* - 6.0 to 6.3
19+
* - 6.0 to 6.4
2020
- ✓
2121
- ✓
2222
- ✓

source/whats-new.txt

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ What's New
2020

2121
Learn what's new in:
2222

23+
* :ref:`Version 6.4 <version-6.4>`
2324
* :ref:`Version 6.3 <version-6.3>`
2425
* :ref:`Version 6.2 <version-6.2>`
2526
* :ref:`Version 6.1 <version-6.1>`
@@ -55,6 +56,49 @@ Learn what's new in:
5556
* :ref:`Version 3.7 <version-3.7>`
5657
* :ref:`Version 3.6 <version-3.6>`
5758

59+
.. _version-6.4:
60+
61+
What's New in 6.4
62+
-----------------
63+
64+
The {+driver-short+} v6.4 release includes the following features:
65+
66+
- When multiple ``mongos`` instances are available, different servers are used
67+
for read and write retry attempts.
68+
69+
- Caches AWS credentials at the client level, rather than for each
70+
authentication.
71+
72+
- Upgrades to using BSON 6.4.0. For details about the new BSON features, see the
73+
release notes for `BSON 6.3.0
74+
<https://github.com/mongodb/js-bson/releases/tag/v6.3.0>`__ and `BSON 6.4.0
75+
<https://github.com/mongodb/js-bson/releases/tag/v6.4.0>`__.
76+
77+
- Read operations that result in an ``ExceededTimeLimit`` error are retried.
78+
79+
- Fixes a request issue related to :ref:`TLS sockets <node-connect-tls>` and
80+
:manual:`KMS Providers
81+
</core/queryable-encryption/fundamentals/kms-providers/>`.
82+
83+
- Fixes the base64 padding on the ``saslContinue`` command to allow for mongosh
84+
authentication.
85+
86+
- Types ``countDocuments`` using ``Filter<Schema>`` rather than ``Document``,
87+
which enables autocompletion and helps prevent downstream typing issues.
88+
89+
- Fixes a type error in the ``$addToSet`` option of the ``bulkWrite`` command.
90+
The driver skips ``$addToSet`` validation you extend your types from
91+
``Document`` or ``any``, or use properties of any type.
92+
93+
- Fixes the ``ServerHeartbeatSucceeded`` and ``ServerHeartbeatFailed`` event
94+
heartbeat duration so that it does not include the time to create the socket.
95+
96+
- Appropriately emits errors from cursor transform streams, rather than
97+
absorbing them.
98+
99+
- Makes AWS session tokens optional when a username and password are provided,
100+
and allows AWS SDK to handle the authentication requests.
101+
58102
.. _version-6.3:
59103

60104
What's New in 6.3

0 commit comments

Comments
 (0)