From 165e8fd5227ab00a315b07d34e25b559ede0e9ac Mon Sep 17 00:00:00 2001 From: RafaelGSS Date: Fri, 12 Apr 2024 15:30:46 -0300 Subject: [PATCH] 2024-04-23, Version 22.0.0 (Current) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Notable Changes: TBD Semver-Major Commits: build: * (SEMVER-MAJOR) reset embedder string to "-node.0" (Michaël Zasso) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) reset embedder string to "-node.0" (Michaël Zasso) https://github.com/nodejs/node/pull/50115 console: * (SEMVER-MAJOR) treat non-strings as separate argument in console.assert() (Jacob Hummer) https://github.com/nodejs/node/pull/49722 crypto: * (SEMVER-MAJOR) runtime deprecate hmac constructor (Marco Ippolito) https://github.com/nodejs/node/pull/52071 * (SEMVER-MAJOR) runtime deprecate Hash constructor (Marco Ippolito) https://github.com/nodejs/node/pull/51880 * (SEMVER-MAJOR) move createCipher and createDecipher to eol (Marco Ippolito) https://github.com/nodejs/node/pull/50973 deps: * (SEMVER-MAJOR) V8: backport c4be0a97f981 (Richard Lau) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) V8: cherry-pick f8d5e576b814 (Richard Lau) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) patch V8 to support compilation with MSVC (StefanStojanovic) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) patch V8 to avoid duplicated zlib symbol (Michaël Zasso) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) remove usage of a C++20 feature from V8 (Michaël Zasso) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) avoid compilation error with ASan (Michaël Zasso) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) disable V8 concurrent sparkplug compilation (Michaël Zasso) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) silence irrelevant V8 warning (Michaël Zasso) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) update V8 to 12.2.281.27 (Michaël Zasso) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) V8: cherry-pick de611e69ad51 (Keyhan Vakil) https://github.com/nodejs/node/pull/50115 * (SEMVER-MAJOR) V8: cherry-pick 0fd478bcdabd (Joyee Cheung) https://github.com/nodejs/node/pull/50115 * (SEMVER-MAJOR) V8: cherry-pick 0f9ebbc672c7 (Chengzhong Wu) https://github.com/nodejs/node/pull/50115 * (SEMVER-MAJOR) V8: cherry-pick 8f0b94671ddb (Lu Yahan) https://github.com/nodejs/node/pull/50115 * (SEMVER-MAJOR) V8: cherry-pick f7d000a7ae7b (Luke Albao) https://github.com/nodejs/node/pull/50115 * (SEMVER-MAJOR) V8: cherry-pick 25902244ad1a (Joyee Cheung) https://github.com/nodejs/node/pull/50115 * (SEMVER-MAJOR) patch V8 to avoid duplicated zlib symbol (Michaël Zasso) https://github.com/nodejs/node/pull/50115 * (SEMVER-MAJOR) remove usage of a C++20 feature from V8 (Michaël Zasso) https://github.com/nodejs/node/pull/50115 * (SEMVER-MAJOR) avoid compilation error with ASan (Michaël Zasso) https://github.com/nodejs/node/pull/50115 * (SEMVER-MAJOR) disable V8 concurrent sparkplug compilation (Michaël Zasso) https://github.com/nodejs/node/pull/50115 * (SEMVER-MAJOR) silence irrelevant V8 warning (Michaël Zasso) https://github.com/nodejs/node/pull/50115 * (SEMVER-MAJOR) always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) https://github.com/nodejs/node/pull/50115 * (SEMVER-MAJOR) update V8 to 11.9.169.7 (Michaël Zasso) https://github.com/nodejs/node/pull/50115 doc: * (SEMVER-MAJOR) runtime deprecate flag --trace-atomics-wait (marco-ippolito) https://github.com/nodejs/node/pull/51179 * (SEMVER-MAJOR) bump FreeBSD experimental support to 13.2 (Michaël Zasso) https://github.com/nodejs/node/pull/51231 * (SEMVER-MAJOR) add migration paths for deprecated utils (Marco Ippolito) https://github.com/nodejs/node/pull/50488 fs: * (SEMVER-MAJOR) runtime deprecate fs.Stats constructor (Marco Ippolito) https://github.com/nodejs/node/pull/52067 * (SEMVER-MAJOR) use private fields instead of symbols for `Dir` (Jungku Lee) https://github.com/nodejs/node/pull/51037 * (SEMVER-MAJOR) make stats date fields lazy (Yagiz Nizipli) https://github.com/nodejs/node/pull/50908 http: * (SEMVER-MAJOR) preserve raw header duplicates in writeHead after setHeader calls (Tim Perry) https://github.com/nodejs/node/pull/50394 lib: * (SEMVER-MAJOR) enable WebSocket by default (Aras Abbasi) https://github.com/nodejs/node/pull/51594 lib,test: * (SEMVER-MAJOR) handle new Iterator global (Michaël Zasso) https://github.com/nodejs/node/pull/51362 process: * (SEMVER-MAJOR) wait for `'exit'` before printing result (Antoine du Hamel) https://github.com/nodejs/node/pull/52172 src: * (SEMVER-MAJOR) use supported API to get stalled TLA messages (Michaël Zasso) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) update default V8 platform to override functions with location (Etienne Pierre-Doray) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) add missing TryCatch (Michaël Zasso) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) update NODE_MODULE_VERSION to 124 (Michaël Zasso) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) use non-deprecated v8::Uint8Array::kMaxLength (Michaël Zasso) https://github.com/nodejs/node/pull/50115 * (SEMVER-MAJOR) adapt to v8::Exception API change (Michaël Zasso) https://github.com/nodejs/node/pull/50115 * (SEMVER-MAJOR) use non-deprecated version of CreateSyntheticModule (Michaël Zasso) https://github.com/nodejs/node/pull/50115 * (SEMVER-MAJOR) update NODE_MODULE_VERSION to 122 (Michaël Zasso) https://github.com/nodejs/node/pull/50115 stream: * (SEMVER-MAJOR) bump default highWaterMark (Robert Nagy) https://github.com/nodejs/node/pull/52037 test: * (SEMVER-MAJOR) mark test-worker-arraybuffer-zerofill as flaky (Michaël Zasso) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) mark some GC-related tests as flaky (Michaël Zasso) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) allow slightly more diff in memory leak test (Michaël Zasso) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) replace always-opt flag with alway-turbofan (Michaël Zasso) https://github.com/nodejs/node/pull/50115 * (SEMVER-MAJOR) remove tests that create very large buffers (Michaël Zasso) https://github.com/nodejs/node/pull/50115 * (SEMVER-MAJOR) adapt to new V8 trusted memory spaces (Michaël Zasso) https://github.com/nodejs/node/pull/50115 test_runner: * (SEMVER-MAJOR) omit filtered test from output (Colin Ihrig) https://github.com/nodejs/node/pull/52221 * (SEMVER-MAJOR) improve `--test-name-pattern` to allow matching single test (Michał Drobniak) https://github.com/nodejs/node/pull/51577 tools: * (SEMVER-MAJOR) roughly port v8_abseil to gyp (Michaël Zasso) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) update V8 gypfiles for 12.2 (Michaël Zasso) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) update V8 gypfiles for 12.1 (Michaël Zasso) https://github.com/nodejs/node/pull/51362 * (SEMVER-MAJOR) update V8 gypfiles for 12.0 (Michaël Zasso) https://github.com/nodejs/node/pull/51362 trace_events: * (SEMVER-MAJOR) use private fields instead of symbols for `Tracing` (Jungku Lee) https://github.com/nodejs/node/pull/51180 util: * (SEMVER-MAJOR) runtime deprecate util.log (Marco Ippolito) https://github.com/nodejs/node/pull/50488 * (SEMVER-MAJOR) runtime deprecate util.isUndefined (Marco Ippolito) https://github.com/nodejs/node/pull/50488 * (SEMVER-MAJOR) runtime deprecate util.isSymbol (Marco Ippolito) https://github.com/nodejs/node/pull/50488 * (SEMVER-MAJOR) runtime deprecate util.isString (Marco Ippolito) https://github.com/nodejs/node/pull/50488 * (SEMVER-MAJOR) runtime deprecate util.isRegExp (Marco Ippolito) https://github.com/nodejs/node/pull/50488 * (SEMVER-MAJOR) runtime deprecate util.isPrimitive (Marco Ippolito) https://github.com/nodejs/node/pull/50488 * (SEMVER-MAJOR) runtime deprecate util.isObject (Marco Ippolito) https://github.com/nodejs/node/pull/50488 * (SEMVER-MAJOR) runtime deprecate util.isNumber (Marco Ippolito) https://github.com/nodejs/node/pull/50488 * (SEMVER-MAJOR) runtime deprecate util.isNullOrUndefined (Marco Ippolito) https://github.com/nodejs/node/pull/50488 * (SEMVER-MAJOR) runtime deprecate util.isNull (Marco Ippolito) https://github.com/nodejs/node/pull/50488 * (SEMVER-MAJOR) runtime deprecate util.isFunction (Marco Ippolito) https://github.com/nodejs/node/pull/50488 * (SEMVER-MAJOR) runtime deprecate util.isError (Marco Ippolito) https://github.com/nodejs/node/pull/50488 * (SEMVER-MAJOR) runtime deprecate util.isDate (Marco Ippolito) https://github.com/nodejs/node/pull/50488 * (SEMVER-MAJOR) runtime deprecation util.isBuffer (Marco Ippolito) https://github.com/nodejs/node/pull/50488 * (SEMVER-MAJOR) runtime deprecation util.isBoolean (Marco Ippolito) https://github.com/nodejs/node/pull/50488 * (SEMVER-MAJOR) runtime deprecate util.isArray (Marco Ippolito) https://github.com/nodejs/node/pull/50488 * (SEMVER-MAJOR) runtime deprecation util._extend (Marco Ippolito) https://github.com/nodejs/node/pull/50488 v8: * (SEMVER-MAJOR) enable maglev on supported architectures (Keyhan Vakil) https://github.com/nodejs/node/pull/51360 PR-URL: TBD Co-Authored-By: Marco Ippolito --- CHANGELOG.md | 5 ++ doc/api/cli.md | 16 ++-- doc/api/crypto.md | 2 +- doc/api/deprecations.md | 50 +++++------ doc/api/events.md | 2 +- doc/api/fs.md | 8 +- doc/api/globals.md | 2 +- doc/api/process.md | 4 +- doc/api/report.md | 2 +- doc/api/stream.md | 12 +-- doc/api/test.md | 10 +-- doc/api/v8.md | 2 +- doc/changelogs/CHANGELOG_ARCHIVE.md | 1 + doc/changelogs/CHANGELOG_IOJS.md | 1 + doc/changelogs/CHANGELOG_V010.md | 1 + doc/changelogs/CHANGELOG_V012.md | 1 + doc/changelogs/CHANGELOG_V10.md | 1 + doc/changelogs/CHANGELOG_V11.md | 1 + doc/changelogs/CHANGELOG_V12.md | 1 + doc/changelogs/CHANGELOG_V13.md | 1 + doc/changelogs/CHANGELOG_V14.md | 1 + doc/changelogs/CHANGELOG_V15.md | 1 + doc/changelogs/CHANGELOG_V16.md | 1 + doc/changelogs/CHANGELOG_V17.md | 1 + doc/changelogs/CHANGELOG_V18.md | 1 + doc/changelogs/CHANGELOG_V19.md | 1 + doc/changelogs/CHANGELOG_V20.md | 1 + doc/changelogs/CHANGELOG_V21.md | 1 + doc/changelogs/CHANGELOG_V22.md | 134 ++++++++++++++++++++++++++++ doc/changelogs/CHANGELOG_V4.md | 1 + doc/changelogs/CHANGELOG_V5.md | 1 + doc/changelogs/CHANGELOG_V6.md | 1 + doc/changelogs/CHANGELOG_V7.md | 1 + doc/changelogs/CHANGELOG_V8.md | 1 + doc/changelogs/CHANGELOG_V9.md | 1 + src/node_version.h | 2 +- 36 files changed, 217 insertions(+), 56 deletions(-) create mode 100644 doc/changelogs/CHANGELOG_V22.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 1838a4dac92e75..cb120c59c219e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -30,12 +31,16 @@ release. + +
22 (Current) 21 (Current) 20 (LTS) 18 (LTS)
+22.0.0
+
21.7.3
21.7.2
21.7.1
diff --git a/doc/api/cli.md b/doc/api/cli.md index f08afb737d41b4..d22ee1648b4ce7 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -886,7 +886,7 @@ Use the specified file as a security policy. ### `--experimental-require-module` > Stability: 1.1 - Active Developement @@ -1394,7 +1394,7 @@ Use this flag to disable top-level await in REPL. ### `--no-experimental-websocket` Use this flag to disable experimental [`WebSocket`][] support. @@ -1605,7 +1605,7 @@ Identical to `-e` but prints the result. ### `--experimental-print-required-tla` This flag is only useful when `--experimental-require-module` is enabled. @@ -1786,7 +1786,7 @@ native stack and other runtime environment data. ### `--report-exclude-network` Exclude `header.networkInterfaces` from the diagnostic report. By default @@ -1810,7 +1810,7 @@ Modules preloaded with `--require` will run before modules preloaded with `--imp ### `--run` > Stability: 1.1 - Active development @@ -1949,7 +1949,7 @@ concurrently. The default value is `os.availableParallelism() - 1`. ### `--test-force-exit` Configures the test runner to exit the process once all known tests have @@ -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: @@ -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. --> diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 44a4e249759b3a..758a04584c4a0e 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -891,7 +891,7 @@ When passing a string as the `buffer`, please consider @@ -3605,10 +3605,10 @@ deprecated due to being internals, not intended for public use. @@ -3623,7 +3623,7 @@ Please use the [`crypto.createHmac()`][] method to create Hmac instances. diff --git a/doc/api/events.md b/doc/api/events.md index 8ec82db04c25da..c630d8a11c644f 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -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. diff --git a/doc/api/fs.md b/doc/api/fs.md index de86c355efecd9..d6afc9d5ea9403 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -1072,7 +1072,7 @@ behavior is similar to `cp dir1/ dir2/`. ### `fsPromises.glob(pattern[, options])` > Stability: 1 - Experimental @@ -3108,7 +3108,7 @@ descriptor. See [`fs.utimes()`][]. ### `fs.glob(pattern[, options], callback)` > Stability: 1 - Experimental @@ -5602,7 +5602,7 @@ Synchronous version of [`fs.futimes()`][]. Returns `undefined`. ### `fs.globSync(pattern[, options])` > Stability: 1 - Experimental @@ -7004,7 +7004,7 @@ i.e. before the `'ready'` event is emitted. diff --git a/doc/api/process.md b/doc/api/process.md index 1b009f21887c0b..1c928045fe1047 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -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`. --> @@ -1134,7 +1134,7 @@ information. ## `process.availableMemory()` > Stability: 1 - Experimental diff --git a/doc/api/report.md b/doc/api/report.md index 1c64dfeb9e53a9..2ff614cf522dd7 100644 --- a/doc/api/report.md +++ b/doc/api/report.md @@ -10,7 +10,7 @@ diff --git a/doc/api/stream.md b/doc/api/stream.md index 7439e51c1ac1ce..e28a688cfa6e0e 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -720,7 +720,7 @@ console.log(myStream.destroyed); // true * `name` {string} The name of the suite, which is displayed when reporting test @@ -1290,7 +1290,7 @@ The `suite()` function is imported from the `node:test` module. ## `suite.skip([name][, options][, fn])` Shorthand for skipping a suite. This is the same as @@ -1299,7 +1299,7 @@ Shorthand for skipping a suite. This is the same as ## `suite.todo([name][, options][, fn])` Shorthand for marking a suite as `TODO`. This is the same as @@ -1308,7 +1308,7 @@ Shorthand for marking a suite as `TODO`. This is the same as ## `suite.only([name][, options][, fn])` Shorthand for marking a suite as `only`. This is the same as diff --git a/doc/api/v8.md b/doc/api/v8.md index a3ab7f04d64366..ece3c9c7f40f09 100644 --- a/doc/api/v8.md +++ b/doc/api/v8.md @@ -245,7 +245,7 @@ buffers and external strings. ## `v8.queryObjects(ctor[, options])` > Stability: 1.1 - Active development diff --git a/doc/changelogs/CHANGELOG_ARCHIVE.md b/doc/changelogs/CHANGELOG_ARCHIVE.md index 984f342e13cb2d..d8c652a7d9cb34 100644 --- a/doc/changelogs/CHANGELOG_ARCHIVE.md +++ b/doc/changelogs/CHANGELOG_ARCHIVE.md @@ -154,6 +154,7 @@
* Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [19.x](CHANGELOG_V19.md) diff --git a/doc/changelogs/CHANGELOG_IOJS.md b/doc/changelogs/CHANGELOG_IOJS.md index 2a3afd4952ad26..9793213ed206bd 100644 --- a/doc/changelogs/CHANGELOG_IOJS.md +++ b/doc/changelogs/CHANGELOG_IOJS.md @@ -62,6 +62,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [19.x](CHANGELOG_V19.md) diff --git a/doc/changelogs/CHANGELOG_V010.md b/doc/changelogs/CHANGELOG_V010.md index c4e3305f3ab6ed..260bb1308975da 100644 --- a/doc/changelogs/CHANGELOG_V010.md +++ b/doc/changelogs/CHANGELOG_V010.md @@ -64,6 +64,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [18.x](CHANGELOG_V18.md) diff --git a/doc/changelogs/CHANGELOG_V012.md b/doc/changelogs/CHANGELOG_V012.md index 80b905f2bcae76..3e3daaba682443 100644 --- a/doc/changelogs/CHANGELOG_V012.md +++ b/doc/changelogs/CHANGELOG_V012.md @@ -32,6 +32,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [18.x](CHANGELOG_V18.md) diff --git a/doc/changelogs/CHANGELOG_V10.md b/doc/changelogs/CHANGELOG_V10.md index aa7ad43df5fa5b..00f50b3875d880 100644 --- a/doc/changelogs/CHANGELOG_V10.md +++ b/doc/changelogs/CHANGELOG_V10.md @@ -58,6 +58,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [19.x](CHANGELOG_V19.md) diff --git a/doc/changelogs/CHANGELOG_V11.md b/doc/changelogs/CHANGELOG_V11.md index 6ee1b216946bac..c5fab9455c4879 100644 --- a/doc/changelogs/CHANGELOG_V11.md +++ b/doc/changelogs/CHANGELOG_V11.md @@ -30,6 +30,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [19.x](CHANGELOG_V19.md) * [18.x](CHANGELOG_V18.md) diff --git a/doc/changelogs/CHANGELOG_V12.md b/doc/changelogs/CHANGELOG_V12.md index 3e791c36f55afd..8d28ad4aeeae25 100644 --- a/doc/changelogs/CHANGELOG_V12.md +++ b/doc/changelogs/CHANGELOG_V12.md @@ -67,6 +67,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [19.x](CHANGELOG_V19.md) diff --git a/doc/changelogs/CHANGELOG_V13.md b/doc/changelogs/CHANGELOG_V13.md index ceca04933d3060..bb04bfd9bdd3e3 100644 --- a/doc/changelogs/CHANGELOG_V13.md +++ b/doc/changelogs/CHANGELOG_V13.md @@ -30,6 +30,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [19.x](CHANGELOG_V19.md) diff --git a/doc/changelogs/CHANGELOG_V14.md b/doc/changelogs/CHANGELOG_V14.md index 5478345472816c..bdf03be9d3580d 100644 --- a/doc/changelogs/CHANGELOG_V14.md +++ b/doc/changelogs/CHANGELOG_V14.md @@ -62,6 +62,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [19.x](CHANGELOG_V19.md) diff --git a/doc/changelogs/CHANGELOG_V15.md b/doc/changelogs/CHANGELOG_V15.md index c4d0c689002728..e41ec64d09791c 100644 --- a/doc/changelogs/CHANGELOG_V15.md +++ b/doc/changelogs/CHANGELOG_V15.md @@ -31,6 +31,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [19.x](CHANGELOG_V19.md) diff --git a/doc/changelogs/CHANGELOG_V16.md b/doc/changelogs/CHANGELOG_V16.md index c1f44c1c84ab3e..fe2760fa5be93a 100644 --- a/doc/changelogs/CHANGELOG_V16.md +++ b/doc/changelogs/CHANGELOG_V16.md @@ -53,6 +53,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [19.x](CHANGELOG_V19.md) diff --git a/doc/changelogs/CHANGELOG_V17.md b/doc/changelogs/CHANGELOG_V17.md index cf31f6d5474602..bcc562697f678a 100644 --- a/doc/changelogs/CHANGELOG_V17.md +++ b/doc/changelogs/CHANGELOG_V17.md @@ -28,6 +28,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [19.x](CHANGELOG_V19.md) diff --git a/doc/changelogs/CHANGELOG_V18.md b/doc/changelogs/CHANGELOG_V18.md index 6a52fc97f6665f..022ac897b00e5b 100644 --- a/doc/changelogs/CHANGELOG_V18.md +++ b/doc/changelogs/CHANGELOG_V18.md @@ -48,6 +48,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [19.x](CHANGELOG_V19.md) diff --git a/doc/changelogs/CHANGELOG_V19.md b/doc/changelogs/CHANGELOG_V19.md index 0b417bd1489f44..0945b88648f03b 100644 --- a/doc/changelogs/CHANGELOG_V19.md +++ b/doc/changelogs/CHANGELOG_V19.md @@ -26,6 +26,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [18.x](CHANGELOG_V18.md) diff --git a/doc/changelogs/CHANGELOG_V20.md b/doc/changelogs/CHANGELOG_V20.md index cffa482ff4fdef..79c0fcd863de72 100644 --- a/doc/changelogs/CHANGELOG_V20.md +++ b/doc/changelogs/CHANGELOG_V20.md @@ -36,6 +36,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [19.x](CHANGELOG_V19.md) * [18.x](CHANGELOG_V18.md) diff --git a/doc/changelogs/CHANGELOG_V21.md b/doc/changelogs/CHANGELOG_V21.md index 738b5690621e5a..bc1a1ef6cb6004 100644 --- a/doc/changelogs/CHANGELOG_V21.md +++ b/doc/changelogs/CHANGELOG_V21.md @@ -26,6 +26,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [20.x](CHANGELOG_V20.md) * [19.x](CHANGELOG_V19.md) * [18.x](CHANGELOG_V18.md) diff --git a/doc/changelogs/CHANGELOG_V22.md b/doc/changelogs/CHANGELOG_V22.md new file mode 100644 index 00000000000000..1f9300c1b8257e --- /dev/null +++ b/doc/changelogs/CHANGELOG_V22.md @@ -0,0 +1,134 @@ +# Node.js 22 ChangeLog + + + + + + + + + + +
Current
+22.0.0
+
+ +* Other Versions + * [21.x](CHANGELOG_V21.md) + * [20.x](CHANGELOG_V20.md) + * [19.x](CHANGELOG_V19.md) + * [18.x](CHANGELOG_V18.md) + * [17.x](CHANGELOG_V17.md) + * [16.x](CHANGELOG_V16.md) + * [15.x](CHANGELOG_V15.md) + * [14.x](CHANGELOG_V14.md) + * [13.x](CHANGELOG_V13.md) + * [12.x](CHANGELOG_V12.md) + * [11.x](CHANGELOG_V11.md) + * [10.x](CHANGELOG_V10.md) + * [9.x](CHANGELOG_V9.md) + * [8.x](CHANGELOG_V8.md) + * [7.x](CHANGELOG_V7.md) + * [6.x](CHANGELOG_V6.md) + * [5.x](CHANGELOG_V5.md) + * [4.x](CHANGELOG_V4.md) + * [0.12.x](CHANGELOG_V012.md) + * [0.10.x](CHANGELOG_V010.md) + * [io.js](CHANGELOG_IOJS.md) + * [Archive](CHANGELOG_ARCHIVE.md) + + + +## 2024-04-23, Version 22.0.0 (Current), @RafaelGSS and @marco-ippolito + +TBD + +### Semver-Major Commits + +* [94f0369d1d] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [58674cd1d8] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) https://github.com/nodejs/node/pull/50115 +* [60e836427e] - (SEMVER-MAJOR) console: treat non-strings as separate argument in console.assert() (Jacob Hummer) https://github.com/nodejs/node/pull/49722 +* [d62ab3a1ef] - (SEMVER-MAJOR) crypto: runtime deprecate hmac constructor (Marco Ippolito) https://github.com/nodejs/node/pull/52071 +* [de0602d190] - (SEMVER-MAJOR) crypto: runtime deprecate Hash constructor (Marco Ippolito) https://github.com/nodejs/node/pull/51880 +* [215f4d04b7] - (SEMVER-MAJOR) crypto: move createCipher and createDecipher to eol (Marco Ippolito) https://github.com/nodejs/node/pull/50973 +* [61a0d3b4c4] - (SEMVER-MAJOR) deps: V8: backport c4be0a97f981 (Richard Lau) https://github.com/nodejs/node/pull/51362 +* [f55380a725] - (SEMVER-MAJOR) deps: V8: cherry-pick f8d5e576b814 (Richard Lau) https://github.com/nodejs/node/pull/51362 +* [b9d806a2dd] - (SEMVER-MAJOR) deps: patch V8 to support compilation with MSVC (StefanStojanovic) https://github.com/nodejs/node/pull/51362 +* [63b58bc17b] - (SEMVER-MAJOR) deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [86056353c4] - (SEMVER-MAJOR) deps: remove usage of a C++20 feature from V8 (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [2e0efc1c8d] - (SEMVER-MAJOR) deps: avoid compilation error with ASan (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [59e6f62e34] - (SEMVER-MAJOR) deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [0423f7e27e] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [f36620806d] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [09a8440b45] - (SEMVER-MAJOR) deps: update V8 to 12.2.281.27 (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [0da3beebfc] - (SEMVER-MAJOR) deps: V8: cherry-pick de611e69ad51 (Keyhan Vakil) https://github.com/nodejs/node/pull/50115 +* [b982335637] - (SEMVER-MAJOR) deps: V8: cherry-pick 0fd478bcdabd (Joyee Cheung) https://github.com/nodejs/node/pull/50115 +* [481a90116c] - (SEMVER-MAJOR) deps: V8: cherry-pick 0f9ebbc672c7 (Chengzhong Wu) https://github.com/nodejs/node/pull/50115 +* [782addbdc3] - (SEMVER-MAJOR) deps: V8: cherry-pick 8f0b94671ddb (Lu Yahan) https://github.com/nodejs/node/pull/50115 +* [b682e7f540] - (SEMVER-MAJOR) deps: V8: cherry-pick f7d000a7ae7b (Luke Albao) https://github.com/nodejs/node/pull/50115 +* [a60090c52f] - (SEMVER-MAJOR) deps: V8: cherry-pick 25902244ad1a (Joyee Cheung) https://github.com/nodejs/node/pull/50115 +* [8441d1fc18] - (SEMVER-MAJOR) deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) https://github.com/nodejs/node/pull/50115 +* [e8e9bbd7a9] - (SEMVER-MAJOR) deps: remove usage of a C++20 feature from V8 (Michaël Zasso) https://github.com/nodejs/node/pull/50115 +* [785d5cd006] - (SEMVER-MAJOR) deps: avoid compilation error with ASan (Michaël Zasso) https://github.com/nodejs/node/pull/50115 +* [7071c1dafd] - (SEMVER-MAJOR) deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) https://github.com/nodejs/node/pull/50115 +* [d1d60b297d] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) https://github.com/nodejs/node/pull/50115 +* [5b240c62f9] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) https://github.com/nodejs/node/pull/50115 +* [d8c97e4857] - (SEMVER-MAJOR) deps: update V8 to 11.9.169.7 (Michaël Zasso) https://github.com/nodejs/node/pull/50115 +* [b9df88a8c2] - (SEMVER-MAJOR) doc: runtime deprecate flag --trace-atomics-wait (marco-ippolito) https://github.com/nodejs/node/pull/51179 +* [9ba5df30b4] - (SEMVER-MAJOR) doc: bump FreeBSD experimental support to 13.2 (Michaël Zasso) https://github.com/nodejs/node/pull/51231 +* [900d79caf2] - (SEMVER-MAJOR) doc: add migration paths for deprecated utils (Marco Ippolito) https://github.com/nodejs/node/pull/50488 +* [8206f6bb7f] - (SEMVER-MAJOR) fs: runtime deprecate fs.Stats constructor (Marco Ippolito) https://github.com/nodejs/node/pull/52067 +* [c14133503a] - (SEMVER-MAJOR) fs: use private fields instead of symbols for `Dir` (Jungku Lee) https://github.com/nodejs/node/pull/51037 +* [abbdc3efaa] - (SEMVER-MAJOR) fs: make stats date fields lazy (Yagiz Nizipli) https://github.com/nodejs/node/pull/50908 +* [4b76ccea95] - (SEMVER-MAJOR) http: preserve raw header duplicates in writeHead after setHeader calls (Tim Perry) https://github.com/nodejs/node/pull/50394 +* [c975384264] - (SEMVER-MAJOR) lib: enable WebSocket by default (Aras Abbasi) https://github.com/nodejs/node/pull/51594 +* [351495e938] - (SEMVER-MAJOR) lib,test: handle new Iterator global (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [a8b21fdc90] - (SEMVER-MAJOR) process: wait for `'exit'` before printing result (Antoine du Hamel) https://github.com/nodejs/node/pull/52172 +* [d248639285] - (SEMVER-MAJOR) src: use supported API to get stalled TLA messages (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [d34b02db4c] - (SEMVER-MAJOR) src: update default V8 platform to override functions with location (Etienne Pierre-Doray) https://github.com/nodejs/node/pull/51362 +* [d9c47e9b5f] - (SEMVER-MAJOR) src: add missing TryCatch (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [5cddd3b2d8] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 124 (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [1528846ada] - (SEMVER-MAJOR) src: use non-deprecated v8::Uint8Array::kMaxLength (Michaël Zasso) https://github.com/nodejs/node/pull/50115 +* [7166986626] - (SEMVER-MAJOR) src: adapt to v8::Exception API change (Michaël Zasso) https://github.com/nodejs/node/pull/50115 +* [4782818020] - (SEMVER-MAJOR) src: use non-deprecated version of CreateSyntheticModule (Michaël Zasso) https://github.com/nodejs/node/pull/50115 +* [2cff0ce411] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 122 (Michaël Zasso) https://github.com/nodejs/node/pull/50115 +* [1abff07392] - (SEMVER-MAJOR) stream: bump default highWaterMark (Robert Nagy) https://github.com/nodejs/node/pull/52037 +* [9efc84a2cb] - (SEMVER-MAJOR) test: mark test-worker-arraybuffer-zerofill as flaky (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [84c2e712eb] - (SEMVER-MAJOR) test: mark some GC-related tests as flaky (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [cdc4437b87] - (SEMVER-MAJOR) test: allow slightly more diff in memory leak test (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [515b007fae] - (SEMVER-MAJOR) test: replace always-opt flag with alway-turbofan (Michaël Zasso) https://github.com/nodejs/node/pull/50115 +* [2341805eb2] - (SEMVER-MAJOR) test: remove tests that create very large buffers (Michaël Zasso) https://github.com/nodejs/node/pull/50115 +* [941cef5636] - (SEMVER-MAJOR) test: adapt to new V8 trusted memory spaces (Michaël Zasso) https://github.com/nodejs/node/pull/50115 +* [29de7f82cd] - (SEMVER-MAJOR) test_runner: omit filtered test from output (Colin Ihrig) https://github.com/nodejs/node/pull/52221 +* [00dc6d9d97] - (SEMVER-MAJOR) test_runner: improve `--test-name-pattern` to allow matching single test (Michał Drobniak) https://github.com/nodejs/node/pull/51577 +* [c22793d050] - (SEMVER-MAJOR) tools: roughly port v8_abseil to gyp (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [ffb0302f0c] - (SEMVER-MAJOR) tools: update V8 gypfiles for 12.2 (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [aadea12440] - (SEMVER-MAJOR) tools: update V8 gypfiles for 12.1 (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [7784773967] - (SEMVER-MAJOR) tools: update V8 gypfiles for 12.0 (Michaël Zasso) https://github.com/nodejs/node/pull/51362 +* [9fe0424baa] - (SEMVER-MAJOR) trace_events: use private fields instead of symbols for `Tracing` (Jungku Lee) https://github.com/nodejs/node/pull/51180 +* [e96cd25007] - (SEMVER-MAJOR) util: runtime deprecate util.log (Marco Ippolito) https://github.com/nodejs/node/pull/50488 +* [6cf20d5e43] - (SEMVER-MAJOR) util: runtime deprecate util.isUndefined (Marco Ippolito) https://github.com/nodejs/node/pull/50488 +* [09e424921f] - (SEMVER-MAJOR) util: runtime deprecate util.isSymbol (Marco Ippolito) https://github.com/nodejs/node/pull/50488 +* [80b6bfd4e9] - (SEMVER-MAJOR) util: runtime deprecate util.isString (Marco Ippolito) https://github.com/nodejs/node/pull/50488 +* [d419edded9] - (SEMVER-MAJOR) util: runtime deprecate util.isRegExp (Marco Ippolito) https://github.com/nodejs/node/pull/50488 +* [e0b8de78ed] - (SEMVER-MAJOR) util: runtime deprecate util.isPrimitive (Marco Ippolito) https://github.com/nodejs/node/pull/50488 +* [5478e1129a] - (SEMVER-MAJOR) util: runtime deprecate util.isObject (Marco Ippolito) https://github.com/nodejs/node/pull/50488 +* [b05b1dd541] - (SEMVER-MAJOR) util: runtime deprecate util.isNumber (Marco Ippolito) https://github.com/nodejs/node/pull/50488 +* [5af9bf5f6a] - (SEMVER-MAJOR) util: runtime deprecate util.isNullOrUndefined (Marco Ippolito) https://github.com/nodejs/node/pull/50488 +* [860a10e10e] - (SEMVER-MAJOR) util: runtime deprecate util.isNull (Marco Ippolito) https://github.com/nodejs/node/pull/50488 +* [70330f5c2b] - (SEMVER-MAJOR) util: runtime deprecate util.isFunction (Marco Ippolito) https://github.com/nodejs/node/pull/50488 +* [7c69c33acc] - (SEMVER-MAJOR) util: runtime deprecate util.isError (Marco Ippolito) https://github.com/nodejs/node/pull/50488 +* [a0c5b871a9] - (SEMVER-MAJOR) util: runtime deprecate util.isDate (Marco Ippolito) https://github.com/nodejs/node/pull/50488 +* [3c670cb15d] - (SEMVER-MAJOR) util: runtime deprecation util.isBuffer (Marco Ippolito) https://github.com/nodejs/node/pull/50488 +* [c17a448ca9] - (SEMVER-MAJOR) util: runtime deprecation util.isBoolean (Marco Ippolito) https://github.com/nodejs/node/pull/50488 +* [fbb2f891aa] - (SEMVER-MAJOR) util: runtime deprecate util.isArray (Marco Ippolito) https://github.com/nodejs/node/pull/50488 +* [22d8062e42] - (SEMVER-MAJOR) util: runtime deprecation util._extend (Marco Ippolito) https://github.com/nodejs/node/pull/50488 +* [1a5acd0638] - (SEMVER-MAJOR) v8: enable maglev on supported architectures (Keyhan Vakil) https://github.com/nodejs/node/pull/51360 + +### Semver-Minor Commits + +TBD + +### Semver-Patch Commits + +TBD diff --git a/doc/changelogs/CHANGELOG_V4.md b/doc/changelogs/CHANGELOG_V4.md index e8baa5a615a346..72943113c5e095 100644 --- a/doc/changelogs/CHANGELOG_V4.md +++ b/doc/changelogs/CHANGELOG_V4.md @@ -56,6 +56,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [19.x](CHANGELOG_V19.md) diff --git a/doc/changelogs/CHANGELOG_V5.md b/doc/changelogs/CHANGELOG_V5.md index 6cd42b15b33120..32b3120545c272 100644 --- a/doc/changelogs/CHANGELOG_V5.md +++ b/doc/changelogs/CHANGELOG_V5.md @@ -32,6 +32,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [19.x](CHANGELOG_V19.md) diff --git a/doc/changelogs/CHANGELOG_V6.md b/doc/changelogs/CHANGELOG_V6.md index 836c64edb73413..1986592bb86ead 100644 --- a/doc/changelogs/CHANGELOG_V6.md +++ b/doc/changelogs/CHANGELOG_V6.md @@ -61,6 +61,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [19.x](CHANGELOG_V19.md) diff --git a/doc/changelogs/CHANGELOG_V7.md b/doc/changelogs/CHANGELOG_V7.md index 22a976ed15e068..62f727b41331d5 100644 --- a/doc/changelogs/CHANGELOG_V7.md +++ b/doc/changelogs/CHANGELOG_V7.md @@ -30,6 +30,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [19.x](CHANGELOG_V19.md) diff --git a/doc/changelogs/CHANGELOG_V8.md b/doc/changelogs/CHANGELOG_V8.md index 00ecd10cef07aa..0b50e65685c08d 100644 --- a/doc/changelogs/CHANGELOG_V8.md +++ b/doc/changelogs/CHANGELOG_V8.md @@ -52,6 +52,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [19.x](CHANGELOG_V19.md) diff --git a/doc/changelogs/CHANGELOG_V9.md b/doc/changelogs/CHANGELOG_V9.md index 46937b022a501f..b5b8a4a533359c 100644 --- a/doc/changelogs/CHANGELOG_V9.md +++ b/doc/changelogs/CHANGELOG_V9.md @@ -31,6 +31,7 @@ * Other Versions + * [22.x](CHANGELOG_V22.md) * [21.x](CHANGELOG_V21.md) * [20.x](CHANGELOG_V20.md) * [19.x](CHANGELOG_V19.md) diff --git a/src/node_version.h b/src/node_version.h index 02ec9c8955074b..9963649bce0a1a 100644 --- a/src/node_version.h +++ b/src/node_version.h @@ -29,7 +29,7 @@ #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)