@@ -70,12 +70,13 @@ The breaking changes in this section are categorized by the major
70
70
version releases that introduced them. When upgrading driver versions,
71
71
address all the breaking changes between your current version and the
72
72
planned 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 .
75
75
76
76
.. _node-breaking-changes-v6.x:
77
+ .. _node-breaking-changes-v6.0:
77
78
78
- Version 6.x Breaking Changes
79
+ Version 6.0 Breaking Changes
79
80
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80
81
81
82
- Version 6.0 of the {+driver-short+} requires Node.js v16.20.1 or later.
@@ -84,7 +85,7 @@ Version 6.x Breaking Changes
84
85
- The driver removes support for the ``collStats`` operation. Use the
85
86
:manual:`$collStats </reference/operator/aggregation/collStats>` aggregation operator
86
87
instead.
87
- - The driver deprecates all of the ``ssl``-prefixed options and the
88
+ - The driver removes all the deprecated ``ssl``-prefixed options and the
88
89
``tlsCertificateFile`` option in the ``MongoClientOptions`` type.
89
90
Create a ``SecureContext`` object or set the ``tls``-prefixed options
90
91
in your ``MongoClientOptions`` instance instead.
@@ -138,13 +139,13 @@ Version 6.x Breaking Changes
138
139
- Raised the optional ``zstd`` dependency minimum version to 1.1.0.
139
140
140
141
.. _node-breaking-changes-v5.x:
142
+ .. _node-breaking-changes-v5.0:
141
143
142
- Version 5.x Breaking Changes
144
+ Version 5.0 Breaking Changes
143
145
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
144
146
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.
148
149
149
150
- The driver removes support for callbacks in favor of a promise-based API.
150
151
The following list provides some strategies for callback users to adopt this
@@ -192,13 +193,13 @@ Version 5.x Breaking Changes
192
193
- ``AsyncIterator`` interface removed in favor of ``AsyncGenerator``
193
194
194
195
.. _node-breaking-changes-v4.x:
196
+ .. _node-breaking-changes-v4.0:
195
197
196
- Version 4.x Breaking Changes
198
+ Version 4.0 Breaking Changes
197
199
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198
200
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.
202
203
203
204
- ``Cursor`` types no longer extend ``Readable`` directly.
204
205
0 commit comments