Skip to content

Commit

Permalink
2024-10-03, Version 20.18.0 'Iron' (LTS)
Browse files Browse the repository at this point in the history
Notable changes:

buffer:
  * optimize createFromString (Robert Nagy) #54324
inspector:
  * (SEMVER-MINOR) support `Network.loadingFailed` event (Kohei Ueno) #54246
  * (SEMVER-MINOR) add initial support for network inspection (Kohei Ueno) #53593
lib:
  * (SEMVER-MINOR) add EventSource Client (Aras Abbasi) #51575
repl:
  * doc-deprecate instantiating `node:repl` classes without `new` (Aviv Keller) #54842
src,lib:
  * (SEMVER-MINOR) add performance.uvMetricsInfo (Rafael Gonzaga) #54413
test_runner:
  * (SEMVER-MINOR) support module mocking (Colin Ihrig) #52848
tls:
  * (SEMVER-MINOR) add `allowPartialTrustChain` flag (Anna Henningsen) #54790
url:
  * (SEMVER-MINOR) implement parse method for safer URL parsing (Ali Hassan) #52280
vm:
  * (SEMVER-MINOR) introduce vanilla contexts via vm.constants.DONT_CONTEXTIFY (Joyee Cheung) #54394
zlib:
  * deprecate instantiating classes without new (Yagiz Nizipli) #54708

PR-URL: #55170
  • Loading branch information
targos committed Oct 3, 2024
1 parent 1c7795e commit 784eb2c
Show file tree
Hide file tree
Showing 13 changed files with 400 additions and 17 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ release.
<a href="doc/changelogs/CHANGELOG_V22.md#22.0.0">22.0.0</a><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.17.0">20.17.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.18.0">20.18.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.17.0">20.17.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.16.0">20.16.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.15.1">20.15.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.15.0">20.15.0</a><br/>
Expand Down
14 changes: 11 additions & 3 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ added:
changes:
- version:
- v22.9.0
- v20.18.0
pr-url: https://github.com/nodejs/node/pull/54209
description: The flag is no longer experimental.
-->
Expand Down Expand Up @@ -708,7 +709,9 @@ code from strings throw an exception instead. This does not affect the Node.js
### `--expose-gc`

<!-- YAML
added: v22.3.0
added:
- v22.3.0
- v20.18.0
-->

> Stability: 1 - Experimental. This flag is inherited from V8 and is subject to
Expand Down Expand Up @@ -987,7 +990,9 @@ Implies `--experimental-strip-types` and `--enable-source-maps`.
### `--experimental-eventsource`

<!-- YAML
added: v22.3.0
added:
- v22.3.0
- v20.18.0
-->

Enable exposition of [EventSource Web API][] on the global scope.
Expand Down Expand Up @@ -1036,6 +1041,7 @@ Specify the `module` containing exported [module customization hooks][].
<!-- YAML
added:
- v22.6.0
- v20.18.0
-->

> Stability: 1 - Experimental
Expand Down Expand Up @@ -1155,7 +1161,9 @@ present. See the [test runner execution model][] section for more information.
### `--experimental-test-module-mocks`

<!-- YAML
added: v22.3.0
added:
- v22.3.0
- v20.18.0
-->

> Stability: 1.0 - Early development
Expand Down
8 changes: 6 additions & 2 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3724,7 +3724,9 @@ and [`crypto.setEngine()`][] all depend on this functionality from OpenSSL.

<!-- YAML
changes:
- version: v22.9.0
- version:
- v22.9.0
- v20.18.0
pr-url: https://github.com/nodejs/node/pull/54708
description: Documentation-only deprecation.
-->
Expand All @@ -3739,7 +3741,9 @@ It is recommended to use the `new` qualifier instead. This applies to all Zlib c

<!-- YAML
changes:
- version: v22.9.0
- version:
- v22.9.0
- v20.18.0
pr-url: https://github.com/nodejs/node/pull/54842
description: Documentation-only deprecation.
-->
Expand Down
4 changes: 3 additions & 1 deletion doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,9 @@ A browser-compatible implementation of the `Event` class. See
## `EventSource`

<!-- YAML
added: v22.3.0
added:
- v22.3.0
- v20.18.0
-->

> Stability: 1 - Experimental. Enable this API with the [`--experimental-eventsource`][]
Expand Down
4 changes: 4 additions & 0 deletions doc/api/inspector.md
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,7 @@ inspector.Network.requestWillBeSent({
<!-- YAML
added:
- v22.6.0
- v20.18.0
-->

> Stability: 1 - Experimental
Expand All @@ -530,6 +531,7 @@ the application is about to send an HTTP request.
<!-- YAML
added:
- v22.6.0
- v20.18.0
-->

> Stability: 1 - Experimental
Expand All @@ -546,6 +548,7 @@ HTTP response is available.
<!-- YAML
added:
- v22.6.0
- v20.18.0
-->

> Stability: 1 - Experimental
Expand All @@ -562,6 +565,7 @@ HTTP request has finished loading.
<!-- YAML
added:
- v22.7.0
- v20.18.0
-->

> Stability: 1 - Experimental
Expand Down
8 changes: 6 additions & 2 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3106,7 +3106,9 @@ creation methods.
#### `node_api_create_property_key_latin1`

<!-- YAML
added: v22.9.0
added:
- v22.9.0
- v20.18.0
-->

> Stability: 1 - Experimental
Expand Down Expand Up @@ -3172,7 +3174,9 @@ The JavaScript `string` type is described in
#### `node_api_create_property_key_utf8`

<!-- YAML
added: v22.9.0
added:
- v22.9.0
- v20.18.0
-->

> Stability: 1 - Experimental
Expand Down
4 changes: 3 additions & 1 deletion doc/api/perf_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,9 @@ initialized.
### `performanceNodeTiming.uvMetricsInfo`

<!-- YAML
added: v22.8.0
added:
- v22.8.0
- v20.18.0
-->

* Returns: {Object}
Expand Down
4 changes: 3 additions & 1 deletion doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -2801,7 +2801,9 @@ console.log(memoryUsage.rss());
<!-- YAML
added: v0.1.26
changes:
- version: v22.7.0
- version:
- v22.7.0
- v20.18.0
pr-url: https://github.com/nodejs/node/pull/51280
description: Changed stability to Legacy.
- version: v18.0.0
Expand Down
12 changes: 9 additions & 3 deletions doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -1956,7 +1956,9 @@ mock can still be used after calling this function.
## Class: `MockModuleContext`

<!-- YAML
added: v22.3.0
added:
- v22.3.0
- v20.18.0
-->

> Stability: 1.0 - Early development
Expand All @@ -1967,7 +1969,9 @@ created via the [`MockTracker`][] APIs.
### `ctx.restore()`

<!-- YAML
added: v22.3.0
added:
- v22.3.0
- v20.18.0
-->

Resets the implementation of the mock module.
Expand Down Expand Up @@ -2108,7 +2112,9 @@ test('spies on an object method', (t) => {
### `mock.module(specifier[, options])`

<!-- YAML
added: v22.3.0
added:
- v22.3.0
- v20.18.0
-->

> Stability: 1.0 - Early development
Expand Down
4 changes: 3 additions & 1 deletion doc/api/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -1856,7 +1856,9 @@ argument.
<!-- YAML
added: v0.11.13
changes:
- version: v22.9.0
- version:
- v22.9.0
- v20.18.0
pr-url: https://github.com/nodejs/node/pull/54790
description: The `allowPartialTrustChain` option has been added.
- version:
Expand Down
4 changes: 3 additions & 1 deletion doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -1868,7 +1868,9 @@ added:
- v21.7.0
- v20.12.0
changes:
- version: v22.8.0
- version:
- v22.8.0
- v20.18.0
pr-url: https://github.com/nodejs/node/pull/54389
description: Respect isTTY and environment variables
such as NO_COLORS, NODE_DISABLE_COLORS, and FORCE_COLOR.
Expand Down
6 changes: 5 additions & 1 deletion doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ overhead.
<!-- YAML
added: v0.3.1
changes:
- version: v22.8.0
- version:
- v22.8.0
- v20.18.0
pr-url: https://github.com/nodejs/node/pull/54394
description: The `contextObject` argument now accepts `vm.constants.DONT_CONTEXTIFY`.
- version: v14.6.0
Expand Down Expand Up @@ -1091,6 +1093,7 @@ added: v0.3.1
changes:
- version:
- v22.8.0
- v20.18.0
pr-url: https://github.com/nodejs/node/pull/54394
description: The `contextObject` argument now accepts `vm.constants.DONT_CONTEXTIFY`.
- version:
Expand Down Expand Up @@ -1363,6 +1366,7 @@ added: v0.3.1
changes:
- version:
- v22.8.0
- v20.18.0
pr-url: https://github.com/nodejs/node/pull/54394
description: The `contextObject` argument now accepts `vm.constants.DONT_CONTEXTIFY`.
- version:
Expand Down
Loading

0 comments on commit 784eb2c

Please sign in to comment.