@@ -19,6 +19,7 @@ What's New
1919
2020Learn what's new in:
2121
22+ * :ref:`Version 6.13 <version-6.13>`
2223* :ref:`Version 6.12 <version-6.12>`
2324* :ref:`Version 6.11 <version-6.11>`
2425* :ref:`Version 6.10 <version-6.10>`
@@ -33,6 +34,54 @@ Learn what's new in:
3334* :ref:`Version 6.1 <version-6.1>`
3435* :ref:`Version 6.0 <version-6.0>`
3536
37+ .. _version-6.13:
38+
39+ What's New in 6.13
40+ ------------------
41+
42+ The {+driver-short+} v6.13 release includes the following features:
43+
44+ - Adds a new standardized logger to enable insight into database operations
45+ without code changes. You can enable and configure the logger through
46+ environment variables, as shown in the following example:
47+
48+ .. code-block:: bash
49+
50+ env MONGODB_LOG_ALL=debug node server.mjs
51+
52+ .. TODO: To learn more, see the :ref:`Logging <node-logging>` guide.
53+
54+ - Improves command monitoring performance by removing deep copies of command and
55+ reply objects. Modifying the command and response values might lead to
56+ undefined behavior.
57+
58+ - Adds an experimental abort signal feature. You can pass the ``signal`` command
59+ to the following methods to interrupt the execution of the method when the
60+ signal is triggered:
61+
62+ - ``collection.find()``
63+ - ``collection.findOne()``
64+ - ``collection.aggregate()``
65+ - ``collection.countDocuments()``
66+ - ``db.listCollections()``
67+ - ``db.command()``
68+
69+ Aborting a signal closes a connection, which might cause unnecessary
70+ connection reestablishment.
71+
72+ - To avoid potential DNS timeout errors, the driver catches and retries DNS
73+ lookups when resolving ``mongodb+srv://`` connection strings.
74+
75+ - ``MongoClient.close()`` also closes any associated cursors.
76+ - You can safely invoke ``MongoClient.close()`` concurrently, but we do not
77+ recommend doing so if avoidable.
78+ - Fixes an issue that caused ``MONGODB-OIDC`` authentication to not properly
79+ reauthenticate if the handshake includes speculative authentication.
80+
81+ To learn more about this release, see the
82+ :github:`v6.13.0 Release Notes <mongodb/node-mongodb-native/releases/tag/v6.13.0>` on
83+ GitHub.
84+
3685.. _version-6.12:
3786
3887What's New in 6.12
0 commit comments