Skip to content

Commit

Permalink
2022-10-12, Version 16.18.0 'Gallium' (LTS)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
juanarbol committed Oct 12, 2022
1 parent fd36a8d commit e23c256
Show file tree
Hide file tree
Showing 14 changed files with 445 additions and 31 deletions.
8 changes: 6 additions & 2 deletions doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,9 @@ const callsfunc = tracker.calls(func);
### `tracker.getCalls(fn)`

<!-- YAML
added: v18.8.0
added:
- v18.8.0
- v16.18.0
-->

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

<!-- YAML
added: v18.8.0
added:
- v18.8.0
- v16.18.0
-->

* `fn` {Function} a tracked function to reset.
Expand Down
8 changes: 6 additions & 2 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,9 @@ Default signal is `SIGUSR2`.
<!-- YAML
added: v11.8.0
changes:
- version: v18.8.0
- version:
- v18.8.0
- v16.18.0
pr-url: https://github.com/nodejs/node/pull/44208
description: Report is not generated if the uncaught exception is handled.
- version:
Expand Down Expand Up @@ -1337,7 +1339,9 @@ for TLSv1.2, which is not as secure as TLSv1.3.

<!-- YAML
added: v14.3.0
deprecated: v18.8.0
deprecated:
- v18.8.0
- v16.18.0
-->

> Stability: 0 - Deprecated
Expand Down
12 changes: 9 additions & 3 deletions doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -3562,7 +3562,9 @@ and it will be impossible to extract the private key from the returned object.
<!-- YAML
added: v11.6.0
changes:
- version: v18.8.0
- version:
- v18.8.0
- v16.18.0
pr-url: https://github.com/nodejs/node/pull/44201
description: The key can now be zero-length.
- version: v15.0.0
Expand Down Expand Up @@ -4231,7 +4233,9 @@ web-compatible code use [`crypto.webcrypto.getRandomValues()`][] instead.
<!-- YAML
added: v15.0.0
changes:
- version: v18.8.0
- version:
- v18.8.0
- v16.18.0
pr-url: https://github.com/nodejs/node/pull/44201
description: The input keying material can now be zero-length.
- version: v18.0.0
Expand Down Expand Up @@ -4294,7 +4298,9 @@ hkdf('sha512', 'key', 'salt', 'info', 64, (err, derivedKey) => {
<!-- YAML
added: v15.0.0
changes:
- version: v18.8.0
- version:
- v18.8.0
- v16.18.0
pr-url: https://github.com/nodejs/node/pull/44201
description: The input keying material can now be zero-length.
-->
Expand Down
12 changes: 9 additions & 3 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3181,7 +3181,9 @@ changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/44711
description: Runtime deprecation.
- version: v18.10.0
- version:
- v18.10.0
- v16.18.0
pr-url: https://github.com/nodejs/node/pull/44714
description: Documentation-only deprecation of `process.exitCode` integer
coercion.
Expand All @@ -3203,7 +3205,9 @@ Values other than `undefined`, `null`, integer numbers, and integer strings

<!-- YAML
changes:
- version: v18.8.0
- version:
- v18.8.0
- v16.18.0
pr-url: https://github.com/nodejs/node/pull/44093
description: Documentation-only deprecation.
-->
Expand Down Expand Up @@ -3236,7 +3240,9 @@ starting or ending in a slash.

<!-- YAML
changes:
- version: v18.10.0
- version:
- v18.10.0
- v16.18.0
pr-url: https://github.com/nodejs/node/pull/44588
description: Documentation-only deprecation.
-->
Expand Down
4 changes: 2 additions & 2 deletions doc/api/diagnostics_channel.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ Emitted when a new UDP socket is created.
#### Process

<!-- YAML
added: REPLACEME
added: v16.18.0
-->

`child_process`
Expand All @@ -471,7 +471,7 @@ Emitted when a new process is created.
#### Worker Thread

<!-- YAML
added: REPLACEME
added: v16.18.0
-->

`worker_threads`
Expand Down
4 changes: 3 additions & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -3689,7 +3689,9 @@ try {
## `http.setMaxIdleHTTPParsers`

<!-- YAML
added: v18.8.0
added:
- v18.8.0
- v16.18.0
-->

* {number}
Expand Down
4 changes: 3 additions & 1 deletion doc/api/inspector.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ const inspector = require('node:inspector');
<!-- YAML
added: v9.0.0
changes:
- version: v18.10.0
- version:
- v18.10.0
- v16.18.0
pr-url: https://github.com/nodejs/node/pull/44489
description: The API is exposed in the worker threads.
-->
Expand Down
4 changes: 3 additions & 1 deletion doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,9 @@ The numeric representation of the local port. For example, `80` or `21`.
### `socket.localFamily`

<!-- YAML
added: v18.8.0
added:
- v18.8.0
- v16.18.0
-->

* {string}
Expand Down
4 changes: 3 additions & 1 deletion doc/api/os.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,9 @@ available, `GetVersionExW()` will be used. See
## `os.machine()`

<!-- YAML
added: v18.9.0
added:
- v18.9.0
- v16.18.0
-->

* Returns {string}
Expand Down
40 changes: 30 additions & 10 deletions doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,9 @@ added:
- v18.0.0
- v16.17.0
changes:
- version: v18.8.0
- version:
- v18.8.0
- v16.18.0
pr-url: https://github.com/nodejs/node/pull/43554
description: Add a `signal` option.
- version:
Expand Down Expand Up @@ -523,7 +525,9 @@ same as [`it([name], { todo: true }[, fn])`][it options].
## `before([fn][, options])`

<!-- YAML
added: v18.8.0
added:
- v18.8.0
- v16.18.0
-->

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

<!-- YAML
added: v18.8.0
added:
- v18.8.0
- v16.18.0
-->

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

<!-- YAML
added: v18.8.0
added:
- v18.8.0
- v16.18.0
-->

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

<!-- YAML
added: v18.8.0
added:
- v18.8.0
- v16.18.0
-->

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

<!-- YAML
added: v18.8.0
added:
- v18.8.0
- v16.18.0
-->

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

<!-- YAML
added: v18.8.0
added:
- v18.8.0
- v16.18.0
-->

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

<!-- YAML
added: v18.8.0
added:
- v18.8.0
- v16.18.0
-->

The name of the test.
Expand Down Expand Up @@ -872,7 +888,9 @@ added:
- v18.0.0
- v16.17.0
changes:
- version: v18.8.0
- version:
- v18.8.0
- v16.18.0
pr-url: https://github.com/nodejs/node/pull/43554
description: Add a `signal` option.
- version:
Expand Down Expand Up @@ -939,7 +957,9 @@ exposed as part of the API.
### `context.name`

<!-- YAML
added: v18.8.0
added:
- v18.8.0
- v16.18.0
-->

The name of the suite.
Expand Down
6 changes: 3 additions & 3 deletions doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,14 +485,14 @@ stream.write('With ES6');
<!-- YAML
added: v0.3.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/43576
description: add support for `maxArrayLength` when inspecting `Set` and `Map`.
- version:
- v17.3.0
- v16.14.0
pr-url: https://github.com/nodejs/node/pull/41003
description: The `numericSeparator` option is supported now.
- version: v16.18.0
pr-url: https://github.com/nodejs/node/pull/43576
description: add support for `maxArrayLength` when inspecting `Set` and `Map`.
- version:
- v14.6.0
- v12.19.0
Expand Down
4 changes: 3 additions & 1 deletion doc/api/v8.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,9 @@ if (isMainThread) {
## `v8.setHeapSnapshotNearHeapLimit(limit)`

<!-- YAML
added: v18.10.0
added:
- v18.10.0
- v16.18.0
-->

> Stability: 1 - Experimental
Expand Down
4 changes: 3 additions & 1 deletion doc/api/webstreams.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,9 @@ is active.
<!-- YAML
added: v16.5.0
changes:
- version: v18.10.0
- version:
- v18.10.0
- v16.18.0
pr-url: https://github.com/nodejs/node/pull/44505
description: Support teeing a readable byte stream.
-->
Expand Down
Loading

0 comments on commit e23c256

Please sign in to comment.