From a344300bfa146fce9d1f20a71b073263a4720eab Mon Sep 17 00:00:00 2001 From: Ruy Adorno Date: Sun, 5 Jan 2025 13:33:23 -0500 Subject: [PATCH] 2025-01-07, Version 22.13.0 'Jod' (LTS) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Notable changes: assert: * (SEMVER-MINOR) add partialDeepStrictEqual (Giovanni Bucci) https://github.com/nodejs/node/pull/54630 cli: * (SEMVER-MINOR) implement --trace-env and --trace-env-[js|native]-stack (Joyee Cheung) https://github.com/nodejs/node/pull/55604 crypto: * graduate WebCryptoAPI Ed25519 and X25519 algorithms as stable (Filip Skokan) https://github.com/nodejs/node/pull/56142 dgram: * (SEMVER-MINOR) support blocklist in udp (theanarkh) https://github.com/nodejs/node/pull/56087 doc: * stabilize util.styleText (Rafael Gonzaga) https://github.com/nodejs/node/pull/56265 * move typescript support to active development (Marco Ippolito) https://github.com/nodejs/node/pull/55536 * add LJHarb to collaborators (Jordan Harband) https://github.com/nodejs/node/pull/56132 * (SEMVER-MINOR) add report version and history section (Chengzhong Wu) https://github.com/nodejs/node/pull/56130 * (SEMVER-MINOR) sort --report-exclude alphabetically (Rafael Gonzaga) https://github.com/nodejs/node/pull/55788 doc,lib,src,test: * (SEMVER-MINOR) unflag sqlite module (Colin Ihrig) https://github.com/nodejs/node/pull/55890 module: * (SEMVER-MINOR) only emit require(esm) warning under --trace-require-module (Joyee Cheung) https://github.com/nodejs/node/pull/56194 * (SEMVER-MINOR) add module.stripTypeScriptTypes (Marco Ippolito) https://github.com/nodejs/node/pull/55282 net: * (SEMVER-MINOR) support blocklist in net.connect (theanarkh) https://github.com/nodejs/node/pull/56075 * (SEMVER-MINOR) add SocketAddress.parse (James M Snell) https://github.com/nodejs/node/pull/56076 * (SEMVER-MINOR) add net.BlockList.isBlockList(value) (James M Snell) https://github.com/nodejs/node/pull/56078 * (SEMVER-MINOR) support blocklist for net.Server (theanarkh) https://github.com/nodejs/node/pull/56079 process: * (SEMVER-MINOR) deprecate `features.{ipv6,uv}` and `features.tls_*` (René) https://github.com/nodejs/node/pull/55545 report: * (SEMVER-MINOR) fix typos in report keys and bump the version (Yuan-Ming Hsu) https://github.com/nodejs/node/pull/56068 sqlite: * (SEMVER-MINOR) aggregate constants in a single property (Edigleysson Silva (Edy)) https://github.com/nodejs/node/pull/56213 * (SEMVER-MINOR) add `StatementSync.prototype.iterate` method (tpoisseau) https://github.com/nodejs/node/pull/54213 src: * (SEMVER-MINOR) add cli option to preserve env vars on dr (Rafael Gonzaga) https://github.com/nodejs/node/pull/55697 src,lib: * (SEMVER-MINOR) stabilize permission model (Rafael Gonzaga) https://github.com/nodejs/node/pull/56201 util: * (SEMVER-MINOR) add sourcemap support to getCallSites (Marco Ippolito) https://github.com/nodejs/node/pull/55589 PR-URL: https://github.com/nodejs/node/pull/56329 --- CHANGELOG.md | 3 +- doc/api/assert.md | 4 +- doc/api/cli.md | 22 ++- doc/api/deprecations.md | 3 + doc/api/errors.md | 16 ++- doc/api/module.md | 4 +- doc/api/modules.md | 1 + doc/api/net.md | 8 +- doc/api/process.md | 24 +++- doc/api/report.md | 12 +- doc/api/sqlite.md | 20 ++- doc/api/test.md | 4 +- doc/api/util.md | 4 +- doc/api/webcrypto.md | 4 +- doc/changelogs/CHANGELOG_V22.md | 245 ++++++++++++++++++++++++++++++++ 15 files changed, 344 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 67bb61e01ed772..e7dab220d26dde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,7 +48,8 @@ release. 23.0.0
-22.12.0
+22.13.0
+22.12.0
22.11.0
22.10.0
22.9.0
diff --git a/doc/api/assert.md b/doc/api/assert.md index 0409b2b3a87765..3f44dffbe7de2d 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -2551,7 +2551,9 @@ argument. ## `assert.partialDeepStrictEqual(actual, expected[, message])` > Stability: 1.0 - Early development diff --git a/doc/api/cli.md b/doc/api/cli.md index 0e3ff72a7c51f5..5ddb36ba678a9a 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -193,6 +193,7 @@ Error: Access to this API has been restricted added: v20.0.0 changes: - version: v23.5.0 + - version: v22.13.0 pr-url: https://github.com/nodejs/node/pull/56201 description: Permission Model and --allow-fs flags are stable. - version: v20.7.0 @@ -238,6 +239,7 @@ node --permission --allow-fs-read=/path/to/index.js index.js added: v20.0.0 changes: - version: v23.5.0 + - version: v22.13.0 pr-url: https://github.com/nodejs/node/pull/56201 description: Permission Model and --allow-fs flags are stable. - version: v20.7.0 @@ -1654,6 +1656,7 @@ See [Loading ECMAScript modules using `require()`][]. added: v22.5.0 changes: - version: v23.4.0 + - version: v22.13.0 pr-url: https://github.com/nodejs/node/pull/55890 description: SQLite is unflagged but still experimental. --> @@ -1803,6 +1806,7 @@ developers may leverage to detect deprecated API usage. added: v20.0.0 changes: - version: v23.5.0 + - version: v22.13.0 pr-url: https://github.com/nodejs/node/pull/56201 description: Permission Model is now stable. --> @@ -1960,7 +1964,9 @@ Location at which the report will be generated. ### `--report-exclude-env` When `--report-exclude-env` is passed the diagnostic report generated will not @@ -2482,6 +2488,7 @@ subtests inherit this value from their parent. The default value is `Infinity`. added: v22.3.0 changes: - version: v23.4.0 + - version: v22.13.0 pr-url: https://github.com/nodejs/node/pull/55897 description: Snapsnot testing is no longer experimental. --> @@ -2599,7 +2606,9 @@ Print stack traces for deprecations. ### `--trace-env` Print information about any access to environment variables done in the current Node.js @@ -2622,7 +2631,9 @@ To print the stack trace of the access, use `--trace-env-js-stack` and/or ### `--trace-env-js-stack` In addition to what `--trace-env` does, this prints the JavaScript stack trace of the access. @@ -2630,7 +2641,9 @@ In addition to what `--trace-env` does, this prints the JavaScript stack trace o ### `--trace-env-native-stack` In addition to what `--trace-env` does, this prints the native stack trace of the access. @@ -2677,6 +2690,7 @@ i.e. invoking `process.exit()`. Prints information about usage of [Loading ECMAScript modules using `require()`][]. diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index dea65fe4d5a2b2..d0374ad67646b3 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -3780,6 +3780,7 @@ It is recommended to use the `new` qualifier instead. This applies to all REPL c @@ -3794,6 +3795,7 @@ will throw an error in a future version. @@ -3807,6 +3809,7 @@ These properties are unconditionally `true`. Any checks based on these propertie diff --git a/doc/api/errors.md b/doc/api/errors.md index 080fc85ad16e13..3deab7397c6ec2 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -2179,7 +2179,9 @@ signaling a short circuit. ### `ERR_LOAD_SQLITE_EXTENSION` An error occurred while loading a SQLite extension. @@ -2459,7 +2461,9 @@ object. ### `ERR_QUIC_APPLICATION_ERROR` > Stability: 1 - Experimental @@ -2513,7 +2517,9 @@ Opening a QUIC stream failed. ### `ERR_QUIC_TRANSPORT_ERROR` > Stability: 1 - Experimental @@ -2525,7 +2531,9 @@ A QUIC transport error occurred. ### `ERR_QUIC_VERSION_NEGOTIATION_ERROR` > Stability: 1 - Experimental diff --git a/doc/api/module.md b/doc/api/module.md index bf0171fad54b31..3ce481fbf6b3b4 100644 --- a/doc/api/module.md +++ b/doc/api/module.md @@ -223,7 +223,9 @@ See [Customization hooks][]. ### `module.stripTypeScriptTypes(code[, options])` > Stability: 1.1 - Active development diff --git a/doc/api/modules.md b/doc/api/modules.md index 4af467adf923bc..8de9375c561dba 100644 --- a/doc/api/modules.md +++ b/doc/api/modules.md @@ -177,6 +177,7 @@ added: changes: - version: - v23.5.0 + - v22.13.0 pr-url: https://github.com/nodejs/node/pull/56194 description: This feature no longer emits an experimental warning by default, though the warning can still be emitted by --trace-require-module. diff --git a/doc/api/net.md b/doc/api/net.md index 6b3b0670bbc61d..5b0a5dfee2e52f 100644 --- a/doc/api/net.md +++ b/doc/api/net.md @@ -173,7 +173,9 @@ The list of rules added to the blocklist. ### `BlockList.isBlockList(value)` * `value` {any} Any JS value @@ -247,7 +249,9 @@ added: ### `SocketAddress.parse(input)` * `input` {string} An input string containing an IP address and optional port, diff --git a/doc/api/process.md b/doc/api/process.md index dad7986000f1ab..1bad26bc6ca320 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1930,7 +1930,9 @@ A boolean value that is `true` if the current Node.js build includes the inspect > Stability: 0 - Deprecated. This property is always true, and any checks based on it are @@ -1969,7 +1971,9 @@ A boolean value that is `true` if the current Node.js build includes support for > Stability: 0 - Deprecated. Use `process.features.tls` instead. @@ -1985,7 +1989,9 @@ This value is therefore identical to that of `process.features.tls`. > Stability: 0 - Deprecated. Use `process.features.tls` instead. @@ -2001,7 +2007,9 @@ This value is therefore identical to that of `process.features.tls`. > Stability: 0 - Deprecated. Use `process.features.tls` instead. @@ -2033,7 +2041,9 @@ Node.js is run with `--no-experimental-strip-types`. > Stability: 0 - Deprecated. This property is always true, and any checks based on it are @@ -3544,7 +3554,9 @@ console.log(`Report on exception: ${report.reportOnUncaughtException}`); ### `process.report.excludeEnv` * {boolean} diff --git a/doc/api/report.md b/doc/api/report.md index ad4e5418234e92..921eb10cbf297d 100644 --- a/doc/api/report.md +++ b/doc/api/report.md @@ -10,7 +10,9 @@ @@ -627,7 +631,9 @@ respectively in the `userLimits` section, as these values are given in bytes. diff --git a/doc/api/sqlite.md b/doc/api/sqlite.md index 35d437557e268d..07916addeac91a 100644 --- a/doc/api/sqlite.md +++ b/doc/api/sqlite.md @@ -127,7 +127,9 @@ open. This method is a wrapper around [`sqlite3_close_v2()`][]. ### `database.loadExtension(path)` * `path` {string} The path to the shared library to load. @@ -139,7 +141,9 @@ around [`sqlite3_load_extension()`][]. It is required to enable the ### `database.enableLoadExtension(allow)` * `allow` {boolean} Whether to allow loading extensions. @@ -163,7 +167,9 @@ file. This method is a wrapper around [`sqlite3_exec()`][]. ### `database.function(name[, options], function)` * `name` {string} The name of the SQLite function to create. @@ -398,7 +404,9 @@ values in `namedParameters` and `anonymousParameters`. ### `statement.iterate([namedParameters][, ...anonymousParameters])` * {Object} diff --git a/doc/api/test.md b/doc/api/test.md index 92276017fd63d0..e49843f7bf7c8b 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -3370,7 +3370,9 @@ added: - v22.2.0 - v20.15.0 changes: - - version: v23.4.0 + - version: + - v23.4.0 + - v22.13.0 pr-url: https://github.com/nodejs/node/pull/55895 description: This function is no longer experimental. --> diff --git a/doc/api/util.md b/doc/api/util.md index efabb342381dc4..d344befae410ca 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -1927,7 +1927,9 @@ added: - v21.7.0 - v20.12.0 changes: - - version: v23.5.0 + - version: + - v23.5.0 + - v22.13.0 pr-url: https://github.com/nodejs/node/pull/56265 description: styleText is now stable. - version: diff --git a/doc/api/webcrypto.md b/doc/api/webcrypto.md index 7d7f735885a063..a7eec6002925da 100644 --- a/doc/api/webcrypto.md +++ b/doc/api/webcrypto.md @@ -2,7 +2,9 @@