Skip to content

Commit 241e796

Browse files
author
Chris Cho
authored
DOCSP-37612: v6.5.0 release (#881)
* DOCSP-37612: v6.5.0 release
1 parent 42882cf commit 241e796

File tree

5 files changed

+66
-20
lines changed

5 files changed

+66
-20
lines changed

.backportrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
// the branches available to backport to
66
"targetBranchChoices": [
77
"master",
8-
"v6.4"
8+
"v6.5",
9+
"v6.4",
910
"v6.3",
1011
"v6.2",
1112
"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 v6.4 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 v6.5 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.4"
22+
version = "6.5"
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.4
19+
* - 6.0 to 6.5
2020
- ✓
2121
- ✓
2222
- ✓

source/whats-new.txt

Lines changed: 61 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ What's New
1313
.. facet::
1414
:name: genre
1515
:values: reference
16-
16+
1717
.. meta::
1818
:keywords: version, update, upgrade, backwards compatibility
1919

2020

2121
Learn what's new in:
2222

23+
* :ref:`Version 6.5 <version-6.5>`
2324
* :ref:`Version 6.4 <version-6.4>`
2425
* :ref:`Version 6.3 <version-6.3>`
2526
* :ref:`Version 6.2 <version-6.2>`
@@ -56,6 +57,45 @@ Learn what's new in:
5657
* :ref:`Version 3.7 <version-3.7>`
5758
* :ref:`Version 3.6 <version-3.6>`
5859

60+
.. _version-6.5:
61+
62+
What's New in 6.5
63+
-----------------
64+
65+
The {+driver-short+} v6.5 release includes the following features:
66+
67+
- Updates bulk write operations to use the ``pkFactory`` class for document
68+
ID generation.
69+
70+
.. warning::
71+
72+
If you previously specified an instance of a ``pkFactory`` to handle
73+
bulk writes, the ``_id`` fields of the documents inserted by using bulk
74+
writes may be inconsistent with the behavior in this version.
75+
76+
- Fixes the read preference that is sent with read operations to
77+
``primaryPreferred`` when the driver is connected to a secondary node in
78+
the replica set.
79+
80+
- Fixes a memory leak in promise creation for socket operations.
81+
82+
- Reduces first-time connection latency when connecting to a DNS seedlist by
83+
querying the ``SRV`` and ``TXT`` records in parallel.
84+
85+
- Adds tracking to container metadata when running a client in Kubernetes
86+
or a container environment in the ``client.env.container`` field of the
87+
handshake document.
88+
89+
- Adds the original error document returned by the server to the
90+
``errorResponse`` field of the ``MongoServerError`` document.
91+
92+
- Deprecates the ``CloseOptions`` interface which is unused by the driver.
93+
94+
To learn more about this release, see the
95+
`v6.5.0 Release Highlights
96+
<https://github.com/mongodb/node-mongodb-native/releases/tag/v6.5.0>`__ on
97+
GitHub.
98+
5999
.. _version-6.4:
60100

61101
What's New in 6.4
@@ -73,7 +113,7 @@ The {+driver-short+} v6.4 release includes the following features:
73113
release notes for `BSON 6.3.0
74114
<https://github.com/mongodb/js-bson/releases/tag/v6.3.0>`__ and `BSON 6.4.0
75115
<https://github.com/mongodb/js-bson/releases/tag/v6.4.0>`__.
76-
116+
77117
- Read operations that result in an ``ExceededTimeLimit`` error are retried.
78118

79119
- Fixes a request issue related to :ref:`TLS sockets <node-connect-tls>` and
@@ -99,6 +139,11 @@ The {+driver-short+} v6.4 release includes the following features:
99139
- Makes AWS session tokens optional when a username and password are provided,
100140
and allows AWS SDK to handle the authentication requests.
101141

142+
To learn more about this release, see the
143+
`v6.4.0 Release Highlights
144+
<https://github.com/mongodb/node-mongodb-native/releases/tag/v6.4.0>`__ on
145+
GitHub.
146+
102147
.. _version-6.3:
103148

104149
What's New in 6.3
@@ -116,9 +161,9 @@ The {+driver-short+} v6.3 release includes the following features:
116161
``MongoClientOptions`` instance or as a connection string option. The
117162
following example shows how to create a client with the option set to
118163
``stream``:
119-
164+
120165
.. code-block:: js
121-
166+
122167
new MongoClient('<connection string>', { serverMonitoringMode: 'stream' });
123168

124169
- Fixes a connection leak when the ``serverApi`` client option is set.
@@ -180,7 +225,7 @@ The {+driver-short+} v6.1 release includes the following features:
180225
authenticating by using the ``MONGODB-AWS`` authentication mechanism.
181226
To instruct the driver to use your region options, you must set both
182227
of the following environment variables:
183-
228+
184229
- ``AWS_STS_REGIONAL_ENDPOINTS``
185230
- ``AWS_REGION``
186231

@@ -198,8 +243,8 @@ What's New in 6.0
198243

199244
.. warning:: Breaking Changes in v6.0
200245

201-
This driver version introduces breaking changes. For a list of these changes, see
202-
the :ref:`Version 6.x Breaking Changes section <node-breaking-changes-v6.x>` in the
246+
This driver version introduces breaking changes. For a list of these changes, see
247+
the :ref:`Version 6.x Breaking Changes section <node-breaking-changes-v6.x>` in the
203248
Upgrade guide.
204249

205250
The {+driver-short+} v6.0 release includes the following features:
@@ -240,13 +285,13 @@ The {+driver-short+} v6.0 release includes the following features:
240285
options. The value of ``keepAlive`` is permanently set to ``true`` and the
241286
value of ``keepAliveInitialDelay`` is set to 300000 milliseconds (300
242287
seconds).
243-
288+
244289
To learn how to set keepalive settings at a system level,
245290
see the :manual:`Does TCP keepalive time affect MongoDB Deployments? </faq/diagnostics/#does-tcp-keepalive-time-affect-mongodb-deployments->`
246291
FAQ entry in the Server manual.
247292

248293
- Removes the following options for the ``Db.command()`` method:
249-
294+
250295
- ``willRetryWrite``
251296
- ``omitReadPreference``
252297
- ``writeConcern``
@@ -288,7 +333,7 @@ The {+driver-short+} v5.9 release includes the following features:
288333
uses the rounding behavior from previous versions of the driver. For more information,
289334
see the `Release Notes for v5.5 of the js-bson package <https://github.com/mongodb/js-bson/releases/tag/v5.5.0>`__
290335
on GitHub.
291-
336+
292337
- Added support for detecting the ``AWS_STS_REGIONAL_ENDPOINTS`` and ``AWS_REGION``
293338
environment variables and setting the appropriate options when calling the
294339
``fromNodeProviderChain()`` method in the AWS SDK.
@@ -492,8 +537,8 @@ What's New in 5.0
492537

493538
.. warning:: Breaking Changes in v5.0
494539

495-
This driver version introduces breaking changes. For a list of these changes, see
496-
the :ref:`Version 5.x Breaking Changes section <node-breaking-changes-v5.x>` in the
540+
This driver version introduces breaking changes. For a list of these changes, see
541+
the :ref:`Version 5.x Breaking Changes section <node-breaking-changes-v5.x>` in the
497542
Upgrade guide.
498543

499544
New features of the 5.0 {+driver-short+} release include:
@@ -866,16 +911,16 @@ What's New in 4.0
866911

867912
.. warning:: Breaking Changes in v4.0
868913

869-
This driver version introduces breaking changes. For a list of these changes, see
870-
the :ref:`Version 4.x Breaking Changes section <node-breaking-changes-v4.x>` in
914+
This driver version introduces breaking changes. For a list of these changes, see
915+
the :ref:`Version 4.x Breaking Changes section <node-breaking-changes-v4.x>` in
871916
the Upgrade guide.
872917

873918
New features of the 4.0 Node.js driver release include:
874919

875920
.. important::
876921

877-
In this release of the driver, the deprecated ``collection.count()`` method was
878-
inadvertently changed to behave like ``collection.countDocuments()``. This behavior
922+
In this release of the driver, the deprecated ``collection.count()`` method was
923+
inadvertently changed to behave like ``collection.countDocuments()``. This behavior
879924
is corrected in :ref:`version 4.4 <version-4.4>`.
880925

881926

0 commit comments

Comments
 (0)