Skip to content

Commit

Permalink
2022-10-11, Version 16.18.0 'Gallium' (LTS), @juanarbol
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 IKM in HKDF and in webcrypto PBKDF2 (Filip Skokan) #44201
crypto: allow zero-length secret KeyObject (Filip Skokan) #44201
doc: deprecate modp1, modp2, and modp5 groups (Tobias Nießen) #44588
http: throw error on content-length mismatch (sidwebworks) #44378
http: make idle http parser count configurable (theanarkh) #43974
lib: add diagnostics channel for process and worker (theanarkh) #44045
net: add local family (theanarkh) #43975
net,tls: pass a valid socket on `tlsClientError` (Daeyeon Jeong) #44021
os: add machine method (theanarkh) #44416
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
  • Loading branch information
juanarbol committed Oct 11, 2022
1 parent 54b9635 commit 61a4a52
Show file tree
Hide file tree
Showing 15 changed files with 394 additions and 32 deletions.
4 changes: 2 additions & 2 deletions doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ const callsfunc = tracker.calls(func);
### `tracker.getCalls(fn)`

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

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

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

* `fn` {Function} a tracked function to reset.
Expand Down
4 changes: 2 additions & 2 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ Default signal is `SIGUSR2`.
<!-- YAML
added: v11.8.0
changes:
- version: REPLACEME
- version: 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 @@ -1206,7 +1206,7 @@ for TLSv1.2, which is not as secure as TLSv1.3.

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

> Stability: 0 - Deprecated
Expand Down
6 changes: 3 additions & 3 deletions doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -3530,7 +3530,7 @@ and it will be impossible to extract the private key from the returned object.
<!-- YAML
added: v11.6.0
changes:
- version: REPLACEME
- version: 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 @@ -4169,7 +4169,7 @@ console.log(getHashes()); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...]
<!-- YAML
added: v15.0.0
changes:
- version: REPLACEME
- version: v16.18.0
pr-url: https://github.com/nodejs/node/pull/44201
description: The input keying material can now be zero-length.
-->
Expand Down Expand Up @@ -4227,7 +4227,7 @@ hkdf('sha512', 'key', 'salt', 'info', 64, (err, derivedKey) => {
<!-- YAML
added: v15.0.0
changes:
- version: REPLACEME
- version: v16.18.0
pr-url: https://github.com/nodejs/node/pull/44201
description: The input keying material can now be zero-length.
-->
Expand Down
6 changes: 3 additions & 3 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3124,7 +3124,7 @@ thing instead.

<!-- YAML
changes:
- version: REPLACEME
- version: v16.18.0
pr-url: https://github.com/nodejs/node/pull/44714
description: Documentation-only deprecation of `process.exitCode` integer
coercion.
Expand All @@ -3144,7 +3144,7 @@ Values other than `undefined`, `null`, integer numbers, and integer strings

<!-- YAML
changes:
- version: REPLACEME
- version: v16.18.0
pr-url: https://github.com/nodejs/node/pull/44093
description: Documentation-only deprecation.
-->
Expand All @@ -3159,7 +3159,7 @@ The [`--trace-atomics-wait`][] flag is deprecated.

<!-- YAML
changes:
- version: REPLACEME
- version: 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 @@ -450,7 +450,7 @@ Emitted when a new UDP socket is created.
#### Process

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

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

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

`worker_threads`
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -3564,7 +3564,7 @@ try {
## `http.setMaxIdleHTTPParsers`

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

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

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

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

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

* Returns {string}
Expand Down
20 changes: 10 additions & 10 deletions doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ internally.
<!-- YAML
added: v16.17.0
changes:
- version: REPLACEME
- version: v16.18.0
pr-url: https://github.com/nodejs/node/pull/43554
description: Add a `signal` option.
- version: v16.17.0
Expand Down Expand Up @@ -449,7 +449,7 @@ same as [`it([name], { todo: true }[, fn])`][it options].
## `before([, fn][, options])`

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

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

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

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

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

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

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

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

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

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

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

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

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

The name of the test.
Expand Down Expand Up @@ -743,7 +743,7 @@ test('top level test', (t) => {
<!-- YAML
added: v16.17.0
changes:
- version: REPLACEME
- version: v16.18.0
pr-url: https://github.com/nodejs/node/pull/43554
description: Add a `signal` option.
- version: v16.17.0
Expand Down Expand Up @@ -806,7 +806,7 @@ exposed as part of the API.
### `context.name`

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

The name of the suite.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ stream.write('With ES6');
<!-- YAML
added: v0.3.0
changes:
- version: REPLACEME
- version: v16.18.0
pr-url: https://github.com/nodejs/node/pull/43576
description: add support for `maxArrayLength` when inspecting `Set` and `Map`.
- version:
Expand Down
2 changes: 1 addition & 1 deletion doc/api/v8.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ if (isMainThread) {
## `v8.setHeapSnapshotNearHeapLimit(limit)`

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

> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/webstreams.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ is active.
<!-- YAML
added: v16.5.0
changes:
- version: REPLACEME
- version: 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 61a4a52

Please sign in to comment.