From 7e95055e4a7f004cd2f31b0baa17c9097746a8b1 Mon Sep 17 00:00:00 2001 From: Michael Morisi Date: Tue, 22 Apr 2025 13:49:01 -0400 Subject: [PATCH 1/2] DOCSP-49436: v6.16 release --- config/redirects | 2 +- snooty.toml | 2 +- .../language-compatibility-table-node.rst | 2 +- .../mongodb-compatibility-table-node.rst | 2 +- source/whats-new.txt | 20 +++++++++++++++++++ 5 files changed, 24 insertions(+), 4 deletions(-) diff --git a/config/redirects b/config/redirects index 99c1c11db..5119e2f69 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 6.13 6.14 6.15 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 6.13 6.14 6.15 6.16 master symlink: current -> master diff --git a/snooty.toml b/snooty.toml index a9f61dc3b..57178bd89 100644 --- a/snooty.toml +++ b/snooty.toml @@ -19,7 +19,7 @@ toc_landing_pages = [ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/" [constants] -version = "6.15" +version = "6.16" 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/language-compatibility-table-node.rst b/source/includes/language-compatibility-table-node.rst index e6d74057a..2702f211f 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.15 [#latest-note]_ + * - 6.11 to 6.16 [#latest-note]_ - ✓ - ✓ - ✓ diff --git a/source/includes/mongodb-compatibility-table-node.rst b/source/includes/mongodb-compatibility-table-node.rst index 789f94013..c97d73463 100644 --- a/source/includes/mongodb-compatibility-table-node.rst +++ b/source/includes/mongodb-compatibility-table-node.rst @@ -13,7 +13,7 @@ - MongoDB 4.0 - MongoDB 3.6 - * - 6.10 to 6.15 + * - 6.10 to 6.16 - ✓ - ✓ - ✓ diff --git a/source/whats-new.txt b/source/whats-new.txt index 6afd11b7f..fe685d896 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -20,6 +20,7 @@ What's New Learn what's new in: +* :ref:`Version 6.16 ` * :ref:`Version 6.15 ` * :ref:`Version 6.14 ` * :ref:`Version 6.13 ` @@ -37,6 +38,25 @@ Learn what's new in: * :ref:`Version 6.1 ` * :ref:`Version 6.0 ` +.. _version-6.16: + +What's New in 6.16 +------------------ + +The {+driver-short+} v6.16 release includes the following features: + +- The ``Collection.distinct()`` method now supports and an optional ``hint`` + parameter which you can use to specify the index to use for the command. +- Fixes a bug with processing of multiple messages within one network data chunk which + could cause processing times to slow down. +- Fixes a bug where ``FindCursor.rewind()`` threw errors in certain cases. +- Deprecates support for {+mdb-server+} 4.0. Support will be completely removed + in a future minor release. + +To learn more about this release, see the +:github:`v6.16.0 Release Notes ` on +GitHub. + .. _version-6.15: What's New in 6.15 From b3e13d4b4975f27742d59f7b24e1f746af1890a4 Mon Sep 17 00:00:00 2001 From: Michael Morisi Date: Tue, 22 Apr 2025 13:59:38 -0400 Subject: [PATCH 2/2] SA feedback --- source/whats-new.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/whats-new.txt b/source/whats-new.txt index fe685d896..fa6215295 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -45,8 +45,9 @@ What's New in 6.16 The {+driver-short+} v6.16 release includes the following features: -- The ``Collection.distinct()`` method now supports and an optional ``hint`` - parameter which you can use to specify the index to use for the command. +- The ``Collection.distinct()`` method now supports an optional ``hint`` + parameter which you can use to specify the index to use for the command. This functionality + requires {+mdb-server+} 7.1 or later. - Fixes a bug with processing of multiple messages within one network data chunk which could cause processing times to slow down. - Fixes a bug where ``FindCursor.rewind()`` threw errors in certain cases. @@ -54,7 +55,7 @@ The {+driver-short+} v6.16 release includes the following features: in a future minor release. To learn more about this release, see the -:github:`v6.16.0 Release Notes ` on +:github:`v6.16.0 Release Notes ` on GitHub. .. _version-6.15: