Skip to content

Commit 540a5d2

Browse files
authored
DOCSP-26594: Node v4.12 release (#458)
* DOCSP-26594: Node v4.12 release * AH suggestion
1 parent ce0fa18 commit 540a5d2

File tree

4 files changed

+92
-2
lines changed

4 files changed

+92
-2
lines changed

config/redirects

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define: prefix docs/drivers/node
22
define: base https://www.mongodb.com/${prefix}
3-
define: versions v3.6 v3.7 v4.0 v4.1 v4.2 v4.3 v4.4 v4.5 v4.6 v4.7 v4.8 v4.9 v4.10 v4.11 master
3+
define: versions v3.6 v3.7 v4.0 v4.1 v4.2 v4.3 v4.4 v4.5 v4.6 v4.7 v4.8 v4.9 v4.10 v4.11 v4.12 master
44

55
symlink: current -> master
66

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ toc_landing_pages = [
1616
sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
1717

1818
[constants]
19-
version = "4.11"
19+
version = "4.12"
2020
package-name-org = "mongodb-org"
2121
api = "https://mongodb.github.io/node-mongodb-native/{+version+}"
2222
mongosh = "``mongosh``"

source/includes/mongodb-compatibility-table-node.rst

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
:class: compatibility-large
55

66
* - Node.js Driver Version
7+
- MongoDB 6.1
78
- MongoDB 6.0
89
- MongoDB 5.0
910
- MongoDB 4.4
@@ -14,7 +15,22 @@
1415
- MongoDB 3.2
1516
- MongoDB 3.0
1617
- MongoDB 2.6
18+
19+
* - 4.12
20+
- ✓
21+
- ✓
22+
- ✓
23+
- ✓
24+
- ✓
25+
- ✓
26+
- ✓
27+
-
28+
-
29+
-
30+
-
31+
1732
* - 4.11
33+
- ⊛
1834
- ✓
1935
- ✓
2036
- ✓
@@ -27,6 +43,7 @@
2743
-
2844

2945
* - 4.10
46+
- ⊛
3047
- ✓
3148
- ✓
3249
- ✓
@@ -39,6 +56,7 @@
3956
-
4057

4158
* - 4.9
59+
- ⊛
4260
- ✓
4361
- ✓
4462
- ✓
@@ -49,7 +67,9 @@
4967
-
5068
-
5169
-
70+
5271
* - 4.8
72+
- ⊛
5373
- ✓
5474
- ✓
5575
- ✓
@@ -60,7 +80,9 @@
6080
-
6181
-
6282
-
83+
6384
* - 4.7
85+
- ⊛
6486
- ⊛
6587
- ✓
6688
- ✓
@@ -71,7 +93,9 @@
7193
-
7294
-
7395
-
96+
7497
* - 4.6
98+
- ⊛
7599
- ⊛
76100
- ✓
77101
- ✓
@@ -82,7 +106,9 @@
82106
-
83107
-
84108
-
109+
85110
* - 4.5
111+
- ⊛
86112
- ⊛
87113
- ✓
88114
- ✓
@@ -93,7 +119,9 @@
93119
-
94120
-
95121
-
122+
96123
* - 4.4
124+
- ⊛
97125
- ⊛
98126
- ✓
99127
- ✓
@@ -104,7 +132,9 @@
104132
-
105133
-
106134
-
135+
107136
* - 4.3
137+
- ⊛
108138
- ⊛
109139
- ✓
110140
- ✓
@@ -115,7 +145,9 @@
115145
-
116146
-
117147
-
148+
118149
* - 4.2
150+
- ⊛
119151
- ⊛
120152
- ✓
121153
- ✓
@@ -126,7 +158,9 @@
126158
-
127159
-
128160
-
161+
129162
* - 4.1
163+
- ⊛
130164
- ⊛
131165
- ✓
132166
- ✓
@@ -137,7 +171,9 @@
137171
- ✓
138172
- ✓
139173
- ✓
174+
140175
* - 4.0
176+
- ⊛
141177
- ⊛
142178
- ✓
143179
- ✓
@@ -148,7 +184,9 @@
148184
- ✓
149185
- ✓
150186
- ✓
187+
151188
* - 3.7 [#unified-topology]_
189+
- ⊛
152190
- ⊛
153191
- ✓
154192
- ✓
@@ -159,7 +197,9 @@
159197
- ✓
160198
- ✓
161199
- ✓
200+
162201
* - 3.6
202+
- ⊛
163203
- ⊛
164204
- ⊛
165205
- ✓
@@ -170,83 +210,98 @@
170210
- ✓
171211
- ✓
172212
- ✓
213+
173214
* - 3.5
174215
- ⊛
175216
- ⊛
176217
- ⊛
218+
- ⊛
177219
- ✓
178220
- ✓
179221
- ✓
180222
- ✓
181223
- ✓
182224
- ✓
183225
- ✓
226+
184227
* - 3.4
185228
- ⊛
186229
- ⊛
187230
- ⊛
231+
- ⊛
188232
- ✓
189233
- ✓
190234
- ✓
191235
- ✓
192236
- ✓
193237
- ✓
194238
- ✓
239+
195240
* - 3.3
196241
- ⊛
197242
- ⊛
198243
- ⊛
244+
- ⊛
199245
- ✓
200246
- ✓
201247
- ✓
202248
- ✓
203249
- ✓
204250
- ✓
205251
- ✓
252+
206253
* - 3.2.1
207254
- ⊛
208255
- ⊛
209256
- ⊛
210257
- ⊛
258+
- ⊛
211259
- ✓
212260
- ✓
213261
- ✓
214262
- ✓
215263
- ✓
216264
- ✓
265+
217266
* - 3.1
218267
- ⊛
219268
- ⊛
220269
- ⊛
221270
- ⊛
271+
- ⊛
222272
- ✓
223273
- ✓
224274
- ✓
225275
- ✓
226276
- ✓
227277
- ✓
278+
228279
* - 3.0
229280
-
230281
-
231282
-
232283
-
233284
-
285+
-
234286
- ✓
235287
- ✓
236288
- ✓
237289
- ✓
238290
- ✓
291+
239292
* - 2.2.12
240293
-
241294
-
242295
-
243296
-
244297
-
245298
-
299+
-
246300
- ✓
247301
- ✓
248302
- ✓
249303
- ✓
304+
250305
* - 2.0.14
251306
-
252307
-
@@ -256,8 +311,10 @@
256311
-
257312
-
258313
-
314+
-
259315
- ✓
260316
- ✓
317+
261318
* - 1.4.29
262319
-
263320
-
@@ -267,6 +324,7 @@
267324
-
268325
-
269326
-
327+
-
270328
- ✓
271329
- ✓
272330

source/whats-new.txt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ What's New
1212

1313
Learn what's new in:
1414

15+
* :ref:`Version 4.12 <version-4.12>`
1516
* :ref:`Version 4.11 <version-4.11>`
1617
* :ref:`Version 4.10 <version-4.10>`
1718
* :ref:`Version 4.9 <version-4.9>`
@@ -27,6 +28,37 @@ Learn what's new in:
2728
* :ref:`Version 3.7 <version-3.7>`
2829
* :ref:`Version 3.6 <version-3.6>`
2930

31+
.. _version-4.12:
32+
33+
What's New in 4.12
34+
------------------
35+
36+
New features of the 4.12 {+driver-short+} release include:
37+
38+
- Redefinition of the ``ChangeStream`` class as an async iterable.
39+
You can use ``ChangeStream`` instances in any context that expects an
40+
``AsyncIterator``.
41+
42+
- Notably, change streams can now be used in Javascript ``for-await``
43+
loops:
44+
45+
.. code-block:: js
46+
:copyable: false
47+
48+
const changeStream = collection.watch();
49+
for await (const change of changeStream) {
50+
console.log("Received change: ", change);
51+
}
52+
53+
- Fix to server monitoring when the driver skips monitoring events. In
54+
this release, the driver always updates its view of the topology when
55+
processing monitoring events.
56+
57+
- Performance improvements with buffering as a result of modification to
58+
data structures used internally in the driver.
59+
60+
To learn more, see the `v4.12.0 Release Highlights <https://github.com/mongodb/node-mongodb-native/releases/tag/v4.12.0>`__.
61+
3062
.. _version-4.11:
3163

3264
What's New in 4.11

0 commit comments

Comments
 (0)