@@ -70,12 +70,13 @@ The breaking changes in this section are categorized by the major
7070version releases that introduced them. When upgrading driver versions,
7171address all the breaking changes between your current version and the
7272planned upgrade version. For example, if you are upgrading the driver
73- from v3.x to v5.x, address all breaking changes listed under v4.x and
74- v5.x .
73+ from v3.x to v5.x, address all breaking changes listed under v4.0 and
74+ v5.0 .
7575
7676.. _node-breaking-changes-v6.x:
77+ .. _node-breaking-changes-v6.0:
7778
78- Version 6.x Breaking Changes
79+ Version 6.0 Breaking Changes
7980~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8081
8182- Version 6.0 of the {+driver-short+} requires Node.js v16.20.1 or later.
@@ -84,7 +85,7 @@ Version 6.x Breaking Changes
8485- The driver removes support for the ``collStats`` operation. Use the
8586 :manual:`$collStats </reference/operator/aggregation/collStats>` aggregation operator
8687 instead.
87- - The driver deprecates all the ``ssl``-prefixed options and the
88+ - The driver removes all the deprecated ``ssl``-prefixed options and the
8889 ``tlsCertificateFile`` option in the ``MongoClientOptions`` type.
8990 Create a ``SecureContext`` object or set the ``tls``-prefixed options
9091 in your ``MongoClientOptions`` instance instead.
@@ -138,13 +139,13 @@ Version 6.x Breaking Changes
138139- Raised the optional ``zstd`` dependency minimum version to 1.1.0.
139140
140141.. _node-breaking-changes-v5.x:
142+ .. _node-breaking-changes-v5.0:
141143
142- Version 5.x Breaking Changes
144+ Version 5.0 Breaking Changes
143145~~~~~~~~~~~~~~~~~~~~~~~~~~~~
144146
145- - Driver versions 5.x are not compatible with Node.js
146- v12 or earlier. If you want to use this version of the driver, you must
147- use Node.js v14.20.1 or greater.
147+ - The driver is no longer compatible with Node.js v12 or earlier. If you want to use
148+ this version of the driver, you must use Node.js v14.20.1 or greater.
148149
149150- The driver removes support for callbacks in favor of a promise-based API.
150151 The following list provides some strategies for callback users to adopt this
@@ -192,13 +193,13 @@ Version 5.x Breaking Changes
192193 - ``AsyncIterator`` interface removed in favor of ``AsyncGenerator``
193194
194195.. _node-breaking-changes-v4.x:
196+ .. _node-breaking-changes-v4.0:
195197
196- Version 4.x Breaking Changes
198+ Version 4.0 Breaking Changes
197199~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198200
199- - Driver versions 4.x are not compatible with Node.js
200- v12.8 or earlier. If you want to use this version of the driver, You must
201- use Node.js v12.9 or greater.
201+ - The driver is no longer compatible with Node.js v12.8 or earlier. If you
202+ want to use this version of the driver, you must use Node.js v12.9 or greater.
202203
203204- ``Cursor`` types no longer extend ``Readable`` directly.
204205
0 commit comments