From 784eb2c28106d0a83af5a724d86a6186bf5a2271 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 30 Sep 2024 10:57:59 +0200 Subject: [PATCH] 2024-10-03, Version 20.18.0 'Iron' (LTS) Notable changes: buffer: * optimize createFromString (Robert Nagy) https://github.com/nodejs/node/pull/54324 inspector: * (SEMVER-MINOR) support `Network.loadingFailed` event (Kohei Ueno) https://github.com/nodejs/node/pull/54246 * (SEMVER-MINOR) add initial support for network inspection (Kohei Ueno) https://github.com/nodejs/node/pull/53593 lib: * (SEMVER-MINOR) add EventSource Client (Aras Abbasi) https://github.com/nodejs/node/pull/51575 repl: * doc-deprecate instantiating `node:repl` classes without `new` (Aviv Keller) https://github.com/nodejs/node/pull/54842 src,lib: * (SEMVER-MINOR) add performance.uvMetricsInfo (Rafael Gonzaga) https://github.com/nodejs/node/pull/54413 test_runner: * (SEMVER-MINOR) support module mocking (Colin Ihrig) https://github.com/nodejs/node/pull/52848 tls: * (SEMVER-MINOR) add `allowPartialTrustChain` flag (Anna Henningsen) https://github.com/nodejs/node/pull/54790 url: * (SEMVER-MINOR) implement parse method for safer URL parsing (Ali Hassan) https://github.com/nodejs/node/pull/52280 vm: * (SEMVER-MINOR) introduce vanilla contexts via vm.constants.DONT_CONTEXTIFY (Joyee Cheung) https://github.com/nodejs/node/pull/54394 zlib: * deprecate instantiating classes without new (Yagiz Nizipli) https://github.com/nodejs/node/pull/54708 PR-URL: https://github.com/nodejs/node/pull/55170 --- CHANGELOG.md | 3 +- doc/api/cli.md | 14 +- doc/api/deprecations.md | 8 +- doc/api/globals.md | 4 +- doc/api/inspector.md | 4 + doc/api/n-api.md | 8 +- doc/api/perf_hooks.md | 4 +- doc/api/process.md | 4 +- doc/api/test.md | 12 +- doc/api/tls.md | 4 +- doc/api/util.md | 4 +- doc/api/vm.md | 6 +- doc/changelogs/CHANGELOG_V20.md | 342 ++++++++++++++++++++++++++++++++ 13 files changed, 400 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13838febd5faa7..2ed13876b5e93f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,7 +51,8 @@ release. 22.0.0
-20.17.0
+20.18.0
+20.17.0
20.16.0
20.15.1
20.15.0
diff --git a/doc/api/cli.md b/doc/api/cli.md index a79bfe2addce59..f37684d21f517c 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -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. --> @@ -708,7 +709,9 @@ code from strings throw an exception instead. This does not affect the Node.js ### `--expose-gc` > Stability: 1 - Experimental. This flag is inherited from V8 and is subject to @@ -987,7 +990,9 @@ Implies `--experimental-strip-types` and `--enable-source-maps`. ### `--experimental-eventsource` Enable exposition of [EventSource Web API][] on the global scope. @@ -1036,6 +1041,7 @@ Specify the `module` containing exported [module customization hooks][]. > Stability: 1 - Experimental @@ -1155,7 +1161,9 @@ present. See the [test runner execution model][] section for more information. ### `--experimental-test-module-mocks` > Stability: 1.0 - Early development diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 2f0394d4a2deb8..5d036fa2917ce8 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -3724,7 +3724,9 @@ and [`crypto.setEngine()`][] all depend on this functionality from OpenSSL. @@ -3739,7 +3741,9 @@ It is recommended to use the `new` qualifier instead. This applies to all Zlib c diff --git a/doc/api/globals.md b/doc/api/globals.md index 1201e6152d7ba4..6cd4823aa7285e 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -477,7 +477,9 @@ A browser-compatible implementation of the `Event` class. See ## `EventSource` > Stability: 1 - Experimental. Enable this API with the [`--experimental-eventsource`][] diff --git a/doc/api/inspector.md b/doc/api/inspector.md index 2d8bf185de0971..64db50b8fc1da4 100644 --- a/doc/api/inspector.md +++ b/doc/api/inspector.md @@ -514,6 +514,7 @@ inspector.Network.requestWillBeSent({ > Stability: 1 - Experimental @@ -530,6 +531,7 @@ the application is about to send an HTTP request. > Stability: 1 - Experimental @@ -546,6 +548,7 @@ HTTP response is available. > Stability: 1 - Experimental @@ -562,6 +565,7 @@ HTTP request has finished loading. > Stability: 1 - Experimental diff --git a/doc/api/n-api.md b/doc/api/n-api.md index 8be2ec3a671087..839f0229912151 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -3106,7 +3106,9 @@ creation methods. #### `node_api_create_property_key_latin1` > Stability: 1 - Experimental @@ -3172,7 +3174,9 @@ The JavaScript `string` type is described in #### `node_api_create_property_key_utf8` > Stability: 1 - Experimental diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index e8a9022f4f0a39..74f8c115b486d4 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -890,7 +890,9 @@ initialized. ### `performanceNodeTiming.uvMetricsInfo` * Returns: {Object} diff --git a/doc/api/process.md b/doc/api/process.md index c8ccfdc233a405..124b54dfea3e3e 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -2801,7 +2801,9 @@ console.log(memoryUsage.rss()); > Stability: 1.0 - Early development @@ -1967,7 +1969,9 @@ created via the [`MockTracker`][] APIs. ### `ctx.restore()` Resets the implementation of the mock module. @@ -2108,7 +2112,9 @@ test('spies on an object method', (t) => { ### `mock.module(specifier[, options])` > Stability: 1.0 - Early development diff --git a/doc/api/tls.md b/doc/api/tls.md index 4c06e006a95764..f19a75370b1cf5 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1856,7 +1856,9 @@ argument.