@@ -12,6 +12,7 @@ What's New
1212
1313Learn what's new in:
1414
15+ * :ref:`Version 6.1 <version-6.1>`
1516* :ref:`Version 6.0 <version-6.0>`
1617* :ref:`Version 5.8 <version-5.8>`
1718* :ref:`Version 5.7 <version-5.7>`
@@ -43,6 +44,32 @@ Learn what's new in:
4344* :ref:`Version 3.7 <version-3.7>`
4445* :ref:`Version 3.6 <version-3.6>`
4546
47+ .. _version-6.1:
48+
49+ What's New in 6.1
50+ -----------------
51+
52+ The {+driver-short+} v6.1 release includes the following features:
53+
54+ - Updates the ``bson`` package version to 6.1.0 to expose the
55+ ``Decimal128.fromStringWithRounding()`` method. To learn more, see the
56+ `v6.1.0 bson release notes <https://github.com/mongodb/js-bson/releases/tag/v6.1.0>`__.
57+
58+ - Detects environment variables for region settings when
59+ authenticating by using the ``MONGODB-AWS`` authentication mechanism.
60+ To instruct the driver to use your region options, you must set both
61+ of the following environment variables:
62+
63+ - ``AWS_STS_REGIONAL_ENDPOINTS``
64+ - ``AWS_REGION``
65+
66+ - Fixes a memory leak issue caused by recursive calls to the ``next()``
67+ method of the ``ChangeStream`` type.
68+
69+ To learn more about this release, see the
70+ `v6.1.0 Release Highlights
71+ <https://github.com/mongodb/node-mongodb-native/releases/tag/v6.1.0>`__.
72+
4673.. _version-6.0:
4774
4875What's New in 6.0
@@ -224,6 +251,9 @@ New features of the 5.5 {+driver-short+} release include:
224251 later if you want to create an encrypted collection by using the
225252 Queryable Encryption feature.
226253
254+ To learn more about this release, see the `v5.5.0 Release Highlights
255+ <https://github.com/mongodb/node-mongodb-native/releases/tag/v5.5.0>`__.
256+
227257.. _version-5.4:
228258
229259What's New in 5.4
0 commit comments