Skip to content

Commit

Permalink
2024-04-23, Version 22.0.0 (Current)
Browse files Browse the repository at this point in the history
Notable Changes:

TBD

Semver-Major Commits:

build:
  * (SEMVER-MAJOR) reset embedder string to "-node.0" (Michaël Zasso) #51362
  * (SEMVER-MAJOR) reset embedder string to "-node.0" (Michaël Zasso) #50115
console:
  * (SEMVER-MAJOR) treat non-strings as separate argument in console.assert() (Jacob Hummer) #49722
crypto:
  * (SEMVER-MAJOR) runtime deprecate hmac constructor (Marco Ippolito) #52071
  * (SEMVER-MAJOR) runtime deprecate Hash constructor (Marco Ippolito) #51880
  * (SEMVER-MAJOR) move createCipher and createDecipher to eol (Marco Ippolito) #50973
deps:
  * (SEMVER-MAJOR) V8: backport c4be0a97f981 (Richard Lau) #51362
  * (SEMVER-MAJOR) V8: cherry-pick f8d5e576b814 (Richard Lau) #51362
  * (SEMVER-MAJOR) patch V8 to support compilation with MSVC (StefanStojanovic) #51362
  * (SEMVER-MAJOR) patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #51362
  * (SEMVER-MAJOR) remove usage of a C++20 feature from V8 (Michaël Zasso) #51362
  * (SEMVER-MAJOR) avoid compilation error with ASan (Michaël Zasso) #51362
  * (SEMVER-MAJOR) disable V8 concurrent sparkplug compilation (Michaël Zasso) #51362
  * (SEMVER-MAJOR) silence irrelevant V8 warning (Michaël Zasso) #51362
  * (SEMVER-MAJOR) always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #51362
  * (SEMVER-MAJOR) update V8 to 12.2.281.27 (Michaël Zasso) #51362
  * (SEMVER-MAJOR) V8: cherry-pick de611e69ad51 (Keyhan Vakil) #50115
  * (SEMVER-MAJOR) V8: cherry-pick 0fd478bcdabd (Joyee Cheung) #50115
  * (SEMVER-MAJOR) V8: cherry-pick 0f9ebbc672c7 (Chengzhong Wu) #50115
  * (SEMVER-MAJOR) V8: cherry-pick 8f0b94671ddb (Lu Yahan) #50115
  * (SEMVER-MAJOR) V8: cherry-pick f7d000a7ae7b (Luke Albao) #50115
  * (SEMVER-MAJOR) V8: cherry-pick 25902244ad1a (Joyee Cheung) #50115
  * (SEMVER-MAJOR) patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #50115
  * (SEMVER-MAJOR) remove usage of a C++20 feature from V8 (Michaël Zasso) #50115
  * (SEMVER-MAJOR) avoid compilation error with ASan (Michaël Zasso) #50115
  * (SEMVER-MAJOR) disable V8 concurrent sparkplug compilation (Michaël Zasso) #50115
  * (SEMVER-MAJOR) silence irrelevant V8 warning (Michaël Zasso) #50115
  * (SEMVER-MAJOR) always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #50115
  * (SEMVER-MAJOR) update V8 to 11.9.169.7 (Michaël Zasso) #50115
doc:
  * (SEMVER-MAJOR) runtime deprecate flag --trace-atomics-wait (marco-ippolito) #51179
  * (SEMVER-MAJOR) bump FreeBSD experimental support to 13.2 (Michaël Zasso) #51231
  * (SEMVER-MAJOR) add migration paths for deprecated utils (Marco Ippolito) #50488
fs:
  * (SEMVER-MAJOR) runtime deprecate fs.Stats constructor (Marco Ippolito) #52067
  * (SEMVER-MAJOR) use private fields instead of symbols for `Dir` (Jungku Lee) #51037
  * (SEMVER-MAJOR) make stats date fields lazy (Yagiz Nizipli) #50908
http:
  * (SEMVER-MAJOR) preserve raw header duplicates in writeHead after setHeader calls (Tim Perry) #50394
lib:
  * (SEMVER-MAJOR) enable WebSocket by default (Aras Abbasi) #51594
lib,test:
  * (SEMVER-MAJOR) handle new Iterator global (Michaël Zasso) #51362
process:
  * (SEMVER-MAJOR) wait for `'exit'` before printing result (Antoine du Hamel) #52172
src:
  * (SEMVER-MAJOR) use supported API to get stalled TLA messages (Michaël Zasso) #51362
  * (SEMVER-MAJOR) update default V8 platform to override functions with location (Etienne Pierre-Doray) #51362
  * (SEMVER-MAJOR) add missing TryCatch (Michaël Zasso) #51362
  * (SEMVER-MAJOR) update NODE_MODULE_VERSION to 124 (Michaël Zasso) #51362
  * (SEMVER-MAJOR) use non-deprecated v8::Uint8Array::kMaxLength (Michaël Zasso) #50115
  * (SEMVER-MAJOR) adapt to v8::Exception API change (Michaël Zasso) #50115
  * (SEMVER-MAJOR) use non-deprecated version of CreateSyntheticModule (Michaël Zasso) #50115
  * (SEMVER-MAJOR) update NODE_MODULE_VERSION to 122 (Michaël Zasso) #50115
stream:
  * (SEMVER-MAJOR) bump default highWaterMark (Robert Nagy) #52037
test:
  * (SEMVER-MAJOR) mark test-worker-arraybuffer-zerofill as flaky (Michaël Zasso) #51362
  * (SEMVER-MAJOR) mark some GC-related tests as flaky (Michaël Zasso) #51362
  * (SEMVER-MAJOR) allow slightly more diff in memory leak test (Michaël Zasso) #51362
  * (SEMVER-MAJOR) replace always-opt flag with alway-turbofan (Michaël Zasso) #50115
  * (SEMVER-MAJOR) remove tests that create very large buffers (Michaël Zasso) #50115
  * (SEMVER-MAJOR) adapt to new V8 trusted memory spaces (Michaël Zasso) #50115
test_runner:
  * (SEMVER-MAJOR) omit filtered test from output (Colin Ihrig) #52221
  * (SEMVER-MAJOR) improve `--test-name-pattern` to allow matching single test (Michał Drobniak) #51577
tools:
  * (SEMVER-MAJOR) roughly port v8_abseil to gyp (Michaël Zasso) #51362
  * (SEMVER-MAJOR) update V8 gypfiles for 12.2 (Michaël Zasso) #51362
  * (SEMVER-MAJOR) update V8 gypfiles for 12.1 (Michaël Zasso) #51362
  * (SEMVER-MAJOR) update V8 gypfiles for 12.0 (Michaël Zasso) #51362
trace_events:
  * (SEMVER-MAJOR) use private fields instead of symbols for `Tracing` (Jungku Lee) #51180
util:
  * (SEMVER-MAJOR) runtime deprecate util.log (Marco Ippolito) #50488
  * (SEMVER-MAJOR) runtime deprecate util.isUndefined (Marco Ippolito) #50488
  * (SEMVER-MAJOR) runtime deprecate util.isSymbol (Marco Ippolito) #50488
  * (SEMVER-MAJOR) runtime deprecate util.isString (Marco Ippolito) #50488
  * (SEMVER-MAJOR) runtime deprecate util.isRegExp (Marco Ippolito) #50488
  * (SEMVER-MAJOR) runtime deprecate util.isPrimitive (Marco Ippolito) #50488
  * (SEMVER-MAJOR) runtime deprecate util.isObject (Marco Ippolito) #50488
  * (SEMVER-MAJOR) runtime deprecate util.isNumber (Marco Ippolito) #50488
  * (SEMVER-MAJOR) runtime deprecate util.isNullOrUndefined (Marco Ippolito) #50488
  * (SEMVER-MAJOR) runtime deprecate util.isNull (Marco Ippolito) #50488
  * (SEMVER-MAJOR) runtime deprecate util.isFunction (Marco Ippolito) #50488
  * (SEMVER-MAJOR) runtime deprecate util.isError (Marco Ippolito) #50488
  * (SEMVER-MAJOR) runtime deprecate util.isDate (Marco Ippolito) #50488
  * (SEMVER-MAJOR) runtime deprecation util.isBuffer (Marco Ippolito) #50488
  * (SEMVER-MAJOR) runtime deprecation util.isBoolean (Marco Ippolito) #50488
  * (SEMVER-MAJOR) runtime deprecate util.isArray (Marco Ippolito) #50488
  * (SEMVER-MAJOR) runtime deprecation util._extend (Marco Ippolito) #50488
v8:
  * (SEMVER-MAJOR) enable maglev on supported architectures (Keyhan Vakil) #51360

PR-URL: #52505
Co-Authored-By: Marco Ippolito <marcoippolito54@gmail.com>
  • Loading branch information
RafaelGSS and marco-ippolito committed Apr 15, 2024
1 parent 21211a3 commit 942c5db
Show file tree
Hide file tree
Showing 36 changed files with 481 additions and 56 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

Select a Node.js version below to view the changelog history:

* [Node.js 22](doc/changelogs/CHANGELOG_V22.md) **Current**
* [Node.js 21](doc/changelogs/CHANGELOG_V21.md) **Current**
* [Node.js 20](doc/changelogs/CHANGELOG_V20.md) **Long Term Support**
* [Node.js 19](doc/changelogs/CHANGELOG_V19.md) End-of-Life
Expand Down Expand Up @@ -30,12 +31,16 @@ release.

<table>
<tr>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V22.md">22</a> (Current)</th>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V21.md">21</a> (Current)</th>
<th title="LTS Until 2026-04"><a href="doc/changelogs/CHANGELOG_V20.md">20</a> (LTS)</th>
<th title="LTS Until 2025-04"><a href="doc/changelogs/CHANGELOG_V18.md">18</a> (LTS)</th>
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V22.md#22.0.0">22.0.0</a></b><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V21.md#21.7.3">21.7.3</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V21.md#21.7.2">21.7.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V21.md#21.7.1">21.7.1</a><br/>
Expand Down
16 changes: 8 additions & 8 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ Use the specified file as a security policy.
### `--experimental-require-module`

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

> Stability: 1.1 - Active Developement
Expand Down Expand Up @@ -1394,7 +1394,7 @@ Use this flag to disable top-level await in REPL.
### `--no-experimental-websocket`

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

Use this flag to disable experimental [`WebSocket`][] support.
Expand Down Expand Up @@ -1605,7 +1605,7 @@ Identical to `-e` but prints the result.
### `--experimental-print-required-tla`

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

This flag is only useful when `--experimental-require-module` is enabled.
Expand Down Expand Up @@ -1786,7 +1786,7 @@ native stack and other runtime environment data.
### `--report-exclude-network`

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

Exclude `header.networkInterfaces` from the diagnostic report. By default
Expand All @@ -1810,7 +1810,7 @@ Modules preloaded with `--require` will run before modules preloaded with `--imp
### `--run`

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

> Stability: 1.1 - Active development
Expand Down Expand Up @@ -1949,7 +1949,7 @@ concurrently. The default value is `os.availableParallelism() - 1`.
### `--test-force-exit`

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

Configures the test runner to exit the process once all known tests have
Expand Down Expand Up @@ -2391,7 +2391,7 @@ added:
- v18.11.0
- v16.19.0
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/52074
description: Watch mode is now stable.
- version:
Expand Down Expand Up @@ -2424,7 +2424,7 @@ added:
- v18.11.0
- v16.19.0
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/52074
description: Watch mode is now stable.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ When passing a string as the `buffer`, please consider
<!-- YAML
added: v1.0.0
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/52345
description: Using GCM tag lengths other than 128 bits without specifying
the `authTagLength` option when creating `decipher` is
Expand Down
50 changes: 25 additions & 25 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ The [`tls.SecurePair`][] class is deprecated. Please use

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version:
Expand All @@ -996,7 +996,7 @@ instead.

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version:
Expand All @@ -1020,7 +1020,7 @@ The [`util.isBoolean()`][] API is deprecated. Please use

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version:
Expand All @@ -1044,7 +1044,7 @@ The [`util.isBuffer()`][] API is deprecated. Please use

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version:
Expand All @@ -1068,7 +1068,7 @@ The [`util.isDate()`][] API is deprecated. Please use

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version:
Expand All @@ -1093,7 +1093,7 @@ instead.

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version:
Expand All @@ -1117,7 +1117,7 @@ The [`util.isFunction()`][] API is deprecated. Please use

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version:
Expand All @@ -1141,7 +1141,7 @@ The [`util.isNull()`][] API is deprecated. Please use

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version:
Expand All @@ -1165,7 +1165,7 @@ The [`util.isNullOrUndefined()`][] API is deprecated. Please use

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version:
Expand All @@ -1189,7 +1189,7 @@ The [`util.isNumber()`][] API is deprecated. Please use

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version:
Expand All @@ -1213,7 +1213,7 @@ The [`util.isObject()`][] API is deprecated. Please use

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version:
Expand All @@ -1238,7 +1238,7 @@ instead.

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version:
Expand All @@ -1262,7 +1262,7 @@ The [`util.isRegExp()`][] API is deprecated. Please use

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version:
Expand All @@ -1286,7 +1286,7 @@ The [`util.isString()`][] API is deprecated. Please use

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version:
Expand All @@ -1310,7 +1310,7 @@ The [`util.isSymbol()`][] API is deprecated. Please use

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version:
Expand All @@ -1334,7 +1334,7 @@ The [`util.isUndefined()`][] API is deprecated. Please use

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version: v6.12.0
Expand Down Expand Up @@ -1363,7 +1363,7 @@ requirements and complexity of your application.

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version: v6.12.0
Expand Down Expand Up @@ -2197,7 +2197,7 @@ Type: End-of-Life

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50973
description: End-of-Life.
- version: v11.0.0
Expand Down Expand Up @@ -3313,7 +3313,7 @@ Values other than `undefined`, `null`, integer numbers, and integer strings

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/51179
description: Runtime deprecation.
- version:
Expand Down Expand Up @@ -3568,7 +3568,7 @@ release lines. Please use [`dirent.parentPath`][] instead.

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/51880
description: Runtime deprecation.
- version:
Expand All @@ -3588,10 +3588,10 @@ Please use the [`crypto.createHash()`][] method to create Hash instances.

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/52067
description: Runtime deprecation.
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/51879
description: Documentation-only deprecation.
-->
Expand All @@ -3605,10 +3605,10 @@ deprecated due to being internals, not intended for public use.

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/52071
description: Runtime deprecation.
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/51881
description: Documentation-only deprecation.
-->
Expand All @@ -3623,7 +3623,7 @@ Please use the [`crypto.createHmac()`][] method to create Hmac instances.

<!-- YAML
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/52345
description: Documentation-only deprecation.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -1662,7 +1662,7 @@ added:
- v13.6.0
- v12.16.0
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/52080
description: Support `highWaterMark` and `lowWaterMark` options,
For consistency. Old options are still supported.
Expand Down
8 changes: 4 additions & 4 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ behavior is similar to `cp dir1/ dir2/`.
### `fsPromises.glob(pattern[, options])`
<!-- YAML
added: REPLACEME
added: v22.0.0
-->
> Stability: 1 - Experimental
Expand Down Expand Up @@ -3108,7 +3108,7 @@ descriptor. See [`fs.utimes()`][].
### `fs.glob(pattern[, options], callback)`
<!-- YAML
added: REPLACEME
added: v22.0.0
-->
> Stability: 1 - Experimental
Expand Down Expand Up @@ -5602,7 +5602,7 @@ Synchronous version of [`fs.futimes()`][]. Returns `undefined`.
### `fs.globSync(pattern[, options])`
<!-- YAML
added: REPLACEME
added: v22.0.0
-->
> Stability: 1 - Experimental
Expand Down Expand Up @@ -7004,7 +7004,7 @@ i.e. before the `'ready'` event is emitted.
<!-- YAML
added: v0.1.21
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/51879
description: Public constructor is deprecated.
- version: v8.1.0
Expand Down
2 changes: 1 addition & 1 deletion doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ added:
- v21.0.0
- v20.10.0
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/51594
description: No longer behind `--experimental-websocket` CLI flag.
-->
Expand Down
4 changes: 2 additions & 2 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ added:
- v19.6.0
- v18.15.0
changes:
- version: REPLACEME
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/52039
description: Aligned return value with `uv_get_constrained_memory`.
-->
Expand All @@ -1134,7 +1134,7 @@ information.
## `process.availableMemory()`

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

> Stability: 1 - Experimental
Expand Down
Loading

0 comments on commit 942c5db

Please sign in to comment.