Skip to content

Commit

Permalink
2025-01-07, Version 22.13.0 'Jod' (LTS)
Browse files Browse the repository at this point in the history
Notable changes:

assert:
  * (SEMVER-MINOR) add partialDeepStrictEqual (Giovanni Bucci) nodejs#54630
cli:
  * (SEMVER-MINOR) implement --trace-env and --trace-env-[js|native]-stack (Joyee Cheung) nodejs#55604
crypto:
  * graduate WebCryptoAPI Ed25519 and X25519 algorithms as stable (Filip Skokan) nodejs#56142
dgram:
  * (SEMVER-MINOR) support blocklist in udp (theanarkh) nodejs#56087
doc:
  * stabilize util.styleText (Rafael Gonzaga) nodejs#56265
  * move typescript support to active development (Marco Ippolito) nodejs#55536
  * add LJHarb to collaborators (Jordan Harband) nodejs#56132
  * (SEMVER-MINOR) add report version and history section (Chengzhong Wu) nodejs#56130
  * (SEMVER-MINOR) sort --report-exclude alphabetically (Rafael Gonzaga) nodejs#55788
doc,lib,src,test:
  * (SEMVER-MINOR) unflag sqlite module (Colin Ihrig) nodejs#55890
module:
  * (SEMVER-MINOR) only emit require(esm) warning under --trace-require-module (Joyee Cheung) nodejs#56194
  * (SEMVER-MINOR) add module.stripTypeScriptTypes (Marco Ippolito) nodejs#55282
net:
  * (SEMVER-MINOR) support blocklist in net.connect (theanarkh) nodejs#56075
  * (SEMVER-MINOR) add SocketAddress.parse (James M Snell) nodejs#56076
  * (SEMVER-MINOR) add net.BlockList.isBlockList(value) (James M Snell) nodejs#56078
  * (SEMVER-MINOR) support blocklist for net.Server (theanarkh) nodejs#56079
process:
  * (SEMVER-MINOR) deprecate `features.{ipv6,uv}` and `features.tls_*` (René) nodejs#55545
report:
  * (SEMVER-MINOR) fix typos in report keys and bump the version (Yuan-Ming Hsu) nodejs#56068
sqlite:
  * (SEMVER-MINOR) aggregate constants in a single property (Edigleysson Silva (Edy)) nodejs#56213
  * (SEMVER-MINOR) add `StatementSync.prototype.iterate` method (tpoisseau) nodejs#54213
src:
  * (SEMVER-MINOR) add cli option to preserve env vars on dr (Rafael Gonzaga) nodejs#55697
src,lib:
  * (SEMVER-MINOR) stabilize permission model (Rafael Gonzaga) nodejs#56201
util:
  * (SEMVER-MINOR) add sourcemap support to getCallSites (Marco Ippolito) nodejs#55589

PR-URL: nodejs#56329
  • Loading branch information
ruyadorno authored and Ceres6 committed Jan 13, 2025
1 parent 7bde845 commit 565777a
Show file tree
Hide file tree
Showing 15 changed files with 344 additions and 30 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ release.
<a href="doc/changelogs/CHANGELOG_V23.md#23.0.0">23.0.0</a><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V22.md#22.12.0">22.12.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V22.md#22.13.0">22.13.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.12.0">22.12.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.11.0">22.11.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.10.0">22.10.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.9.0">22.9.0</a><br/>
Expand Down
4 changes: 3 additions & 1 deletion doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -2551,7 +2551,9 @@ argument.
## `assert.partialDeepStrictEqual(actual, expected[, message])`

<!-- YAML
added: v23.4.0
added:
- v23.4.0
- v22.13.0
-->

> Stability: 1.0 - Early development
Expand Down
22 changes: 18 additions & 4 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
-->
Expand Down Expand Up @@ -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.
-->
Expand Down Expand Up @@ -1960,7 +1964,9 @@ Location at which the report will be generated.
### `--report-exclude-env`

<!-- YAML
added: v23.3.0
added:
- v23.3.0
- v22.13.0
-->

When `--report-exclude-env` is passed the diagnostic report generated will not
Expand Down Expand Up @@ -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.
-->
Expand Down Expand Up @@ -2599,7 +2606,9 @@ Print stack traces for deprecations.
### `--trace-env`

<!-- YAML
added: v23.4.0
added:
- v23.4.0
- v22.13.0
-->

Print information about any access to environment variables done in the current Node.js
Expand All @@ -2622,15 +2631,19 @@ To print the stack trace of the access, use `--trace-env-js-stack` and/or
### `--trace-env-js-stack`

<!-- YAML
added: v23.4.0
added:
- v23.4.0
- v22.13.0
-->

In addition to what `--trace-env` does, this prints the JavaScript stack trace of the access.

### `--trace-env-native-stack`

<!-- YAML
added: v23.4.0
added:
- v23.4.0
- v22.13.0
-->

In addition to what `--trace-env` does, this prints the native stack trace of the access.
Expand Down Expand Up @@ -2677,6 +2690,7 @@ i.e. invoking `process.exit()`.
<!-- YAML
added:
- v23.5.0
- v22.13.0
-->

Prints information about usage of [Loading ECMAScript modules using `require()`][].
Expand Down
3 changes: 3 additions & 0 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3780,6 +3780,7 @@ It is recommended to use the `new` qualifier instead. This applies to all REPL c
<!-- YAML
changes:
- version: v23.4.0
- version: v22.13.0
pr-url: https://github.com/nodejs/node/pull/55892
description: Documentation-only.
-->
Expand All @@ -3794,6 +3795,7 @@ will throw an error in a future version.
<!-- YAML
changes:
- version: v23.4.0
- version: v22.13.0
pr-url: https://github.com/nodejs/node/pull/55545
description: Documentation-only deprecation.
-->
Expand All @@ -3807,6 +3809,7 @@ These properties are unconditionally `true`. Any checks based on these propertie
<!-- YAML
changes:
- version: v23.4.0
- version: v22.13.0
pr-url: https://github.com/nodejs/node/pull/55545
description: Documentation-only deprecation.
-->
Expand Down
16 changes: 12 additions & 4 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -2179,7 +2179,9 @@ signaling a short circuit.
### `ERR_LOAD_SQLITE_EXTENSION`

<!-- YAML
added: v23.5.0
added:
- v23.5.0
- v22.13.0
-->

An error occurred while loading a SQLite extension.
Expand Down Expand Up @@ -2459,7 +2461,9 @@ object.
### `ERR_QUIC_APPLICATION_ERROR`

<!-- YAML
added: v23.4.0
added:
- v23.4.0
- v22.13.0
-->

> Stability: 1 - Experimental
Expand Down Expand Up @@ -2513,7 +2517,9 @@ Opening a QUIC stream failed.
### `ERR_QUIC_TRANSPORT_ERROR`

<!-- YAML
added: v23.4.0
added:
- v23.4.0
- v22.13.0
-->

> Stability: 1 - Experimental
Expand All @@ -2525,7 +2531,9 @@ A QUIC transport error occurred.
### `ERR_QUIC_VERSION_NEGOTIATION_ERROR`

<!-- YAML
added: v23.4.0
added:
- v23.4.0
- v22.13.0
-->

> Stability: 1 - Experimental
Expand Down
4 changes: 3 additions & 1 deletion doc/api/module.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ See [Customization hooks][].
### `module.stripTypeScriptTypes(code[, options])`
<!-- YAML
added: v23.2.0
added:
- v23.2.0
- v22.13.0
-->
> Stability: 1.1 - Active development
Expand Down
1 change: 1 addition & 0 deletions doc/api/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 6 additions & 2 deletions doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,9 @@ The list of rules added to the blocklist.
### `BlockList.isBlockList(value)`

<!-- YAML
added: v23.4.0
added:
- v23.4.0
- v22.13.0
-->

* `value` {any} Any JS value
Expand Down Expand Up @@ -247,7 +249,9 @@ added:
### `SocketAddress.parse(input)`

<!-- YAML
added: v23.4.0
added:
- v23.4.0
- v22.13.0
-->

* `input` {string} An input string containing an IP address and optional port,
Expand Down
24 changes: 18 additions & 6 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1930,7 +1930,9 @@ A boolean value that is `true` if the current Node.js build includes the inspect
<!-- YAML
added: v0.5.3
deprecated: v23.4.0
deprecated:
- v23.4.0
- v22.13.0
-->
> Stability: 0 - Deprecated. This property is always true, and any checks based on it are
Expand Down Expand Up @@ -1969,7 +1971,9 @@ A boolean value that is `true` if the current Node.js build includes support for
<!-- YAML
added: v4.8.0
deprecated: v23.4.0
deprecated:
- v23.4.0
- v22.13.0
-->
> Stability: 0 - Deprecated. Use `process.features.tls` instead.
Expand All @@ -1985,7 +1989,9 @@ This value is therefore identical to that of `process.features.tls`.
<!-- YAML
added: v0.11.13
deprecated: v23.4.0
deprecated:
- v23.4.0
- v22.13.0
-->
> Stability: 0 - Deprecated. Use `process.features.tls` instead.
Expand All @@ -2001,7 +2007,9 @@ This value is therefore identical to that of `process.features.tls`.
<!-- YAML
added: v0.5.3
deprecated: v23.4.0
deprecated:
- v23.4.0
- v22.13.0
-->
> Stability: 0 - Deprecated. Use `process.features.tls` instead.
Expand Down Expand Up @@ -2033,7 +2041,9 @@ Node.js is run with `--no-experimental-strip-types`.
<!-- YAML
added: v0.5.3
deprecated: v23.4.0
deprecated:
- v23.4.0
- v22.13.0
-->
> Stability: 0 - Deprecated. This property is always true, and any checks based on it are
Expand Down Expand Up @@ -3544,7 +3554,9 @@ console.log(`Report on exception: ${report.reportOnUncaughtException}`);
### `process.report.excludeEnv`
<!-- YAML
added: v23.3.0
added:
- v23.3.0
- v22.13.0
-->
* {boolean}
Expand Down
12 changes: 9 additions & 3 deletions doc/api/report.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@

<!-- YAML
changes:
- version: v23.3.0
- version:
- v23.3.0
- v22.13.0
pr-url: https://github.com/nodejs/node/pull/55697
description: Added `--report-exclude-env` option for excluding environment variables from report generation.
- version:
Expand Down Expand Up @@ -592,7 +594,9 @@ Report version definitions are consistent across LTS releases.

<!-- YAML
changes:
- version: v23.5.0
- version:
- v23.5.0
- v22.13.0
pr-url: https://github.com/nodejs/node/pull/56068
description: Fix typos in the memory limit units.
-->
Expand Down Expand Up @@ -627,7 +631,9 @@ respectively in the `userLimits` section, as these values are given in bytes.

<!-- YAML
changes:
- version: v23.3.0
- version:
- v23.3.0
- v22.13.0
pr-url: https://github.com/nodejs/node/pull/55697
description: Added `--report-exclude-env` option for excluding environment variables from report generation.
-->
Expand Down
20 changes: 15 additions & 5 deletions doc/api/sqlite.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ open. This method is a wrapper around [`sqlite3_close_v2()`][].
### `database.loadExtension(path)`

<!-- YAML
added: v23.5.0
added:
- v23.5.0
- v22.13.0
-->

* `path` {string} The path to the shared library to load.
Expand All @@ -139,7 +141,9 @@ around [`sqlite3_load_extension()`][]. It is required to enable the
### `database.enableLoadExtension(allow)`

<!-- YAML
added: v23.5.0
added:
- v23.5.0
- v22.13.0
-->

* `allow` {boolean} Whether to allow loading extensions.
Expand All @@ -163,7 +167,9 @@ file. This method is a wrapper around [`sqlite3_exec()`][].
### `database.function(name[, options], function)`

<!-- YAML
added: v23.5.0
added:
- v23.5.0
- v22.13.0
-->

* `name` {string} The name of the SQLite function to create.
Expand Down Expand Up @@ -398,7 +404,9 @@ values in `namedParameters` and `anonymousParameters`.
### `statement.iterate([namedParameters][, ...anonymousParameters])`

<!-- YAML
added: v23.4.0
added:
- v23.4.0
- v22.13.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/56385
Expand Down Expand Up @@ -518,7 +526,9 @@ exception.
## `sqlite.constants`

<!-- YAML
added: v23.5.0
added:
- v23.5.0
- v22.13.0
-->

* {Object}
Expand Down
4 changes: 3 additions & 1 deletion doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
-->
Expand Down
4 changes: 3 additions & 1 deletion doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading

0 comments on commit 565777a

Please sign in to comment.