Skip to content

Commit ecded13

Browse files
RafaelGSSsopho6
authored andcommitted
2024-06-11, Version 22.3.0 (Current)
Notable changes: buffer: * (SEMVER-MINOR) add .bytes() method to Blob (Matthew Aitken) nodejs#53221 cli: * (SEMVER-MINOR) add `NODE_RUN_PACKAGE_JSON_PATH` env (Yagiz Nizipli) nodejs#53058 * (SEMVER-MINOR) add `NODE_RUN_SCRIPT_NAME` env to `node --run` (Yagiz Nizipli) nodejs#53032 doc: * (SEMVER-MINOR) add context.assert docs (Colin Ihrig) nodejs#53169 * (SEMVER-MINOR) improve explanation about built-in modules (Joyee Cheung) nodejs#52762 * add StefanStojanovic to collaborators (StefanStojanovic) nodejs#53118 * add Marco Ippolito to TSC (Rafael Gonzaga) nodejs#53008 fs: * mark recursive cp methods as stable (Théo LUDWIG) nodejs#53127 lib: * (SEMVER-MINOR) add EventSource Client (Aras Abbasi) nodejs#51575 * (SEMVER-MINOR) replace MessageEvent with undici's (Matthew Aitken) nodejs#52370 module: * (SEMVER-MINOR) print amount of load time of a cjs module (Vinicius Lourenço) nodejs#52213 net: * (SEMVER-MINOR) add new net.server.listen tracing channel (Paolo Insogna) nodejs#53136 process: * (SEMVER-MINOR) add process.getBuiltinModule(id) (Joyee Cheung) nodejs#52762 src: * (SEMVER-MINOR) traverse parent folders while running `--run` (Yagiz Nizipli) nodejs#53154 src,permission: * (SEMVER-MINOR) --allow-wasi & prevent WASI exec (Rafael Gonzaga) nodejs#53124 test_runner: * (SEMVER-MINOR) add snapshot testing (Colin Ihrig) nodejs#53169 * (SEMVER-MINOR) add context.fullName (Colin Ihrig) nodejs#53169 * (SEMVER-MINOR) support module mocking (Colin Ihrig) nodejs#52848 PR-URL: nodejs#53379
1 parent 2529153 commit ecded13

File tree

6 files changed

+185
-23
lines changed

6 files changed

+185
-23
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
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.2.0">22.2.0</a></b><br/>
41+
<b><a href="doc/changelogs/CHANGELOG_V22.md#22.3.0">22.3.0</a></b><br/>
42+
<a href="doc/changelogs/CHANGELOG_V22.md#22.2.0">22.2.0</a><br/>
4243
<a href="doc/changelogs/CHANGELOG_V22.md#22.1.0">22.1.0</a><br/>
4344
<a href="doc/changelogs/CHANGELOG_V22.md#22.0.0">22.0.0</a><br/>
4445
</td>

doc/api/cli.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ Relative paths are NOT supported through the CLI flag.
272272
### `--allow-wasi`
273273

274274
<!-- YAML
275-
added: REPLACEME
275+
added: v22.3.0
276276
-->
277277

278278
> Stability: 1.1 - Active development
@@ -696,7 +696,7 @@ code from strings throw an exception instead. This does not affect the Node.js
696696
### `--expose-gc`
697697

698698
<!-- YAML
699-
added: REPLACEME
699+
added: v22.3.0
700700
-->
701701

702702
> Stability: 1 - Experimental. This flag is inherited from V8 and is subject to
@@ -940,7 +940,7 @@ CommonJS. This includes the following:
940940
### `--experimental-eventsource`
941941

942942
<!-- YAML
943-
added: REPLACEME
943+
added: v22.3.0
944944
-->
945945

946946
Enable exposition of [EventSource Web API][] on the global scope.
@@ -1069,7 +1069,7 @@ report is not generated. See the documentation on
10691069
### `--experimental-test-module-mocks`
10701070

10711071
<!-- YAML
1072-
added: REPLACEME
1072+
added: v22.3.0
10731073
-->
10741074

10751075
> Stability: 1.0 - Early development
@@ -1079,7 +1079,7 @@ Enable module mocking in the test runner.
10791079
### `--experimental-test-snapshots`
10801080

10811081
<!-- YAML
1082-
added: REPLACEME
1082+
added: v22.3.0
10831083
-->
10841084

10851085
> Stability: 1.0 - Early development
@@ -1973,13 +1973,13 @@ Modules preloaded with `--require` will run before modules preloaded with `--imp
19731973
<!-- YAML
19741974
added: v22.0.0
19751975
changes:
1976-
- version: REPLACEME
1976+
- version: v22.3.0
19771977
pr-url: https://github.com/nodejs/node/pull/53032
19781978
description: NODE_RUN_SCRIPT_NAME environment variable is added.
1979-
- version: REPLACEME
1979+
- version: v22.3.0
19801980
pr-url: https://github.com/nodejs/node/pull/53058
19811981
description: NODE_RUN_PACKAGE_JSON_PATH environment variable is added.
1982-
- version: REPLACEME
1982+
- version: v22.3.0
19831983
pr-url: https://github.com/nodejs/node/pull/53154
19841984
description: Traverses up to the root directory and finds
19851985
a `package.json` file to run the command from, and updates
@@ -2253,7 +2253,7 @@ subtests inherit this value from their parent. The default value is `Infinity`.
22532253
### `--test-update-snapshots`
22542254

22552255
<!-- YAML
2256-
added: REPLACEME
2256+
added: v22.3.0
22572257
-->
22582258

22592259
> Stability: 1.0 - Early development
@@ -3009,7 +3009,7 @@ added:
30093009
- v12.16.0
30103010
changes:
30113011
- version:
3012-
- REPLACEME
3012+
- v22.3.0
30133013
pr-url: https://github.com/nodejs/node/pull/52905
30143014
description:
30153015
Remove the possibility to use this env var with

doc/api/fs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ try {
10211021
<!-- YAML
10221022
added: v16.7.0
10231023
changes:
1024-
- version: REPLACEME
1024+
- version: v22.3.0
10251025
pr-url: https://github.com/nodejs/node/pull/53127
10261026
description: This API is no longer experimental.
10271027
- version:
@@ -2430,7 +2430,7 @@ copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL, callback);
24302430
<!-- YAML
24312431
added: v16.7.0
24322432
changes:
2433-
- version: REPLACEME
2433+
- version: v22.3.0
24342434
pr-url: https://github.com/nodejs/node/pull/53127
24352435
description: This API is no longer experimental.
24362436
- version:
@@ -5470,7 +5470,7 @@ copyFileSync('source.txt', 'destination.txt', constants.COPYFILE_EXCL);
54705470
<!-- YAML
54715471
added: v16.7.0
54725472
changes:
5473-
- version: REPLACEME
5473+
- version: v22.3.0
54745474
pr-url: https://github.com/nodejs/node/pull/53127
54755475
description: This API is no longer experimental.
54765476
- version:

doc/api/process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1924,7 +1924,7 @@ console.log('After:', getActiveResourcesInfo());
19241924
## `process.getBuiltinModule(id)`
19251925
19261926
<!-- YAML
1927-
added: REPLACEME
1927+
added: v22.3.0
19281928
-->
19291929
19301930
* `id` {string} ID of the built-in module being requested.

doc/api/test.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1683,7 +1683,7 @@ describe('tests', async () => {
16831683
## `snapshot`
16841684

16851685
<!-- YAML
1686-
added: REPLACEME
1686+
added: v22.3.0
16871687
-->
16881688

16891689
> Stability: 1.0 - Early development
@@ -1696,7 +1696,7 @@ placing common configuration code in a module preloaded with `--require` or
16961696
### `snapshot.setDefaultSnapshotSerializers(serializers)`
16971697

16981698
<!-- YAML
1699-
added: REPLACEME
1699+
added: v22.3.0
17001700
-->
17011701

17021702
> Stability: 1.0 - Early development
@@ -1713,7 +1713,7 @@ more robust serialization mechanism is required, this function should be used.
17131713
### `snapshot.setResolveSnapshotPath(fn)`
17141714

17151715
<!-- YAML
1716-
added: REPLACEME
1716+
added: v22.3.0
17171717
-->
17181718

17191719
> Stability: 1.0 - Early development
@@ -1886,7 +1886,7 @@ mock can still be used after calling this function.
18861886
## Class: `MockModuleContext`
18871887

18881888
<!-- YAML
1889-
added: REPLACEME
1889+
added: v22.3.0
18901890
-->
18911891

18921892
> Stability: 1.0 - Early development
@@ -1897,7 +1897,7 @@ created via the [`MockTracker`][] APIs.
18971897
### `ctx.restore()`
18981898

18991899
<!-- YAML
1900-
added: REPLACEME
1900+
added: v22.3.0
19011901
-->
19021902

19031903
Resets the implementation of the mock module.
@@ -2038,7 +2038,7 @@ test('spies on an object method', (t) => {
20382038
### `mock.module(specifier[, options])`
20392039

20402040
<!-- YAML
2041-
added: REPLACEME
2041+
added: v22.3.0
20422042
-->
20432043

20442044
> Stability: 1.0 - Early development
@@ -3151,7 +3151,7 @@ test('test', (t) => {
31513151
#### `context.assert.snapshot(value[, options])`
31523152

31533153
<!-- YAML
3154-
added: REPLACEME
3154+
added: v22.3.0
31553155
-->
31563156

31573157
> Stability: 1.0 - Early development
@@ -3206,7 +3206,7 @@ test('top level test', (t) => {
32063206
### `context.fullName`
32073207

32083208
<!-- YAML
3209-
added: REPLACEME
3209+
added: v22.3.0
32103210
-->
32113211

32123212
The name of the test and each of its ancestors, separated by `>`.

0 commit comments

Comments
 (0)