From b12b677f1fdf08c4369bcb79883d456d1fe24307 Mon Sep 17 00:00:00 2001 From: Mike Woofter <108414937+mongoKart@users.noreply.github.com> Date: Fri, 13 Dec 2024 11:58:09 -0600 Subject: [PATCH] DOCSP-45914 - v6.12 (#949) --- config/redirects | 2 +- snooty.toml | 2 +- .../language-compatibility-table-node.rst | 2 +- .../mongodb-compatibility-table-node.rst | 2 +- source/whats-new.txt | 31 +++++++++++++++++++ 5 files changed, 35 insertions(+), 4 deletions(-) diff --git a/config/redirects b/config/redirects index 4de8add3..9e0ebe1b 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 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 master symlink: current -> master diff --git a/snooty.toml b/snooty.toml index 3665c175..b3d4d39e 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.11" +version = "6.12" 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 8225004d..ee819886 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 [#latest-note]_ + * - 6.11 to 6.12 [#latest-note]_ - ✓ - ✓ - ✓ diff --git a/source/includes/mongodb-compatibility-table-node.rst b/source/includes/mongodb-compatibility-table-node.rst index 819e4d1a..6598fce4 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 and 6.11 + * - 6.10 to 6.12 - ✓ - ✓ - ✓ diff --git a/source/whats-new.txt b/source/whats-new.txt index 6fd3dd7c..710ceca0 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -19,6 +19,7 @@ What's New Learn what's new in: +* :ref:`Version 6.12 ` * :ref:`Version 6.11 ` * :ref:`Version 6.10 ` * :ref:`Version 6.9 ` @@ -32,6 +33,36 @@ Learn what's new in: * :ref:`Version 6.1 ` * :ref:`Version 6.0 ` +.. _version-6.12: + +What's New in 6.12 +------------------ + +The {+driver-short+} v6.12 release includes the following features: + +- Adds support for v2.0 of the ``zstd`` compression algorithm. For more information about + ``zstd`` v2.0, see the ``zstd`` + :github:`Release Notes ` on GitHub. + +- Upgrades the ``bson`` package to v6.10.1. For more information about this release, + see the :github:`v6.10.1 Release Notes ` for the + ``bson`` package on GitHub. + +- The driver populates the ``ServerDescription.error`` field with a more specific error + type and message when marking a primary replica-set member stale. + +- The driver reads socket data with a stream in object mode instead + of buffer mode. This prevents message parsing errors in rare cases caused by inaccurate + data chunking. + +- If the driver encounters an error while connecting to a socks5 proxy, it no longer + wraps the socks5 error in a ``MongoNetworkError``. This prevents the driver from + wrapping a ``MongoNetworkError`` in another ``MongoNetworkError``. + +To learn more about this release, see the +:github:`v6.12.0 Release Notes ` on +GitHub. + .. _version-6.11: What's New in 6.11