Skip to content

Commit

Permalink
2025-03-13, Version 20.19.0 'Iron' (LTS)
Browse files Browse the repository at this point in the history
Notable changes:

crypto:
  * update root certificates to NSS 3.107 (Node.js GitHub Bot) #56566
module:
  * (SEMVER-MINOR) only emit require(esm) warning under --trace-require-module (Joyee Cheung) #56194
  * (SEMVER-MINOR) unflag --experimental-require-module (Joyee Cheung) #55085
  * (SEMVER-MINOR) implement the "module-sync" exports condition (Joyee Cheung) #54648
  * (SEMVER-MINOR) unflag detect-module (Geoffrey Booth) #53619
  * (SEMVER-MINOR) add __esModule to require()'d ESM (Joyee Cheung) #52166
process:
  * (SEMVER-MINOR) add process.features.require_module (Joyee Cheung) #55241
worker:
  * (SEMVER-MINOR) add postMessageToThread (Paolo Insogna) #53682

PR-URL: #57349
  • Loading branch information
marco-ippolito committed Mar 6, 2025
1 parent e570044 commit 2cd1739
Show file tree
Hide file tree
Showing 9 changed files with 212 additions and 21 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.18.3">20.18.3</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.19.0">20.19.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.18.3">20.18.3</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.18.2">20.18.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.18.1">20.18.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.18.0">20.18.0</a><br/>
Expand Down
10 changes: 5 additions & 5 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ added:
- v22.0.0
- v20.17.0
changes:
- version: REPLACEME
- version: v20.19.0
pr-url: https://github.com/nodejs/node/pull/55085

Check warning on line 1005 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.

Check warning on line 1005 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: This is now true by default.
-->
Expand Down Expand Up @@ -1527,7 +1527,7 @@ added:
- v20.10.0
changes:
- version:
- REPLACEME
- v20.19.0
pr-url: https://github.com/nodejs/node/pull/53619

Check warning on line 1531 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.

Check warning on line 1531 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: Syntax detection is enabled by default.
-->
Expand Down Expand Up @@ -1573,7 +1573,7 @@ added:
- v22.0.0
- v20.17.0
changes:
- version: REPLACEME
- version: v20.19.0
pr-url: https://github.com/nodejs/node/pull/55085

Check warning on line 1577 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.

Check warning on line 1577 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: This is now false by default.
-->
Expand Down Expand Up @@ -1686,7 +1686,7 @@ Node.js which is `nodejs_conf` and is default when this option is not used.
### `--env-file-if-exists=config`

<!-- YAML
added: REPLACEME
added: v20.19.0
-->

> Stability: 1.1 - Active development
Expand Down Expand Up @@ -2407,7 +2407,7 @@ i.e. invoking `process.exit()`.

<!-- YAML
added:
- REPLACEME
- v20.19.0
-->

Prints information about usage of [Loading ECMAScript modules using `require()`][].
Expand Down
10 changes: 5 additions & 5 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -2563,7 +2563,7 @@ before looking for the top-level awaits).

<!-- YAML
changes:
- version: REPLACEME
- version: v20.19.0
pr-url: https://github.com/nodejs/node/pull/55085

Check warning on line 2567 in doc/api/errors.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.

Check warning on line 2567 in doc/api/errors.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: require() now supports loading synchronous ES modules by default.
-->
Expand Down Expand Up @@ -3199,7 +3199,7 @@ nor a relative path starting with `./` or `../`.
### `ERR_WORKER_MESSAGING_ERRORED`

<!-- YAML
added: REPLACEME
added: v20.19.0
-->

> Stability: 1.1 - Active development
Expand All @@ -3211,7 +3211,7 @@ The destination thread threw an error while processing a message sent via [`post
### `ERR_WORKER_MESSAGING_FAILED`

<!-- YAML
added: REPLACEME
added: v20.19.0
-->

> Stability: 1.1 - Active development
Expand All @@ -3223,7 +3223,7 @@ The thread requested in [`postMessageToThread()`][] is invalid or has no `worker
### `ERR_WORKER_MESSAGING_SAME_THREAD`

<!-- YAML
added: REPLACEME
added: v20.19.0
-->

> Stability: 1.1 - Active development
Expand All @@ -3235,7 +3235,7 @@ The thread id requested in [`postMessageToThread()`][] is the current thread id.
### `ERR_WORKER_MESSAGING_TIMEOUT`

<!-- YAML
added: REPLACEME
added: v20.19.0
-->

> Stability: 1.1 - Active development
Expand Down
6 changes: 3 additions & 3 deletions doc/api/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,15 +176,15 @@ added:
- v20.17.0
changes:
- version:
- REPLACEME
- v20.19.0
pr-url: https://github.com/nodejs/node/pull/56194

Check warning on line 180 in doc/api/modules.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.

Check warning on line 180 in doc/api/modules.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: This feature no longer emits an experimental warning by default,
though the warning can still be emitted by --trace-require-module.
- version:
- REPLACEME
- v20.19.0
pr-url: https://github.com/nodejs/node/pull/55085

Check warning on line 185 in doc/api/modules.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.

Check warning on line 185 in doc/api/modules.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: This feature is no longer behind the `--experimental-require-module` CLI flag.
- version: REPLACEME
- version: v20.19.0
pr-url: https://github.com/nodejs/node/pull/54563

Check warning on line 188 in doc/api/modules.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.

Check warning on line 188 in doc/api/modules.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Support `'module.exports'` interop export in `require(esm)`.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ added:
- v20.10.0
changes:
- version:
- REPLACEME
- v20.19.0
pr-url: https://github.com/nodejs/node/pull/53619

Check warning on line 127 in doc/api/packages.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.

Check warning on line 127 in doc/api/packages.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Syntax detection is enabled by default.
-->
Expand Down
4 changes: 2 additions & 2 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ most convenient for scripts).
### Event: `'workerMessage'`

<!-- YAML
added: REPLACEME
added: v20.19.0
-->

* `value` {any} A value transmitted using [`postMessageToThread()`][].
Expand Down Expand Up @@ -1932,7 +1932,7 @@ A boolean value that is `true` if the current Node.js build includes support for
## `process.features.require_module`
<!-- YAML
added: REPLACEME
added: v20.19.0
-->
* {boolean}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/worker_threads.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ if (isMainThread) {
## `worker.postMessageToThread(threadId, value[, transferList][, timeout])`

<!-- YAML
added: REPLACEME
added: v20.19.0
-->

> Stability: 1.1 - Active development
Expand Down
190 changes: 190 additions & 0 deletions doc/changelogs/CHANGELOG_V20.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/node_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
#define SRC_NODE_VERSION_H_

#define NODE_MAJOR_VERSION 20
#define NODE_MINOR_VERSION 18
#define NODE_PATCH_VERSION 4
#define NODE_MINOR_VERSION 19
#define NODE_PATCH_VERSION 0

#define NODE_VERSION_IS_LTS 1
#define NODE_VERSION_LTS_CODENAME "Iron"

#define NODE_VERSION_IS_RELEASE 0
#define NODE_VERSION_IS_RELEASE 1

#ifndef NODE_STRINGIFY
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
Expand Down

0 comments on commit 2cd1739

Please sign in to comment.