@@ -19,6 +19,7 @@ What's New
1919
2020Learn what's new in:
2121
22+ * :ref:`Version 6.12 <version-6.12>`
2223* :ref:`Version 6.11 <version-6.11>`
2324* :ref:`Version 6.10 <version-6.10>`
2425* :ref:`Version 6.9 <version-6.9>`
@@ -32,6 +33,36 @@ Learn what's new in:
3233* :ref:`Version 6.1 <version-6.1>`
3334* :ref:`Version 6.0 <version-6.0>`
3435
36+ .. _version-6.12:
37+
38+ What's New in 6.12
39+ ------------------
40+
41+ The {+driver-short+} v6.12 release includes the following features:
42+
43+ - Adds support for v2.0 of the ``zstd`` compression algorithm. For more information about
44+ ``zstd`` v2.0, see the ``zstd``
45+ :github:`Release Notes <mongodb-js/zstd/releases/tag/v2.0.0>` on GitHub.
46+
47+ - Upgrades the ``bson`` package to v6.10.1. For more information about this release,
48+ see the :github:`v6.10.1 Release Notes <mongodb/js-bson/releases/tag/v6.10.1>` for the
49+ ``bson`` package on GitHub.
50+
51+ - The driver populates the ``ServerDescription.error`` field with a more specific error
52+ type and message when marking a primary replica-set member stale.
53+
54+ - The driver reads socket data with a stream in object mode instead
55+ of buffer mode. This prevents message parsing errors in rare cases caused by inaccurate
56+ data chunking.
57+
58+ - If the driver encounters an error while connecting to a socks5 proxy, it no longer
59+ wraps the socks5 error in a ``MongoNetworkError``. This prevents the driver from
60+ wrapping a ``MongoNetworkError`` in another ``MongoNetworkError``.
61+
62+ To learn more about this release, see the
63+ :github:`v6.12.0 Release Notes <mongodb/node-mongodb-native/releases/tag/v6.12.0>` on
64+ GitHub.
65+
3566.. _version-6.11:
3667
3768What's New in 6.11
0 commit comments