From 32f78fbd8b41afc9d2ddd1c75c75d33d7d2a67ee Mon Sep 17 00:00:00 2001 From: norareidy Date: Wed, 4 Jun 2025 11:04:23 -0400 Subject: [PATCH 1/4] DOCSP-50482: 6.17 release --- snooty.toml | 2 +- .../mongodb-compatibility-table-node.rst | 10 +++++ source/reference/release-notes.txt | 39 +++++++++++++++++++ 3 files changed, 50 insertions(+), 1 deletion(-) diff --git a/snooty.toml b/snooty.toml index ec8980a92..60bf6cadb 100644 --- a/snooty.toml +++ b/snooty.toml @@ -25,7 +25,7 @@ toc_landing_pages = [ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/" [constants] -version = "6.16" +version = "6.17" api = "https://mongodb.github.io/node-mongodb-native/{+version+}" driver-long = "MongoDB Node.js driver" driver-short = "Node.js driver" diff --git a/source/includes/mongodb-compatibility-table-node.rst b/source/includes/mongodb-compatibility-table-node.rst index c97d73463..f08cd01a8 100644 --- a/source/includes/mongodb-compatibility-table-node.rst +++ b/source/includes/mongodb-compatibility-table-node.rst @@ -13,6 +13,16 @@ - MongoDB 4.0 - MongoDB 3.6 + * - 6.17 + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - + - + * - 6.10 to 6.16 - ✓ - ✓ diff --git a/source/reference/release-notes.txt b/source/reference/release-notes.txt index 3cb3474b0..ccde85186 100644 --- a/source/reference/release-notes.txt +++ b/source/reference/release-notes.txt @@ -21,6 +21,7 @@ Release Notes Learn what's new in: +* :ref:`Version 6.17 ` * :ref:`Version 6.16 ` * :ref:`Version 6.15 ` * :ref:`Version 6.14 ` @@ -39,6 +40,44 @@ Learn what's new in: * :ref:`Version 6.1 ` * :ref:`Version 6.0 ` +.. _version-6.17: + +What's New in 6.17 +------------------ + +The {+driver-short+} v6.17 release includes the following features: + +- Removes support for {+mdb-server+} 4.0. + +- Upgrades the ``bson`` package to v6.10.4. For more information about this release, + see the :github:`v6.10.4 Release Notes ` for the + ``bson`` package on GitHub. + +- Adds the ``keepAliveInitialDelay`` option when constructing a ``MongoClient``. + This option defaults to ``120000`` milliseconds. + +- Retries OIDC authentication when the initial authentication fails due an + expired token error. + +- Adds the ``sort`` option for ``updateOne()`` and ``replaceOne()`` operations. + This option requires {+mdb-server+} 8.0 or later. + +- Instructs the ``MongoClient.close()`` method to close outstanding in-use + connections. + +- Adds support for configuring the DEK cache expiration time by providing a + ``keyTimeoutMS`` encryption option. This option defaults to ``6000`` milliseconds + and requires ``mongodb-client-encryption`` version 6.4 or later. + +- Instructs update operations to generate an error if the ``ignoreUndefined`` is set + to ``true`` and all updates are undefined. + +- Treats socket errors as network errors. + +To learn more about this release, see the +:github:`v6.17.0 Release Notes ` on +GitHub. + .. _version-6.16: What's New in 6.16 From 116292a767a1fc3c8a66908e954944beb2a3b672 Mon Sep 17 00:00:00 2001 From: norareidy Date: Wed, 4 Jun 2025 11:05:39 -0400 Subject: [PATCH 2/4] edits --- config/redirects | 2 +- source/includes/language-compatibility-table-node.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/redirects b/config/redirects index fb30fdb8c..04bbec109 100644 --- a/config/redirects +++ b/config/redirects @@ -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 v6.4 v6.5 v6.6 v6.7 v6.8 v6.9 v6.10 v6.11 v6.12 v6.13 v6.14 v6.15 v6.16 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 v6.5 v6.6 v6.7 v6.8 v6.9 v6.10 v6.11 v6.12 v6.13 v6.14 v6.15 v6.16 v6.17 master symlink: current -> master diff --git a/source/includes/language-compatibility-table-node.rst b/source/includes/language-compatibility-table-node.rst index 2702f211f..1ac6a3cf6 100644 --- a/source/includes/language-compatibility-table-node.rst +++ b/source/includes/language-compatibility-table-node.rst @@ -10,7 +10,7 @@ - Node.js v16.x.x - Node.js v14.x.x - * - 6.11 to 6.16 [#latest-note]_ + * - 6.11 to 6.17 [#latest-note]_ - ✓ - ✓ - ✓ From 82b988d7498a29025be02ca0b2b4ab30a93349e9 Mon Sep 17 00:00:00 2001 From: norareidy Date: Wed, 4 Jun 2025 11:08:58 -0400 Subject: [PATCH 3/4] wording --- source/reference/release-notes.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/reference/release-notes.txt b/source/reference/release-notes.txt index ccde85186..e0e55bdc0 100644 --- a/source/reference/release-notes.txt +++ b/source/reference/release-notes.txt @@ -52,7 +52,7 @@ The {+driver-short+} v6.17 release includes the following features: - Upgrades the ``bson`` package to v6.10.4. For more information about this release, see the :github:`v6.10.4 Release Notes ` for the ``bson`` package on GitHub. - + - Adds the ``keepAliveInitialDelay`` option when constructing a ``MongoClient``. This option defaults to ``120000`` milliseconds. @@ -65,9 +65,9 @@ The {+driver-short+} v6.17 release includes the following features: - Instructs the ``MongoClient.close()`` method to close outstanding in-use connections. -- Adds support for configuring the DEK cache expiration time by providing a - ``keyTimeoutMS`` encryption option. This option defaults to ``6000`` milliseconds - and requires ``mongodb-client-encryption`` version 6.4 or later. +- Adds a ``keyTimeoutMS`` encryption option for configuring DEK cache expiration time. + This option defaults to ``6000`` milliseconds and requires ``mongodb-client-encryption`` + version 6.4 or later. - Instructs update operations to generate an error if the ``ignoreUndefined`` is set to ``true`` and all updates are undefined. From db3242b1ae9b0edfa728569202cc68c1ef6f4ced Mon Sep 17 00:00:00 2001 From: norareidy Date: Wed, 4 Jun 2025 15:02:19 -0400 Subject: [PATCH 4/4] feedback --- source/reference/release-notes.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/reference/release-notes.txt b/source/reference/release-notes.txt index e0e55bdc0..664229d1d 100644 --- a/source/reference/release-notes.txt +++ b/source/reference/release-notes.txt @@ -56,7 +56,7 @@ The {+driver-short+} v6.17 release includes the following features: - Adds the ``keepAliveInitialDelay`` option when constructing a ``MongoClient``. This option defaults to ``120000`` milliseconds. -- Retries OIDC authentication when the initial authentication fails due an +- Retries OIDC authentication when the initial authentication fails due to an expired token error. - Adds the ``sort`` option for ``updateOne()`` and ``replaceOne()`` operations.