Skip to content

Commit bc1a40c

Browse files
authored
docsp-33969 - add v5.9 (#817)
1 parent 88a0d36 commit bc1a40c

File tree

5 files changed

+51
-3
lines changed

5 files changed

+51
-3
lines changed

.backportrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"v6.2",
99
"v6.1",
1010
"v6.0",
11+
"v5.9",
1112
"v5.8",
1213
"v5.7",
1314
"v5.6",

config/redirects

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define: prefix docs/drivers/node
22
define: base https://www.mongodb.com/${prefix}
3-
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
3+
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
44

55
symlink: current -> master
66

source/includes/language-compatibility-table-node.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
-
3232
-
3333

34-
* - 5.6.X to 5.8.X
34+
* - 5.6.X to 5.9.X
3535
- ✓
3636
- ✓
3737
- ✓
@@ -126,3 +126,4 @@
126126
- ✓
127127

128128
.. [#latest-note] Versions 6.0 and later of the {+driver-short+} require Node.js v16.20.1 or later.
129+

source/includes/mongodb-compatibility-table-node.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,19 @@
5555
-
5656
-
5757

58+
* - 5.9
59+
- ✓
60+
- ✓
61+
- ✓
62+
- ✓
63+
- ✓
64+
- ✓
65+
- ✓
66+
-
67+
-
68+
-
69+
-
70+
5871
* - 5.8
5972
- ✓
6073
- ✓
@@ -550,4 +563,3 @@
550563
- ✓
551564

552565
.. [#unified-topology] When using Node.js Driver version 3.7, you must set the ``useUnifiedTopology`` flag to ``true`` for certain features.
553-

source/whats-new.txt

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Learn what's new in:
1515
* :ref:`Version 6.2 <version-6.2>`
1616
* :ref:`Version 6.1 <version-6.1>`
1717
* :ref:`Version 6.0 <version-6.0>`
18+
* :ref:`Version 5.9 <version-6.0>`
1819
* :ref:`Version 5.8 <version-5.8>`
1920
* :ref:`Version 5.7 <version-5.7>`
2021
* :ref:`Version 5.6 <version-5.6>`
@@ -182,11 +183,44 @@ The {+driver-short+} v6.0 release includes the following features:
182183
To learn more about this release, see the
183184
`v6.0.0 Release Highlights <https://github.com/mongodb/node-mongodb-native/releases/tag/v6.0.0>`__.
184185

186+
.. _version-5.9:
187+
188+
What's New in 5.9
189+
-----------------
190+
191+
.. important:: Upgrade from v5.8 to v5.9
192+
193+
This version includes a fix to a memory leak introduced in v5.7.
194+
We recommend upgrading to v5.9.
195+
196+
The {+driver-short+} v5.9 release includes the following features:
197+
198+
- Fixed a memory leak introduced in v5.7.
199+
200+
- The ``Decimal128`` constructor and ``fromString()`` methods now throw an exception
201+
when they detect a loss of precision of more than 34 significant digits.
202+
The ``Decimal128`` class exposes a new ``fromStringWithRounding()`` static method that
203+
uses the rounding behavior from previous versions of the driver. For more information,
204+
see the `Release Notes for v5.5 of the js-bson package <https://github.com/mongodb/js-bson/releases/tag/v5.5.0>`__
205+
on GitHub.
206+
207+
- Added support for detecting the ``AWS_STS_REGIONAL_ENDPOINTS`` and ``AWS_REGION``
208+
environment variables and setting the appropriate options when calling the
209+
``fromNodeProviderChain()`` method in the AWS SDK.
210+
211+
To learn more about this release, see the
212+
`v5.9.0 Release Highlights <https://github.com/mongodb/node-mongodb-native/releases/tag/v5.9.0>`__.
213+
185214
.. _version-5.8:
186215

187216
What's New in 5.8
188217
-----------------
189218

219+
.. important:: Upgrade from v5.8 to v5.9
220+
221+
This version includes a fix to a memory leak introduced in v5.7.
222+
We recommend upgrading to v5.9.
223+
190224
The {+driver-short+} v5.8 release includes the following features:
191225

192226
.. important:: Deprecation Notice

0 commit comments

Comments
 (0)