@@ -20,6 +20,7 @@ What's New
2020
2121Learn 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
60104What's New in 6.3
0 commit comments