From 9d87f0b8042cce228717357eb710866003614857 Mon Sep 17 00:00:00 2001 From: Sergey Chernyshev Date: Thu, 25 Apr 2024 04:28:05 +0200 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 --- graal-nodejs/CHANGELOG.md | 3 +- graal-nodejs/doc/api/cli.md | 8 +- graal-nodejs/doc/api/diagnostics_channel.md | 20 +- graal-nodejs/doc/api/errors.md | 2 +- graal-nodejs/doc/api/esm.md | 10 +- graal-nodejs/doc/api/fs.md | 6 +- graal-nodejs/doc/api/module.md | 10 +- graal-nodejs/doc/api/n-api.md | 2 +- graal-nodejs/doc/api/process.md | 2 +- graal-nodejs/doc/api/stream.md | 4 +- graal-nodejs/doc/api/test.md | 10 +- graal-nodejs/doc/api/tls.md | 2 +- graal-nodejs/doc/api/vm.md | 2 +- graal-nodejs/doc/changelogs/CHANGELOG_V18.md | 461 +++++++++++++++++++ graal-nodejs/src/node_version.h | 4 +- 15 files changed, 504 insertions(+), 42 deletions(-) diff --git a/graal-nodejs/CHANGELOG.md b/graal-nodejs/CHANGELOG.md index 1cf6101e85a..c3894afc8c2 100644 --- a/graal-nodejs/CHANGELOG.md +++ b/graal-nodejs/CHANGELOG.md @@ -32,7 +32,8 @@ release. -18.18.2
+18.19.0
+18.18.2
18.18.1
18.18.0
18.17.1
diff --git a/graal-nodejs/doc/api/cli.md b/graal-nodejs/doc/api/cli.md index a0d3cbcd8ef..451056ecae0 100644 --- a/graal-nodejs/doc/api/cli.md +++ b/graal-nodejs/doc/api/cli.md @@ -373,7 +373,7 @@ Expose the [Web Crypto API][] on the global scope. > Stability: 1.0 - Early development @@ -406,7 +406,7 @@ added: - v13.9.0 - v12.16.2 changes: - - version: REPLACEME + - version: 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 @@ -1301,7 +1301,7 @@ for more details. ### `--test-concurrency` The maximum number of test files that the test runner CLI will execute @@ -1347,7 +1347,7 @@ option set. ### `--test-shard` Test suite shard to execute in a format of `/`, where diff --git a/graal-nodejs/doc/api/diagnostics_channel.md b/graal-nodejs/doc/api/diagnostics_channel.md index 59e147e77ee..2d18351c510 100644 --- a/graal-nodejs/doc/api/diagnostics_channel.md +++ b/graal-nodejs/doc/api/diagnostics_channel.md @@ -231,7 +231,7 @@ diagnostics_channel.unsubscribe('my-channel', onMessage); > Stability: 1 - Experimental @@ -457,7 +457,7 @@ channel.unsubscribe(onMessage); > Stability: 1 - Experimental @@ -501,7 +501,7 @@ channel.bindStore(store, (data) => { > Stability: 1 - Experimental @@ -540,7 +540,7 @@ channel.unbindStore(store); > Stability: 1 - Experimental @@ -601,7 +601,7 @@ channel.runStores({ some: 'message' }, () => { > Stability: 1 - Experimental @@ -618,7 +618,7 @@ dynamically. > Stability: 1 - Experimental @@ -686,7 +686,7 @@ channels.subscribe({ > Stability: 1 - Experimental @@ -756,7 +756,7 @@ channels.unsubscribe({ > Stability: 1 - Experimental @@ -801,7 +801,7 @@ channels.traceSync(() => { > Stability: 1 - Experimental @@ -849,7 +849,7 @@ channels.tracePromise(async () => { > Stability: 1 - Experimental diff --git a/graal-nodejs/doc/api/errors.md b/graal-nodejs/doc/api/errors.md index ecfb20864c3..fee0ed89e4b 100644 --- a/graal-nodejs/doc/api/errors.md +++ b/graal-nodejs/doc/api/errors.md @@ -1794,7 +1794,7 @@ An import attribute is not supported by this version of Node.js. ### `ERR_IMPORT_ATTRIBUTE_UNSUPPORTED` An import attribute is not supported by this version of Node.js. diff --git a/graal-nodejs/doc/api/esm.md b/graal-nodejs/doc/api/esm.md index 88d58735707..9b629f2a2a9 100644 --- a/graal-nodejs/doc/api/esm.md +++ b/graal-nodejs/doc/api/esm.md @@ -7,7 +7,7 @@ @@ -340,15 +340,15 @@ added: - v13.9.0 - v12.16.2 changes: - - version: REPLACEME + - version: v18.19.0 pr-url: https://github.com/nodejs/node/pull/49028 description: Unflag `import.meta.resolve``, with `parentURL` parameter still flagged. - - version: REPLACEME + - version: 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: REPLACEME + - version: 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/graal-nodejs/doc/api/fs.md b/graal-nodejs/doc/api/fs.md index c12b8e41618..bc2d6b64ca2 100644 --- a/graal-nodejs/doc/api/fs.md +++ b/graal-nodejs/doc/api/fs.md @@ -1154,7 +1154,7 @@ makeDirectory().catch(console.error); @@ -151,7 +151,7 @@ import('node:fs').then((esmFS) => { > Stability: 1.1 - Active development @@ -456,7 +456,7 @@ register('./path-to-my-hooks.js', { > Stability: 1 - Experimental diff --git a/graal-nodejs/doc/api/process.md b/graal-nodejs/doc/api/process.md index d4080c5acfa..0712a495b5b 100644 --- a/graal-nodejs/doc/api/process.md +++ b/graal-nodejs/doc/api/process.md @@ -3463,7 +3463,7 @@ Using this function is mutually exclusive with using the deprecated ## `process.sourceMapsEnabled` > Stability: 1 - Experimental diff --git a/graal-nodejs/doc/api/stream.md b/graal-nodejs/doc/api/stream.md index 2c8714157e6..2a1d6a7df41 100644 --- a/graal-nodejs/doc/api/stream.md +++ b/graal-nodejs/doc/api/stream.md @@ -2009,7 +2009,7 @@ added: - v17.4.0 - v16.14.0 changes: - - version: REPLACEME + - version: v18.19.0 pr-url: https://github.com/nodejs/node/pull/49249 description: added `highWaterMark` in options. --> @@ -2062,7 +2062,7 @@ added: - v17.4.0 - v16.14.0 changes: - - version: REPLACEME + - version: v18.19.0 pr-url: https://github.com/nodejs/node/pull/49249 description: added `highWaterMark` in options. --> diff --git a/graal-nodejs/doc/api/test.md b/graal-nodejs/doc/api/test.md index 62f25689634..7f04a11354b 100644 --- a/graal-nodejs/doc/api/test.md +++ b/graal-nodejs/doc/api/test.md @@ -1515,7 +1515,7 @@ set to `true`. > Stability: 1 - Experimental @@ -1531,7 +1531,7 @@ which is a `MockTimers` instance. Enables timer mocking for the specified timers. @@ -1574,7 +1574,7 @@ and `globalThis` will be mocked. This function restores the default behavior of all mocks that were previously @@ -1602,7 +1602,7 @@ Calls `timers.reset()`. Advances time for all mocked timers. @@ -1876,7 +1876,7 @@ test('should tick five times testing a real use case', async (context) => { Triggers all pending mocked timers immediately. diff --git a/graal-nodejs/doc/api/tls.md b/graal-nodejs/doc/api/tls.md index 9114748a923..333cfe56ed1 100644 --- a/graal-nodejs/doc/api/tls.md +++ b/graal-nodejs/doc/api/tls.md @@ -2045,7 +2045,7 @@ where `secureSocket` has the same API as `pair.cleartext`.