Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/redirects
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
13 changes: 12 additions & 1 deletion source/includes/language-compatibility-table-node.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-
-
- ✓
- ✓
Expand Down
2 changes: 1 addition & 1 deletion source/includes/mongodb-compatibility-table-node.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- MongoDB 4.0
- MongoDB 3.6

* - 6.10
* - 6.10 and 6.11
- ✓
- ✓
- ✓
Expand Down
41 changes: 41 additions & 0 deletions source/whats-new.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ What's New

Learn what's new in:

* :ref:`Version 6.11 <version-6.11>`
* :ref:`Version 6.10 <version-6.10>`
* :ref:`Version 6.9 <version-6.9>`
* :ref:`Version 6.8 <version-6.8>`
Expand All @@ -31,6 +32,46 @@ Learn what's new in:
* :ref:`Version 6.1 <version-6.1>`
* :ref:`Version 6.0 <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 <mongodb/js-bson/releases/tag/v6.10.0>` for the
``bson`` package on GitHub.
Comment on lines +65 to +67
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: Just confirming that bson is at version 6.10.0 compared to the driver itself being v6.11.0

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, thanks for checking


- The driver emits ``ConnectionClosedEvents`` after ``PoolClearedEvents``.

To learn more about this release, see the
:github:`v6.11.0 Release Notes <mongodb/node-mongodb-native/releases/tag/v6.11.0>` on
GitHub.

.. _version-6.10:

What's New in 6.10
Expand Down
Loading