Skip to content

Commit d4d03e2

Browse files
committed
2024-07-15, Version 22.5.0 (Current)
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
1 parent b850416 commit d4d03e2

9 files changed

+143
-16
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ release.
3838
</tr>
3939
<tr>
4040
<td valign="top">
41-
<b><a href="doc/changelogs/CHANGELOG_V22.md#22.4.1">22.4.1</a></b><br/>
41+
<b><a href="doc/changelogs/CHANGELOG_V22.md#22.5.0">22.5.0</a></b><br/>
42+
<a href="doc/changelogs/CHANGELOG_V22.md#22.4.1">22.4.1</a><br/>
4243
<a href="doc/changelogs/CHANGELOG_V22.md#22.4.0">22.4.0</a><br/>
4344
<a href="doc/changelogs/CHANGELOG_V22.md#22.3.0">22.3.0</a><br/>
4445
<a href="doc/changelogs/CHANGELOG_V22.md#22.2.0">22.2.0</a><br/>

doc/api/errors.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3110,7 +3110,7 @@ nor a relative path starting with `./` or `../`.
31103110
### `ERR_WORKER_MESSAGING_ERRORED`
31113111

31123112
<!-- YAML
3113-
added: REPLACEME
3113+
added: v22.5.0
31143114
-->
31153115

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

31243124
<!-- YAML
3125-
added: REPLACEME
3125+
added: v22.5.0
31263126
-->
31273127

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

31363136
<!-- YAML
3137-
added: REPLACEME
3137+
added: v22.5.0
31383138
-->
31393139

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

31483148
<!-- YAML
3149-
added: REPLACEME
3149+
added: v22.5.0
31503150
-->
31513151

31523152
> Stability: 1.1 - Active development

doc/api/http.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4232,7 +4232,7 @@ Set the maximum number of idle HTTP parsers.
42324232
42334233
<!-- YAML
42344234
added:
4235-
- REPLACEME
4235+
- v22.5.0
42364236
-->
42374237
42384238
A browser-compatible implementation of [`WebSocket`][].

doc/api/path.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ path.format({
282282
## `path.matchesGlob(path, pattern)`
283283

284284
<!-- YAML
285-
added: REPLACEME
285+
added: v22.5.0
286286
-->
287287

288288
> Stability: 1 - Experimental

doc/api/process.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ most convenient for scripts).
330330
### Event: `'workerMessage'`
331331

332332
<!-- YAML
333-
added: REPLACEME
333+
added: v22.5.0
334334
-->
335335

336336
* `value` {any} A value transmitted using [`postMessageToThread()`][].
@@ -1892,7 +1892,7 @@ previous setting of `process.exitCode`.
18921892
## `process.finalization.register(ref, callback)`
18931893
18941894
<!-- YAML
1895-
added: REPLACEME
1895+
added: v22.5.0
18961896
-->
18971897
18981898
> Stability: 1.1 - Active Development
@@ -2001,7 +2001,7 @@ as it is not guaranteed that the callback will be called under all circumstances
20012001
## `process.finalization.registerBeforeExit(ref, callback)`
20022002
20032003
<!-- YAML
2004-
added: REPLACEME
2004+
added: v22.5.0
20052005
-->
20062006
20072007
> Stability: 1.1 - Active Development
@@ -2022,7 +2022,7 @@ this means that there is a possibility that the callback will not be called unde
20222022
## `process.finalization.unregister(ref)`
20232023
20242024
<!-- YAML
2025-
added: REPLACEME
2025+
added: v22.5.0
20262026
-->
20272027
20282028
> Stability: 1.1 - Active Development

doc/api/webcrypto.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ The algorithms currently supported include:
574574
<!-- YAML
575575
added: v15.0.0
576576
changes:
577-
- version: REPLACEME
577+
- version: v22.5.0
578578
pr-url: https://github.com/nodejs/node/pull/53601
579579
description: The length parameter is now optional for `'ECDH'`, `'X25519'`,
580580
and `'X448'`.

doc/api/worker_threads.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ if (isMainThread) {
255255
## `worker.postMessageToThread(threadId, value[, transferList][, timeout])`
256256

257257
<!-- YAML
258-
added: REPLACEME
258+
added: v22.5.0
259259
-->
260260

261261
> Stability: 1.1 - Active development

doc/changelogs/CHANGELOG_V22.md

+126
Large diffs are not rendered by default.

src/node_version.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
#define SRC_NODE_VERSION_H_
2424

2525
#define NODE_MAJOR_VERSION 22
26-
#define NODE_MINOR_VERSION 4
27-
#define NODE_PATCH_VERSION 2
26+
#define NODE_MINOR_VERSION 5
27+
#define NODE_PATCH_VERSION 0
2828

2929
#define NODE_VERSION_IS_LTS 0
3030
#define NODE_VERSION_LTS_CODENAME ""
3131

32-
#define NODE_VERSION_IS_RELEASE 0
32+
#define NODE_VERSION_IS_RELEASE 1
3333

3434
#ifndef NODE_STRINGIFY
3535
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)

0 commit comments

Comments
 (0)