From 9546c6e78b2239b0a8a395151aeca4c18ff0b87f Mon Sep 17 00:00:00 2001 From: Rea Rustagi <85902999+rustagir@users.noreply.github.com> Date: Mon, 18 Sep 2023 09:20:24 -0400 Subject: [PATCH] DOCSP-33103: v6.1 release (#803) * DOCSP-33103: v6.1 release * fix * fix * CC suggestions --- .backportrc.json | 1 + config/redirects | 2 +- snooty.toml | 2 +- .../language-compatibility-table-node.rst | 129 +----------------- .../mongodb-compatibility-table-node.rst | 13 ++ source/whats-new.txt | 30 ++++ 6 files changed, 53 insertions(+), 124 deletions(-) diff --git a/.backportrc.json b/.backportrc.json index f27527bd8..dc2336a3b 100644 --- a/.backportrc.json +++ b/.backportrc.json @@ -5,6 +5,7 @@ // the branches available to backport to "targetBranchChoices": [ "master", + "v6.1", "v6.0", "v5.8", "v5.7", diff --git a/config/redirects b/config/redirects index 5277b27e1..630b71547 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 v6.0 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 v6.0 v6.1 master symlink: current -> master diff --git a/snooty.toml b/snooty.toml index 4b24829e7..b2d1fa3a6 100644 --- a/snooty.toml +++ b/snooty.toml @@ -18,7 +18,7 @@ toc_landing_pages = [ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/" [constants] -version = "6.0" +version = "6.1" 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 618140ae4..c910f5d56 100644 --- a/source/includes/language-compatibility-table-node.rst +++ b/source/includes/language-compatibility-table-node.rst @@ -17,7 +17,7 @@ - Node.js v0.10.X - Node.js v0.8.X - * - 6.0.x [#latest-note]_ + * - 6.X [#latest-note]_ - ✓ - ✓ - ✓ @@ -31,7 +31,7 @@ - - - * - 5.6.x to 5.8.x + * - 5.6.X to 5.8.X - ✓ - ✓ - ✓ @@ -70,7 +70,7 @@ - - - - * - 3.7.X + * - 3.X - - - @@ -83,124 +83,8 @@ - - - - * - 3.6.X - - - - - - - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - - - - - - * - 3.5.X - - - - - - - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - - - - - - * - 3.4.X - - - - - - - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - - - - - - * - 3.3.X - - - - - - - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - - - - - - * - 3.2.X - - - - - - - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - - - - - - * - 3.1.X - - - - - - - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - - - - - - * - 3.0.X - - - - - - - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - - - - - - * - 2.2.X - - - - - - - - - - - - - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - * - 2.1.X - - - - - - - - - - - - - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - * - 2.0.X + + * - 2.X - - - @@ -213,6 +97,7 @@ - ✓ - ✓ - ✓ + * - >= 1.4.18 - - @@ -240,4 +125,4 @@ - ✓ - ✓ -.. [#latest-note] Version 6.0 of the {+driver-short+} requires Node.js v16.20.1 or later. +.. [#latest-note] Versions 6.0 and later of the {+driver-short+} require Node.js v16.20.1 or later. diff --git a/source/includes/mongodb-compatibility-table-node.rst b/source/includes/mongodb-compatibility-table-node.rst index c29507a45..91e582e6c 100644 --- a/source/includes/mongodb-compatibility-table-node.rst +++ b/source/includes/mongodb-compatibility-table-node.rst @@ -16,6 +16,19 @@ - MongoDB 3.0 - MongoDB 2.6 + * - 6.1 + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - + - + - + - + * - 6.0 - ✓ - ✓ diff --git a/source/whats-new.txt b/source/whats-new.txt index a7092984c..e863c7fb4 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -12,6 +12,7 @@ What's New Learn what's new in: +* :ref:`Version 6.1 ` * :ref:`Version 6.0 ` * :ref:`Version 5.8 ` * :ref:`Version 5.7 ` @@ -43,6 +44,32 @@ Learn what's new in: * :ref:`Version 3.7 ` * :ref:`Version 3.6 ` +.. _version-6.1: + +What's New in 6.1 +----------------- + +The {+driver-short+} v6.1 release includes the following features: + +- Updates the ``bson`` package version to 6.1.0 to expose the + ``Decimal128.fromStringWithRounding()`` method. To learn more, see the + `v6.1.0 bson release notes `__. + +- Detects environment variables for region settings when + authenticating by using the ``MONGODB-AWS`` authentication mechanism. + To instruct the driver to use your region options, you must set both + of the following environment variables: + + - ``AWS_STS_REGIONAL_ENDPOINTS`` + - ``AWS_REGION`` + +- Fixes a memory leak issue caused by recursive calls to the ``next()`` + method of the ``ChangeStream`` type. + +To learn more about this release, see the +`v6.1.0 Release Highlights +`__. + .. _version-6.0: What's New in 6.0 @@ -224,6 +251,9 @@ New features of the 5.5 {+driver-short+} release include: later if you want to create an encrypted collection by using the Queryable Encryption feature. +To learn more about this release, see the `v5.5.0 Release Highlights +`__. + .. _version-5.4: What's New in 5.4