From c2a65493da933812f82856b0e7ff108d13a4b1b9 Mon Sep 17 00:00:00 2001 From: Ruy Adorno Date: Fri, 20 Dec 2024 21:25:13 -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/55697 * (SEMVER-MINOR) sort --report-exclude alphabetically (Rafael Gonzaga) https://github.com/nodejs/node/pull/55697 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 * (SEMVER-MINOR) simplify `findPackageJSON` implementation (Antoine du Hamel) https://github.com/nodejs/node/pull/55412 * (SEMVER-MINOR) add `findPackageJSON` util (Jacob Smith) https://github.com/nodejs/node/pull/55412 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 | 2 +- doc/api/cli.md | 20 +-- doc/api/deprecations.md | 6 +- doc/api/errors.md | 8 +- doc/api/module.md | 4 +- doc/api/modules.md | 2 +- doc/api/net.md | 4 +- doc/api/process.md | 12 +- doc/api/report.md | 6 +- doc/api/sqlite.md | 10 +- doc/api/test.md | 2 +- doc/api/util.md | 2 +- doc/api/webcrypto.md | 2 +- doc/changelogs/CHANGELOG_V22.md | 237 ++++++++++++++++++++++++++++++++ src/node_version.h | 6 +- 16 files changed, 282 insertions(+), 44 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76ee0d1b59e50b..6896e94b0abd72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,7 +38,8 @@ release. -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 2ac6ed26c75e48..336fcd8cc5ffb9 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -2546,7 +2546,7 @@ argument. ## `assert.partialDeepStrictEqual(actual, expected[, message])` > Stability: 1.0 - Early development diff --git a/doc/api/cli.md b/doc/api/cli.md index 6ef037181236b2..d3b23639bafce0 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -192,7 +192,7 @@ Error: Access to this API has been restricted @@ -1800,7 +1800,7 @@ developers may leverage to detect deprecated API usage. @@ -1958,7 +1958,7 @@ Location at which the report will be generated. ### `--report-exclude-env` When `--report-exclude-env` is passed the diagnostic report generated will not @@ -2455,7 +2455,7 @@ subtests inherit this value from their parent. The default value is `Infinity`. @@ -2606,7 +2606,7 @@ Print stack traces for deprecations. ### `--trace-env` Print information about any access to environment variables done in the current Node.js @@ -2629,7 +2629,7 @@ 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. @@ -2637,7 +2637,7 @@ 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. @@ -2683,7 +2683,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 094f8ee3178529..0df7dce60058d5 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -3691,7 +3691,7 @@ It is recommended to use the `new` qualifier instead. This applies to all REPL c @@ -3705,7 +3705,7 @@ will throw an error in a future version. @@ -3718,7 +3718,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 0bc3ab9ab6a02c..affb78e84ccbca 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -2190,7 +2190,7 @@ signaling a short circuit. ### `ERR_LOAD_SQLITE_EXTENSION` An error occurred while loading a SQLite extension. @@ -2468,7 +2468,7 @@ object. ### `ERR_QUIC_APPLICATION_ERROR` > Stability: 1 - Experimental @@ -2516,7 +2516,7 @@ Opening a QUIC stream failed. ### `ERR_QUIC_TRANSPORT_ERROR` > Stability: 1 - Experimental @@ -2528,7 +2528,7 @@ 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 b8a662c0e56f9c..7225a3f71b6d82 100644 --- a/doc/api/module.md +++ b/doc/api/module.md @@ -67,7 +67,7 @@ const siblingModule = require('./sibling-module'); ### `module.findPackageJSON(specifier[, base])` > Stability: 1.1 - Active Development @@ -202,7 +202,7 @@ resolution and loading behavior. 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 10a89d384a4e93..febdfa062483d7 100644 --- a/doc/api/modules.md +++ b/doc/api/modules.md @@ -179,7 +179,7 @@ changes: - v22.12.0 pr-url: https://github.com/nodejs/node/pull/55085 description: This feature is no longer behind the `--experimental-require-module` CLI flag. - - version: REPLACEME + - version: 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 020d546f2921fc..5384ad7a34c42c 100644 --- a/doc/api/net.md +++ b/doc/api/net.md @@ -173,7 +173,7 @@ The list of rules added to the blocklist. ### `BlockList.isBlockList(value)` * `value` {any} Any JS value @@ -247,7 +247,7 @@ 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 a7fbb1bc4ea147..8e7fe148daa9a6 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1922,7 +1922,7 @@ 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 @@ -1959,7 +1959,7 @@ A boolean value that is `true` if the current Node.js build includes support for > Stability: 0 - Deprecated. Use `process.features.tls` instead. @@ -1975,7 +1975,7 @@ This value is therefore identical to that of `process.features.tls`. > Stability: 0 - Deprecated. Use `process.features.tls` instead. @@ -1991,7 +1991,7 @@ This value is therefore identical to that of `process.features.tls`. > Stability: 0 - Deprecated. Use `process.features.tls` instead. @@ -2020,7 +2020,7 @@ A value that is `"strip"` if Node.js is run with `--experimental-strip-types`, > Stability: 0 - Deprecated. This property is always true, and any checks based on it are @@ -3510,7 +3510,7 @@ console.log(`Report on exception: ${report.reportOnUncaughtException}`); ### `process.report.excludeEnv` * {boolean} diff --git a/doc/api/report.md b/doc/api/report.md index 457c53d389c80d..37316cd81dd6b1 100644 --- a/doc/api/report.md +++ b/doc/api/report.md @@ -10,7 +10,7 @@ @@ -625,7 +625,7 @@ 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 107b1ba817fa8f..270b8e8d8b7507 100644 --- a/doc/api/sqlite.md +++ b/doc/api/sqlite.md @@ -127,7 +127,7 @@ 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 +139,7 @@ around [`sqlite3_load_extension()`][]. It is required to enable the ### `database.enableLoadExtension(allow)` * `allow` {boolean} Whether to allow loading extensions. @@ -163,7 +163,7 @@ file. This method is a wrapper around [`sqlite3_exec()`][]. ### `database.function(name[, options], function)` * `name` {string} The name of the SQLite function to create. @@ -363,7 +363,7 @@ values in `namedParameters` and `anonymousParameters`. ### `statement.iterate([namedParameters][, ...anonymousParameters])` * `namedParameters` {Object} An optional object used to bind named parameters. @@ -475,7 +475,7 @@ exception. ## `sqlite.constants` * {Object} diff --git a/doc/api/test.md b/doc/api/test.md index a3c09cac379c0b..b8d5dfb7f69ead 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -3315,7 +3315,7 @@ The name of the test. added: - v22.2.0 changes: - - version: REPLACEME + - version: 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 b51ecadc4b1ba4..c6c6e0fe37b59c 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -1920,7 +1920,7 @@ added: - v21.7.0 - v20.12.0 changes: - - version: REPLACEME + - version: 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 4b290a61045fbb..6f50c2a99bfdd3 100644 --- a/doc/api/webcrypto.md +++ b/doc/api/webcrypto.md @@ -2,7 +2,7 @@