From 8787acb1e62a48cf77c361b571b7aa641e59fb99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 27 Nov 2023 12:19:49 +0100 Subject: [PATCH] 2023-11-29, Version 18.19.0 'Hydrogen' (LTS) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Notable changes: deps: * (SEMVER-MINOR) update uvwasi to 0.0.19 (Node.js GitHub Bot) https://github.com/nodejs/node/pull/49908 * (SEMVER-MINOR) upgrade npm to 10.2.3 (npm team) https://github.com/nodejs/node/pull/50531 doc: * move and rename loaders section (Geoffrey Booth) https://github.com/nodejs/node/pull/49261 esm: * use import attributes instead of import assertions (Antoine du Hamel) https://github.com/nodejs/node/pull/50140 * --experimental-default-type flag to flip module defaults (Geoffrey Booth) https://github.com/nodejs/node/pull/49869 * unflag import.meta.resolve (Guy Bedford) https://github.com/nodejs/node/pull/49028 * move hook execution to separate thread (Jacob Smith) https://github.com/nodejs/node/pull/44710 * leverage loaders when resolving subsequent loaders (Maël Nison) https://github.com/nodejs/node/pull/43772 lib: * (SEMVER-MINOR) add api to detect whether source-maps are enabled (翠 / green) https://github.com/nodejs/node/pull/46391 * (SEMVER-MINOR) add tracing channel to diagnostics_channel (Stephen Belanger) https://github.com/nodejs/node/pull/44943 src: * (SEMVER-MINOR) add cjs_module_lexer_version base64_version (Jithil P Ponnan) https://github.com/nodejs/node/pull/45629 stream: * use bitmap in readable state (Benjamin Gruenbaum) https://github.com/nodejs/node/pull/49745 test_runner: * (SEMVER-MINOR) accept `testOnly` in `run` (Moshe Atlow) https://github.com/nodejs/node/pull/49753 * (SEMVER-MINOR) add junit reporter (Moshe Atlow) https://github.com/nodejs/node/pull/49614 * (SEMVER-MINOR) expose location of tests (Colin Ihrig) https://github.com/nodejs/node/pull/48975 * (SEMVER-MINOR) add shards support (Raz Luvaton) https://github.com/nodejs/node/pull/48639 * (SEMVER-MINOR) add initial draft for fakeTimers (Erick Wendel) https://github.com/nodejs/node/pull/47775 test_runner, cli: * (SEMVER-MINOR) add --test-concurrency flag (Colin Ihrig) https://github.com/nodejs/node/pull/49996 tls: * (SEMVER-MINOR) add ALPNCallback server option for dynamic ALPN negotiation (Tim Perry) https://github.com/nodejs/node/pull/45190 vm: * (SEMVER-MINOR) use import attributes instead of import assertions (Antoine du Hamel) https://github.com/nodejs/node/pull/50141 PR-URL: https://github.com/nodejs/node/pull/50953 --- CHANGELOG.md | 3 +- doc/api/cli.md | 10 +- doc/api/diagnostics_channel.md | 10 + doc/api/errors.md | 1 + doc/api/esm.md | 17 +- doc/api/fs.md | 12 +- doc/api/module.md | 17 +- doc/api/n-api.md | 1 + doc/api/process.md | 4 +- doc/api/stream.md | 8 +- doc/api/test.md | 5 + doc/api/tls.md | 4 +- doc/api/vm.md | 1 + doc/changelogs/CHANGELOG_V18.md | 461 ++++++++++++++++++++++++++++++++ 14 files changed, 536 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9620e96943ef70..518091d36de06d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -58,7 +58,8 @@ release. 20.0.0
-18.18.2
+18.19.0
+18.18.2
18.18.1
18.18.0
18.17.1
diff --git a/doc/api/cli.md b/doc/api/cli.md index 30b8b358d12973..b924c6b5a975e6 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -647,6 +647,7 @@ and `"` are usable. added: - v21.0.0 - v20.10.0 + - v18.19.0 --> > Stability: 1.0 - Early development @@ -706,7 +707,9 @@ added: - v13.9.0 - v12.16.2 changes: - - version: v20.6.0 + - version: + - v20.6.0 + - v18.19.0 pr-url: https://github.com/nodejs/node/pull/49028 description: synchronous import.meta.resolve made available by default, with the flag retained for enabling the experimental second argument @@ -1753,6 +1756,7 @@ for more details. added: - v21.0.0 - v20.10.0 + - v18.19.0 --> The maximum number of test files that the test runner CLI will execute @@ -1820,7 +1824,9 @@ The destination for the corresponding test reporter. See the documentation on ### `--test-shard` Test suite shard to execute in a format of `/`, where diff --git a/doc/api/diagnostics_channel.md b/doc/api/diagnostics_channel.md index b92ee0b014de02..9f31c72183768b 100644 --- a/doc/api/diagnostics_channel.md +++ b/doc/api/diagnostics_channel.md @@ -236,6 +236,7 @@ diagnostics_channel.unsubscribe('my-channel', onMessage); > Stability: 1 - Experimental @@ -466,6 +467,7 @@ channel.unsubscribe(onMessage); > Stability: 1 - Experimental @@ -510,6 +512,7 @@ channel.bindStore(store, (data) => { > Stability: 1 - Experimental @@ -549,6 +552,7 @@ channel.unbindStore(store); > Stability: 1 - Experimental @@ -610,6 +614,7 @@ channel.runStores({ some: 'message' }, () => { > Stability: 1 - Experimental @@ -627,6 +632,7 @@ dynamically. > Stability: 1 - Experimental @@ -695,6 +701,7 @@ channels.subscribe({ > Stability: 1 - Experimental @@ -765,6 +772,7 @@ channels.unsubscribe({ > Stability: 1 - Experimental @@ -810,6 +818,7 @@ channels.traceSync(() => { > Stability: 1 - Experimental @@ -858,6 +867,7 @@ channels.tracePromise(async () => { > Stability: 1 - Experimental diff --git a/doc/api/errors.md b/doc/api/errors.md index 38a29a1aae5000..6a1d06a6f5baba 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -1780,6 +1780,7 @@ An import attribute is missing, preventing the specified module to be imported. added: - v21.0.0 - v20.10.0 + - v18.19.0 --> An import attribute is not supported by this version of Node.js. diff --git a/doc/api/esm.md b/doc/api/esm.md index 1feb287d20e834..4ea219f43df0dd 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -12,7 +12,9 @@ changes: - v20.10.0 pr-url: https://github.com/nodejs/node/pull/50140 description: Add experimental support for import attributes. - - version: v20.0.0 + - version: + - v20.0.0 + - v18.19.0 pr-url: https://github.com/nodejs/node/pull/44710 description: Module customization hooks are executed off the main thread. - version: @@ -262,6 +264,7 @@ changes: - version: - v21.0.0 - v20.10.0 + - v18.19.0 pr-url: https://github.com/nodejs/node/pull/50140 description: Switch from Import Assertions to Import Attributes. --> @@ -386,15 +389,21 @@ added: - v13.9.0 - v12.16.2 changes: - - version: v20.6.0 + - version: + - v20.6.0 + - v18.19.0 pr-url: https://github.com/nodejs/node/pull/49028 description: Unflag `import.meta.resolve``, with `parentURL` parameter still flagged. - - version: v20.6.0 + - version: + - v20.6.0 + - v18.19.0 pr-url: https://github.com/nodejs/node/pull/49038 description: This API no longer throws when targeting `file:` URLs that do not map to an existing file on the local FS. - - version: v20.0.0 + - version: + - v20.0.0 + - v18.19.0 pr-url: https://github.com/nodejs/node/pull/44710 description: This API now returns a string synchronously instead of a Promise. - version: diff --git a/doc/api/fs.md b/doc/api/fs.md index e382a8b6d58c3c..be9acd7dad7a35 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -1204,7 +1204,9 @@ makeDirectory().catch(console.error); @@ -153,7 +157,9 @@ import('node:fs').then((esmFS) => { > Stability: 1.2 - Release candidate @@ -461,6 +469,7 @@ changes: - version: - v21.0.0 - v20.10.0 + - v18.19.0 pr-url: https://github.com/nodejs/node/pull/50140 description: The property `context.importAssertions` is replaced with `context.importAttributes`. Using the old name is still diff --git a/doc/api/n-api.md b/doc/api/n-api.md index 9d3b780ab81d99..87c97c36825a1f 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -5455,6 +5455,7 @@ required in order to enable correct disposal of the reference. added: - v21.0.0 - v20.10.0 + - v18.19.0 --> > Stability: 1 - Experimental diff --git a/doc/api/process.md b/doc/api/process.md index f0ce10fa9f071a..df7af5feaa92f9 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -3523,7 +3523,9 @@ Using this function is mutually exclusive with using the deprecated ## `process.sourceMapsEnabled` > Stability: 1 - Experimental diff --git a/doc/api/stream.md b/doc/api/stream.md index 960e61137ecbaa..93d7635a2679d0 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -2015,7 +2015,9 @@ added: - v17.4.0 - v16.14.0 changes: - - version: v20.7.0 + - version: + - v20.7.0 + - v18.19.0 pr-url: https://github.com/nodejs/node/pull/49249 description: added `highWaterMark` in options. --> @@ -2068,7 +2070,9 @@ added: - v17.4.0 - v16.14.0 changes: - - version: v20.7.0 + - version: + - v20.7.0 + - v18.19.0 pr-url: https://github.com/nodejs/node/pull/49249 description: added `highWaterMark` in options. --> diff --git a/doc/api/test.md b/doc/api/test.md index 4b444e2effb218..543982e3c9c4b9 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -1803,6 +1803,7 @@ set to `true`. > Stability: 1 - Experimental @@ -1821,6 +1822,7 @@ which is a `MockTimers` instance. This function restores the default behavior of all mocks that were previously @@ -1929,6 +1932,7 @@ Calls `timers.reset()`. Advances time for all mocked timers. @@ -2245,6 +2249,7 @@ test('should tick five times testing a real use case', async (context) => { Triggers all pending mocked timers immediately. If the `Date` object is also diff --git a/doc/api/tls.md b/doc/api/tls.md index 79544012484589..200da769a20333 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -2047,7 +2047,9 @@ where `secureSocket` has the same API as `pair.cleartext`.