diff --git a/config/redirects b/config/redirects index 88591f578..4de8add3a 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 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 master symlink: current -> master diff --git a/snooty.toml b/snooty.toml index 567bca223..3665c1757 100644 --- a/snooty.toml +++ b/snooty.toml @@ -19,10 +19,10 @@ toc_landing_pages = [ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/" [constants] -version = "6.10" +version = "6.11" api = "https://mongodb.github.io/node-mongodb-native/{+version+}" driver-long = "MongoDB Node.js driver" driver-short = "Node.js driver" mdb-server = "MongoDB Server" -min-node-version = "v16" +min-node-version = "v16.20.1" stable-api = "Stable API" diff --git a/source/includes/language-compatibility-table-node.rst b/source/includes/language-compatibility-table-node.rst index cc4ce1f7f..8225004da 100644 --- a/source/includes/language-compatibility-table-node.rst +++ b/source/includes/language-compatibility-table-node.rst @@ -4,24 +4,35 @@ :class: compatibility-large * - Node.js Driver Version + - Node.js v22.x.x - Node.js v20.x.x - Node.js v18.x.x - Node.js v16.x.x - Node.js v14.x.x - * - 6.X [#latest-note]_ + * - 6.11 [#latest-note]_ + - ✓ + - ✓ + - ✓ + - ✓ + - + + * - 6.0 to 6.10 [#latest-note]_ + - - ✓ - ✓ - ✓ - * - 5.6.X to 5.9.X + - - ✓ - ✓ - ✓ - ✓ * - 5.0.0 to 5.5.X + - - - ✓ - ✓ diff --git a/source/includes/mongodb-compatibility-table-node.rst b/source/includes/mongodb-compatibility-table-node.rst index 25af49697..819e4d1a0 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 + * - 6.10 and 6.11 - ✓ - ✓ - ✓ diff --git a/source/whats-new.txt b/source/whats-new.txt index 03cfdce14..3bff7b7a7 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.11 ` * :ref:`Version 6.10 ` * :ref:`Version 6.9 ` * :ref:`Version 6.8 ` @@ -31,6 +32,46 @@ Learn what's new in: * :ref:`Version 6.1 ` * :ref:`Version 6.0 ` +.. _version-6.11: + +What's New in 6.11 +------------------ + +The {+driver-short+} v6.11 release includes the following features: + +- Adds support for Node.js v22. + +- Adds the Client Side Operations Timeout (CSOT) feature. CSOT lets you apply + a single timeout to all steps needed to complete a server-side operation, including + server selection, connection checkout, serialization, and server-side execution. + + .. note:: Experimental Feature + + The CSOT feature is experimental and might change in future driver releases. + +- Adds OIDC authentication support for Kubernetes environments. To use OIDC to authenticate + to a Kubernetes environment, set the ``authMechanismProperties`` connection option + to ``ENVIRONMENT:k8s`` in your connection string. You can use this feature when connecting + to an environment running in Amazon's Elastic Kubernetes Service, + Google Kubernetes Engine, or Azure Kubernetes Service. + + The following example shows how to specify this connection option: + + .. code-block:: javascript + :copyable: true + + const client = new MongoClient('mongodb://host:port/?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:k8s'); + +- The ``bson`` package adds support for binary vector data. To learn more about this feature, + see the :github:`v6.10.0 Release Notes ` for the + ``bson`` package on GitHub. + +- The driver emits ``ConnectionClosedEvents`` after ``PoolClearedEvents``. + +To learn more about this release, see the +:github:`v6.11.0 Release Notes ` on +GitHub. + .. _version-6.10: What's New in 6.10