@@ -70,17 +70,17 @@ 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-v5.x:
77
+ .. _node-breaking-changes-v5.0:
77
78
78
- Version 5.x Breaking Changes
79
+ Version 5.0 Breaking Changes
79
80
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80
81
81
- - Driver versions 5.x are not compatible with Node.js
82
- v12 or earlier. If you want to use this version of the driver, you must
83
- use Node.js v14.20.1 or greater.
82
+ - The driver is no longer compatible with Node.js v12 or earlier. If you want to use
83
+ this version of the driver, you must use Node.js v14.20.1 or greater.
84
84
85
85
- The driver removes support for callbacks in favor of a promise-based API.
86
86
The following list provides some strategies for callback users to adopt this
@@ -128,13 +128,13 @@ Version 5.x Breaking Changes
128
128
- ``AsyncIterator`` interface removed in favor of ``AsyncGenerator``
129
129
130
130
.. _node-breaking-changes-v4.x:
131
+ .. _node-breaking-changes-v4.0:
131
132
132
- Version 4.x Breaking Changes
133
+ Version 4.0 Breaking Changes
133
134
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134
135
135
- - Driver versions 4.x are not compatible with Node.js
136
- v12.8 or earlier. If you want to use this version of the driver, You must
137
- use Node.js v12.9 or greater.
136
+ - The driver is no longer compatible with Node.js v12.8 or earlier. If you
137
+ want to use this version of the driver, you must use Node.js v12.9 or greater.
138
138
139
139
- ``Cursor`` types no longer extend ``Readable`` directly.
140
140
0 commit comments