Skip to content

Commit e23c256

Browse files
committed
2022-10-12, Version 16.18.0 'Gallium' (LTS)
Notable changes: assert: add `getCalls` and `reset` to callTracker (Moshe Atlow) #44191 crypto: allow zero-length secret KeyObject (Filip Skokan) #44201 crypto: allow zero-length IKM in HKDF and in webcrypto PBKDF2 (Filip Skokan) #44201 doc: deprecate modp1, modp2, and modp5 groups (Tobias Nießen) #44588 http: make idle http parser count configurable (theanarkh) #43974 http: throw error on content-length mismatch (sidwebworks) #44378 lib: add diagnostics channel for process and worker (theanarkh) #44045 net,tls: pass a valid socket on `tlsClientError` (Daeyeon Jeong) #44021 net: add local family (theanarkh) #43975 report: expose report public native apis (Chengzhong Wu) #44255 src: expose environment RequestInterrupt api (Chengzhong Wu) #44362 stream: add `ReadableByteStream.tee()` (Daeyeon Jeong) #44505 test_runner: add before/after/each hooks (Moshe Atlow) #43730 util: add `maxArrayLength` option to Set and Map (Kohei Ueno) #43576 PR-URL: #44886
1 parent fd36a8d commit e23c256

14 files changed

+445
-31
lines changed

doc/api/assert.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,9 @@ const callsfunc = tracker.calls(func);
325325
### `tracker.getCalls(fn)`
326326

327327
<!-- YAML
328-
added: v18.8.0
328+
added:
329+
- v18.8.0
330+
- v16.18.0
329331
-->
330332

331333
* `fn` {Function}.
@@ -439,7 +441,9 @@ tracker.report();
439441
### `tracker.reset([fn])`
440442

441443
<!-- YAML
442-
added: v18.8.0
444+
added:
445+
- v18.8.0
446+
- v16.18.0
443447
-->
444448

445449
* `fn` {Function} a tracked function to reset.

doc/api/cli.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,9 @@ Default signal is `SIGUSR2`.
11211121
<!-- YAML
11221122
added: v11.8.0
11231123
changes:
1124-
- version: v18.8.0
1124+
- version:
1125+
- v18.8.0
1126+
- v16.18.0
11251127
pr-url: https://github.com/nodejs/node/pull/44208
11261128
description: Report is not generated if the uncaught exception is handled.
11271129
- version:
@@ -1337,7 +1339,9 @@ for TLSv1.2, which is not as secure as TLSv1.3.
13371339

13381340
<!-- YAML
13391341
added: v14.3.0
1340-
deprecated: v18.8.0
1342+
deprecated:
1343+
- v18.8.0
1344+
- v16.18.0
13411345
-->
13421346

13431347
> Stability: 0 - Deprecated

doc/api/crypto.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -3562,7 +3562,9 @@ and it will be impossible to extract the private key from the returned object.
35623562
<!-- YAML
35633563
added: v11.6.0
35643564
changes:
3565-
- version: v18.8.0
3565+
- version:
3566+
- v18.8.0
3567+
- v16.18.0
35663568
pr-url: https://github.com/nodejs/node/pull/44201
35673569
description: The key can now be zero-length.
35683570
- version: v15.0.0
@@ -4231,7 +4233,9 @@ web-compatible code use [`crypto.webcrypto.getRandomValues()`][] instead.
42314233
<!-- YAML
42324234
added: v15.0.0
42334235
changes:
4234-
- version: v18.8.0
4236+
- version:
4237+
- v18.8.0
4238+
- v16.18.0
42354239
pr-url: https://github.com/nodejs/node/pull/44201
42364240
description: The input keying material can now be zero-length.
42374241
- version: v18.0.0
@@ -4294,7 +4298,9 @@ hkdf('sha512', 'key', 'salt', 'info', 64, (err, derivedKey) => {
42944298
<!-- YAML
42954299
added: v15.0.0
42964300
changes:
4297-
- version: v18.8.0
4301+
- version:
4302+
- v18.8.0
4303+
- v16.18.0
42984304
pr-url: https://github.com/nodejs/node/pull/44201
42994305
description: The input keying material can now be zero-length.
43004306
-->

doc/api/deprecations.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -3181,7 +3181,9 @@ changes:
31813181
- version: REPLACEME
31823182
pr-url: https://github.com/nodejs/node/pull/44711
31833183
description: Runtime deprecation.
3184-
- version: v18.10.0
3184+
- version:
3185+
- v18.10.0
3186+
- v16.18.0
31853187
pr-url: https://github.com/nodejs/node/pull/44714
31863188
description: Documentation-only deprecation of `process.exitCode` integer
31873189
coercion.
@@ -3203,7 +3205,9 @@ Values other than `undefined`, `null`, integer numbers, and integer strings
32033205

32043206
<!-- YAML
32053207
changes:
3206-
- version: v18.8.0
3208+
- version:
3209+
- v18.8.0
3210+
- v16.18.0
32073211
pr-url: https://github.com/nodejs/node/pull/44093
32083212
description: Documentation-only deprecation.
32093213
-->
@@ -3236,7 +3240,9 @@ starting or ending in a slash.
32363240

32373241
<!-- YAML
32383242
changes:
3239-
- version: v18.10.0
3243+
- version:
3244+
- v18.10.0
3245+
- v16.18.0
32403246
pr-url: https://github.com/nodejs/node/pull/44588
32413247
description: Documentation-only deprecation.
32423248
-->

doc/api/diagnostics_channel.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ Emitted when a new UDP socket is created.
459459
#### Process
460460

461461
<!-- YAML
462-
added: REPLACEME
462+
added: v16.18.0
463463
-->
464464

465465
`child_process`
@@ -471,7 +471,7 @@ Emitted when a new process is created.
471471
#### Worker Thread
472472

473473
<!-- YAML
474-
added: REPLACEME
474+
added: v16.18.0
475475
-->
476476

477477
`worker_threads`

doc/api/http.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -3689,7 +3689,9 @@ try {
36893689
## `http.setMaxIdleHTTPParsers`
36903690

36913691
<!-- YAML
3692-
added: v18.8.0
3692+
added:
3693+
- v18.8.0
3694+
- v16.18.0
36933695
-->
36943696

36953697
* {number}

doc/api/inspector.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ const inspector = require('node:inspector');
2020
<!-- YAML
2121
added: v9.0.0
2222
changes:
23-
- version: v18.10.0
23+
- version:
24+
- v18.10.0
25+
- v16.18.0
2426
pr-url: https://github.com/nodejs/node/pull/44489
2527
description: The API is exposed in the worker threads.
2628
-->

doc/api/net.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,9 @@ The numeric representation of the local port. For example, `80` or `21`.
10531053
### `socket.localFamily`
10541054

10551055
<!-- YAML
1056-
added: v18.8.0
1056+
added:
1057+
- v18.8.0
1058+
- v16.18.0
10571059
-->
10581060

10591061
* {string}

doc/api/os.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,9 @@ available, `GetVersionExW()` will be used. See
455455
## `os.machine()`
456456

457457
<!-- YAML
458-
added: v18.9.0
458+
added:
459+
- v18.9.0
460+
- v16.18.0
459461
-->
460462

461463
* Returns {string}

doc/api/test.md

+30-10
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,9 @@ added:
393393
- v18.0.0
394394
- v16.17.0
395395
changes:
396-
- version: v18.8.0
396+
- version:
397+
- v18.8.0
398+
- v16.18.0
397399
pr-url: https://github.com/nodejs/node/pull/43554
398400
description: Add a `signal` option.
399401
- version:
@@ -523,7 +525,9 @@ same as [`it([name], { todo: true }[, fn])`][it options].
523525
## `before([fn][, options])`
524526

525527
<!-- YAML
526-
added: v18.8.0
528+
added:
529+
- v18.8.0
530+
- v16.18.0
527531
-->
528532

529533
* `fn` {Function|AsyncFunction} The hook function.
@@ -551,7 +555,9 @@ describe('tests', async () => {
551555
## `after([fn][, options])`
552556

553557
<!-- YAML
554-
added: v18.8.0
558+
added:
559+
- v18.8.0
560+
- v16.18.0
555561
-->
556562

557563
* `fn` {Function|AsyncFunction} The hook function.
@@ -579,7 +585,9 @@ describe('tests', async () => {
579585
## `beforeEach([fn][, options])`
580586

581587
<!-- YAML
582-
added: v18.8.0
588+
added:
589+
- v18.8.0
590+
- v16.18.0
583591
-->
584592

585593
* `fn` {Function|AsyncFunction} The hook function.
@@ -608,7 +616,9 @@ describe('tests', async () => {
608616
## `afterEach([fn][, options])`
609617

610618
<!-- YAML
611-
added: v18.8.0
619+
added:
620+
- v18.8.0
621+
- v16.18.0
612622
-->
613623

614624
* `fn` {Function|AsyncFunction} The hook function.
@@ -690,7 +700,9 @@ exposed as part of the API.
690700
### `context.beforeEach([fn][, options])`
691701

692702
<!-- YAML
693-
added: v18.8.0
703+
added:
704+
- v18.8.0
705+
- v16.18.0
694706
-->
695707

696708
* `fn` {Function|AsyncFunction} The hook function. The first argument
@@ -722,7 +734,9 @@ test('top level test', async (t) => {
722734
### `context.afterEach([fn][, options])`
723735

724736
<!-- YAML
725-
added: v18.8.0
737+
added:
738+
- v18.8.0
739+
- v16.18.0
726740
-->
727741

728742
* `fn` {Function|AsyncFunction} The hook function. The first argument
@@ -774,7 +788,9 @@ test('top level test', (t) => {
774788
### `context.name`
775789

776790
<!-- YAML
777-
added: v18.8.0
791+
added:
792+
- v18.8.0
793+
- v16.18.0
778794
-->
779795

780796
The name of the test.
@@ -872,7 +888,9 @@ added:
872888
- v18.0.0
873889
- v16.17.0
874890
changes:
875-
- version: v18.8.0
891+
- version:
892+
- v18.8.0
893+
- v16.18.0
876894
pr-url: https://github.com/nodejs/node/pull/43554
877895
description: Add a `signal` option.
878896
- version:
@@ -939,7 +957,9 @@ exposed as part of the API.
939957
### `context.name`
940958

941959
<!-- YAML
942-
added: v18.8.0
960+
added:
961+
- v18.8.0
962+
- v16.18.0
943963
-->
944964

945965
The name of the suite.

doc/api/util.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -485,14 +485,14 @@ stream.write('With ES6');
485485
<!-- YAML
486486
added: v0.3.0
487487
changes:
488-
- version: REPLACEME
489-
pr-url: https://github.com/nodejs/node/pull/43576
490-
description: add support for `maxArrayLength` when inspecting `Set` and `Map`.
491488
- version:
492489
- v17.3.0
493490
- v16.14.0
494491
pr-url: https://github.com/nodejs/node/pull/41003
495492
description: The `numericSeparator` option is supported now.
493+
- version: v16.18.0
494+
pr-url: https://github.com/nodejs/node/pull/43576
495+
description: add support for `maxArrayLength` when inspecting `Set` and `Map`.
496496
- version:
497497
- v14.6.0
498498
- v12.19.0

doc/api/v8.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,9 @@ if (isMainThread) {
359359
## `v8.setHeapSnapshotNearHeapLimit(limit)`
360360

361361
<!-- YAML
362-
added: v18.10.0
362+
added:
363+
- v18.10.0
364+
- v16.18.0
363365
-->
364366

365367
> Stability: 1 - Experimental

doc/api/webstreams.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,9 @@ is active.
300300
<!-- YAML
301301
added: v16.5.0
302302
changes:
303-
- version: v18.10.0
303+
- version:
304+
- v18.10.0
305+
- v16.18.0
304306
pr-url: https://github.com/nodejs/node/pull/44505
305307
description: Support teeing a readable byte stream.
306308
-->

0 commit comments

Comments
 (0)