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

PR-URL: #56329
  • Loading branch information
ruyadorno committed Dec 21, 2024
1 parent c1b78da commit c2a6549
Show file tree
Hide file tree
Showing 16 changed files with 282 additions and 44 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ release.
</tr>
<tr>
<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
2 changes: 1 addition & 1 deletion doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -2546,7 +2546,7 @@ argument.
## `assert.partialDeepStrictEqual(actual, expected[, message])`

<!-- YAML
added: REPLACEME
added: v22.13.0
-->

> Stability: 1.0 - Early development
Expand Down
20 changes: 10 additions & 10 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ Error: Access to this API has been restricted
<!-- YAML
added: v20.0.0
changes:
- version: REPLACEME
- version: v22.13.0
pr-url: https://github.com/nodejs/node/pull/56201

Check warning on line 196 in doc/api/cli.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Permission Model and --allow-fs flags are stable.
- version: v20.7.0
Expand Down Expand Up @@ -237,7 +237,7 @@ node --permission --allow-fs-read=/path/to/index.js index.js
<!-- YAML
added: v20.0.0
changes:
- version: REPLACEME
- version: v22.13.0
pr-url: https://github.com/nodejs/node/pull/56201

Check warning on line 241 in doc/api/cli.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Permission Model and --allow-fs flags are stable.
- version: v20.7.0
Expand Down Expand Up @@ -1666,7 +1666,7 @@ See [Loading ECMAScript modules using `require()`][].
<!-- YAML
added: v22.5.0
changes:
- version: REPLACEME
- version: v22.13.0
pr-url: https://github.com/nodejs/node/pull/55890

Check warning on line 1670 in doc/api/cli.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: SQLite is unflagged but still experimental.
-->
Expand Down Expand Up @@ -1800,7 +1800,7 @@ developers may leverage to detect deprecated API usage.
<!-- YAML
added: v20.0.0
changes:
- version: REPLACEME
- version: v22.13.0
pr-url: https://github.com/nodejs/node/pull/56201

Check warning on line 1804 in doc/api/cli.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Permission Model is now stable.
-->
Expand Down Expand Up @@ -1958,7 +1958,7 @@ Location at which the report will be generated.
### `--report-exclude-env`

<!-- YAML
added: REPLACEME
added: v22.13.0
-->

When `--report-exclude-env` is passed the diagnostic report generated will not
Expand Down Expand Up @@ -2455,7 +2455,7 @@ subtests inherit this value from their parent. The default value is `Infinity`.
<!-- YAML
added: v22.3.0
changes:
- version: REPLACEME
- version: v22.13.0
pr-url: https://github.com/nodejs/node/pull/55897

Check warning on line 2459 in doc/api/cli.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Snapsnot testing is no longer experimental.
-->
Expand Down Expand Up @@ -2606,7 +2606,7 @@ Print stack traces for deprecations.
### `--trace-env`

<!-- YAML
added: REPLACEME
added: v22.13.0
-->

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

<!-- YAML
added: REPLACEME
added: 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: REPLACEME
added: v22.13.0
-->

In addition to what `--trace-env` does, this prints the native stack trace of the access.
Expand Down Expand Up @@ -2683,7 +2683,7 @@ i.e. invoking `process.exit()`.

<!-- YAML
added:
- REPLACEME
- v22.13.0
-->

Prints information about usage of [Loading ECMAScript modules using `require()`][].
Expand Down
6 changes: 3 additions & 3 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3691,7 +3691,7 @@ It is recommended to use the `new` qualifier instead. This applies to all REPL c

<!-- YAML
changes:
- version: REPLACEME
- version: v22.13.0
pr-url: https://github.com/nodejs/node/pull/55892

Check warning on line 3695 in doc/api/deprecations.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Documentation-only.
-->
Expand All @@ -3705,7 +3705,7 @@ will throw an error in a future version.

<!-- YAML
changes:
- version: REPLACEME
- version: v22.13.0
pr-url: https://github.com/nodejs/node/pull/55545

Check warning on line 3709 in doc/api/deprecations.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Documentation-only deprecation.
-->
Expand All @@ -3718,7 +3718,7 @@ These properties are unconditionally `true`. Any checks based on these propertie

<!-- YAML
changes:
- version: REPLACEME
- version: v22.13.0
pr-url: https://github.com/nodejs/node/pull/55545

Check warning on line 3722 in doc/api/deprecations.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Documentation-only deprecation.
-->
Expand Down
8 changes: 4 additions & 4 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -2190,7 +2190,7 @@ signaling a short circuit.
### `ERR_LOAD_SQLITE_EXTENSION`

<!-- YAML
added: REPLACEME
added: v22.13.0
-->

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

<!-- YAML
added: REPLACEME
added: v22.13.0
-->

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

<!-- YAML
added: REPLACEME
added: v22.13.0
-->

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

<!-- YAML
added: REPLACEME
added: v22.13.0
-->

> Stability: 1 - Experimental
Expand Down
4 changes: 2 additions & 2 deletions doc/api/module.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const siblingModule = require('./sibling-module');
### `module.findPackageJSON(specifier[, base])`
<!-- YAML
added: REPLACEME
added: v22.13.0
-->
> Stability: 1.1 - Active Development
Expand Down Expand Up @@ -202,7 +202,7 @@ resolution and loading behavior. See [Customization hooks][].
### `module.stripTypeScriptTypes(code[, options])`
<!-- YAML
added: REPLACEME
added: v22.13.0
-->
> Stability: 1.1 - Active development
Expand Down
2 changes: 1 addition & 1 deletion doc/api/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ The list of rules added to the blocklist.
### `BlockList.isBlockList(value)`

<!-- YAML
added: REPLACEME
added: v22.13.0
-->

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

<!-- YAML
added: REPLACEME
added: v22.13.0
-->

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

<!-- YAML
changes:
- version: REPLACEME
- version: 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: v22.0.0
Expand Down Expand Up @@ -590,7 +590,7 @@ Report version definitions are consistent across LTS releases.

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

<!-- YAML
changes:
- version: REPLACEME
- version: 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
10 changes: 5 additions & 5 deletions doc/api/sqlite.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ open. This method is a wrapper around [`sqlite3_close_v2()`][].
### `database.loadExtension(path)`

<!-- YAML
added: REPLACEME
added: v22.13.0
-->

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

<!-- YAML
added: REPLACEME
added: v22.13.0
-->

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

<!-- YAML
added: REPLACEME
added: v22.13.0
-->

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

<!-- YAML
added: REPLACEME
added: v22.13.0
-->

* `namedParameters` {Object} An optional object used to bind named parameters.
Expand Down Expand Up @@ -475,7 +475,7 @@ exception.
## `sqlite.constants`

<!-- YAML
added: REPLACEME
added: v22.13.0
-->

* {Object}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion doc/api/webcrypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!-- YAML
changes:
- version: REPLACEME
- version: v22.13.0
pr-url: https://github.com/nodejs/node/pull/56142
description: Algorithms `Ed25519` and `X25519` are now stable.
- version:
Expand Down
Loading

0 comments on commit c2a6549

Please sign in to comment.