Update Node.js to v21 #260
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/node-21.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
20.18.1-bullseye
->21.7.3-bullseye
Release Notes
nodejs/node (node)
v21.7.3
: 2024-04-10, Version 21.7.3 (Current), @RafaelGSSCompare Source
This is a security release.
Notable Changes
child_process.spawn
without shell option enabled on WindowsCommits
9095c914ed
] - src: disallow direct .bat and .cmd file spawning (Ben Noordhuis) nodejs-private/node-private#562v21.7.2
: 2024-04-03, Version 21.7.2 (Current), @RafaelGSS prepared by @marco-ippolitoCompare Source
This is a security release.
Notable changes
Commits
3dfc10c851
] - deps: update undici to 6.11.1 (Node.js GitHub Bot) #52328aceea1c5e7
] - deps: update undici to 6.10.2 (Node.js GitHub Bot) #522275f0f96b275
] - deps: update llhttp to 9.2.0 (Node.js GitHub Bot) #517191a65e98e22
] - http: do not allow OBS fold in headers by default (Paolo Insogna) nodejs-private/node-private#5563bd39fb474
] - src: ensure to close stream when destroying session (Anna Henningsen) nodejs-private/node-private#561v21.7.1
: 2024-03-08, Version 21.7.1 (Current), @targosCompare Source
Notable Changes
This release reverts #51389, which
landed in Node.js 21.7.0. It is a documented feature that
t.after()
hooks arerun even if a test has no subtests. The hook can be used to clean up the test
itself.
Commits
0dfe810ac7
] - benchmark: update iterations of benchmark/async_hooks/async-local- (Lei Shi) #51420625c9e0ac9
] - benchmark: update iterations of benchmark/domain/domain-fn-args.js (Lei Shi) #514087ff3551bad
] - build: fix arm64 host cross-compilation in GN (Cheng Zhao) #51903fd86ea8b71
] - Revert "build: workaround for node-core-utils" (Richard Lau) #5197523c32ab3a7
] - build: respect theNODE
env variable inMakefile
(Antoine du Hamel) #517439617adc064
] - Revert "build: fix warning in cares under GN build" (Luigi Pinca) #518655864534095
] - deps: update nghttp2 to 1.60.0 (Node.js GitHub Bot) #51948fcf235d623
] - doc: add policy for distribution (Geoffrey Booth) #5191887d2acc8b1
] - doc: fix actual result of example is different in events (Deokjin Kim) #519255908c121c6
] - doc: clarify Corepack threat model (Antoine du Hamel) #5191720e0ba3b94
] - doc,module: clarify hook chain execution sequence (Jacob Smith) #518844d997971ac
] - lib: make sure close net server (theanarkh) #51929fcc6d54aa3
] - lib: return directly if udp socket close before lookup (theanarkh) #5191410aaabd158
] - meta: bump github/codeql-action from 3.23.2 to 3.24.6 (dependabot[bot]) #5194278f38a0143
] - meta: bump actions/upload-artifact from 4.3.0 to 4.3.1 (dependabot[bot]) #5194142ca5452c4
] - meta: bump codecov/codecov-action from 4.0.1 to 4.1.0 (dependabot[bot]) #51940015a157375
] - meta: bump actions/cache from 4.0.0 to 4.0.1 (dependabot[bot]) #51939e476cb4a32
] - meta: bump actions/download-artifact from 4.1.1 to 4.1.3 (dependabot[bot]) #5193867e8001790
] - meta: bump actions/setup-node from 4.0.1 to 4.0.2 (dependabot[bot]) #5193750343636e8
] - src: fix --disable-single-executable-application (Joyee Cheung) #51808a48c9ca0db
] - stream: do not defer construction by one microtick (Matteo Collina) #52005bee3b364f9
] - test: add regression test for test_runner after hook (Colin Ihrig) #51998fff7f48f50
] - test: reduce flakiness oftest-runner-output
(Antoine du Hamel) #5195257ba8f5acb
] - test: fix flaky http-chunk-extensions-limit test (Ethan Arrowood) #519439d2c03990a
] - test: remove flaky designation (Luigi Pinca) #51736e992af81d3
] - test: skip SEA tests when SEA generation fails (Joyee Cheung) #5188785aa6ca850
] - Revert "test_runner: do not invoke after hook when test is empty" (Colin Ihrig) #51998v21.7.0
: 2024-03-06, Version 21.7.0 (Current), @RafaelGSS prepared by @marco-ippolitoCompare Source
Text Styling
util.styleText(format, text)
: This function returns a formatted text considering theformat
passed.A new API has been created to format text based on
util.inspect.colors
, enabling you to style text in different colors (such as red, blue, ...) and emphasis (italic, bold, ...).Contributed by Rafael Gonzaga and Hemanth HM in #51850.
Loading and parsing environment variables
process.loadEnvFile(path)
:.env
file. If no path is specified, it automatically loads the .env file in the current directory. Example:process.loadEnvFile()
.process.loadEnvFile('./development.env')
.util.parseEnv(content)
:require('node:util').parseEnv('HELLO=world')
.Contributed by Yagiz Nizipli in #51476
Support for multi-line values for
.env
fileNode.js 21.7.0 will now support multi-line values in the .env file:
Contributed by Ilyas Shabi #51289
sea: support embedding assets
Users can now include assets by adding a key-path dictionary
to the configuration as the
assets
field. At build time, Node.jswould read the assets from the specified paths and bundle them into
the preparation blob. In the generated executable, users can retrieve
the assets using the
sea.getAsset()
andsea.getAssetAsBlob()
API.The single-executable application can access the assets as follows:
Contributed by Joyee Cheung in #50960
vm: support using the default loader to handle dynamic import()
This patch adds support for using
vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER
as theimportModuleDynamically
option in all vm APIs that take this option exceptvm.SourceTextModule
. This allows users to have a shortcut to support dynamicimport()
in the compiled code without missing the compilation cache if they don't need customization of the loading process. We emit an experimental warning when theimport()
is actually handled by the default loader through this option instead of requiring--experimental-vm-modules
.Contributed by Joyee Cheung in #51244
crypto: implement crypto.hash()
This patch introduces a helper crypto.hash() that computes
a digest from the input at one shot. This can be 1.2-2x faster
than the object-based createHash() for smaller inputs (<= 5MB)
that are readily available (not streamed) and incur less memory
overhead since no intermediate objects will be created.
Contributed by Joyee Cheung in #51044
Other Notable Changes
8ae0eeb7f4
] - (SEMVER-MINOR) build: build opt to set local location of headers (Michael Dawson) #51525496776cc78
] - crypto: update root certificates to NSS 3.98 (Node.js GitHub Bot) #51794a8c9e6f7e9
] - doc: add zcbenz to collaborators (Cheng Zhao) #51812adbf2d3837
] - doc: add lemire to collaborators (Daniel Lemire) #515724b1c6839f4
] - (SEMVER-MINOR) http2: add h2 compat support for appendHeader (Tim Perry) #51412d8aa2bac0b
] - (SEMVER-MINOR) http2: add server handshake utility (snek) #51172b9275d9039
] - (SEMVER-MINOR) http2: receive customsettings (Marten Richter) #513235a2d2daad5
] - (SEMVER-MINOR) lib: move encodingsMap to internal/util (Joyee Cheung) #51044e8d9065262
] - (SEMVER-MINOR) sea: support sea.getRawAsset() (Joyee Cheung) #5096047186fbad5
] - (SEMVER-MINOR) src: print string content better in BlobDeserializer (Joyee Cheung) #50960119e045053
] - (SEMVER-MINOR) src: do not coerce dotenv paths (Tobias Nießen) #514259ab353af00
] - (SEMVER-MINOR) stream: implementmin
option forReadableStreamBYOBReader.read
(Mattias Buelens) #50888Commits
4ddb9b33d5
] - async_hooks,inspector: implement inspector api without async_wrap (Gabriel Bota) #515017e06c11f55
] - benchmark: update iterations of assert/deepequal-typedarrays.js (Lei Shi) #5141972be232006
] - benchmark: update iterations of benchmark/assert/deepequal-map.js (Lei Shi) #5141692e7c310cb
] - benchmark: rename startup.js to startup-core.js (Joyee Cheung) #51669c9ada533a2
] - build: removelibrt
libs link for Android compatibility (BuShe Pie) #5163286ac787889
] - build: do not rely on gn_helpers in GN build (Cheng Zhao) #514399be6b7ccf0
] - build: fix warning in cares under GN build (Cheng Zhao) #51687d1a8c2e989
] - build: fix building js2c with GN (Cheng Zhao) #518189840715dc0
] - build: encode non-ASCII Latin1 characters as one byte in JS2C (Joyee Cheung) #516058ae0eeb7f4
] - (SEMVER-MINOR) build: build opt to set local location of headers (Michael Dawson) #515251999719877
] - build: use macOS m1 machines for testing (Yagiz Nizipli) #5162085f63f3d7d
] - build: check before removing %config% link (liudonghua) #51437cc37959232
] - build: increase parallel executions in github (Yagiz Nizipli) #515542921d55121
] - build: remove copyright header in node.gni (Cheng Zhao) #515359da0926396
] - build: update GN build files for ngtcp2 (Cheng Zhao) #5131359117317f3
] - build,tools: make addons tests work with GN (Cheng Zhao) #5073778c226281c
] - (SEMVER-MINOR) crypto: implement crypto.hash() (Joyee Cheung) #51044496776cc78
] - crypto: update root certificates to NSS 3.98 (Node.js GitHub Bot) #5179417c554f1ca
] - crypto: use EVP_MD_fetch and cache EVP_MD for hashes (Joyee Cheung) #51034014cc53541
] - deps: upgrade npm to 10.5.0 (npm team) #519134ebb944800
] - deps: update undici to 6.6.2 (Michaël Zasso) #516673b29dff0ed
] - deps: update ngtcp2 to 1.3.0 (Node.js GitHub Bot) #5179628c0ffb363
] - deps: update simdjson to 3.7.0 (Daniel Lemire) #5185958b1403693
] - deps: update corepack to 0.25.2 (Node.js GitHub Bot) #51810c7083720cc
] - deps: update c-ares to 1.27.0 (Node.js GitHub Bot) #518466d2699d40b
] - deps: update timezone to 2024a (Michaël Zasso) #517238d2222714d
] - deps: update icu to 74.2 (Michaël Zasso) #51723c3dbd7cccd
] - deps: update c-ares to 1.26.0 (Node.js GitHub Bot) #51582dfc3811056
] - deps: update googletest to6a59382
(Node.js GitHub Bot) #515808235c2676e
] - deps: update nghttp2 to 1.59.0 (Node.js GitHub Bot) #515812ad665e24f
] - deps: V8: cherry-pickefb1133
(Joyee Cheung) #51551e5db8d416f
] - deps: update corepack to 0.24.1 (Node.js GitHub Bot) #51459fe597de72e
] - deps: update ada to 2.7.6 (Node.js GitHub Bot) #515425aca6f54f9
] - deps: update ada to 2.7.5 (Node.js GitHub Bot) #515428f63f6ff57
] - deps: update ngtcp2 to 1.2.0 (Node.js GitHub Bot) #51584a04aa36ce8
] - deps: update googletest to7c07a86
(Node.js GitHub Bot) #514584b1d25b68d
] - deps: update ngtcp2 to 1.1.0 (Node.js GitHub Bot) #51319682f4f67b0
] - deps: update acorn-walk to 8.3.2 (Node.js GitHub Bot) #51457365a9dc2cb
] - deps: update timezone to 2023d (Node.js GitHub Bot) #5146140e8b362a2
] - deps: update base64 to 0.5.2 (Node.js GitHub Bot) #51455139a626264
] - deps: compile c-ares with C11 support (Michaël Zasso) #514101cc37c4355
] - deps: upgrade npm to 10.3.0 (npm team) #51431942e10f5b5
] - deps: update c-ares to 1.25.0 (Node.js GitHub Bot) #5138517cb4af5a9
] - deps: update uvwasi to 0.0.20 and fixup tests (Michael Dawson) #5135576582e434c
] - deps: add nghttp3/**/.deps to .gitignore (Luigi Pinca) #514004a889e8ea3
] - doc: add stability index to crypto.hash() (Joyee Cheung) #519783fdaeba9e6
] - doc: remove redundant backquote which breaks sentence (JounQin) #5190458747734a2
] - doc: update node-api/node-addon-api team link to sharing project news (Ulises Gascón) #518772cdfe35437
] - doc: add website team to sharing project news (Ulises Gascón) #49002db30428f06
] - doc: update guide link for Event Loop (Shrujal Shah) #51874a5a17a18e3
] - doc: changeExperimentalWarnings
toExperimentalWarning
(Ameet Kaustav) #5174132d92aca1f
] - doc: add Paolo to TSC members (Michael Dawson) #518252de1e85268
] - doc: reserve 123 for Electron 30 (Keeley Hammond) #51803ad8cefcbf1
] - doc: add mention to GPG_TTY (Rafael Gonzaga) #51806a8c9e6f7e9
] - doc: add zcbenz to collaborators (Cheng Zhao) #518124e0c79bea9
] - doc: add entry to stewards (Rafael Gonzaga) #517607fa30812ea
] - doc: update technical priorities for 2023 (Jean Burellier) #47523af6b5b1722
] - doc: mark isWebAssemblyCompiledModule eol (Marco Ippolito) #51442a62f69ecad
] - doc: fixglobals.md
introduction (Antoine du Hamel) #51742519dc8aad6
] - doc: updates for better json generating (Dmitry Semigradsky) #515921b45ca4e38
] - doc: document the GN build (Cheng Zhao) #5167637182c4c1f
] - doc: fix uncaught exception example (Gabriel Schulhof) #51638c9be260b7d
] - doc: clarify execution ofafter
hook on test suite completion (Ognjen Jevremović) #515238c0a257021
] - doc: fixdns.lookup
anddnsPromises.lookup
description (Duncan Chiu) #51517177e13cb0d
] - doc: note that path.normalize deviates from POSIX (Tobias Nießen) #51513adbf2d3837
] - doc: add lemire to collaborators (Daniel Lemire) #51572fd2a3cef57
] - doc: fix historical experimental fetch flag (Kenrick) #515061d40a0067a
] - doc: fix type of connectionAttempt parameter (Rafael Gonzaga) #51490d3b78051ce
] - doc: remove reference to resolved child_process v8 issue (Ian Kerins) #514672bf371886a
] - doc: update typos (Aranđel Šarenac) #5147510f95283c6
] - doc: add notes on inspector breakpoints (Chengzhong Wu) #514174ea194ab33
] - doc: add links inoffboarding.md
(Antoine du Hamel) #51440fc5629616b
] - doc: fix spelling mistake (u9g) #5145470e88cf159
] - doc: add check for security reverts (Michael Dawson) #5137674d4e382a7
] - doc: fix some policy scope typos (Tim Kuijsten) #51234d7658ca6a2
] - doc: improve subtests documentation (Marco Ippolito) #51379c18a813638
] - doc: add missing word inchild_process.md
(Joseph Joy) #50370fabd5c4b21
] - doc: fixup alignment of warning subsection (James M Snell) #5137480c750c8c1
] - doc,crypto: further clarify RSA_PKCS1_PADDING support (Tobias Nießen) #51799b53919d988
] - doc,crypto: add changelog and note about disabled RSA_PKCS1_PADDING (Filip Skokan) #5178208832e76d3
] - esm: improve error when callingimport.meta.resolve
fromdata:
URL (Antoine du Hamel) #4951678f818069a
] - events: no stopPropagation call in cancelBubble (mert.altin) #50405f130a33438
] - Revert "fs: remove workaround foresm
package" (Jeremy Meng) #509075a8af3d362
] - fs: load rimraf lazily in fs/promises (Joyee Cheung) #5161715a7f2103b
] - fs: remove race condition for recursive watch on Linux (Matteo Collina) #51406d8bb4b2c1e
] - fs: update jsdoc forfilehandle.createWriteStream
andappendFile
(Jungku Lee) #51494e8fffebdd3
] - fs,test: add URL to string to fs.watch (Rafael Gonzaga) #51346ec17fd73cc
] - http: fixclose
return value mismatch between doc and implementation (kylo5aby) #51797b8e7a87aa9
] - http: split set-cookie when using setHeaders (Marco Ippolito) #51649682951af60
] - http2: close idle connections when allowHTTP1 is true (xsbchen) #515694b1c6839f4
] - (SEMVER-MINOR) http2: add h2 compat support for appendHeader (Tim Perry) #51412d8aa2bac0b
] - (SEMVER-MINOR) http2: add server handshake utility (snek) #51172b9275d9039
] - (SEMVER-MINOR) http2: receive customsettings (Marten Richter) #5132358e2015a03
] - inspector: add NodeRuntime.waitingForDebugger event (mary marchini) #51560af32d433ee
] - lib: account for cwd access from snapshot serialization cb (Anna Henningsen) #519011edbc7d353
] - lib: fix http client socket path (theanarkh) #519004dfc9e092e
] - lib: only build the ESM facade for builtins when they are needed (Joyee Cheung) #516695a2d2daad5
] - (SEMVER-MINOR) lib: move encodingsMap to internal/util (Joyee Cheung) #51044eb1089ab17
] - lib: do not access process.noDeprecation at build time (Joyee Cheung) #51447614ca327c8
] - lib: add assertion for user ESM execution (Joyee Cheung) #5174877ae03f723
] - lib: create global console properties at snapshot build time (Joyee Cheung) #517007f698f064e
] - lib: define FormData and fetch etc. in the built-in snapshot (Joyee Cheung) #515984b583bfcc5
] - lib: allow checking the test result from afterEach (Tim Stableford) #51485ec60639cc0
] - lib: remove unnecessary refreshHrtimeBuffer() (Joyee Cheung) #514468dc3f91eb4
] - lib,src: extract sourceMappingURL from module (unbyte) #5169084c71fa895
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #51726e5c52a2a6b
] - meta: bump codecov/codecov-action from 3.1.4 to 4.0.1 (dependabot[bot]) #5164816aa6e5341
] - meta: bump actions/download-artifact from 4.1.0 to 4.1.1 (dependabot[bot]) #5164497825603ae
] - meta: bump actions/upload-artifact from 4.0.0 to 4.3.0 (dependabot[bot]) #5164351f0d80876
] - meta: bump step-security/harden-runner from 2.6.1 to 2.7.0 (dependabot[bot]) #5164197e3cb5844
] - meta: bump actions/cache from 3.3.2 to 4.0.0 (dependabot[bot]) #51640dcf5f28d68
] - meta: bump github/codeql-action from 3.22.12 to 3.23.2 (dependabot[bot]) #51639c4a28b2211
] - meta: add .mailmap entry for lemire (Daniel Lemire) #51600dbf44744ba
] - meta: mark security-wg codeowner for deps folder (Marco Ippolito) #5152916fea71d08
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #51468015c4dcacf
] - meta: move RaisinTen to emeritus and remove from strategic initiatives (Darshan Sen) #51411e942dc1d0c
] - meta: add .temp and .lock tags to ignore (Rafael Gonzaga) #51343595542e330
] - meta: bump actions/setup-python from 4.7.1 to 5.0.0 (dependabot[bot]) #513356c3ba73d03
] - meta: bump actions/setup-node from 4.0.0 to 4.0.1 (dependabot[bot]) #51334e4f9f0a260
] - meta: bump github/codeql-action from 2.22.8 to 3.22.12 (dependabot[bot]) #5133377598c3a8e
] - meta: bump actions/stale from 8.0.0 to 9.0.0 (dependabot[bot]) #5133222a11c32c0
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #51329391aeb1996
] - module: fix crash when built-in module export adefault
key (Antoine du Hamel) #51481615b0ae307
] - module: fix--preserve-symlinks-main
(per4uk) #51312c6cc3ed3b4
] - net: fix connect crash when call destroy in lookup handler (theanarkh) #5182663e0ceb48f
] - net: fix example IPv4 in dns docs (Aras Abbasi) #51377bc6f33d8d1
] - node-api: make napi_get_buffer_info check if passed buffer is valid (Janrupf) #515715b94ff44ec
] - node-api: move NAPI_EXPERIMENTAL definition to gyp file (Gabriel Schulhof) #5125466c11f31c3
] - node-api: optimize napi_set_property for perf (Mert Can Altın) #50282cb621863c6
] - perf_hooks: performance milestone time origin timestamp improvement (IlyasShabi) #517134d06d80675
] - quic: various additional cleanups, fixes in Endpoint (James M Snell) #513103e579ab2fd
] - repl: fixNO_COLORS
env var is ignored (Moshe Atlow) #515687ceb6d6700
] - sea: update stability index (Joyee Cheung) #51774e8d9065262
] - (SEMVER-MINOR) sea: support sea.getRawAsset() (Joyee Cheung) #50960cea5295c16
] - (SEMVER-MINOR) sea: support embedding assets (Joyee Cheung) #509607543e774bd
] - src: simplify direct queries of env vars in C++ land (Joyee Cheung) #518298f10543c58
] - src: stop the profiler and the inspector before snapshot serialization (Joyee Cheung) #51815ccc76bbfd7
] - src: simplify embedder entry point execution (Joyee Cheung) #515570c41210865
] - src: compile code eagerly in snapshot builder (Joyee Cheung) #516722a46dc7b86
] - src: check empty before accessing string (Cheng Zhao) #5166547186fbad5
] - (SEMVER-MINOR) src: print string content better in BlobDeserializer (Joyee Cheung) #509606603d32ce3
] - src: fix vm bug for configurable globalThis (F. Hinkelmann) #51602c7912c3d5a
] - (SEMVER-MINOR) src: support multi-line values for .env file (IlyasShabi) #51289b8ae5c27c6
] - (SEMVER-MINOR) src: addprocess.loadEnvFile
andutil.parseEnv
(Yagiz Nizipli) #51476e3a63843f2
] - src: terminate correctly double-quote in env variable (Marco Ippolito) #51510119e045053
] - (SEMVER-MINOR) src: do not coerce dotenv paths (Tobias Nießen) #51425b271cc5b16
] - src: refactorGetCreationContext
calls (Jungku Lee) #5136736e42aa570
] - src: do not read string out of bounds (Cheng Zhao) #513588ea7d79082
] - src: avoid shadowed string in fs_permission (Shelley Vohr) #511235b06af7814
] - stream: fix eventNames() to not return not defined events (IlyasShabi) #51331438b7fd049
] - stream: fix cloned webstreams not being unref correctly (tsctx) #515269ab353af00
] - (SEMVER-MINOR) stream: implementmin
option forReadableStreamBYOBReader.read
(Mattias Buelens) #5088817ab5ae570
] - test: fix unreliable assumption in js-native-api/test_cannot_run_js (Joyee Cheung) #51898e2c51385c7
] - test: test surrogate pair filenames on windows (Mert Can Altın) #51800049e5f5e8c
] - test: deflake test-http2-large-write-multiple-requests (Joyee Cheung) #518632bf03ee678
] - test: fix test-debugger-profile for coverage generation (Joyee Cheung) #51816d47a95f3b1
] - test: fix test-bootstrap-modules for coverage generation (Joyee Cheung) #51816c0918f082f
] - test: ensure delay in recursive fs watch tests (Joyee Cheung) #518421f6551dda2
] - test: fix test-child-process-fork-net (Joyee Cheung) #51841f845a16c58
] - test: split wasi tests (Joyee Cheung) #51836275cea0fdb
] - test: mark test-wasi as flaky on Windows on ARM (Joyee Cheung) #518342fb620cd00
] - test: remove test-fs-stat-bigint flaky designation (Luigi Pinca) #51735b046712e86
] - test: skip test-http-correct-hostname on loong64 (Shi Pujin) #5166383f581d4c1
] - test: increase platform timeout zlib-brotli-16gb (Rafael Gonzaga) #51792ea08350c83
] - test: remove test-cli-node-options flaky designation (Luigi Pinca) #517169d3a014f67
] - test: remove test-domain-error-types flaky designation (Luigi Pinca) #51717d7563a5448
] - test: fixinternet/test-inspector-help-page
(Richard Lau) #51693e9299255ca
] - test: remove duplicate entry for flaky test (Luigi Pinca) #51654a8ac337250
] - test: remove test-crypto-keygen flaky designation (Luigi Pinca) #51567c820166e4b
] - test: remove test-fs-rmdir-recursive flaky designation (Luigi Pinca) #51566db88bf185f
] - test: remove common.expectsError calls for asserts (Paulo Chaves) #51504fc0c1309b2
] - test: mark test-http2-large-file as flaky (Michaël Zasso) #51549c88f0b6db9
] - test: use checkIfCollectableByCounting in SourceTextModule leak test (Joyee Cheung) #51512d4d07f4a44
] - test: remove test-file-write-stream4 flaky designation (Luigi Pinca) #514727420a7d2f8
] - test: add URL tests to fs-write (Rafael Gonzaga) #5135228c2bf3e42
] - test: remove unneeded common.expectsError for asserts (Andrés Morelos) #513539dfb36fbe5
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #51533e4d4bc6f9a
] - test_runner: serialize 'expected' and 'actual' in isolation (Malthe Borch) #518515f9491237c
] - test_runner: add ref methods to mocked timers (Marco Ippolito) #51809af5875c6e8
] - test_runner: check if timeout was cleared by own callback (Ben Richeson) #51673e0789fbc8a
] - test_runner: do not invoke after hook when test is empty (Marco Ippolito) #5138927f8549903
] - tools: fix installing node with shared mode (Cheng Zhao) #5191071a809bd43
] - tools: update eslint to 8.57.0 (Node.js GitHub Bot) #5186720effe638a
] - tools: update lint-md-dependencies to rollup@4.12.0 (Node.js GitHub Bot) #517956c0a3b9c0d
] - tools: update lint-md-dependencies to rollup@4.12.0 (Node.js GitHub Bot) #5179503f926ddca
] - tools: fix missing fallthrough in js2c (Cheng Zhao) #51845b502be1d09
] - tools: disable automated libuv updates (Rafael Gonzaga) #51775787fb32557
] - tools: fix update-icu.sh (Michaël Zasso) #51723ba22c614c1
] - tools: update lint-md-dependencies to rollup@4.10.0 (Node.js GitHub Bot) #51720751821fa21
] - tools: update github_reporter to 1.6.0 (Node.js GitHub Bot) #516585fe493d0e4
] - tools: runbuild-windows
workflow only on source changes (Antoine du Hamel) #51596e1b9655bdc
] - tools: update lint-md-dependencies to rollup@4.9.6 (Node.js GitHub Bot) #51583d8e1058f18
] - tools: fix loong64 build (Shi Pujin) #51401e0eeebc960
] - tools: set normalizeTD text default to empty string (Marco Ippolito) #5154381fd7d1ca9
] - tools: limit parallelism with ninja in V8 builds (Richard Lau) #51473e88a301e98
] - tools: do not pass invalid flag to C compiler (Michaël Zasso) #51409129d3b3293
] - tools: update lint-md-dependencies to rollup@4.9.5 (Node.js GitHub Bot) #51460f3845de204
] - tools: update inspector_protocol to83b1154
(Kohei Ueno) #5130958901d08fd
] - tools: update github_reporter to 1.5.4 (Node.js GitHub Bot) #5139529492e2c88
] - tools: fix version parsing in brotli update script (Richard Lau) #5137317593d95ba
] - tools: update lint-md-dependencies to rollup@4.9.4 (Node.js GitHub Bot) #5139635f33d3a31
] - tools: remove openssl v1 update script (Marco Ippolito) #5137883b3aa838b
] - tools: remove deprecated python api (Alex Yang) #49731adb2c36f0f
] - typings: lib/internal/vm.js (Geoffrey Booth) #50112407341e25c
] - url: don't update URL immediately on update to URLSearchParams (Matt Cowley) #5152088e08bbe80
] - (SEMVER-MINOR) util: add styleText API to text formatting (Rafael Gonzaga) #51850ba444a949d
] - vm: implement isContext() directly in JS land with private symbol (Joyee Cheung) #516854c508269cd
] - (SEMVER-MINOR) vm: support using the default loader to handle dynamic import() (Joyee Cheung) #51244v21.6.2
: 2024-02-14, Version 21.6.2 (Current), @RafaelGSSCompare Source
Notable changes
This is a security release.
Notable changes
Commits
8344719369
] - crypto: disable PKCS#1 padding for privateDecrypt (Michael Dawson) nodejs-private/node-private#525d093600ac4
] - deps: update archs files for openssl-3.0.13+quic1 (Node.js GitHub Bot) #516146cd930e5e8
] - deps: upgrade openssl sources to quictls/openssl-3.0.13+quic1 (Node.js GitHub Bot) #516149590c15d3d
] - deps: upgrade libuv to 1.48.0 (Santiago Gimeno) #51698666096298c
] - deps: disable io_uring support in libuv by default (Tobias Nießen) nodejs-private/node-private#528a4edd22e30
] - fs: protect against modified Buffer internals in possiblyTransformPath (Tobias Nießen) nodejs-private/node-private#4976155a1ffaf
] - http: add maximum chunk extension size (Paolo Insogna) nodejs-private/node-private#518777509495e
] - lib: use cache fs internals against path traversal (RafaelGSS) nodejs-private/node-private#5169d2ac2b3fc
] - lib: update undici to v5.28.3 (Matteo Collina) nodejs-private/node-private#538208b3940c7
] - src: fix HasOnly(capability) in node::credentials (Tobias Nießen) nodejs-private/node-private#505fc2454f29c
] - src,deps: disable setuid() etc if io_uring enabled (Tobias Nießen) nodejs-private/node-private#528ef3eea20be
] - test,doc: clarify wildcard usage (RafaelGSS) nodejs-private/node-private#5178547196964
] - zlib: pause stream if outgoing buffer is full (Matteo Collina) nodejs-private/node-private#540v21.6.1
: 2024-01-22, Version 21.6.1 (Current), @RafaelGSSCompare Source
Notable Changes
This release fixes a bug in
undici
using WebStreamsCommits
662ac95729
] - Revert "stream: fix cloned webstreams not being unref'd" (Matteo Collina) #514911b8bba8aee
] - test: add regression test for 51586 (Matteo Collina) #51491v21.6.0
: 2024-01-15, Version 21.6.0 (Current), @RafaelGSSCompare Source
New connection attempt events
Three new events were added in the
net.createConnection
flow:connectionAttempt
: Emitted when a new connection attempt is established. In case of Happy Eyeballs, this might emitted multiple times.connectionAttemptFailed
: Emitted when a connection attempt failed. In case of Happy Eyeballs, this might emitted multiple times.connectionAttemptTimeout
: Emitted when a connection attempt timed out. In case of Happy Eyeballs, this will not be emitted for the last attempt. This is not emitted at all if Happy Eyeballs is not used.Additionally, a previous bug has been fixed where a new connection attempt could have been started after a previous one failed and after the connection was destroyed by the user.
This led to a failed assertion.
Contributed by Paolo Insogna in #51045.
Changes to the Permission Model
Node.js 21.6.0 comes with several fixes for the experimental permission model and two new semver-minor commits.
We're adding a new flag
--allow-addons
to enable addon usage when using the Permission Model.Contributed by Rafael Gonzaga in #51183
And relative paths are now supported through the
--allow-fs-*
flags.Therefore, with this release one can use:
To give only read access to the entrypoint of the application.
Contributed by Rafael Gonzaga and Carlos Espa in #50758
Support configurable snapshot through
--build-snapshot-config
flagWe are adding a new flag
--build-snapshot-config
to configure snapshots through a custom JSON configuration file.When using this flag, additional script files provided on the command line will
not be executed and instead be interpreted as regular command line arguments.
These changes were contributed by Joyee Cheung and Anna Henningsen in #50453
Other Notable Changes
c31ed51373
] - (SEMVER-MINOR) timers: export timers.promises (Marco Ippolito) #51246Commits
13a1241b83
] - assert,crypto: make KeyObject and CryptoKey testable for equality (Filip Skokan) #508974dcc5114aa
] - benchmark: remove dependency on unshipped tools (Adam Majer) #511462eb41f86b3
] - build: fix for VScode "Reopen in Container" (Serg Kryvonos) #51271e03ac83c19
] - build: fix arm64 cross-compilation (Michaël Zasso) #51256cd61fce34e
] - build: add-flax-vector-conversions
to V8 build (Michaël Zasso) #51257e5017a522e
] - crypto: update CryptoKey symbol properties (Filip Skokan) #50897c0d2e8be11
] - deps: update corepack to 0.24.0 (Node.js GitHub Bot) #5131824a9a72492
] - deps: update acorn to 8.11.3 (Node.js GitHub Bot) #51317e53cbb22c2
] - deps: update ngtcp2 and nghttp3 (James M Snell) #51291f00f1204f1
] - deps: update brotli to 1.1.0 (Node.js GitHub Bot) #50804a41dca0c51
] - deps: update zlib to 1.3.0.1-motley-40e35a7 (Node.js GitHub Bot) #51274efa12a89c6
] - deps: update simdutf to 4.0.8 (Node.js GitHub Bot) #5100025eba3d20b
] - deps: V8: cherry-pickde611e6
(Keyhan Vakil) #51200a07d6e23e4
] - deps: update simdjson to 3.6.3 (Node.js GitHub Bot) #511046d1bfcb2dd
] - deps: update googletest to530d5c8
(Node.js GitHub Bot) #5119175e5615c43
] - deps: update acorn-walk to 8.3.1 (Node.js GitHub Bot) #504573ecc7dcc00
] - deps: update acorn-walk to 8.3.0 (Node.js GitHub Bot) #50457e2f8d741c8
] - deps: update zlib to 1.3.0.1-motley-dd5fc13 (Node.js GitHub Bot) #511054a5d3bda72
] - doc: the GN files should use Node's license (Cheng Zhao) #5069484127514ba
] - doc: improve localWindowSize event descriptions (Davy Landman) #510718ee882a49c
] - doc: mark--jitless
as experimental (Antoine du Hamel) #51247876743ece1
] - doc: run license-builder (github-actions[bot]) #51199ec6fcff009
] - doc: fix limitations and known issues in pm (Rafael Gonzaga) #51184c13a5c0373
] - doc: mention node:wasi in the Threat Model (Rafael Gonzaga) #512114b19e62444
] - doc: remove ambiguous 'considered' (Rich Trott) #512075453abd6ad
] - doc: set exit code in custom test runner example (Matteo Collina) #51056f9d4e07faf
] - doc: remove version frommaintaining-dependencies.md
(Antoine du Hamel) #51195df8927a073
] - doc: mention native addons are restricted in pm (Rafael Gonzaga) #51185e636d83914
] - doc: correct note on behavior of stats.isDirectory (Nick Reilingh) #509461c71435c2a
] - doc: fixTestsStream
parent class (Jungku Lee) #511812c227b0d64
] - doc: fix simdjson wrong link (Marco Ippolito) #51177efa13e1943
] - (SEMVER-MINOR) doc: add documentation for --build-snapshot-config (Anna Henningsen) #50453941aedc6fc
] - errors: fix stacktrace of SystemError (uzlopak) #4995647548d9e61
] - esm: fix hint on invalid module specifier (Antoine du Hamel) #51223091098f40a
] - fs: fix fs.promises.realpath for long paths on Windows (翠 / green) #51032e5a8fa01aa
] - fs: make offset, position & length args in fh.read() optional (Pulkit Gupta) #51087c87e5d51cc
] - fs: add missing jsdoc parameters toreadSync
(Yagiz Nizipli) #51225e24249cf37
] - fs: removeinternalModuleReadJSON
binding (Yagiz Nizipli) #512247421467812
] - fs: improve mkdtemp performance for buffer prefix (Yagiz Nizipli) #510785b229d775f
] - fs: validate fd synchronously on c++ (Yagiz Nizipli) #51027c7a135962d
] - http: remove misleading warning (Luigi Pinca) #51204a325746ff4
] - http: do not override user-provided options object (KuthorX) #3363389eee7763f
] - http2: addtl http/2 settings (Marten Richter) #49025624142947f
] - lib: fix use of--frozen-intrinsics
with--jitless
(Antoine du Hamel) #512488f845eb001
] - lib: move function declaration outside of loop (Sanjaiyan Parthipan) #51242ed7305e49b
] - lib: reduce overhead ofSafePromiseAllSettledReturnVoid
calls (Antoine du Hamel) #51243291265ce27
] - lib: expose default prepareStackTrace (Chengzhong Wu) #508278ff6bc45ca
] - lib,permission: handle buffer on fs.symlink (Rafael Gonzaga) #51212416b4f8063
] - (SEMVER-MINOR) lib,src,permission: port path.resolve to C++ (Rafael Gonzaga) #507586648a5c576
] - meta: notify tsc on changes in SECURITY.md (Rafael Gonzaga) #5125983a99ccedd
] - meta: update artifact actions to v4 (Michaël Zasso) #51219b621ada69a
] - module: move the CJS exports cache to internal/modules/cjs/loader (Joyee Cheung) #51157e4be5b60f0
] - (SEMVER-MINOR) net: add connection attempt events (Paolo Insogna) #510453a492056e2
] - node-api: type tag external values without v8::Private (Chengzhong Wu) #51149b2135ae7dc
] - node-api: segregate nogc APIs from rest via type system (Gabriel Schulhof) #500608f4325dcd5
] - permission: fix wildcard when children > 1 (Rafael Gonzaga) #512097ecf99404e
] - quic: update quic impl to use latest ngtcp2/nghttp3 (James M Snell) #512915b32e21f3b
] - quic: add quic internalBinding, refine Endpoint, add types (James M Snell) #511123310095bea
] - repl: fix prepareStackTrace frames array order (Chengzhong Wu) #50827a0ff00b526
] - src: avoid draining platform tasks at FreeEnvironment (Chengzhong Wu) #51290115e0585cd
] - src: add fast api for Histogram (James M Snell) #5129629b81576c6
] - src: refactorGetCreationContext
calls (Yagiz Nizipli) #5128754dd978400
] - src: enter isolate before destructing IsolateData (Ben Noordhuis) #51138864ecb0dfa
] - src: do not treat all paths ending with node_modules as such (Michaël Zasso) #51269df31c8114c
] - src: eliminate duplicate code in histogram.cc (James M Snell) #5126317c73e6d0c
] - src: fix unix abstract socket path for trace event (theanarkh) #5085896d64edc94
] - src: use BignumPointer and use BN_clear_free (James M Snell) #504548a2dd93a14
] - src: implement FastByteLengthUtf8 with simdutf::utf8_length_from_latin1 (Daniel Lemire) #50840e54ddf898f
] - (SEMVER-MINOR) src: support configurable snapshot (Joyee Cheung) #50453a69c7d7bc3
] - (SEMVER-MINOR) src,permission: add --allow-addon flag (Rafael Gonzaga) #51183e7925e66fc
] - src,stream: improve WriteString (ywave620) #5115582de6603af
] - stream: fix code style (Mattias Buelens) #51168e443953656
] - stream: fix cloned webstreams not being unref'd (James M Snell) #51255757a84c9ea
] - test: fix flaky conditions for ppc64 SEA tests (Richard Lau) #5142285ee2f7255
] - test: replace forEach() with for...of (Alexander Jones) #50608549e4b4142
] - test: replace forEach with for...of (Ospite Privilegiato) #50787ef44f9bef2
] - test: replace foreach with for of (lucacapocci94-dev) #50790652af45485
] - test: replace forEach() with for...of (Jia) #50610684dd9db2f
] - test: fix inconsistency write size intest-fs-readfile-tostring-fail
(Jungku Lee) #51141aaf710f535
] - test: replace forEach test-http-server-multiheaders2 (Marco Mac) #5079457c64550cc
] - test: replace forEach with for-of in test-webcrypto-export-import-ec (Chiara Ricciardi) #5124988e865181b
] - test: move to for of loop in test-http-hostname-typechecking.js (Luca Del Puppo) #507823db376f67a
] - test: skip test-watch-mode-inspect on arm (Michael Dawson) #5121038232d1c52
] - test: replace forEach with for of in file test-trace-events-net.js (Ianna83) #50789f1cb58355a
] - test: replace forEach() with for...of in test/parallel/test-util-log.js (Edoardo Dusi) #507839bfd84c117
] - test: replace forEach with for of in test-trace-events-api.js (Andrea Pavone) #507847e9834915a
] - test: replace forEach with for-of in test-v8-serders.js (Mattia Iannone) #50791b6f232e841
] - test: add URL tests to fs-read in pm (Rafael Gonzaga) #512138a2178c5f5
] - test: use tmpdir.refresh() in test-esm-loader-resolve-type.mjs (Luigi Pinca) #512067e9a0b192a
] - test: use tmpdir.refresh() in test-esm-json.mjs (Luigi Pinca) #51205d7c2572fe0
] - test: fix flakiness in worker*.test-free-called (Jithil P Ponnan) #51013979cebc955
] - test_runner: fixed test object is incorrectly passed to setup() (Pulkit Gupta) #5098263db82abe6
] - test_runner: fixed to run after hook if before throws an error (Pulkit Gupta) #51062c31ed51373
] - (SEMVER-MINOR) timers: export timers.promises (Marco Ippolito) #51246fc10f889eb
] - tools: update lint-md-dependencies to rollup@4.9.2 (Node.js GitHub Bot) #51320d5a5f12d15
] - tools: fix dep_updaters dir updates (Michaël Zasso) #51294bdcb5ed510
] - tools: update inspector_protocol toc488ba2
(cola119) #5129369a46add77
] - tools: update inspector_protocol to9b4a4aa
(cola119) #51293e325f49d19
] - tools: update inspector_protocol to2f51e05
(cola119) #5129360d804851b
] - tools: update inspector_protocol tod7b099b
(cola119) #51293d18168489f
] - tools: update inspector_protocol to912eb68
(cola119) #51293ef4f46fc39
] - tools: update inspector_protocol to547c5b8
(cola119) #51293c3126fc016
] - tools: update inspector_protocol toca525fc
(cola119) #51293917d887dde
] - tools: update lint-md-dependencies to rollup@4.9.1 (Node.js GitHub Bot) #5127637594918e0
] - tools: check timezone current version (Marco Ippolito) #51178d0d2faf899
] - tools: update lint-md-dependencies to rollup@4.9.0 (Node.js GitHub Bot) #51193c96ef6533c
] - tools: update eslint to 8.56.0 (Node.js GitHub Bot) #51194f4f781d493
] - util: pass invalidSubtypeIndex instead of trimmedSubtype to error (Gaurish Sethia) #51264867b484429
] - watch: clarify that the fileName parameter can be null (Luigi Pinca) #5130556e8969b65
] - watch: fix nullfileName
on windows systems (vnc5) #498913f4fd6efbb
] - watch: fix infinite loop when passing --watch=true flag (Pulkit Gupta) #51160v21.5.0
: 2023-12-19, Version 21.5.0 (Current), @RafaelGSSCompare Source
Notable Changes
0dd53da722
] - (SEMVER-MINOR) deps: add simdjson (Yagiz Nizipli) #503229f54987fbc
] - module: merge config withpackage_json_reader
(Yagiz Nizipli) #5032245e4f82912
] - src: move package resolver to c++ (Yagiz Nizipli) #50322Deprecations
26ed4ad01f
] - doc: deprecate hash constructor (Marco Ippolito) #5107758ca66a1a7
] - doc: deprecatedirent.path
(Antoine du Hamel) #51020Commits
1bbdbdfbeb
] - benchmark: update iterations in benchmark/perf_hooks (Lei Shi) #50869087fb0908e
] - benchmark: update iterations in benchmark/crypto/aes-gcm-throughput.js (Lei Shi) #5092953b16c71fb
] - benchmark: update iteration and size in benchmark/crypto/randomBytes.js (Lei Shi) #5086838fd0ca753
] - benchmark: add undici websocket benchmark (Chenyu Yang) #50586b148c43244
] - benchmark: add create-hash benchmark (Joyee Cheung) #51026fdd8c18f96
] - benchmark: update interations and len in benchmark/util/text-decoder.js (Lei Shi) #50938a9972057ac
] - benchmark: update iterations of benchmark/util/type-check.js (Lei Shi) #50937b80bb1329b
] - benchmark: update iterations in benchmark/util/normalize-encoding.js (Lei Shi) #50934dbee03d646
] - benchmark: update iterations in benchmark/util/inspect-array.js (Lei Shi) #50933f2d83a3a84
] - benchmark: update iterations in benchmark/util/format.js (Lei Shi) #509322581fce553
] - bootstrap: improve snapshot unsupported builtin warnings (Joyee Cheung) #50944735bad3694
] - build: fix warnings from uv for gn build (Cheng Zhao) #510698da9d969f9
] - deps: V8: cherry-pick0fd478b
(Joyee Cheung) #50572429fbb37c1
] - deps: update simdjson to v3.6.2 (Yagiz Nizipli) #509869950103253
] - deps: update zlib to 1.3-22124f5 (Node.js GitHub Bot) #509100b61823e8b
] - deps: update undici to 5.28.2 (Node.js GitHub Bot) #5102495d8a273cc
] - deps: cherry-pickbfbe4e3
from libuv upstream (Abdirahim Musse) #5065006038a489e
] - deps: update libuv to 1.47.0 (Node.js GitHub Bot) #506500dd53da722
] - (SEMVER-MINOR) deps: add simdjson (Yagiz Nizipli) #5032204eaa5cdd7
] - doc: run license-builder (github-actions[bot]) #5111126ed4ad01f
] - doc: deprecate hash constructor (Marco Ippolito) #51077637ffce4c4
] - doc: add note regarding--experimental-detect-module
(Shubherthi Mitra) #51089838179b096
] - doc: correct tracingChannel.traceCallback() (Gerhard Stöbich) #51068539bee4f0a
] - doc: use length argument in pbkdf2Key (Tobias Nießen) #51066c45a9a3187
] - doc: add deprecation notice todirent.path
(Antoine du Hamel) #5105958ca66a1a7
] - doc: deprecatedirent.path
(Antoine du Hamel) #51020c2b6edf9ab
] - esm: fix hook name in error message (Bruce MacNaughton) #5046635e8f26f07
] - fs: throw fchownSync error from c++ (Yagiz Nizipli) #51075c3c8237089
] - fs: update params in jsdoc for createReadStream and createWriteStream (Jungku Lee) #510633f7f3ce8c9
] - fs: improve error performance of readvSync (IlyasShabi) #501007f95926f17
] - http: handle multi-value content-disposition header (Arsalan Ahmad) #509777a8a2d5632
] - lib: don't parse windows drive letters as schemes (华) #50580aa2be4bb76
] - module: load source maps incommonjs
translator (Hiroki Osame) #51033c0e5e74876
] - module: documentparentURL
in register options (Hiroki Osame) #510394eedf5e694
] - module: fix recently introduced coverity warning (Michael Dawson) #508439f54987fbc
] - module: merge config withpackage_json_reader
(Yagiz Nizipli) #503225f95dca638
] - node-api: introduce experimental feature flags (Gabriel Schulhof) #509913fb7fc909e
] - quic: further implementation details (James M Snell) #48244fa25e069fc
] - src: implement countObjectsWithPrototype (Joyee Cheung) #50572abe90527e4
] - src: register udp_wrap external references (Joyee Cheung) #5094384e2f51d14
] - src: register spawn_sync external references (Joyee Cheung) #509432cfee53d7b
] - src: register process_wrap external references (Joyee Cheung) #509439b7f79a8bd
] - src: fix double free reported by coverity (Michael Dawson) #51046fc5503246e
] - src: remove unused headers innode_file.cc
(Jungku Lee) #50927c3abdc58af
] - src: implement --trace-promises (Joyee Cheung) #50899f90fc83e97
] - src: fix dynamically linked zlib version (Richard Lau) #510079bf144379f
] - src: omit bool values of package.json main field (Yagiz Nizipli) #5096545e4f82912
] - src: move package resolver to c++ (Yagiz Nizipli) #5032271acd36778
] - stream: implement TransformStream cleanup using "transformer.cancel" (Debadree Chatterjee) #501265112306064
] - stream: fix fd is null when calling clearBuffer (kylo5aby) #50994ed070755ec
] - test: deflake test-diagnostics-channel-memory-leak (Joyee Cheung) #50572aee01ff1b4
] - test: test syncrhnous methods of child_process in snapshot (Joyee Cheung) #50943cc949869a3
] - test: handle relative https redirect (Richard Lau) #51121048349ed4c
] - test: fix test runner colored output test (Moshe Atlow) #510647f5291d783
] - test: resolve path of embedtest binary correctly (Cheng Zhao) #502764ddd0daf5f
] - test: escape cwd in regexp (Jérémy Lal) #509803ccd5faabb
] - test_runner: format coverage report for tap reporter (Pulkit Gupta) #51119d5c9adf3df
] - test_runner: fix infinite loop when files are undefined in test runner (Pulkit Gupta) #51047328a41701c
] - tools: update lint-md-dependencies to rollup@4.7.0 (Node.js GitHub Bot) #51106297cb6f5c2
] - tools: update doc to highlight.js@11.9.0 unified@11.0.4 (Node.js GitHub Bot) #504594705023343
] - tools: fix simdjson updater (Yagiz Nizipli) #50986c9841583db
] - tools: update eslint to 8.55.0 (Node.js GitHub Bot) #510252b4671125e
] - tools: update lint-md-dependencies to rollup@4.6.1 (Node.js GitHub Bot) #51022cd891b37f6
] - util: improve performance of function areSimilarFloatArrays (Liu Jia) #51040e178a43509
] - vm: use v8::DeserializeInternalFieldsCallback explicitly (Joyee Cheung) #50984fd028e146f
] - win,tools: upgrade Windows signing to smctl (Stefan Stojanovic) #50956v21.4.0
: 2023-12-05, Version 21.4.0 (Current), @targosCompare Source
Notable Changes
This release fixes a regression introduced in v21.3.0 that caused the
fs.writeFileSync
method to throw when called with
'utf8'
encoding, no flag option, and if the target file didn't exist yet.32acafeeb6
] - (SEMVER-MINOR) fs: introducedirent.parentPath
(Antoine du Hamel) #50976724548674d
] - fs: use default w flag for writeFileSync with utf8 encoding (Murilo Kakazu) #50990Commits
b24ee15fb2
] - benchmark: update iterations in benchmark/crypto/hkdf.js (Lei Shi) #50866f79b54e60e
] - benchmark: update iterations in benchmark/crypto/get-ciphers.js (Lei Shi) #50863dc049acbbb
] - benchmark: update number of iterations forutil.inspect
(kylo5aby) #50651d7c562ae38
] - deps: update googletest to76bb2af
(Node.js GitHub Bot) #5055559a45ddbef
] - deps: update googletest tob10fad3
(Node.js GitHub Bot) #50555099ebdb781
] - deps: update undici to 5.28.1 (Node.js GitHub Bot) #509754b1bed04f7
] - deps: update undici to 5.28.0 (Node.js GitHub Bot) #50915b281e98b1e
] - doc: add additional details about--input-type
(Shubham Pandey) #50796b7036f2028
] - doc: add procedure when CVEs don't get published (Rafael Gonzaga) #509457adf239af0
] - doc: fix some errors in esm resolution algorithms (Christopher Jeffrey (JJ)) #50898759ebcaead
] - doc: reserve 121 for Electron 29 (Shelley Vohr) #50957cedc3427fa
] - doc: run license-builder (github-actions[bot]) #5092630a6f19769
] - doc: document non-node_modules-only runtime deprecation (Joyee Cheung) #50748eecab883f0
] - doc: add doc for Unix abstract socket (theanarkh) #50904ec74b93b38
] - doc: remove flicker on page load on dark theme (Dima Demakov) #50942724548674d
] - fs: use default w flag for writeFileSync with utf8 encoding (Murilo Kakazu) #5099032acafeeb6
] - (SEMVER-MINOR) fs: introducedirent.parentPath
(Antoine du Hamel) #50976c1ee506454
] - fs: remove workaround foresm
package (Yagiz Nizipli) #509071cf087dfb3
] - lib: refactor to use validateFunction in diagnostics_channel (Deokjin Kim) #50955c37d18d5e1
] - lib: streamline process.binding() handling (Joyee Cheung) #50773246cf73631
] - lib,src: replace toUSVString withtoWellFormed()
(Yagiz Nizipli) #473429bc79173a0
] - loader: speed up line length calc used by moduleProvider (Mudit) #50969812ab9e4f8
] - meta: bump step-security/harden-runner from 2.6.0 to 2.6.1 (dependabot[bot]) #509991dbe1af19a
] - meta: bump github/codeql-action from 2.22.5 to 2.22.8 (dependabot[bot]) #50998bed1b93f8a
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #509311e7d101428
] - src: make ModifyCodeGenerationFromStrings more robust (Joyee Cheung) #50763709ac479eb
] - src: disable uncaught exception abortion for ESM syntax detection (Yagiz Nizipli) #50987f6ff11c9f9
] - src: fix backtrace with tail noreturn abort (Chengzhong Wu) #5084974f5a1cbc9
] - src: print MKSNAPSHOT debug logs to stderr (Joyee Cheung) #507593a1c664a97
] - test: replace forEach to for.. test-webcrypto-export-import-cfrg.js (Angelo Parziale) #50785ac3a6eefe3
] - test: log more information in SEA tests (Joyee Cheung) #5075994462d42f5
] - test: consolidate utf8 text fixtures in tests (Joyee Cheung) #507328e1a70a347
] - tools: add triggers to update release links workflow (Moshe Atlow) #50974ca10cbb774
] - tools: update lint-md-dependencies to rollup@4.5.2 (Node.js GitHub Bot) #509131e40c4a366
] - tools: fix current version check (Marco Ippolito) #509513faed331e1
] - typings: fix JSDoc ininternal/modules/esm/hooks
(Alex Yang) #508876a087ceffa
] - url: throw error if argument length of revokeObjectURL is 0 (DylanTet) #50433v21.3.0
: 2023-11-30, Version 21.3.0 (Current), @RafaelGSSCompare Source
Notable Changes
New
--disable-warning
flagThis version adds a new
--disable-warning
option that allows users to disable specific warnings either by code(i.e. DEP0025) or type (i.e. DeprecationWarning, ExperimentalWarning).
This option works alongside existing
--warnings
and--no-warnings
.For example, the following script will not emit DEP0025
require('node:sys')
when executed withnode --disable-warning=DEP0025
:Contributed by Ethan-Arrowood in #50661
Update Root Certificates to NSS 3.95
This is the certdata.txt from NSS 3.95, released on 2023-11-16.
This is the version of NSS that will ship in Firefox 121 on
2023-12-19.
Certificates added:
Certificates removed:
A626340
Fast fs.writeFileSync with UTF-8 Strings
Enhanced writeFileSync functionality by implementing a highly efficient fast path primarily in C++ for UTF8-encoded string data.
Additionally, optimized the
appendFileSync
method by leveraging the improvedwriteFileSync
functionality.For simplicity and performance considerations, the current implementation supports only string data,
as benchmark results raise concerns about the efficacy of using Buffer for this purpose.
Future optimizations and expansions may be explored, but for now, the focus is on maximizing efficiency for string data operations.
Contributed by CanadaHonk in #49884.
Other Notable Changes
c7a7493ca2
] - (SEMVER-MINOR) module: bootstrap module loaders in shadow realm (Chengzhong Wu) #48655bc3f7b5401
] - (SEMVER-MINOR) module: remove useCustomLoadersIfPresent flag (Chengzhong Wu) #48655aadff07e59
] - (SEMVER-MINOR) src: create per isolate proxy env template (Chengzhong Wu) #4865591aa9dd23a
] - (SEMVER-MINOR) src: create fs_dir per isolate properties (Chengzhong Wu) #486555c5834190a
] - (SEMVER-MINOR) src: create worker per isolate properties (Chengzhong Wu) #486554a1ce45181
] - (SEMVER-MINOR) src: make process binding data weak (Chengzhong Wu) #48655Commits
4a20912279
] - benchmark: update iterations in benchmark/util/splice-one.js (Liu Jia) #5069836380eb53d
] - benchmark: increase the iteration number to an appropriate value (Lei Shi) #5076623f56d8bb3
] - benchmark: rewrite import.meta benchmark (Joyee Cheung) #50683f7245d73d9
] - benchmark: add misc/startup-cli-version benchmark (Joyee Cheung) #50684c81d2acfe0
] - benchmark: remove punycode from require-builtins fixture (Joyee Cheung) #506895849f09874
] - build: add GN configurations for simdjson (Cheng Zhao) #5083112605e8f7d
] - build: add configuration flag to enable Maglev (Keyhan Vakil) #5069243da9ea9e5
] - build: fix GN configuration for deps/base64 (Cheng Zhao) #50696465f75b58a
] - build: disable flag v8_scriptormodule_legacy_lifetime (Chengzhong Wu) #50616d2c0dfb1b7
] - crypto: update root certificates to NSS 3.95 (Node.js GitHub Bot) #508058d3a1d8911
] - deps: update zlib to 1.2.13.1-motley-5daffc7 (Node.js GitHub Bot) #50803e02f304de7
] - deps: V8: cherry-pick0f9ebbc
(Chengzhong Wu) #50867c31ad5ceaa
] - deps: update icu to 74.1 (Node.js GitHub Bot) #505153ff2bda34e
] - deps: update ada to 2.7.4 (Node.js GitHub Bot) #50815221f02df6d
] - deps: update undici to 5.27.2 (Node.js GitHub Bot) #50813ee69c613a2
] - deps: update minimatch to 9.0.3 (Node.js GitHub Bot) #5080600dab30fd2
] - deps: V8: cherry-pick475c8cd
(Keyhan Vakil) #50680a0c01b23b4
] - deps: update simdutf to 4.0.4 (Node.js GitHub Bot) #50772071e46ae56
] - deps: upgrade npm to 10.2.4 (npm team) #507515d28f8d18f
] - deps: escape Python strings correctly (Michaël Zasso) #506953731f836ed
] - deps: V8: cherry-pick8f0b946
(Lu Yahan) #506546dfe1023c3
] - dns: call handle.setServers() with a valid array (Luigi Pinca) #508112f13db475e
] - doc: make theme consistent across api and other docs (Dima Demakov) #508778c4976b732
] - doc: add a section regardinginstanceof
inprimordials.md
(Antoine du Hamel) #508746485687642
] - doc: update email to reflect affiliation (Yagiz Nizipli) #50856bc31375a09
] - doc: shard not supported with watch mode (Pulkit Gupta) #5064008c3b0ab20
] - doc: get rid of unnecessaryeslint-skip
comments (Antoine du Hamel) #5082998fb1faff1
] - doc: create deprecation code for isWebAssemblyCompiledModule (Marco Ippolito) #50486e116fcdb01
] - doc: add CanadaHonk to triagers (CanadaHonk) #50848a37d9ee1e3
] - doc: fix typos in --allow-fs-* (Tobias Nießen) #508458468daf1a9
] - doc: update Crypto API doc for x509.keyUsage (Daniel Meechan) #50603b4935dde60
] - doc: fix fs.writeFileSync return value documentation (Ryan Zimmerman) #50760ead9879a04
] - doc: update print results(detail) inPerformanceEntry
(Jungku Lee) #507236b7403c5df
] - doc: fixBuffer.allocUnsafe
documentation (Mert Can Altın) #50686713fdf1fc3
] - doc: run license-builder (github-actions[bot]) #5069150f336c06f
] - esm: fallback togetSource
whenload
returns nullishsource
(Antoine du Hamel) #50825bd58870556
] - esm: do not callgetSource
when format iscommonjs
(Francesco Trotta) #50465e59268a076
] - fs: add c++ fast path for writeFileSync utf8 (CanadaHonk) #49884483200f68f
] - fs: improve error performance forrmdirSync
(CanadaHonk) #49846e4e0add0de
] - fs: fix glob returning duplicates (Moshe Atlow) #5088145b2bb09f2
] - fs: fix to not return for void function (Jungku Lee) #50769492e3e30b7
] - fs: replace deprecatedpath._makeLong
in copyFile (CanadaHonk) #508449dc4cde75b
] - fs: improve error perf of synclstat
+fstat
(CanadaHonk) #49868c3eee590be
] - inspector: use private fields instead of symbols (Yagiz Nizipli) #507761a0069b13d
] - meta: clarify nomination process according to Node.js charter (Matteo Collina) #5083465a811a86d
] - meta: clarify recommendation for bug reproductions (Antoine du Hamel) #508825811a59016
] - meta: move cjihrig to TSC regular member (Colin Ihrig) #50816c7a7493ca2
] - (SEMVER-MINOR) module: bootstrap module loaders in shadow realm (Chengzhong Wu) #48655bc3f7b5401
] - (SEMVER-MINOR) module: remove useCustomLoadersIfPresent flag (Chengzhong Wu) #486559197b0f2fc
] - net: check pipe mode and path (theanarkh) #50770673de300b4
] - node-api: factor out common code into macros (Gabriel Schulhof) #50664aebe2fc702
] - perf_hooks: implement performance.now() with fast API calls (Joyee Cheung) #504923fdecc4a8b
] - permission: do not create symlinks if target is relative (Tobias Nießen) #4915627a4f58640
] - permission: mark const functions as such (Tobias Nießen) #50705feb8ff9427
] - src: assert return value of BN_bn2binpad (Tobias Nießen) #50860fd9195d750
] - src: fix coverity warning (Michael Dawson) #50846adcab85c0c
] - src: fix compatility with upcoming V8 12.1 APIs (Cheng Zhao) #5070979ef39b8c8
] - (SEMVER-MINOR) src: add--disable-warning
option (Ethan Arrowood) #50661faf6a04ba6
] - src: add IsolateScopes before using isolates (Keyhan Vakil) #50680eacf4ba485
] - src: iterate on import attributes array correctly (Michaël Zasso) #507030fb35b6a67
] - src: avoid copying strings in FSPermission::Apply (Tobias Nießen) #5066283ad272fa6
] - src: remove erroneous default argument in RadixTree (Tobias Nießen) #507362e8e237ce2
] - src: fix JSONParser leaking internal V8 scopes (Keyhan Vakil) #506880d3aa725cf
] - src: return error --env-file if file is not found (Ardi Nugraha) #50588aadff07e59
] - (SEMVER-MINOR) src: create per isolate proxy env template (Chengzhong Wu) #4865591aa9dd23a
] - (SEMVER-MINOR) src: create fs_dir per isolate properties (Chengzhong Wu) #486555c5834190a
] - (SEMVER-MINOR) src: create worker per isolate properties (Chengzhong Wu) #486554a1ce45181
] - (SEMVER-MINOR) src: make process binding data weak (Chengzhong Wu) #486558746073664
] - src: avoid silent coercion to signed/unsigned int (Tobias Nießen) #5066357587de1fa
] - src: handle errors from uv_pipe_connect2() (Deokjin Kim) #50657e5cce004e8
] - stream: fix enumerability of ReadableStream.from (Mattias Buelens) #507794522e229c0
] - stream: fix enumerability of ReadableStream.prototype.values (Mattias Buelens) #507792e0abed973
] - stream: yield expected Error class on zlib errors (Filip Skokan) #50712a275155e81
] - stream: add Symbol.toStringTag to Compression Streams (Filip Skokan) #50712146ad9cab0
] - stream: treat compression web stream format per its WebIDL definition (Filip Skokan) #50631087cffc7c2
] - test: fix message v8 not normalising alphanumeric paths (Jithil P Ponnan) #507307de900a442
] - test: fix dns test case failures after c-ares update to 1.21.0+ (Brad House) #50743b1b6c44712
] - test: replace forEach with for of (Conor Watson) #505947f44164ad4
] - test: replace forEach to for at test-webcrypto-sign-verify-ecdsa.js (Alessandro Di Nisio) #507959d76de1993
] - test: replace foreach with for in test-https-simple.js (Shikha Mehta) #49793ce8fc56ee4
] - test: add note about unresolved spec issue (Mattias Buelens) #50779628a12ac18
] - test: add note about readable streams with type owning (Mattias Buelens) #5077982f0882ce0
] - test: replace forEach with for-of in test-url-relative (vitosorriso) #507883b7998305d
] - test: replace forEach() with for ... of in test-tls-getprotocol.js (Steve Goode) #506000e4d25eb5c
] - test: use requires instead of flaky in console WPT status (Filip Skokan) #50812221952a88e
] - test: use ppc and ppc64 to skip SEA tests on PowerPC (Joyee Cheung) #508280e3b714069
] - test: enable idlharness tests for encoding (Mattias Buelens) #50778c8d4cd68b4
] - test: replace forEach in whatwg-encoding-custom-interop (Honza Machala) #50607f25637b5c9
] - test: update WPT files for WebIDL tests (Filip Skokan) #50712f2e0fce389
] - test: replace forEach() with for-loop (Jan) #505964b26f14a53
] - test: improve test-bootstrap-modules.js (Joyee Cheung) #5070828d78de0dd
] - test: skip parallel/test-macos-app-sandbox if disk space < 120MB (Joyee Cheung) #507644088b750e7
] - test: mark SEA tests as flaky on PowerPC (Joyee Cheung) #507506475cee6a4
] - test: give more time to GC in test-shadow-realm-gc-* (Joyee Cheung) #507350e8275b610
] - test: replace foreach with for (Markus Muschol) #50599377deded59
] - test: test streambase has already has a consumer (Jithil P Ponnan) #48059342a83e728
] - test: change forEach to for...of in path extname (Kyriakos Markakis) #5066775265e491d
] - test: replace forEach with for...of (Ryan Williams) #50611982b57651b
] - test: migrate message v8 tests from Python to JS (Joshua LeMay) #504217ebc8c2aed
] - test,stream: enable compression WPTs (Filip Skokan) #506310bd694ab64
] - test_runner: add tests for various mock timer issues (Mika Fischer) #50384dee8039c9b
] - tls: fix order of setting cipher before setting cert and key (Kumar Rishav) #501865de30531b8
] - tools: add macOS notarization verification step (Ulises Gascón) #50833a12d9e03f2
] - tools: use macOS keychain to notarize the releases (Ulises Gascón) #50715f21637717f
] - tools: update eslint to 8.54.0 (Node.js GitHub Bot) #50809daa933d93a
] - tools: update lint-md-dependencies to rollup@4.5.0 (Node.js GitHub Bot) #5080752830b71cc
] - tools: add workflow to update release links (Michaël Zasso) #50710db8ce5bbdd
] - tools: recognize GN files in dep_updaters (Cheng Zhao) #506935ef6729b66
] - tools: remove unused file (Ulises Gascon) #50622c49483820a
] - tools: change minimatch install strategy (Marco Ippolito) #504760d556d9a59
] - tools: update lint-md-dependencies to rollup@4.3.1 (Node.js GitHub Bot) #50675eaa4c14e6b
] - util: improve performance of normalizeEncoding (kylo5aby) #50721a5d959b765
] - v8,tools: expose necessary V8 defines (Cheng Zhao) #50820v21.2.0
: 2023-11-14, Version 21.2.0 (Current), @targosCompare Source
Notable Changes
e25c65ee2f
] - doc: add MrJithil to collaborators (Jithil P Ponnan) #50666f2366573f9
] - doc: add Ethan-Arrowood as a collaborator (Ethan Arrowood) #50393eac9cc5fcb
] - (SEMVER-MINOR) esm: add import.meta.dirname and import.meta.filename (James Sumners) #487407e151114b1
] - fs: add stacktrace to fs/promises (翠 / green) #498496dbb280733
] - (SEMVER-MINOR) lib: add--no-experimental-global-navigator
CLI flag (Antoine du Hamel) #5056203c730b931
] - (SEMVER-MINOR) lib: add navigator.language & navigator.languages (Aras Abbasi) #50303f932f4c518
] - (SEMVER-MINOR) lib: add navigator.platform (Aras Abbasi) #5038591f37d1dc3
] - (SEMVER-MINOR) stream: add support fordeflate-raw
format to webstreams compression (Damian Krzeminski) #5009765850a67c7
] - stream: use Array for Readable buffer (Robert Nagy) #50341e433fa54b7
] - stream: optimize creation (Robert Nagy) #50337c9b92bba58
] - (SEMVER-MINOR) test_runner: adds built in lcov reporter (Phil Nash) #50018f6c496563e
] - (SEMVER-MINOR) test_runner: add Date to the supported mock APIs (Lucas Santos) #4863805e8b6ef20
] - (SEMVER-MINOR) test_runner, cli: add --test-timeout flag (Shubham Pandey) #50443Commits
065d8844c5
] - benchmark: change iterations in benchmark/es/string-concatenations.js (Liu Jia) #505853f37ed9f0f
] - benchmark: add benchmarks for encodings (Aras Abbasi) #50348c4b6e1e9e4
] - benchmark: add more cases to Readable.from (Raz Luvaton) #503512006b57a9a
] - benchmark: skip test-benchmark-os on IBMi (Michael Dawson) #50286800206b04a
] - benchmark: move permission-fs-read to permission-processhas-fs-read (Aki Hasegawa-Johnson) #497703bedaf9405
] - buffer: improve Buffer.equals performance (kylo5aby) #50621b9f3613908
] - build: add GN build files (Cheng Zhao) #4763722eb0257d8
] - build: fix build with Python 3.12 (Luigi Pinca) #50582642c057299
] - build: support Python 3.12 (Shi Pujin) #5020954ebfc10cb
] - build: fix building when there is only python3 (Cheng Zhao) #484625073a3e16d
] - deps: update base64 to 0.5.1 (Node.js GitHub Bot) #50629f70a59f4fa
] - deps: update corepack to 0.23.0 (Node.js GitHub Bot) #5056378b3432be5
] - deps: V8: cherry-pick13192d6
(Levi Zim) #5055293e3cc3907
] - deps: upgrade npm to 10.2.3 (npm team) #50531189e5e5326
] - deps: update nghttp2 to 1.58.0 (Node.js GitHub Bot) #5044157bfe53095
] - deps: update zlib to 1.2.13.1-motley-dfc48fc (Node.js GitHub Bot) #504561e6922e67a
] - deps: patch V8 to 11.8.172.17 (Michaël Zasso) #5029228453ff966
] - deps: update acorn to 8.11.2 (Node.js GitHub Bot) #504600a793a2566
] - deps: update undici to 5.27.0 (Node.js GitHub Bot) #50463a90c6d669c
] - deps: update archs files for openssl-3.0.12+quic1 (Node.js GitHub Bot) #50411a64217c116
] - deps: upgrade openssl sources to quictls/openssl-3.0.12+quic1 (Node.js GitHub Bot) #5041162515e118c
] - deps: update llhttp to 9.1.3 (Node.js GitHub Bot) #50080d6f49c7bdc
] - deps: update googletest to116b7e5
(Node.js GitHub Bot) #50324e25c65ee2f
] - doc: add MrJithil to collaborators (Jithil P Ponnan) #506668be0efd68f
] - doc: fix typo in fs.md (fwio) #50570a656bf2dee
] - doc: add missing description of argument insubtle.encrypt
(Deokjin Kim) #505784cbe44ed6f
] - doc: update pm documentation to include resource (Ranieri Innocenti Spada) #50601479c1ea9fe
] - doc: correct attribution in v20.6.0 changelog (Jacob Smith) #505641668798902
] - doc: update to alignconsole.table
row to the left (Jungku Lee) #50553886fc48f87
] - doc: underline links (Rich Trott) #5048198cfa3a72b
] - doc: recommend supported Python versions (Luigi Pinca) #50407921e36ece9
] - doc: remove duplicate word (Gerhard Stöbich) #5047543074ee21c
] - doc: fix typo inwebstreams.md
(André Santos) #504260b11bf16e8
] - doc: update notable changes in v21.1.0 (Joyee Cheung) #50388d62e81229c
] - doc: add information about Node-API versions >=9 (Michael Dawson) #50168f2366573f9
] - doc: add Ethan-Arrowood as a collaborator (Ethan Arrowood) #50393d9f92bc042
] - doc: fix TOC inreleases.md
(Bryce Seefieldt) #5037214e3675b13
] - errors: improve hideStackFrames (Aras Abbasi) #4999009c02ed26b
] - esm: bypass CJS loader in default load under--default-type=module
(Antoine du Hamel) #50004eac9cc5fcb
] - (SEMVER-MINOR) esm: add import.meta.dirname and import.meta.filename (James Sumners) #4874044f19ce394
] - fs: update param in jsdoc forreaddir
(Jungku Lee) #504487e151114b1
] - fs: add stacktrace to fs/promises (翠 / green) #498493e7226a12f
] - fs: do not throw error on cpSync internals (Yagiz Nizipli) #5018567cbe1b80f
] - fs,url: moveFromNamespacedPath
tonode_url
(Yagiz Nizipli) #50090b4db32e9cb
] - fs,url: refactorFileURLToPath
method (Yagiz Nizipli) #500904345ee2ede
] - fs,url: moveFileURLToPath
to node_url (Yagiz Nizipli) #50090ed293fc520
] - lib: remove deprecated string methods (Jithil P Ponnan) #50592363bc46b92
] - lib: fix assert shows diff messages in ESM and CJS (Jithil P Ponnan) #506345fa40bea9e
] - lib: make event static properties non writable and configurable (Muthukumar) #504256dbb280733
] - (SEMVER-MINOR) lib: add--no-experimental-global-navigator
CLI flag (Antoine du Hamel) #5056203c730b931
] - (SEMVER-MINOR) lib: add navigator.language & navigator.languages (Aras Abbasi) #50303f932f4c518
] - (SEMVER-MINOR) lib: add navigator.platform (Aras Abbasi) #50385c9bd0c5000
] - lib: use primordials for navigator.userAgent (Aras Abbasi) #504676dabe7cf60
] - lib: avoid memory allocation on nodeprecation flag (Vinicius Lourenço) #502313615a61ac8
] - lib: align console.table row to the left (Jithil P Ponnan) #501359e7131ffda
] - meta: add web-standards as WPTs owner (Filip Skokan) #50636dedfb5ab26
] - meta: bump github/codeql-action from 2.21.9 to 2.22.5 (dependabot[bot]) #505134e83036d89
] - meta: bump step-security/harden-runner from 2.5.1 to 2.6.0 (dependabot[bot]) #505124bf9cffa95
] - meta: bump ossf/scorecard-action from 2.2.0 to 2.3.1 (dependabot[bot]) #5050949cce7634b
] - meta: fix spacing in collaborator list (Antoine du Hamel) #5064112e54e360c
] - meta: bump actions/setup-python from 4.7.0 to 4.7.1 (dependabot[bot]) #5051085a527e6e0
] - meta: add crypto as crypto and webcrypto docs owner (Filip Skokan) #50579ff9b3bdf34
] - meta: bump actions/setup-node from 3.8.1 to 4.0.0 (dependabot[bot]) #50514840303078f
] - meta: bump actions/checkout from 4.1.0 to 4.1.1 (dependabot[bot]) #50511c9e6e4e739
] - meta: add ethan.arrowood@vercel.com to mailmap (Ethan Arrowood) #50491d94010b745
] - meta: add web-standards as web api visibility owner (Chengzhong Wu) #50418e008336b17
] - meta: mention other notable changes section (Rafael Gonzaga) #503093606a0a848
] - module: execute--import
sequentially (Antoine du Hamel) #50474667d245e75
] - module: add application/json in accept header when fetching json module (Marco Ippolito) #50119905ca00cbc
] - perf_hooks: reduce overhead of createHistogram (Vinícius Lourenço) #500747c35055c8e
] - permission: address coverity warning (Michael Dawson) #50215b740324f7c
] - src: use v8::Isolate::TryGetCurrent() in DumpJavaScriptBacktrace() (Joyee Cheung) #505186e20e083dd
] - src: print more information in C++ assertions (Joyee Cheung) #502429f55dfc266
] - src: hide node::credentials::HasOnly outside unit (Tobias Nießen) #504504eb74a2c24
] - src: readiterable entries may be empty (Matthew Aitken) #503985b453d45d6
] - src: implement structuredClone in native (Joyee Cheung) #50330f1d79b3cbb
] - src: use find instead of char-by-char in FromFilePath() (Daniel Lemire) #50288541bdf1e92
] - src: add commit hash shorthand in zlib version (Jithil P Ponnan) #5015891f37d1dc3
] - (SEMVER-MINOR) stream: add support fordeflate-raw
format to webstreams compression (Damian Krzeminski) #50097360f5d9088
] - stream: fix Writable.destroy performance regression (Robert Nagy) #504780116ae7601
] - stream: pre-allocate _events (Robert Nagy) #504282c0d88e83e
] - stream: remove no longer relevant comment (Robert Nagy) #5044603c4ff760d
] - stream: use bit fields for construct/destroy (Robert Nagy) #50408e20b272d46
] - stream: improve from perf (Raz Luvaton) #50359893024cb7c
] - stream: avoid calls to listenerCount (Robert Nagy) #50357586ec48e5f
] - stream: readable use bitmap accessors (Robert Nagy) #5035065850a67c7
] - stream: use Array for Readable buffer (Robert Nagy) #50341e433fa54b7
] - stream: optimize creation (Robert Nagy) #50337f56ae67c7b
] - stream: refactor writable _write (Robert Nagy) #50198766bd9c8cc
] - stream: avoid getter for defaultEncoding (Robert Nagy) #502038be718a0bd
] - test: use destructuring for accessing setting values (Honza Jedlička) #50609b701567a46
] - test: replace forEach() with for .. of (Evgenia Blajer) #50605e978fd4375
] - test: replace forEach() with for ... of in test-readline-keys.js (William Liang) #50604bc92be4ca9
] - test: replace forEach() with for ... of in test-http2-single-headers.js (spiritualized) #50606864cd32003
] - test: replace forEach with for of (john-mcinall) #506022fdcf5c3da
] - test: remove unused file (James Sumners) #505282eeda3f09b
] - test: replace forEach with for of (Kevin Kühnemund) #505971d52a57cba
] - test: replace forEach with for of (CorrWu) #4978552b517f4ec
] - test: replace forEach with for [...] of (Gabriel Bota) #50615931e1e756a
] - test: relax version check with shared OpenSSL (Luigi Pinca) #505056ed8fbf612
] - test: add WPT report test duration (Filip Skokan) #505747c7be517b4
] - test: replace forEach() with for ... of loop in test-global.js (Kajol) #49772de46a346ab
] - test: skip test-diagnostics-channel-memory-leak.js (Joyee Cheung) #503278487cac24c
] - test: improveUV_THREADPOOL_SIZE
tests on.env
(Yagiz Nizipli) #49213ee751102a4
] - test: recognize wpt completion error (Chengzhong Wu) #504297e3eb02252
] - test: report error wpt test results (Chengzhong Wu) #5042990833a89a9
] - test: replace forEach() with for...of (Ram) #49794f40435d143
] - test: replace forEach() with for...of in test-trace-events-http (Chand) #49795f70a2dd70d
] - test: fix testsuite against zlib version 1.3 (Dominique Leuenberger) #50364d24de129a7
] - test: replace forEach with for...of in test-fs-realpath-buffer-encoding (Niya Shiyas) #498042b6d283265
] - test: fix timeout of test-cpu-prof-dir-worker.js in LoongArch devices (Shi Pujin) #50363bd5b61fa6c
] - test: fix crypto-dh error message for OpenSSL 3.x (Kerem Kat) #50395aa86c78a9c
] - test: fix vm assertion actual and expected order (Chengzhong Wu) #50371ab9cad8107
] - test: v8: Add test-linux-perf-logger test suite (Luke Albao) #5035231cd05c39f
] - test: ensure never settling promises are detected (Antoine du Hamel) #50318ad316419dd
] - test: avoid v8 deadcode on performance function (Vinícius Lourenço) #5007401bed64cbb
] - test_runner: pass abortSignal to test files (Moshe Atlow) #50630ae4a7ba991
] - test_runner: replace forEach with for of (Tom Haddad) #50595913e4b9173
] - test_runner: output errors of suites (Moshe Atlow) #50361c9b92bba58
] - (SEMVER-MINOR) test_runner: adds built in lcov reporter (Phil Nash) #50018e2c3b015cd
] - test_runner: test return value of mocked promisified timers (Mika Fischer) #50331f6c496563e
] - (SEMVER-MINOR) test_runner: add Date to the supported mock APIs (Lucas Santos) #4863805e8b6ef20
] - (SEMVER-MINOR) test_runner, cli: add --test-timeout flag (Shubham Pandey) #50443b71c8c447e
] - tls: usevalidateFunction
foroptions.SNICallback
(Deokjin Kim) #505305fcd67a8ea
] - tools: add macOS notarization stapler (Ulises Gascón) #50625253e206fe9
] - tools: update eslint to 8.53.0 (Node.js GitHub Bot) #50559f5e1c95447
] - tools: update lint-md-dependencies to rollup@4.3.0 (Node.js GitHub Bot) #50556257e22073e
] - tools: compare ICU checksums before file changes (Michaël Zasso) #50522aa8feea5f1
] - tools: improve update acorn-walk script (Marco Ippolito) #50473c0206bf44c
] - tools: update lint-md-dependencies to rollup@4.2.0 (Node.js GitHub Bot) #5049602dec645f3
] - tools: improve macOS notarization process output readability (Ulises Gascón) #5038952e7b6d29a
] - tools: update gyp-next to v0.16.1 (Michaël Zasso) #503809fc29c909b
] - tools: skip ruff on tools/gyp (Michaël Zasso) #50380ec7005abff
] - tools: update lint-md-dependencies to rollup@4.1.5 unified@11.0.4 (Node.js GitHub Bot) #50461aed590035f
] - tools: remove unusedversion
function (Ulises Gascón) #50390f7590481f2
] - tools: avoid npm install in deps installation (Marco Ippolito) #5041392d64035c6
] - Revert "tools: update doc dependencies" (Richard Lau) #5041490c9dd3e0e
] - tools: update doc dependencies (Node.js GitHub Bot) #49988f210915681
] - tools: run coverage CI only on relevant files (Antoine du Hamel) #503495ccdda4004
] - tools: update eslint to 8.52.0 (Node.js GitHub Bot) #50326bd4634874c
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #50190773cfa59bb
] - vm: allow dynamic import with a referrer realm (Chengzhong Wu) #503602f86d50e70
] - wasi: document security sandboxing status (Guy Bedford) #50396v21.1.0
: 2023-10-24, Version 21.1.0 (Current), @targosCompare Source
Notable Changes
Automatically detect and run ESM syntax
The new flag
--experimental-detect-module
can be used to automatically runES modules when their syntax can be detected. For “ambiguous” files, which are
.js
or extensionless files with nopackage.json
with atype
field, Node.jswill parse the file to detect ES module syntax; if found, it will run the file
as an ES module, otherwise it will run the file as a CommonJS module.
The same applies to string input via
--eval
orSTDIN
.We hope to make detection enabled by default in a future version of Node.js.
Detection increases startup time, so we encourage everyone — especially package
authors — to add a
type
field topackage.json
, even for the default"type": "commonjs"
. The presence of atype
field, or explicit extensionssuch as
.mjs
or.cjs
, will opt out of detection.Contributed by Geoffrey Booth in #50096.
Other Notable Changes
3729e33358
] - doc: add H4ad to collaborators (Vinícius Lourenço) #5021718862e4d5d
] - (SEMVER-MINOR) fs: addflush
option toappendFile()
functions (Colin Ihrig) #500955a52c518ef
] - (SEMVER-MINOR) lib: addnavigator.userAgent
(Yagiz Nizipli) #50200789372a072
] - (SEMVER-MINOR) stream: allow pass stream class tostream.compose
(Alex Yang) #50187f3a9ea0bc4
] - stream: improve performance of readable stream reads (Raz Luvaton) #50173dda33c2bf1
] - vm: reject in importModuleDynamically without --experimental-vm-modules (Joyee Cheung) #501373999362c59
] - vm: use internal versions of compileFunction and Script (Joyee Cheung) #50137a54179f0e0
] - vm: unify host-defined option generation in vm.compileFunction (Joyee Cheung) #50137Commits
9cd68b9083
] - buffer: remove unnecessary assignment in fromString (Tobias Nießen) #50199a362c276ec
] - crypto: ensure valid point on elliptic curve in SubtleCrypto.importKey (Filip Skokan) #50234f4da308f8d
] - deps: V8: cherry-pickf7d000a
(Luke Albao) #50302269e268c38
] - deps: update ada to 2.7.2 (Node.js GitHub Bot) #5033803a31ce41e
] - deps: update corepack to 0.22.0 (Node.js GitHub Bot) #50325000531781b
] - deps: update undici to 5.26.4 (Node.js GitHub Bot) #50274f050668c14
] - deps: update c-ares to 1.20.1 (Node.js GitHub Bot) #50082ba258b682b
] - deps: update c-ares to 1.20.0 (Node.js GitHub Bot) #50082571f7ef1fa
] - deps: patch V8 to 11.8.172.15 (Michaël Zasso) #50114943047e800
] - deps: V8: cherry-pick2590224
(Joyee Cheung) #50156db2a1cf1cb
] - doc: fixnavigator.hardwareConcurrency
example (Tobias Nießen) #502786e537aeb44
] - doc: explain how to disable navigator (Geoffrey Booth) #50310c40de82d62
] - doc: add loong64 info into platform list (Shi Pujin) #500861c21a1880b
] - doc: update release process LTS step (Richard Lau) #502992473aa3672
] - doc: fix release process table of contents (Richard Lau) #50216ce9d84eae3
] - doc: update apistream.compose
(Alex Yang) #50206dacee4d9b5
] - doc: add ReflectConstruct to known perf issues (Vinicius Lourenço) #5011182363be2ac
] - doc: fix typo in dgram docs (Peter Johnson) #502118c1a46c751
] - doc: fix H4ad collaborator sort (Vinicius Lourenço) #502183729e33358
] - doc: add H4ad to collaborators (Vinícius Lourenço) #50217bac872cbd0
] - doc: update release-stewards with last sec-release (Rafael Gonzaga) #5017906b7724f14
] - doc: add command to keep major branch sync (Rafael Gonzaga) #5010247633ab086
] - doc: add loong64 to list of architectures (Shi Pujin) #501721f40ca1b91
] - doc: update security release process (Michael Dawson) #50166998feda118
] - esm: do not give wrong hints when detecting file format (Antoine du Hamel) #50314e375063e01
] - (SEMVER-MINOR) esm: detect ESM syntax in ambiguous JavaScript (Geoffrey Booth) #50096c76eb27971
] - esm: improve check for ESM syntax (Geoffrey Booth) #501277740bf820c
] - esm: rename error code related to import attributes (Antoine du Hamel) #501810cc176ef25
] - fs: improve error performance forreadSync
(Jungku Lee) #500335942edb774
] - fs: improve error performance forfsyncSync
(Jungku Lee) #498806ec5abadc0
] - fs: improve error performance formkdirSync
(CanadaHonk) #49847c5ff000cb1
] - fs: improve error performance ofrealpathSync
(Yagiz Nizipli) #499626eeaa02f5c
] - fs: improve error performance oflchownSync
(Yagiz Nizipli) #49962dc9ac8d41c
] - fs: improve error performance ofsymlinkSync
(Yagiz Nizipli) #49962bc6f279261
] - fs: improve error performance ofreadlinkSync
(Yagiz Nizipli) #49962275987841e
] - fs: improve error performance ofmkdtempSync
(Yagiz Nizipli) #4996281f15274e2
] - fs: improve error performance oflinkSync
(Yagiz Nizipli) #49962f766c04856
] - fs: improve error performance ofchownSync
(Yagiz Nizipli) #49962610036c67d
] - fs: improve error performance ofrenameSync
(Yagiz Nizipli) #4996218862e4d5d
] - (SEMVER-MINOR) fs: add flush option to appendFile() functions (Colin Ihrig) #500953f8cbb15cb
] - http2: allow streams to complete gracefully after goaway (Michael Lumish) #502021464eba1a0
] - lib: improve performance of validateStringArray and validateBooleanArray (Aras Abbasi) #497565a52c518ef
] - (SEMVER-MINOR) lib: addnavigator.userAgent
(Yagiz Nizipli) #50200b6021ab8f6
] - lib: reduce overhead of blob clone (Vinicius Lourenço) #50110be19d9baa1
] - meta: move Trott to TSC regular member (Rich Trott) #5029791e373f8e9
] - node-api: return napi_exception_pending on proxy handlers (Chengzhong Wu) #48607531a3ae4b5
] - stream: simplify prefinish (Robert Nagy) #50204514ac86579
] - stream: reduce scope of readable bitmap details (Robert Nagy) #49963789372a072
] - (SEMVER-MINOR) stream: allow pass stream class tostream.compose
(Alex Yang) #50187f3a9ea0bc4
] - stream: call helper function from push and unshift (Raz Luvaton) #50173a9ca7b32e7
] - test: improve watch mode test (Moshe Atlow) #5031963b7059efd
] - test: settest-watch-mode-inspect
as flaky (Yagiz Nizipli) #502597f87084b05
] - Revert "test: settest-esm-loader-resolve-type
as flaky" (Antoine du Hamel) #503154d390e2de4
] - test: replace forEach with for..of in test-http-perf_hooks.js (Niya Shiyas) #4981867c599ec39
] - test: replace forEach with for..of in test-net-isipv4.js (Niya Shiyas) #4982219d3ce2494
] - test: deflaketest-esm-loader-resolve-type
(Antoine du Hamel) #502732d8d6c5701
] - test: replace forEach with for..of in test-http2-server (Niya Shiyas) #49819af31d51e5a
] - test: replace forEach with for..of in test-http2-client-destroy.js (Niya Shiyas) #49820465ad2a5ce
] - test: updateurl
web platform tests (Yagiz Nizipli) #502643b80a6894c
] - test: settest-emit-after-on-destroyed
as flaky (Yagiz Nizipli) #5024657adbdd156
] - test: set inspector async stack test as flaky (Yagiz Nizipli) #502446507f66404
] - test: set test-worker-nearheaplimit-deadlock flaky (StefanStojanovic) #5027721a6ba548d
] - test: settest-cli-node-options
as flaky (Yagiz Nizipli) #50296c55f8f30cb
] - test: reduce the number of requests and parsers (Luigi Pinca) #502405129bedfa2
] - test: set crypto-timing test as flaky (Yagiz Nizipli) #502329bc5ab5e07
] - test: settest-structuredclone-*
as flaky (Yagiz Nizipli) #50261317e447ddc
] - test: deflaketest-loaders-workers-spawned
(Antoine du Hamel) #502510c710daae2
] - test: improve code coverage of diagnostics_channel (Jithil P Ponnan) #500537c6e4d7ec3
] - test: settest-esm-loader-resolve-type
as flaky (Yagiz Nizipli) #50226c8744909b0
] - test: set inspector async hook test as flaky (Yagiz Nizipli) #502523e38001739
] - test: skip test-benchmark-os.js on IBM i (Abdirahim Musse) #50208dd66fdfb7b
] - test: set parallel http server test as flaky (Yagiz Nizipli) #50227a38d1311bf
] - test: set test-worker-nearheaplimit-deadlock flaky (Stefan Stojanovic) #502388efb75fd80
] - test: settest-runner-watch-mode
as flaky (Yagiz Nizipli) #50221143ddded74
] - test: set sea snapshot tests as flaky (Yagiz Nizipli) #50223ae905a8f35
] - test: fix defect path traversal tests (Tobias Nießen) #50124ce27ee701b
] - tls: reduce TLS 'close' event listener warnings (Tim Perry) #50136ab4bae8e1f
] - tools: drop support for osx notarization with gon (Ulises Gascón) #502915df3d5abcc
] - tools: update comment inupdate-uncidi.sh
andacorn_version.h
(Jungku Lee) #50175bf7b94f0b3
] - tools: refactor checkimports.py (Mohammed Keyvanzadeh) #500115dc454a837
] - util: remove internal mime fns from benchmarks (Aras Abbasi) #502018f7eb15603
] - vm: use import attributes instead of import assertions (Antoine du Hamel) #50141dda33c2bf1
] - vm: reject in importModuleDynamically without --experimental-vm-modules (Joyee Cheung) #501373999362c59
] - vm: use internal versions of compileFunction and Script (Joyee Cheung) #50137a54179f0e0
] - vm: unify host-defined option generation in vm.compileFunction (Joyee Cheung) #5013787be790fa9
] - worker: handle detachedMessagePort
from a different context (Juan José) #49150v21.0.0
: 2023-10-17, Version 21.0.0 (Current), @RafaelGSS and @targosCompare Source
We're excited to announce the release of Node.js 21! Highlights include updates of the V8 JavaScript engine to 11.8,
stable
fetch
andWebStreams
, a new experimental flag to change the interpretation of ambiguous codefrom CommonJS to ES modules (
--experimental-default-type
), many updates to our test runner, and more!Node.js 21 will replace Node.js 20 as our ‘Current’ release line when Node.js 20 enters long-term support (LTS) later this month.
As per the release schedule, Node.js 21 will be ‘Current' release for the next 6 months, until April 2024.
Other Notable Changes
740ca5423a
] - doc: promote fetch/webstreams from experimental to stable (Steven) #4568485301803e1
] - esm: --experimental-default-type flag to flip module defaults (Geoffrey Booth) #49869705e623ac4
] - esm: removeglobalPreload
hook (superseded byinitialize
) (Jacob Smith) #49144e01c1d700d
] - fs: add flush option to writeFile() functions (Colin Ihrig) #500091948dce707
] - (SEMVER-MAJOR) fs: add globSync implementation (Moshe Atlow) #47653e28dbe1c2b
] - (SEMVER-MINOR) lib: add WebSocket client (Matthew Aitken) #4983095b8f5dcab
] - stream: optimize Writable (Robert Nagy) #500127cd4e70948
] - (SEMVER-MAJOR) test_runner: support passing globs (Moshe Atlow) #476531d220b55ac
] - vm: use default HDO when importModuleDynamically is not set (Joyee Cheung) #49950Semver-Major Commits
ac2a68c76b
] - (SEMVER-MAJOR) build: drop support for Visual Studio 2019 (Michaël Zasso) #490514e3983031a
] - (SEMVER-MAJOR) build: bump supported macOS and Xcode versions (Michaël Zasso) #491645a0777776d
] - (SEMVER-MAJOR) crypto: do not overwrite _writableState.defaultEncoding (Tobias Nießen) #49140162a0652ab
] - (SEMVER-MAJOR) deps: bump minimum ICU version to 73 (Michaël Zasso) #4963917a74ddd3d
] - (SEMVER-MAJOR) deps: update V8 to 11.8.172.13 (Michaël Zasso) #49639e9ff81016d
] - (SEMVER-MAJOR) deps: update llhttp to 9.1.2 (Paolo Insogna) #489817ace5aba75
] - (SEMVER-MAJOR) events: validate options ofon
andonce
(Deokjin Kim) #46018b3ec13d449
] - (SEMVER-MAJOR) fs: adjustposition
validation in reading methods (Livia Medeiros) #428351948dce707
] - (SEMVER-MAJOR) fs: add globSync implementation (Moshe Atlow) #47653d68d0eacaa
] - (SEMVER-MAJOR) http: reduce parts in chunked response when corking (Robert Nagy) #50167c5b0b894ed
] - (SEMVER-MAJOR) lib: mark URL/URLSearchParams as uncloneable and untransferable (Chengzhong Wu) #474973205b1936a
] - (SEMVER-MAJOR) lib: remove aix directory case for package reader (Yagiz Nizipli) #48605b40f0c3074
] - (SEMVER-MAJOR) lib: addnavigator.hardwareConcurrency
(Yagiz Nizipli) #477694b08c4c047
] - (SEMVER-MAJOR) lib: runtime deprecate punycode (Yagiz Nizipli) #472023ce51ae9c0
] - (SEMVER-MAJOR) module: harmonize error code between ESM and CJS (Antoine du Hamel) #486067202859402
] - (SEMVER-MAJOR) net: do not treatserver.maxConnections=0
asInfinity
(ignoramous) #48276c15bafdaf4
] - (SEMVER-MAJOR) net: only defer _final call when connecting (Jason Zhang) #473856ffacbf0f9
] - (SEMVER-MAJOR) node-api: rename internal NAPI_VERSION definition (Chengzhong Wu) #4850111af089b14
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 120 (Michaël Zasso) #49639d920b7c94b
] - (SEMVER-MAJOR) src: throw DOMException on cloning non-serializable objects (Chengzhong Wu) #4783964549731b6
] - (SEMVER-MAJOR) src: throw DataCloneError on transfering untransferable objects (Chengzhong Wu) #47604dac8de689b
] - (SEMVER-MAJOR) stream: use private properties for strategies (Yagiz Nizipli) #472181fa084ecdf
] - (SEMVER-MAJOR) stream: use private properties for encoding (Yagiz Nizipli) #472184e93247079
] - (SEMVER-MAJOR) stream: use private properties for compression (Yagiz Nizipli) #47218527589b755
] - (SEMVER-MAJOR) test_runner: disallow array inrun
options (Raz Luvaton) #499357cd4e70948
] - (SEMVER-MAJOR) test_runner: support passing globs (Moshe Atlow) #476532ef170254b
] - (SEMVER-MAJOR) tls: usevalidateNumber
foroptions.minDHSize
(Deokjin Kim) #49973092fb9f541
] - (SEMVER-MAJOR) tls: use validateFunction foroptions.checkServerIdentity
(Deokjin Kim) #49896ccca547e28
] - (SEMVER-MAJOR) util: runtime deprecatepromisify
-ing a function returning aPromise
(Antoine du Hamel) #496094038cf0513
] - (SEMVER-MAJOR) vm: freezedependencySpecifiers
array (Antoine du Hamel) #49720Semver-Minor Commits
3227d7327c
] - (SEMVER-MINOR) deps: update uvwasi to 0.0.19 (Node.js GitHub Bot) #49908e28dbe1c2b
] - (SEMVER-MINOR) lib: add WebSocket client (Matthew Aitken) #498309f9c58212e
] - (SEMVER-MINOR) test_runner, cli: add --test-concurrency flag (Colin Ihrig) #49996d37b0d267f
] - (SEMVER-MINOR) wasi: updates required for latest uvwasi version (Michael Dawson) #49908Semver-Patch Commits
33c87ec096
] - benchmark: fix race condition on fs benchs (Vinicius Lourenço) #500353c0ec61c4b
] - benchmark: add warmup to accessSync bench (Rafael Gonzaga) #500731a839f388e
] - benchmark: improved config for blob,file benchmark (Vinícius Lourenço) #4973086fe5a80f3
] - benchmark: added new benchmarks for blob (Vinícius Lourenço) #497306322d4f587
] - build: fix IBM i build with Python 3.9 (Richard Lau) #4805617c55d176b
] - build: reset embedder string to "-node.0" (Michaël Zasso) #49639f10928f926
] - crypto: use X509_ALGOR accessors instead of reaching into X509_ALGOR (David Benjamin) #50057136a96722a
] - crypto: account for disabled SharedArrayBuffer (Shelley Vohr) #5003417b9925393
] - crypto: return clear errors when loading invalid PFX data (Tim Perry) #49566ca25d564c6
] - deps: upgrade npm to 10.2.0 (npm team) #50027f23a9353ae
] - deps: update corepack to 0.21.0 (Node.js GitHub Bot) #50088ceedb3a509
] - deps: update simdutf to 3.2.18 (Node.js GitHub Bot) #500910522ac086c
] - deps: update zlib to 1.2.13.1-motley-fef5869 (Node.js GitHub Bot) #500854f8c5829da
] - deps: update googletest to2dd1c13
(Node.js GitHub Bot) #50081588784ea30
] - deps: update undici to 5.25.4 (Node.js GitHub Bot) #50025c9eef0c3c4
] - deps: update googletest toe47544a
(Node.js GitHub Bot) #4998223cb478398
] - deps: update ada to 2.6.10 (Node.js GitHub Bot) #4998461411bb323
] - deps: fix call to undeclared functions 'ntohl' and 'htons' (MatteoBax) #4997949cf182e30
] - deps: update ada to 2.6.9 (Node.js GitHub Bot) #49340ceb6df0f22
] - deps: update ada to 2.6.8 (Node.js GitHub Bot) #49340b73e18b5dc
] - deps: update ada to 2.6.7 (Node.js GitHub Bot) #49340baf2256617
] - deps: update ada to 2.6.5 (Node.js GitHub Bot) #49340a20a328a9b
] - deps: update ada to 2.6.3 (Node.js GitHub Bot) #493403838b579e4
] - deps: V8: cherry-pick8ec2651
(Abdirahim Musse) #49862668437ccad
] - deps: V8: cherry-pickb60a03d
(Joyee Cheung) #49491f970087147
] - deps: V8: backport93b1a74
(Joyee Cheung) #494194531c154e5
] - deps: V8: cherry-pick8ec2651
(Michaël Zasso) #496399ad0e2cacc
] - deps: V8: cherry-pick89b3702
(Michaël Zasso) #49639dfc9c86868
] - deps: V8: cherry-pickde9a5de
(Michaël Zasso) #49639186b36efba
] - deps: V8: cherry-pickb5b5d6c
(Michaël Zasso) #49639867586ce95
] - deps: V8: cherry-pick93b1a74
(Michaël Zasso) #496394ad3479ba7
] - deps: V8: cherry-pick1a3ecc2
(Michaël Zasso) #49639660f902f16
] - deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #49639f7c1d410ad
] - deps: remove usage of a C++20 feature from V8 (Michaël Zasso) #496399c4030bfb9
] - deps: avoid compilation error with ASan (Michaël Zasso) #496395f05cc15e6
] - deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #4963942cd952dbd
] - deps: silence irrelevant V8 warning (Michaël Zasso) #4963988cf90f9c4
] - deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #496398609915951
] - doc: improve ccache explanation (Chengzhong Wu) #5013391d21324a9
] - doc: move danielleadams to TSC non-voting member (Danielle Adams) #5014234fa7043a2
] - doc: fix description offs.readdir
recursive
option (RamdohokarAngha) #4890281e4d2ec2f
] - doc: mention files read before env setup (Rafael Gonzaga) #500720ce37ed8e9
] - doc: move permission model to Active Development (Rafael Gonzaga) #500683c430212c3
] - doc: add command to get patch minors and majors (Rafael Gonzaga) #50067e43bf4c31d
] - doc: use precise promise terminology in fs (Benjamin Gruenbaum) #50029d3a5f1fb5f
] - doc: use precise terminology in test runner (Benjamin Gruenbaum) #5002824dea2348d
] - doc: clarify explaination text on how to run the example (Anshul Sinha) #39020f3ed57bd8b
] - doc: reserve 119 for Electron 28 (David Sanders) #5002085c09f178c
] - doc: update Collaborator pronouns (Tierney Cyren) #50005099e2f7bce
] - doc: update link to Abstract Modules Records spec (Rich Trott) #4996147b2883673
] - doc: updated building docs for windows (Claudio W) #497677b624c30b2
] - doc: update CHANGELOG_V20 about vm fixes (Joyee Cheung) #499511dc0667aa6
] - doc: document dangerous symlink behavior (Tobias Nießen) #49154bc056c2426
] - doc: add main ARIA landmark to API docs (Rich Trott) #49882f416a0f555
] - doc: add navigation ARIA landmark to doc ToC (Rich Trott) #49882740ca5423a
] - doc: promote fetch/webstreams from experimental to stable (Steven) #45684f802aa0645
] - doc: fix 'partial' typo (Colin Ihrig) #486576fda81d4f5
] - doc: mentionNavigator
is a partial implementation (Moshe Atlow) #486566aa2aeedcb
] - doc: mark Node.js 19 as End-of-Life (Richard Lau) #482830ee9c83ffc
] - errors: improve performance of determine-specific-type (Aras Abbasi) #496964f84a3d200
] - errors: improve formatList in errors.js (Aras Abbasi) #49642cc725a653a
] - errors: improve performance of instantiation (Aras Abbasi) #49654d1ef6aa2db
] - esm: use import attributes instead of import assertions (Antoine du Hamel) #5014019b470f866
] - esm: bypass CommonJS loader under --default-type (Geoffrey Booth) #499869c683204db
] - esm: unflag extensionless javascript and wasm in module scope (Geoffrey Booth) #4997405be31d5de
] - esm: improvegetFormatOfExtensionlessFile
speed (Yagiz Nizipli) #49965aadfea4979
] - esm: improve JSDoc annotation of internal functions (Antoine du Hamel) #499597f0e36af52
] - esm: fix cache collision on JSON files using file: URL (Antoine du Hamel) #4988785301803e1
] - esm: --experimental-default-type flag to flip module defaults (Geoffrey Booth) #49869f42a103991
] - esm: require braces for modules code (Geoffrey Booth) #49657705e623ac4
] - esm: removeglobalPreload
hook (superseded byinitialize
) (Jacob Smith) #4914418a818744f
] - fs: improve error performance ofreaddirSync
(Yagiz Nizipli) #50131d3985296a9
] - fs: fixunlinkSync
typings (Yagiz Nizipli) #498596bc7fa7906
] - fs: improve error perf of syncchmod
+fchmod
(CanadaHonk) #498596bd77db41f
] - fs: improve error perf of sync*times
(CanadaHonk) #49864bf0f0789da
] - fs: improve error performance of writevSync (IlyasShabi) #500388a49735bae
] - fs: add flush option to createWriteStream() (Colin Ihrig) #50093ed49722a8a
] - fs: improve error performance forftruncateSync
(André Alves) #50032e01c1d700d
] - fs: add flush option to writeFile() functions (Colin Ihrig) #50009f7a160d5b4
] - fs: improve error performance forfdatasyncSync
(Jungku Lee) #49898813713f211
] - fs: throw errors from sync branches instead of separate implementations (Joyee Cheung) #49913b866e38192
] - http: refactor to make servername option normalization testable (Rongjian Zhang) #387332990390359
] - inspector: simplify dispatchProtocolMessage (Daniel Lemire) #49780d4c5fe488e
] - lib: fix compileFunction throws range error for negative numbers (Jithil P Ponnan) #49855589ac5004c
] - lib: faster internal createBlob (Vinícius Lourenço) #49730952cf0d17a
] - lib: reduce overhead of validateObject (Vinicius Lourenço) #49928fa250fdec1
] - lib: make fetch sync and return a Promise (Matthew Aitken) #499361b96975f27
] - lib: fixprimordials
typings (Sam Verschueren) #498956aa7101960
] - lib: update params in jsdoc forHTTPRequestOptions
(Jungku Lee) #49872a4fdb1abe0
] - lib,test: do not hardcode Buffer.kMaxLength (Michaël Zasso) #49876fd21429ef5
] - lib: update usage of always on Atomics API (Michaël Zasso) #49639bac85be22d
] - meta: ping TSC for offboarding (Tobias Nießen) #50147609b13e6c2
] - meta: bump actions/upload-artifact from 3.1.2 to 3.1.3 (dependabot[bot]) #500003825464ef4
] - meta: bump actions/cache from 3.3.1 to 3.3.2 (dependabot[bot]) #5000349f0f9ca11
] - meta: bump github/codeql-action from 2.21.5 to 2.21.9 (dependabot[bot]) #50002f156427244
] - meta: bump actions/checkout from 3.6.0 to 4.1.0 (dependabot[bot]) #500010fe673c7e6
] - meta: update website team with new name (Rich Trott) #4988351f4ff2450
] - module: move helpers out of cjs loader (Geoffrey Booth) #499127517c9f95b
] - module, esm: jsdoc for modules files (Geoffrey Booth) #49523b55adfb4f1
] - node-api: update headers for better wasm support (Toyo Li) #49037b38e312486
] - node-api: run finalizers directly from GC (Vladimir Morozov) #426510f0dd1a493
] - os: cache homedir, remove getCheckedFunction (Aras Abbasi) #500370e507d30ac
] - perf_hooks: reduce overhead of new user timings (Vinicius Lourenço) #49914328bdac7f0
] - perf_hooks: reducing overhead of performance observer entry list (Vinicius Lourenço) #50008e6e320ecc7
] - perf_hooks: reduce overhead of new resource timings (Vinicius Lourenço) #49837971af4b211
] - quic: fix up coverity warning in quic/session.cc (Michael Dawson) #49865546797f2b1
] - quic: prevent copying ngtcp2_cid (Tobias Nießen) #48561ac6f594c97
] - quic: address new coverity warning (Michael Dawson) #483844ee8ef269b
] - quic: prevent copying ngtcp2_cid_token (Tobias Nießen) #483706d2811fbf2
] - quic: add additional implementation (James M Snell) #479270b3fcfcf35
] - quic: fix typo in endpoint.h (Tobias Nießen) #4791176044c4e2b
] - quic: add additional QUIC implementation (James M Snell) #4760378a15702dd
] - src: avoid making JSTransferable wrapper object weak (Chengzhong Wu) #50026387e2929fe
] - src: generate default snapshot with --predictable (Joyee Cheung) #487491643adf771
] - src: fix TLSWrap lifetime bug in ALPN callback (Ben Noordhuis) #4963566776d8665
] - src: set port in node_options to uint16_t (Yagiz Nizipli) #4915155ff64001a
] - src: name scoped lock (Mohammed Keyvanzadeh) #50010b903a710f4
] - src: use exact return value foruv_os_getenv
(Yagiz Nizipli) #4914943500fa646
] - src: move const variable innode_file.h
tonode_file.cc
(Jungku Lee) #4968836ab510da7
] - src: remove unused variable (Michaël Zasso) #4966523d65e7281
] - src: revertIS_RELEASE
to 0 (Rafael Gonzaga) #4908438dee8a1c0
] - src: distinguish HTML transferable and cloneable (Chengzhong Wu) #47956586fcff061
] - src: fix logically dead code reported by Coverity (Mohammed Keyvanzadeh) #485897f2c810814
] - src,tools: initialize cppgc (Daryl Haresign) #45704aad8002b88
] - stream: use private symbol for bitmap state (Robert Nagy) #49993a85e4186e5
] - stream: reduce overhead of transfer (Vinicius Lourenço) #50107e9bda11761
] - stream: lazy allocate back pressure buffer (Robert Nagy) #50013557044af40
] - stream: avoid unnecessary drain for sync stream (Robert Nagy) #5001495b8f5dcab
] - stream: optimize Writable (Robert Nagy) #500125de25deeb9
] - stream: avoid tick in writable hot path (Robert Nagy) #4996653b5545672
] - stream: writable state bitmap (Robert Nagy) #49899d4e99b1a66
] - stream: remove asIndexedPairs (Chemi Atlow) #4815041e4174945
] - test: replace forEach with for..of in test-net-isipv6.js (Niya Shiyas) #49823f0e720a7fa
] - test: add EOVERFLOW as an allowed error (Abdirahim Musse) #50128224f3ae974
] - test: reduce number of repetition in test-heapdump-shadowrealm.js (Chengzhong Wu) #5010476004f3e56
] - test: replace forEach with for..of in test-parse-args.mjs (Niya Shiyas) #49824fce8fbadcd
] - test: replace forEach with for..of in test-process-env (Niya Shiyas) #4982524492476a7
] - test: replace forEach with for..of in test-http-url (Niya Shiyas) #498402fe511ba23
] - test: replace forEach() in test-net-perf_hooks with for of (Narcisa Codreanu) #4983142c37f28e6
] - test: change forEach to for...of (Tiffany Lastimosa) #497996c9625dca4
] - test: update skip for movedtest-wasm-web-api
(Richard Lau) #49958f05d6d090c
] - Revert "test: mark test-runner-output as flaky" (Luigi Pinca) #49905035e06317a
] - test: disambiguate AIX and IBM i (Richard Lau) #480564d0aeed4a6
] - test: deflake test-perf-hooks.js (Joyee Cheung) #49892853f57239c
] - test: migrate message error tests from Python to JS (Yiyun Lei) #49721a71e3a65bb
] - test: fix edge snapshot stack traces (Geoffrey Booth) #496596b76b7782c
] - test: skip v8-updates/test-linux-perf (Michaël Zasso) #49639c13c98dd38
] - test: skip test-tick-processor-arguments on SmartOS (Michaël Zasso) #49639738aa304b3
] - test: adapt REPL test to V8 changes (Michaël Zasso) #49639de5c009252
] - test: adapt test-fs-write to V8 internal changes (Michaël Zasso) #496398c36168b42
] - test: update flag to disable SharedArrayBuffer (Michaël Zasso) #496396ccb15f7ef
] - test: adapt debugger tests to V8 11.4 (Philip Pfaffe) #49639c5de3b49e8
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #500394b35a9cfda
] - test_runner: add test location for FileTests (Colin Ihrig) #49999c935d4c8fa
] - test_runner: replace spurious if with else (Colin Ihrig) #49943a4c7f81241
] - test_runner: catch reporter errors (Moshe Atlow) #49646bb52656fc6
] - Revert "test_runner: run global after() hook earlier" (Joyee Cheung) #491106346bdc526
] - test_runner: run global after() hook earlier (Colin Ihrig) #490590d8faf2952
] - test_runner,test: fix flaky test-runner-cli-concurrency.js (Colin Ihrig) #50108b1ada0ad55
] - tls: handle cases where the raw socket is destroyed (Luigi Pinca) #49980fae1af0a75
] - tls: ciphers allow bang syntax (Chemi Atlow) #49712766198b9e1
] - tools: fix comments referencing dep_updaters scripts (Keksonoid) #50165760b5dd259
] - tools: remove no-return-await lint rule (翠 / green) #50118a0a5b751fb
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #5008369fb55e6b9
] - tools: update eslint to 8.51.0 (Node.js GitHub Bot) #50084f73650ea52
] - tools: remove genv8constants.py (Ben Noordhuis) #50023581434e54f
] - tools: update eslint to 8.50.0 (Node.js GitHub Bot) #49989344d3c4b7c
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #499837f06c270c6
] - tools: add navigation ARIA landmark to generated API ToC (Rich Trott) #49882e97d25687b
] - tools: use osx notarytool for future releases (Ulises Gascon) #487013f1936f698
] - tools: update github_reporter to 1.5.3 (Node.js GitHub Bot) #498778568de3da6
] - tools: add new V8 headers to distribution (Michaël Zasso) #4963986cb23d09f
] - tools: update V8 gypfiles for 11.8 (Michaël Zasso) #496399c6219c7e2
] - tools: update V8 gypfiles for 11.7 (Michaël Zasso) #4963973ddf50163
] - tools: update V8 gypfiles for 11.6 (Michaël Zasso) #49639817ef255ea
] - tools: update V8 gypfiles for 11.5 (Michaël Zasso) #49639f34a3a9861
] - tools: update V8 gypfiles for 11.4 (Michaël Zasso) #496399df864ddeb
] - typings: useSymbol.dispose
andSymbol.asyncDispose
in types (Niklas Mollenhauer) #5012354bb691c0b
] - util: lazy parse mime parameters (Aras Abbasi) #498891d220b55ac
] - vm: use default HDO when importModuleDynamically is not set (Joyee Cheung) #49950c1a3a98560
] - wasi: address coverity warning (Michael Dawson) #498669cb8eb7177
] - wasi: fix up wasi tests for ibmi (Michael Dawson) #4995316ac5e1ca8
] - zlib: fix discovery of cpu-features.h for android (MatteoBax) #49828Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
baaf9cee98
to69a160e1f7
69a160e1f7
tob739f42817
b739f42817
to6b22e89723
6b22e89723
to7b8b1ae06e
7b8b1ae06e
to41c0c07e0f
41c0c07e0f
to74f542bfa7
74f542bfa7
to0961ed421d
0961ed421d
toa1448d8f1e
a1448d8f1e
to228fc50ed5
228fc50ed5
to8875becb6c
8875becb6c
to9a910b7e8d
9a910b7e8d
to69859a5e63
69859a5e63
to22137bc409
22137bc409
toc629790c9f
c629790c9f
tofe74dff98f
fe74dff98f
to90defe89dc
90defe89dc
to2a297f107e
2a297f107e
to7edf44dfd4
7edf44dfd4
toacce1b784f
acce1b784f
to8d8cded2b6
8d8cded2b6
to6bce7718eb
6bce7718eb
to6949d27ab8
6949d27ab8
to397c26293b
397c26293b
to5ea555819c
5ea555819c
to48948ba1e2
48948ba1e2
toed3a849274
ed3a849274
todbdd16cf9c
dbdd16cf9c
to77bd0b7181
77bd0b7181
to03c20b4cf8
03c20b4cf8
to78b54b6f95
78b54b6f95
to747038199d
747038199d
to5e699e61c2
5e699e61c2
tof6b9f24e20
f6b9f24e20
to6ed48ba14b
6ed48ba14b
to6e03022bd0
6e03022bd0
to824def9a0f
824def9a0f
to11375c695a
11375c695a
to30b6306474
30b6306474
to676d04f763
676d04f763
todfecc6ecf4
4aa4a76923
to35e98cb75c
35e98cb75c
to7503da5aa2
7503da5aa2
tof4c2e933f5
f4c2e933f5
tob4db648284
b4db648284
toefd5663667
efd5663667
to3b4b678e6f
3b4b678e6f
to6187e93066
6187e93066
to885a522c1b
885a522c1b
to7cbd5d4115
7cbd5d4115
to1ed0b0db90
1ed0b0db90
to733fb3c8db
733fb3c8db
to2b62568377
2b62568377
toe8e4b52d80
e8e4b52d80
to8e77140397
8e77140397
to9d7b325bf2
9d7b325bf2
to9add295a5e
9add295a5e
to24ced1200d
24ced1200d
toa815cc6409
a815cc6409
to793719f305
793719f305
to406f7e68a9
406f7e68a9
toba4109b583
ba4109b583
to85436a50a6
85436a50a6
to6ffe9c7c16
6ffe9c7c16
tof5b2052b59
f5b2052b59
to6f25bb68f3
6f25bb68f3
to136ba8bd7b
136ba8bd7b
toa753cc2b38
a753cc2b38
to00f7dbbbdc
00f7dbbbdc
tobb6e508a1d
bb6e508a1d
toa672b02478
a672b02478
to9ccec9c43f
9ccec9c43f
to92d87a6deb
92d87a6deb
to44e8ead2c7
44e8ead2c7
tof8618e96a4
f8618e96a4
toe4fa877ad8
e4fa877ad8
toa9cfe3d790
a9cfe3d790
to8e59e84877
8e59e84877
tof562a85888
f562a85888
to07924340f6
07924340f6
to79e946b70d
79e946b70d
to296a47951d
296a47951d
toaefc101d02
aefc101d02
tof90948455c
f90948455c
tobfb0e2d610
bfb0e2d610
tocc368299db
cc368299db
toee2a00eb00
ee2a00eb00
to4f0f3a9e62
4f0f3a9e62
to0661d0a20c
0661d0a20c
tod96a14da25
d96a14da25
toc49a249cfd
c49a249cfd
to9d600c6ed5
Update Node.js to v21to Update node Docker tag to v21Update node Docker tag to v21to Update Node.js to v219d600c6ed5
to24865d8daa
24865d8daa
to63a67593cf
63a67593cf
toc68e1cf309
c68e1cf309
to6f00843f80
6f00843f80
tofaddd2b6e1
faddd2b6e1
to5892dd3c44
5892dd3c44
to0682c7cbed
0682c7cbed
to942f1642c8
942f1642c8
toc2e198d446
c2e198d446
to2234341594
2234341594
to3bbcaea6ee
3bbcaea6ee
to3f8c1b9d11
3f8c1b9d11
tob07b612c4b
b07b612c4b
to27e36d7a17
27e36d7a17
to2fc8f0bf25
2fc8f0bf25
to213f0c88c3
213f0c88c3
tod8eeb52d4a
d8eeb52d4a
tob88632e7b7
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.