Skip to content

Commit

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

cli:
  * (SEMVER-MINOR) allow running wasm in limited vmem with
    --disable-wasm-trap-handler (Joyee Cheung)
    #52766
doc:
  * add pimterry to collaborators (Tim Perry)
    #52874
fs:
  * (SEMVER-MINOR) allow 'withFileTypes' to be used with globs
    (Aviv Keller) #52837
inspector:
  * (SEMVER-MINOR) introduce the `--inspect-wait` flag (Kohei Ueno)
    #52734
lib,src:
  * remove --experimental-policy (Rafael Gonzaga)
    #52583
perf_hooks:
  * (SEMVER-MINOR) add `deliveryType` and `responseStatus` fields
    (Matthew Aitken) #51589
test_runner:
  * (SEMVER-MINOR) support test plans (Colin Ihrig)
    #52860
zlib:
  * (SEMVER-MINOR) expose zlib.crc32() (Joyee Cheung)
    #52692

PR-URL: #52971
  • Loading branch information
targos committed May 15, 2024
1 parent 139c26b commit 28b0a58
Show file tree
Hide file tree
Showing 9 changed files with 185 additions and 19 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.1.0">22.1.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V22.md#22.2.0">22.2.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.1.0">22.1.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.0.0">22.0.0</a><br/>
</td>
<td valign="top">
Expand Down
4 changes: 2 additions & 2 deletions doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ An alias of [`assert.ok()`][].
<!-- YAML
added: v0.1.21
changes:
- version: REPLACEME
- version: v22.2.0
pr-url: https://github.com/nodejs/node/pull/51805
description: Error cause and errors properties are now compared as well.
- version: v18.0.0
Expand Down Expand Up @@ -739,7 +739,7 @@ parameter is an instance of an [`Error`][] then it will be thrown instead of the
<!-- YAML
added: v1.2.0
changes:
- version: REPLACEME
- version: v22.2.0
pr-url: https://github.com/nodejs/node/pull/51805
description: Error cause and errors properties are now compared as well.
- version: v18.0.0
Expand Down
4 changes: 2 additions & 2 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ vm.measureMemory();
### `--disable-wasm-trap-handler`

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

By default, Node.js enables trap-handler-based WebAssembly bound
Expand Down Expand Up @@ -1337,7 +1337,7 @@ endpoint on `http://host:port/json/list`.
### `--inspect-wait[=[host:]port]`

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

Activate inspector on `host:port` and wait for debugger to be attached.
Expand Down
16 changes: 8 additions & 8 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -3379,7 +3379,7 @@ An import attribute is not supported by this version of Node.js.
### `ERR_MANIFEST_ASSERT_INTEGRITY`

<!-- YAML
removed: REPLACEME
removed: v22.2.0
-->

An attempt was made to load a resource, but the resource did not match the
Expand All @@ -3391,7 +3391,7 @@ manifests for more information.
### `ERR_MANIFEST_DEPENDENCY_MISSING`

<!-- YAML
removed: REPLACEME
removed: v22.2.0
-->

An attempt was made to load a resource, but the resource was not listed as a
Expand All @@ -3403,7 +3403,7 @@ for policy manifests for more information.
### `ERR_MANIFEST_INTEGRITY_MISMATCH`

<!-- YAML
removed: REPLACEME
removed: v22.2.0
-->

An attempt was made to load a policy manifest, but the manifest had multiple
Expand All @@ -3416,7 +3416,7 @@ policy manifests for more information.
### `ERR_MANIFEST_INVALID_RESOURCE_FIELD`

<!-- YAML
removed: REPLACEME
removed: v22.2.0
-->

A policy manifest resource had an invalid value for one of its fields. Update
Expand All @@ -3428,7 +3428,7 @@ documentation for policy manifests for more information.
### `ERR_MANIFEST_INVALID_SPECIFIER`

<!-- YAML
removed: REPLACEME
removed: v22.2.0
-->

A policy manifest resource had an invalid value for one of its dependency
Expand All @@ -3440,7 +3440,7 @@ documentation for policy manifests for more information.
### `ERR_MANIFEST_PARSE_POLICY`

<!-- YAML
removed: REPLACEME
removed: v22.2.0
-->

An attempt was made to load a policy manifest, but the manifest was unable to
Expand All @@ -3451,7 +3451,7 @@ be parsed. See the documentation for policy manifests for more information.
### `ERR_MANIFEST_TDZ`

<!-- YAML
removed: REPLACEME
removed: v22.2.0
-->

An attempt was made to read from a policy manifest, but the manifest
Expand All @@ -3462,7 +3462,7 @@ initialization has not yet taken place. This is likely a bug in Node.js.
### `ERR_MANIFEST_UNKNOWN_ONERROR`

<!-- YAML
removed: REPLACEME
removed: v22.2.0
-->

A policy manifest was loaded, but had an unknown value for its "onerror"
Expand Down
6 changes: 3 additions & 3 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@ behavior is similar to `cp dir1/ dir2/`.
<!-- YAML
added: v22.0.0
changes:
- version: REPLACEME
- version: v22.2.0
pr-url: https://github.com/nodejs/node/pull/52837
description: Add support for `withFileTypes` as an option.
-->
Expand Down Expand Up @@ -3116,7 +3116,7 @@ descriptor. See [`fs.utimes()`][].
<!-- YAML
added: v22.0.0
changes:
- version: REPLACEME
- version: v22.2.0
pr-url: https://github.com/nodejs/node/pull/52837
description: Add support for `withFileTypes` as an option.
-->
Expand Down Expand Up @@ -5650,7 +5650,7 @@ Synchronous version of [`fs.futimes()`][]. Returns `undefined`.
<!-- YAML
added: v22.0.0
changes:
- version: REPLACEME
- version: v22.2.0
pr-url: https://github.com/nodejs/node/pull/52837
description: Add support for `withFileTypes` as an option.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/perf_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ added:
- v18.2.0
- v16.17.0
changes:
- version: REPLACEME
- version: v22.2.0
pr-url: https://github.com/nodejs/node/pull/51589
description: Added bodyInfo, responseStatus, and deliveryType arguments.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -2983,7 +2983,7 @@ The name of the test.

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

> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/zlib.md
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ as appropriate for the derived class).
### `zlib.crc32(data[, value])`

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

* `data` {string|Buffer|TypedArray|DataView} When `data` is a string,
Expand Down
Loading

0 comments on commit 28b0a58

Please sign in to comment.