@@ -15,6 +15,7 @@ Learn what's new in:
15
15
* :ref:`Version 6.2 <version-6.2>`
16
16
* :ref:`Version 6.1 <version-6.1>`
17
17
* :ref:`Version 6.0 <version-6.0>`
18
+ * :ref:`Version 5.9 <version-6.0>`
18
19
* :ref:`Version 5.8 <version-5.8>`
19
20
* :ref:`Version 5.7 <version-5.7>`
20
21
* :ref:`Version 5.6 <version-5.6>`
@@ -182,11 +183,44 @@ The {+driver-short+} v6.0 release includes the following features:
182
183
To learn more about this release, see the
183
184
`v6.0.0 Release Highlights <https://github.com/mongodb/node-mongodb-native/releases/tag/v6.0.0>`__.
184
185
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
+
185
214
.. _version-5.8:
186
215
187
216
What's New in 5.8
188
217
-----------------
189
218
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
+
190
224
The {+driver-short+} v5.8 release includes the following features:
191
225
192
226
.. important:: Deprecation Notice
0 commit comments