Skip to content

Commit

Permalink
2024-07-15, Version 22.5.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

http:
  * (SEMVER-MINOR) expose websockets (Natalia Venditto) #53721
module:
  * add __esModule to require()'d ESM (Joyee Cheung) #52166
path:
  * (SEMVER-MINOR) add `matchGlob` method (Aviv Keller) #52881
process:
  * (SEMVER-MINOR) port on-exit-leak-free to core (Vinicius Lourenço) #53239
stream:
  * (SEMVER-MINOR) pipeline wait for close before calling the callback (jakecastelli) #53462
worker:
  * (SEMVER-MINOR) add postMessageToThread (Paolo Insogna) #53682

PR-URL: TODO
  • Loading branch information
aduh95 committed Jul 12, 2024
1 parent b850416 commit d4d03e2
Show file tree
Hide file tree
Showing 9 changed files with 143 additions and 16 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.4.1">22.4.1</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V22.md#22.5.0">22.5.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.4.1">22.4.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.4.0">22.4.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.3.0">22.3.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.2.0">22.2.0</a><br/>
Expand Down
8 changes: 4 additions & 4 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -3110,7 +3110,7 @@ nor a relative path starting with `./` or `../`.
### `ERR_WORKER_MESSAGING_ERRORED`

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

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

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

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

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

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

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

> Stability: 1.1 - Active development
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -4232,7 +4232,7 @@ Set the maximum number of idle HTTP parsers.
<!-- YAML
added:
- REPLACEME
- v22.5.0
-->
A browser-compatible implementation of [`WebSocket`][].
Expand Down
2 changes: 1 addition & 1 deletion doc/api/path.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ path.format({
## `path.matchesGlob(path, pattern)`

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

> Stability: 1 - Experimental
Expand Down
8 changes: 4 additions & 4 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: v22.5.0
-->

* `value` {any} A value transmitted using [`postMessageToThread()`][].
Expand Down Expand Up @@ -1892,7 +1892,7 @@ previous setting of `process.exitCode`.
## `process.finalization.register(ref, callback)`
<!-- YAML
added: REPLACEME
added: v22.5.0
-->
> Stability: 1.1 - Active Development
Expand Down Expand Up @@ -2001,7 +2001,7 @@ as it is not guaranteed that the callback will be called under all circumstances
## `process.finalization.registerBeforeExit(ref, callback)`
<!-- YAML
added: REPLACEME
added: v22.5.0
-->
> Stability: 1.1 - Active Development
Expand All @@ -2022,7 +2022,7 @@ this means that there is a possibility that the callback will not be called unde
## `process.finalization.unregister(ref)`
<!-- YAML
added: REPLACEME
added: v22.5.0
-->
> Stability: 1.1 - Active Development
Expand Down
2 changes: 1 addition & 1 deletion doc/api/webcrypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ The algorithms currently supported include:
<!-- YAML
added: v15.0.0
changes:
- version: REPLACEME
- version: v22.5.0
pr-url: https://github.com/nodejs/node/pull/53601

Check warning on line 578 in doc/api/webcrypto.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The length parameter is now optional for `'ECDH'`, `'X25519'`,
and `'X448'`.
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 @@ -255,7 +255,7 @@ if (isMainThread) {
## `worker.postMessageToThread(threadId, value[, transferList][, timeout])`

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

> Stability: 1.1 - Active development
Expand Down
126 changes: 126 additions & 0 deletions doc/changelogs/CHANGELOG_V22.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 22
#define NODE_MINOR_VERSION 4
#define NODE_PATCH_VERSION 2
#define NODE_MINOR_VERSION 5
#define NODE_PATCH_VERSION 0

#define NODE_VERSION_IS_LTS 0
#define NODE_VERSION_LTS_CODENAME ""

#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 d4d03e2

Please sign in to comment.