Skip to content

Commit

Permalink
docsp-33969 - add v5.9 (#817)
Browse files Browse the repository at this point in the history
  • Loading branch information
mongoKart authored Nov 3, 2023
1 parent 88a0d36 commit bc1a40c
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 3 deletions.
1 change: 1 addition & 0 deletions .backportrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"v6.2",
"v6.1",
"v6.0",
"v5.9",
"v5.8",
"v5.7",
"v5.6",
Expand Down
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 v6.0 v6.1 v6.2 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 master

symlink: current -> master

Expand Down
3 changes: 2 additions & 1 deletion source/includes/language-compatibility-table-node.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
-
-

* - 5.6.X to 5.8.X
* - 5.6.X to 5.9.X
- ✓
- ✓
- ✓
Expand Down Expand Up @@ -126,3 +126,4 @@
- ✓

.. [#latest-note] Versions 6.0 and later of the {+driver-short+} require Node.js v16.20.1 or later.
14 changes: 13 additions & 1 deletion source/includes/mongodb-compatibility-table-node.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,19 @@
-
-

* - 5.9
- ✓
- ✓
- ✓
- ✓
- ✓
- ✓
- ✓
-
-
-
-

* - 5.8
- ✓
- ✓
Expand Down Expand Up @@ -550,4 +563,3 @@
- ✓

.. [#unified-topology] When using Node.js Driver version 3.7, you must set the ``useUnifiedTopology`` flag to ``true`` for certain features.
34 changes: 34 additions & 0 deletions source/whats-new.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Learn what's new in:
* :ref:`Version 6.2 <version-6.2>`
* :ref:`Version 6.1 <version-6.1>`
* :ref:`Version 6.0 <version-6.0>`
* :ref:`Version 5.9 <version-6.0>`
* :ref:`Version 5.8 <version-5.8>`
* :ref:`Version 5.7 <version-5.7>`
* :ref:`Version 5.6 <version-5.6>`
Expand Down Expand Up @@ -182,11 +183,44 @@ The {+driver-short+} v6.0 release includes the following features:
To learn more about this release, see the
`v6.0.0 Release Highlights <https://github.com/mongodb/node-mongodb-native/releases/tag/v6.0.0>`__.

.. _version-5.9:

What's New in 5.9
-----------------

.. important:: Upgrade from v5.8 to v5.9

This version includes a fix to a memory leak introduced in v5.7.
We recommend upgrading to v5.9.

The {+driver-short+} v5.9 release includes the following features:

- Fixed a memory leak introduced in v5.7.

- The ``Decimal128`` constructor and ``fromString()`` methods now throw an exception
when they detect a loss of precision of more than 34 significant digits.
The ``Decimal128`` class exposes a new ``fromStringWithRounding()`` static method that
uses the rounding behavior from previous versions of the driver. For more information,
see the `Release Notes for v5.5 of the js-bson package <https://github.com/mongodb/js-bson/releases/tag/v5.5.0>`__
on GitHub.

- Added support for detecting the ``AWS_STS_REGIONAL_ENDPOINTS`` and ``AWS_REGION``
environment variables and setting the appropriate options when calling the
``fromNodeProviderChain()`` method in the AWS SDK.

To learn more about this release, see the
`v5.9.0 Release Highlights <https://github.com/mongodb/node-mongodb-native/releases/tag/v5.9.0>`__.

.. _version-5.8:

What's New in 5.8
-----------------

.. important:: Upgrade from v5.8 to v5.9

This version includes a fix to a memory leak introduced in v5.7.
We recommend upgrading to v5.9.

The {+driver-short+} v5.8 release includes the following features:

.. important:: Deprecation Notice
Expand Down

0 comments on commit bc1a40c

Please sign in to comment.