chore(deps): update node.js to v22 #9
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/node-22.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.6.0
->22.12.0
^20.12.7
->^22.0.0
Release Notes
nodejs/node (node)
v22.12.0
: 2024-12-03, Version 22.12.0 'Jod' (LTS), @ruyadornoCompare Source
Notable Changes
require(esm) is now enabled by default
Support for loading native ES modules using require() had been available on v20.x and v22.x under the command line flag --experimental-require-module, and available by default on v23.x. In this release, it is now no longer behind a flag on v22.x.
This feature is still experimental, and we are looking for user feedback to make more final tweaks before fully stabilizing it. For this reason, on v22.x, when the Node.js instance encounters a native ES module in require() for the first time, it will emit an experimental warning unless
require()
comes from a path that containsnode_modules
. If there happens to be any regressions caused by this feature, users can report it to the Node.js issue tracker. Meanwhile this feature can also be disabled using--no-experimental-require-module
as a workaround.With this feature enabled, Node.js will no longer throw
ERR_REQUIRE_ESM
ifrequire()
is used to load a ES module. It can, however, throwERR_REQUIRE_ASYNC_MODULE
if the ES module being loaded or its dependencies contain top-levelawait
. When the ES module is loaded successfully byrequire()
, the returned object will either be a ES module namespace object similar to what's returned byimport()
, or what gets exported as"module.exports"
in the ES module.Users can check
process.features.require_module
to see whetherrequire(esm)
is enabled in the current Node.js instance. For packages, the"module-sync"
exports condition can be used as a way to detectrequire(esm)
support in the current Node.js instance and allow bothrequire()
andimport
to load the same native ES module. See the documentation for more details about this feature.Contributed by Joyee Cheung in #55085
Added resizable
ArrayBuffer
support inBuffer
When a
Buffer
is created using a resizableArrayBuffer
, theBuffer
length will now correctly change as the underlyingArrayBuffer
size is changed.Contributed by James Snell in #55377
Update root certificates to NSS 3.104
This is the version of NSS that shipped in Firefox 131.0 on 2024-10-01.
Certificates added:
Contributed by Richard Lau in #55681
Other Notable Changes
4920869935
] - (SEMVER-MINOR) assert: make assertion_error use Myers diff algorithm (Giovanni Bucci) #54862ccffd3b819
] - doc: enforce strict policy to semver-major releases (Rafael Gonzaga) #55732acc6806900
] - doc: add jazelly to collaborators (Jason Zhang) #5553188d91e8bc2
] - esm: mark import attributes and JSON module as stable (Nicolò Ribaudo) #5533398bfc7dce5
] - (SEMVER-MINOR) http: add diagnostic channelhttp.client.request.created
(Marco Ippolito) #55586337f61fb25
] - (SEMVER-MINOR) lib: add UV_UDP_REUSEPORT for udp (theanarkh) #554031628c48ad6
] - (SEMVER-MINOR) net: add UV_TCP_REUSEPORT for tcp (theanarkh) #55408457e73f4c9
] - (SEMVER-MINOR) sqlite: add support for SQLite Session Extension (Bart Louwers) #54181Commits
f6885e1c68
] - assert: fix the string length check for printing the simple diff (Giovanni Bucci) #55474907484f04d
] - assert: fix deepEqual always return true on URL (Xuguang Mei) #50853301844e249
] - assert: differentiate cases wherecause
isundefined
or missing (Antoine du Hamel) #5573889ccd3e3f4
] - assert: fixdeepStrictEqual
on errors whencause
is not undefined (Edigleysson Silva (Edy)) #554064920869935
] - (SEMVER-MINOR) assert: make assertion_error use Myers diff algorithm (Giovanni Bucci) #54862c67aec368e
] - benchmark: addtest-reporters
(Aviv Keller) #5575749774cc2c0
] - benchmark: addtest_runner/mock-fn
(Aviv Keller) #557714caaeb47b2
] - benchmark: add nodeTiming.uvmetricsinfo bench (RafaelGSS) #55614cac58564a1
] - benchmark: add --runs support to run.js (Rafael Gonzaga) #551585c3ee886fc
] - benchmark: adjust byte size for buffer-copy (Rafael Gonzaga) #552956023e1bdb2
] - (SEMVER-MINOR) buffer: make Buffer work with resizable ArrayBuffer (James M Snell) #55377a6c00c2204
] - build: add create release proposal action (Rafael Gonzaga) #55690b4e413933b
] - build: implement node_use_amaro flag in GN build (Cheng) #55798d1db202d4a
] - build: apply cpp linting and formatting to ncrypto (Aviv Keller) #553628c670496da
] - build: use rclone instead of aws CLI (Michaël Zasso) #55617827e2065bd
] - build: stop pre-compilinglint-md
(Aviv Keller) #55266c3ca978d9c
] - build: fix building with system icu 76 (Michael Cho) #5556323e3287bbe
] - build: fix GN arg used in generate_config_gypi.py (Shelley Vohr) #555302b561abb0d
] - build: fix GN build for sqlite and nghttp2 (Shelley Vohr) #555297008f29d79
] - build: fix GN build for cares/uv deps (Cheng) #554776ee94a394f
] - build: fix uninstall script for AIX 7.1 (Cloorc) #55438edbbd4a374
] - build: conditionally compile bundled sqlite (Richard Lau) #554093d8e3a657c
] - build: tidy up cares.gyp (Richard Lau) #55445f0c12e8fcb
] - build: synchronize list of c-ares source files (Richard Lau) #554458daa8a62f8
] - build: fix path concatenation (Mohammed Keyvanzadeh) #5538712faf0466e
] - build: fix make errors that occur in Makefile (minkyu_kim) #55287a21be0294d
] - build,win: enable pch for clang-cl (Stefan Stojanovic) #552497ed058cd00
] - cli: add--heap-prof
flag available toNODE_OPTIONS
(Juan José) #54259c26b1bfe6a
] - crypto: allow length=0 for HKDF and PBKDF2 in SubtleCrypto.deriveBits (Filip Skokan) #55866a1201d0392
] - crypto: update root certificates to NSS 3.104 (Richard Lau) #5568120483aab7a
] - crypto: fixRSA_PKCS1_PADDING
error message (Richard Lau) #55629d345662d50
] - crypto: include openssl/rand.h explicitly (Shelley Vohr) #55425166ab3209d
] - deps: update simdutf to 5.6.1 (Node.js GitHub Bot) #55850934979e12e
] - deps: update undici to 6.21.0 (Node.js GitHub Bot) #55851af77f66424
] - deps: update c-ares to v1.34.3 (Node.js GitHub Bot) #55803948a88d2f4
] - deps: update icu to 76.1 (Node.js GitHub Bot) #55551fa4c58a983
] - deps: update acorn to 8.14.0 (Node.js GitHub Bot) #55699c91155f22e
] - deps: update sqlite to 3.47.0 (Node.js GitHub Bot) #55557d1cb7af95c
] - deps: update amaro to 0.2.0 (Node.js GitHub Bot) #55601655e5600cb
] - deps: update nghttp2 to 1.64.0 (Node.js GitHub Bot) #55559992450c469
] - deps: update acorn to 8.13.0 (Node.js GitHub Bot) #55558abd2bd4f64
] - deps: update undici to 6.20.1 (Node.js GitHub Bot) #555037dc2c2edad
] - deps: update googletest todf1544b
(Node.js GitHub Bot) #55465fa9329c024
] - deps: update c-ares to v1.34.2 (Node.js GitHub Bot) #5546341a2bcd335
] - deps: update ada to 2.9.1 (Node.js GitHub Bot) #54679a3b793defd
] - deps: update simdutf to 5.6.0 (Node.js GitHub Bot) #55379551b8f897d
] - deps: update c-ares to v1.34.1 (Node.js GitHub Bot) #5536926861eaf4e
] - Revert "deps: disable io_uring support in libuv by default" (Santiago Gimeno) #5511441c50bc15e
] - deps: update libuv to 1.49.1 (Santiago Gimeno) #5511426fcc04084
] - deps: update amaro to 0.1.9 (Node.js GitHub Bot) #553480ee6715921
] - diagnostics_channel: fix unsubscribe during publish (simon-id) #55116bf68733e7f
] - dns: stop using deprecatedares_query
(Aviv Keller) #55430ef6707eb9b
] - dns: honor the order option (Luigi Pinca) #553920f3810f3e5
] - doc: add added tag and fix typo sqlite.md (Bart Louwers) #56012d1bd0ef1b7
] - doc: remove non-working example (Antoine du Hamel) #55856824ac650ed
] - doc: addnode:sqlite
to mandatorynode:
prefix list (翠 / green) #55846b3ea42d887
] - doc: add-S
flag release preparation example (Antoine du Hamel) #558360bd5d8b9d9
] - doc: clarify UV_THREADPOOL_SIZE env var usage (Preveen P) #5583227b0236a99
] - doc: add notable-change mention to sec release (Rafael Gonzaga) #55830476075bada
] - doc: fix history info forURL.prototype.toJSON
(Antoine du Hamel) #558182743b7b1d3
] - doc: correct max-semi-space-size statement (Joe Bowbeer) #558123013870093
] - doc: update unflag info ofimport.meta.resolve
(skyclouds2001) #5581027bcd103e7
] - doc: run license-builder (github-actions[bot]) #5581372d4b30ead
] - doc: clarify triager role (Gireesh Punathil) #55775a30defe9dd
] - doc: clarify removal of experimental API does not require a deprecation (Antoine du Hamel) #55746ccffd3b819
] - doc: enforce strict policy to semver-major releases (Rafael Gonzaga) #55732b6d2a4e816
] - doc: add path aliases typescript doc (Carlos Espa) #55766a435affa11
] - doc: add esm example inpath.md
(Aviv Keller) #5574591443c2711
] - doc: consistent use of word child process (Gireesh Punathil) #5565483fb0079d4
] - doc: clarity to available addon options (Preveen P) #557156ca851457a
] - doc: update--max-semi-space-size
description (Joe Bowbeer) #55495e17fffc0ff
] - doc: brokenPerformanceObserver
code sample (Dom Harrington) #542278bd5777f0f
] - doc: add write flag when open file as the demo code's intention (robberfree) #54626f1e0e0ba55
] - doc: remove mention of ECDH-ES in crypto.diffieHellman (Filip Skokan) #556111d60b7ec97
] - doc: improve c++ embedder API doc (Gireesh Punathil) #55597bbf51d7000
] - doc: capitalize "MIT License" (Aviv Keller) #555750e69f6d123
] - doc: add suggested tsconfig for type stripping (Marco Ippolito) #5553467beb37f50
] - doc: add esm examples to node:string_decoder (Alfredo González) #55507acc6806900
] - doc: add jazelly to collaborators (Jason Zhang) #55531a6b3ed54ae
] - doc: changed the command used to verify SHASUMS256 (adriancuadrado) #554200ad7ca4f1d
] - doc: move dual package shipping docs to separate repo (Joyee Cheung) #55444e99a98ddfd
] - doc: add note about stdio streams in child_process (Ederin (Ed) Igharoro) #5532220302851a9
] - doc: addisBigIntObject
to documentation (leviscar) #5545050d983e80b
] - doc: remove outdated remarks abouthighWaterMark
in fs (Ian Kerins) #5546207c2fb2045
] - doc: move Danielle Adams key to old gpg keys (RafaelGSS) #5539941b045170d
] - doc: move Bryan English key to old gpg keys (RafaelGSS) #5539913724dcc20
] - doc: move Beth Griggs keys to old gpg keys (RafaelGSS) #553990230fb1ead
] - doc: spell out condition restrictions (Jan Martin) #5518766e41f044d
] - doc: add instructions for WinGet build (Hüseyin Açacak) #5535623d89da3f1
] - doc: add missing return values in buffer docs (Karl Horky) #552736e7b33a0ef
] - doc: fix ambasador markdown list (Rafael Gonzaga) #55361d8c552a060
] - doc: edit onboarding guide to clarify when mailmap addition is needed (Antoine du Hamel) #55334c7f82ec978
] - doc: fix the return type of outgoingMessage.setHeaders() (Jimmy Leung) #55290f1b9791694
] - doc: updaterequire(ESM)
history and stability status (Antoine du Hamel) #551999ffd2dd43b
] - doc: consolidate history table of CustomEvent (Edigleysson Silva (Edy)) #5575864fb9e6516
] - doc: add history entries for JSON modules stabilization (Antoine du Hamel) #55855ae2ae2fef1
] - esm: fix import.meta.resolve crash (Marco Ippolito) #5577715dd43dd6e
] - esm: add a fallback when importer in not a file (Antoine du Hamel) #55471aed758d270
] - esm: fix inconsistency withimportAssertion
inresolve
hook (Wei Zhu) #5536588d91e8bc2
] - esm: mark import attributes and JSON module as stable (Nicolò Ribaudo) #55333a2c8de7fba
] - events: add hasEventListener util for validate (Sunghoon) #552304f84cdc8a2
] - events: optimize EventTarget.addEventListener (Robert Nagy) #55312c17601557b
] - fs: prevent unwanteddependencyOwners
removal (Carlos Espa) #555654dd609c685
] - fs: fix bufferSize option for opendir recursive (Ethan Arrowood) #55744d695bd4c4f
] - fs: pass correct path toDirentFromStats
duringglob
(Aviv Keller) #550715357338b8e
] - fs: usewstring
on Windows paths (jazelly) #551710a7f301a36
] - http: add diagnostic channelhttp.server.response.created
(Marco Ippolito) #5562298bfc7dce5
] - (SEMVER-MINOR) http: add diagnostic channelhttp.client.request.created
(Marco Ippolito) #55586d2430ee363
] - http2: fix client async storage persistence (Orgad Shaneh) #55460753cbede2a
] - lib: remove startsWith/endsWith primordials for char checks (Gürgün Dayıoğlu) #554076e3e99c81e
] - lib: prefer logical assignment (Aviv Keller) #5504403902ebb74
] - lib: replacecreateDeferredPromise
util withPromise.withResolvers
(Yagiz Nizipli) #54836ee17fcd6f3
] - lib: prefer symbol to number in webidltype
function (Antoine du Hamel) #5573718f0f07e92
] - lib: implement webidl dictionary converter and use it in structuredClone (Jason Zhang) #55489bcead24e24
] - lib: prefer number to string in webidltype
function (Jason Zhang) #55489d48c5da039
] - lib: convert transfer sequence to array in js (Jason Zhang) #55317cefce4cbb0
] - lib: remove unnecessary optional chaining (Gürgün Dayıoğlu) #55728f2561fdeec
] - lib: usePromise.withResolvers()
in timers (Yagiz Nizipli) #55720337f61fb25
] - (SEMVER-MINOR) lib: add UV_UDP_REUSEPORT for udp (theanarkh) #554034f89059f63
] - lib: add flag to drop connection when running in cluster mode (theanarkh) #5492729f7325e73
] - lib: test_runner#mock:timers respeced timeout_max behaviour (BadKey) #5537568bcec64b8
] - lib: remove settled dependant signals when they are GCed (Edigleysson Silva (Edy)) #553543f8a5d8a28
] - meta: bump actions/setup-python from 5.2.0 to 5.3.0 (dependabot[bot]) #55688644ad5d60d
] - meta: bump actions/setup-node from 4.0.4 to 4.1.0 (dependabot[bot]) #55687334fa69c31
] - meta: bump rtCamp/action-slack-notify from 2.3.0 to 2.3.2 (dependabot[bot]) #55686fb3fa8bee2
] - meta: bump actions/upload-artifact from 4.4.0 to 4.4.3 (dependabot[bot]) #556851aca3a8289
] - meta: bump actions/cache from 4.0.2 to 4.1.2 (dependabot[bot]) #55684a6c73eb9c2
] - meta: bump actions/checkout from 4.2.0 to 4.2.2 (dependabot[bot]) #5568306445bc4e3
] - meta: bump github/codeql-action from 3.26.10 to 3.27.0 (dependabot[bot]) #5568237bafce2d8
] - meta: make review-wanted message minimal (Aviv Keller) #556074cca54b161
] - meta: show PR/issue title on review-wanted (Aviv Keller) #5560668decbf935
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #5538107fc40d823
] - meta: assign CODEOWNERS for /deps/ncrypto/* (Filip Skokan) #55426139e8f1579
] - meta: change color to blue notify review-wanted (Rafael Gonzaga) #55423c0614dc92c
] - meta: bump codecov/codecov-action from 4.5.0 to 4.6.0 (dependabot[bot]) #5522247b6c6748b
] - meta: bump github/codeql-action from 3.26.6 to 3.26.10 (dependabot[bot]) #552216c836aa97e
] - meta: bump step-security/harden-runner from 2.9.1 to 2.10.1 (dependabot[bot]) #55220c81c818a21
] - module: throw ERR_NO_TYPESCRIPT when compiled without amaro (Marco Ippolito) #55332d6d1479fcc
] - module: simplify --inspect-brk handling (Joyee Cheung) #5567991fdec3a52
] - module: fix error thrown from require(esm) hitting TLA repeatedly (Joyee Cheung) #55520cb527a925d
] - module: do not warn when require(esm) comes from node_modules (Joyee Cheung) #5596016119f206f
] - module: trim off internal stack frames for require(esm) warnings (Joyee Cheung) #5549628b5b9a57d
] - module: allow ESM that failed to be required to be re-imported (Joyee Cheung) #555026ac3400960
] - module: include module information in require(esm) warning (Joyee Cheung) #55397fcdd6167d8
] - module: check --experimental-require-module separately from detection (Joyee Cheung) #55250d8c34ced43
] - module: use kNodeModulesRE to detect node_modules (Joyee Cheung) #55243545c069eb5
] - module: support 'module.exports' interop export in require(esm) (Guy Bedford) #5456358d6871c45
] - (SEMVER-MINOR) module: unflag --experimental-require-module (Joyee Cheung) #550851628c48ad6
] - (SEMVER-MINOR) net: add UV_TCP_REUSEPORT for tcp (theanarkh) #55408a5590083cd
] - node-api: add napi_create_buffer_from_arraybuffer method (Mert Can Altin) #5450521ec855feb
] - os: improve path check with direct index access (Mert Can Altin) #554341fdaa15226
] - report: fix network queries in getReport libuv with exclude-network (Adrien Foulon) #55602457e73f4c9
] - (SEMVER-MINOR) sqlite: add support for SQLite Session Extension (Bart Louwers) #54181428701a6d8
] - sqlite: improve error handling using MaybeLocal (Tobias Nießen) #555714e5878536a
] - sqlite: add readOnly option (Tobias Nießen) #555678c35ad12de
] - sqlite: refactor open options (Tobias Nießen) #55442c3c403040a
] - sqlite: cache column names in stmt.all() (Fedor Indutny) #553736858f7a4d3
] - src: use env strings to create sqlite results (Michaël Zasso) #55785db01eaf318
] - src: improvenode:os
userInfo performance (Yagiz Nizipli) #55719383d28489d
] - src: provide workaround for container-overflow (Daniel Lemire) #555913477b6b4a5
] - src: move more key related stuff to ncrypto (James M Snell) #5536838c047e38f
] - src: refactor ECDHBitsJob signature (Filip Skokan) #55610acbb62902a
] - src: fix dns crash when failed to create NodeAresTask (theanarkh) #55521547cab9433
] - src: use NewFromUtf8Literal in NODE_DEFINE_CONSTANT (Charles Kerr) #55581231fe7b953
] - src: do not run IsWindowsBatchFile on non-windows (Yagiz Nizipli) #55560bde374ee6a
] - src: remove icu basedToASCII
andToUnicode
(Yagiz Nizipli) #551566ad23e74be
] - src: fix winapi_strerror error string (Hüseyin Açacak) #5520763bc40550b
] - src: remove uv__node_patch_is_using_io_uring (Santiago Gimeno) #551142af72a7671
] - src: implement IsInsideNodeModules() in C++ (Joyee Cheung) #55286e14fb2defb
] - src,lib: optimize nodeTiming.uvMetricsInfo (RafaelGSS) #55614e14dba3ee5
] - src,lib: introduceutil.getSystemErrorMessage(err)
(Juan José) #540758f59c41d52
] - stream: propagate AbortSignal reason (Marvin ROGER) #554737acb96362c
] - test: increase coverage ofpathToFileURL
(Antoine du Hamel) #554935861135ddb
] - test: improve test coverage for child process message sending (Juan José) #55710554d4ace2f
] - test: ensure that test priority is not higher than current priority (Livia Medeiros) #55739b0ce62a9bd
] - test: add buffer to fs_permission tests (Rafael Gonzaga) #557349d9ad81d54
] - test: improve test coverage forServerResponse
(Juan José) #55711273f84e01c
] - test: updateperformance-timeline
wpt (RedYetiDev) #5519789c9c46185
] - test: ignore unrelated events in FW watch tests (Carlos Espa) #55605fc69080669
] - test: refactor some esm tests (Antoine du Hamel) #55472a80c166733
] - test: split up test-runner-mock-timers test (Julian Gassner) #555068c2fc11f7c
] - test: remove unneeded listeners (Luigi Pinca) #554861c5872dbde
] - test: avoidapply()
calls with large amount of elements (Livia Medeiros) #555012194eb4909
] - test: increase test coverage forhttp.OutgoingMessage.appendHeader()
(Juan José) #55467ad7e81379a
] - test: make test-node-output-v8-warning more flexible (Shelley Vohr) #554016aeeaa719b
] - test: fix addons and node-api test assumptions (Antoine du Hamel) #5544173ab14fd8f
] - test: update wpt test for webmessaging/broadcastchannel (devstone) #55205ded1b68d10
] - test: deflaketest-cluster-shared-handle-bind-privileged-port
(Aviv Keller) #553780e873c3031
] - test: updateconsole
wpt (Aviv Keller) #55192832300533b
] - test: remove duplicate tests (Luigi Pinca) #55393310a734c1b
] - test: update test_util.cc for coverage (minkyu_kim) #55291254badd480
] - test: updatecompression
wpt (Aviv Keller) #55191c52a808ac9
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55703445d117b67
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55512cd0d748ede
] - test,crypto: make crypto tests work with BoringSSL (Shelley Vohr) #554918bac7c27c8
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55427363e7d5a76
] - test_runner: error on mocking an already mocked date (Aviv Keller) #55858f41d329e98
] - test_runner: add support for scheduler.wait on mock timers (Erick Wendel) #55244b9200c33ae
] - test_runner: require--enable-source-maps
for sourcemap coverage (Aviv Keller) #55359f11d93d8ef
] - tools: enforce ordering of error codes inerrors.md
(Antoine du Hamel) #5532485ca31a90a
] - tools: bump @eslint/plugin-kit from 0.2.0 to 0.2.3 in /tools/eslint (dependabot[bot]) #55875506aac567b
] - tools: fix exclude labels for commit-queue (Richard Lau) #5580914ffac9995
] - tools: make commit-queue check blocked label (Marco Ippolito) #55781eb22ec87e6
] - tools: remove non-existent file from eslint config (Aviv Keller) #557725844565fb2
] - tools: fix c-ares updater script for Node.js 18 (Richard Lau) #557170a79ebd257
] - tools: update ESLint to 9.14.0 (dependabot[bot]) #5568912543d560a
] - tools: useutil.parseArgs
inlint-md
(Aviv Keller) #55694d95aa244c2
] - tools: fix root certificate updater (Richard Lau) #556813626891f8e
] - tools: compact jq output in daily-wpt-fyi.yml action (Filip Skokan) #5569502c902e68a
] - tools: run daily WPT.fyi report on all supported releases (Filip Skokan) #55619456b02351b
] - tools: lint README lists more strictly (Antoine du Hamel) #5562583a5983c7d
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #5547072b4a8df6a
] - tools: update gyp-next to 0.18.3 (Node.js GitHub Bot) #554646b6e6a5590
] - tools: add script to synch c-ares source lists (Richard Lau) #55445a6c444291b
] - tools: fix typos (Nathan Baulch) #55061d5e915ba5d
] - tools: addpolyfilled
option toprefer-primordials
rule (Antoine du Hamel) #55318c8e7f767b7
] - typings: add missing type ofArrayBufferPrototypeGetByteLength
(Wuli Zuo) #554396317f77942
] - url: refactorpathToFileURL
to native (Antoine du Hamel) #554765418d40256
] - url: handle "unsafe" characters properly inpathToFileURL
(Antoine du Hamel) #54545fce8c32c19
] - util: do not mark experimental feature as deprecated (Antoine du Hamel) #55740940d22ffe1
] - (SEMVER-MINOR) util: fix util.getCallSites plurality (Chengzhong Wu) #5562642ac0c2af3
] - util: do not catch on circular@@​toStringTag
errors (Aviv Keller) #55544v22.11.0
: 2024-10-29, Version 22.11.0 'Jod' (LTS), @richardlauCompare Source
Notable Changes
This release marks the transition of Node.js 22.x into Long Term Support (LTS)
with the codename 'Jod'. The 22.x release line now moves into "Active LTS"
and will remain so until October 2025. After that time, it will move into
"Maintenance" until end of life in April 2027.
Other than updating metadata, such as the
process.release
object, to reflectthat the release is LTS, no further changes from Node.js 22.10.0 are included.
OpenSSL 3.x
Official binaries for Node.js 22.x currently include OpenSSL 3.0.x (more
specifically, the quictls OpenSSL fork).
OpenSSL 3.0.x is the currently designated long term support version that is
scheduled to be supported until 7th September 2026, which is within the expected
lifetime of Node.js 22.x. We are expecting upstream OpenSSL to announce a
successor long term support version prior to that date and since OpenSSL now
follows a semantic versioning-like versioning scheme we expect to be able to
update to the next long term supported version of OpenSSL during the lifetime of
Node.js 22.x.
v22.10.0
: 2024-10-16, Version 22.10.0 (Current), @aduh95Compare Source
Notable Changes
New
"module-sync"
exports conditionThis release introduces a
"module-sync"
exports condition that's enabled whenrequire(esm)
is enabled, so packages can supply a synchronous ES module to theNode.js module loader, no matter if it's being required or imported. This is
similar to the
"module"
condition that bundlers have been using to supportrequire(esm)
in Node.js, and allows dual-package authors to opt into ESM-firstonly on newer versions of Node.js that supports
require(esm)
to avoid thedual-package hazard.
Or if the package is only meant to be run on Node.js and wants to fallback to
CJS on older versions that don't have
require(esm)
:For package authors: this only serves as a feature-detection mechanism for
packages that wish to support both CJS and ESM users during the period when some
active Node.js LTS versions support
require(esm)
while some older ones don't.When all active Node.js LTS lines support
require(esm)
, packages can simplifytheir distributions by bumping the major version, dropping their CJS exports,
and removing the
module-sync
exports condition (with onlymain
ordefault
targetting the ESM exports). If the package needs to support both bundlers and
being run unbundled on Node.js during the transition period, use both
module-sync
andmodule
and point them to the same ESM file. If the packagealready doesn't want to support older versions of Node.js that doesn't support
require(esm)
, don't use this export condition.For bundlers/tools: they should avoid implementing this stop-gap condition.
Most existing bundlers implement the de-facto bundler standard
module
exports condition, and that should be enough to support users who want to bundle
ESM from CJS consumers. Users who want both bundlers and Node.js to recognize
the ESM exports can use both
module
/module-sync
conditions during thetransition period, and can drop
module-sync
+module
when they no longer needto support older versions of Node.js. If tools do want to support this
condition, it's recommended to make the resolution rules in the graph pointed by
this condition match the Node.js native ESM rules to avoid divergence.
We ended up implementing a condition with a different name instead of reusing
"module"
, because existing code in the ecosystem using the"module"
condition sometimes also expect the module resolution for these ESM files to
work in CJS style, which is supported by bundlers, but the native Node.js loader
has intentionally made ESM resolution different from CJS resolution (e.g.
forbidding
import './noext'
orimport './directory'
), so it would bebreaking to implement a
"module"
condition without implementing the forbiddenESM resolution rules. For now, this just implements a new condition as
semver-minor so it can be backported to older LTS.
Contributed by Joyee Cheung in #54648.
node --run
is now stableThis CLI flag runs a specified command from a
package.json
's"scripts"
object.For the following
package.json
:You can run
node --run test
and that would start the test suite.Contributed by Yagiz Nizipli in #53763.
Other notable changes
f0b441230a
] - (SEMVER-MINOR) crypto: addKeyObject.prototype.toCryptoKey
(Filip Skokan) #55262349d2ed07b
] - (SEMVER-MINOR) crypto: add Date fields forvalidTo
andvalidFrom
(Andrew Moon) #54159bebc95ed58
] - doc: add abmusse to collaborators (Abdirahim Musse) #55086914db60159
] - (SEMVER-MINOR) http2: exposenghttp2_option_set_stream_reset_rate_limit
as an option (Maël Nison) #54875f7c3b03759
] - (SEMVER-MINOR) lib: propagate aborted state to dependent signals before firing events (jazelly) #5482632261fc98a
] - (SEMVER-MINOR) module: support loading entrypoint as url (RedYetiDev) #5493306957ff355
] - (SEMVER-MINOR) module: implementflushCompileCache()
(Joyee Cheung) #549712dcf70c347
] - (SEMVER-MINOR) module: throw when invalid argument is passed toenableCompileCache()
(Joyee Cheung) #54971f9b19d7c44
] - (SEMVER-MINOR) module: write compile cache to temporary file and then rename it (Joyee Cheung) #54971e95163b170
] - (SEMVER-MINOR) process: addprocess.features.require_module
(Joyee Cheung) #552414050f68e5d
] - (SEMVER-MINOR) process: addprocess.features.typescript
(Aviv Keller) #5429586f7cb802d
] - (SEMVER-MINOR) test_runner: support custom arguments inrun()
(Aviv Keller) #55126b62f2f8259
] - (SEMVER-MINOR) test_runner: add'test:summary'
event (Colin Ihrig) #54851d7c708aec5
] - (SEMVER-MINOR) test_runner: add support for coverage viarun()
(Chemi Atlow) #539375fda4a1498
] - (SEMVER-MINOR) worker: addmarkAsUncloneable
api (Jason Zhang) #55234Commits
e3619510c8
] - assert: show the diff when deep comparing data with a custom message (Giovanni) #5475939c7a9e70c
] - benchmark: adjust config for deepEqual object (Rafael Gonzaga) #55254263526d5d0
] - benchmark: rewrite detect-esm-syntax benchmark (Joyee Cheung) #55238cd0795fb00
] - benchmark: add no-warnings to process.has bench (Rafael Gonzaga) #551594352d9cc31
] - benchmark: create benchmark for typescript (Marco Ippolito) #54904452bc9b48d
] - benchmark: add webstorage benchmark (jakecastelli) #55040d4d5ba3a9b
] - benchmark: include ascii to fs/readfile (Rafael Gonzaga) #5498823b628db65
] - benchmark: add dotenv benchmark (Aviv Keller) #54278b1ebb0d8ca
] - buffer: coerce extrema to int inblob.slice
(Antoine du Hamel) #551413a6e72483f
] - buffer: extract Blob's .arrayBuffer() & webidl changes (Matthew Aitken) #53372d109f1c4ff
] - buffer: use simdutf convert_latin1_to_utf8_safe (Robert Nagy) #5479877f8a3f9c2
] - build: fix notify-on-review-wanted action (Rafael Gonzaga) #553040d93b1ed0c
] - build: fix not valid json in coverage (jakecastelli) #55179f89664d890
] - build: include.nycrc
in coverage workflows (Wuli Zuo) #55210d7a9df6417
] - build: notify via slack when review-wanted (Rafael Gonzaga) #5510268822cc861
] - build: add more information to Makefile help (Aviv Keller) #53381f3ca9c669b
] - build: update ruff and addlint-py-fix
(Aviv Keller) #54410d99ae548d7
] - build: remove -v flag to reduce noise (iwuliz) #55025d3dfbe7ff9
] - build: display free disk space after build in the test-macOS workflow (iwuliz) #550253077f6a5b7
] - build: support up to python 3.13 in android-configure (Aviv Keller) #54529a929c71281
] - build: add the option to generate compile_commands.json in vcbuild.bat (Segev Finer) #52279a81f368b99
] - build: fix eslint makefile target (Aviv Keller) #54999c8b7a645ae
] - Revert "build: upgrade clang-format to v18" (Chengzhong Wu) #549947861ca5dc3
] - build: printRunning XYZ linter...
for py and yml (Aviv Keller) #54386aaea3944e5
] - build,win: add winget config to set up env (Hüseyin Açacak) #5472930d47220bb
] - build,win: float VS 17.11 compilation patch (Stefan Stojanovic) #54970048a1ab350
] - cli: ensure --run has proper pwd (Yagiz Nizipli) #54949a97841ee10
] - cli: fix spacing for port range error (Aviv Keller) #544951dcc5eedff
] - Revert "console: colorize console error and warn" (Aviv Keller) #54677f0b441230a
] - (SEMVER-MINOR) crypto: add KeyObject.prototype.toCryptoKey (Filip Skokan) #55262d3f8c35320
] - crypto: ensure invalid SubtleCrypto JWK data import results in DataError (Filip Skokan) #55041349d2ed07b
] - (SEMVER-MINOR) crypto: add Date fields forvalidTo
andvalidFrom
(Andrew Moon) #5415934ca36a397
] - deps: update undici to 6.20.0 (Node.js GitHub Bot) #55329f703652e84
] - deps: upgrade npm to 10.9.0 (npm team) #55255b533a51856
] - deps: V8: backport0d5d6e7
(Yagiz Nizipli) #551152f65b3fd07
] - deps: V8: partially cherry-pick8953e49
(Ben Noordhuis) #55274bb9f77d53a
] - deps: update archs files for openssl-3.0.15+quic1 (Node.js GitHub Bot) #5518463d51c82fe
] - deps: upgrade openssl sources to quictls/openssl-3.0.15+quic1 (Node.js GitHub Bot) #5518429e6484f3c
] - deps: update archs files for openssl-3.0.14+quic1 (Node.js GitHub Bot) #54336283927ec88
] - deps: upgrade openssl sources to quictls/openssl-3.0.14+quic1 (Node.js GitHub Bot) #54336b0636a1e88
] - deps: update timezone to 2024b (Node.js GitHub Bot) #55056173464d76f
] - deps: update acorn-walk to 8.3.4 (Node.js GitHub Bot) #549500d4536543b
] - deps: update corepack to 0.29.4 (Node.js GitHub Bot) #548451de5512383
] - deps: V8: cherry-pick217457d
(Michaël Zasso) #548831921d7a37c
] - doc: add release key for aduh95 (Antoine du Hamel) #55349d8e42be1b2
] - doc: moveERR_INVALID_PERFORMANCE_MARK
to legacy errors (Antoine du Hamel) #552475ea8aa183c
] - doc: fix Markdown linter (Antoine du Hamel) #55344873588888d
] - Revert "doc: update test context.assert" (Antoine du Hamel) #55344707e7cc702
] - doc: add pmarchini to collaborators (Pietro Marchini) #55331b03272b9a1
] - doc: fixevents.once()
example usingAbortSignal
(Ivo Janssen) #5514485b765953d
] - doc: add onboarding details for ambassador program (Marco Ippolito) #552845d41b8a8b0
] - doc: updaterequire(ESM)
history and stability status (Antoine du Hamel) #55199195df659e9
] - doc: moveERR_NAPI_TSFN_START/STOP_IDLE_LOOP
to legacy errors (Antoine du Hamel) #552488eae0d3f3c
] - doc: fix initial default value of autoSelectFamily (Ihor Rohovets) #55245297cb0da5a
] - doc: tweak onboarding instructions (Michael Dawson) #552127ddbfe8c2b
] - doc: update test context.assert (Pietro Marchini) #551868a57550d20
] - doc: fix unordered error anchors (Antoine du Hamel) #55242286ea4ed3d
] - doc: mention addons to experimental permission (Rafael Gonzaga) #551667c9ceabf38
] - doc: use correct dash in stability status (Antoine du Hamel) #55200781ffd8ba1
] - doc: fix link intest/README.md
(Livia Medeiros) #5516561b9ed3bf2
] - doc: add esm examples to node:net (Alfredo González) #55134bb3499038d
] - doc: remove outdated https import reference (Edigleysson Silva (Edy)) #551116cc49518c7
] - doc: move the YAML changes element (sendoru) #55112b12b4a23e4
] - doc: remove random horizontal separators inprocess.md
(Antoine du Hamel) #551497186ede388
] - doc: put --env-file-if-exists=config right under --env-file=config (Edigleysson Silva (Edy)) #551318ad0dfff10
] - doc: fix the require resolve algorithm inmodules.md
(chirsz) #55117fd40f0873f
] - doc: update style guide (Aviv Keller) #5322312c9d9780f
] - doc: add missing:
torun()
'sglobPatterns
(Aviv Keller) #5513573b05cfb04
] - doc: correctcleanup
option in stream.(promises.)finished (René) #55043bebc95ed58
] - doc: add abmusse to collaborators (Abdirahim Musse) #55086a97c80c6ae
] - doc: add note about--expose-internals
(Aviv Keller) #5286189aeae63bd
] - doc: removeparseREPLKeyword
from REPL documentation (Aviv Keller) #54749b3e0490b8b
] - doc: add missing EventSource docs to globals (Matthew Aitken) #55022516c775fa5
] - doc: cover --experimental-test-module-mocks flag (Jonathan Sharpe) #550214244f1a269
] - doc: add more details for localStorage and sessionStorage (Batuhan Tomo) #5388139a728c2e3
] - doc: change backporting guide with updated info (Aviv Keller) #537463a5fe95ad7
] - doc: add missing definitions tointernal-api.md
(Aviv Keller) #53303f2d74a26a3
] - doc: fix history ofprocess.features
(Antoine du Hamel) #5498229866ca438
] - doc: fix typo callsite.lineNumber (Rafael Gonzaga) #54969c1d73abd29
] - doc: update documentation for externalizing deps (Michael Dawson) #54792eca9668231
] - doc: add documentation for process.features (Marco Ippolito) #548970fb446e207
] - esm: do not interpret"main"
as a URL (Antoine du Hamel) #55003be2fe4b249
] - events: allow null/undefined eventInitDict (Matthew Aitken) #54643cb47e169a0
] - events: returncurrentTarget
when dispatching (Matthew Aitken) #54642dbfae3fe14
] - fs: acknowledgesignal
option infilehandle.createReadStream()
(Livia Medeiros) #551481c94725c07
] - fs: check subdir correctly in cpSync (Jason Zhang) #5503379ffefab2a
] - fs: convert to u8 string for filesystem path (Jason Zhang) #54653914db60159
] - (SEMVER-MINOR) http2: expose nghttp2_option_set_stream_reset_rate_limit as an option (Maël Nison) #5487508b5e6c794
] - lib: fix module print timing when specifier includes"
(Antoine du Hamel) #55150bf7d7aef4b
] - lib: fix typos (Nathan Baulch) #55065d803355d92
] - lib: prefer optional chaining (Aviv Keller) #55045d4873bcd6d
] - lib: remove lib/internal/idna.js (Yagiz Nizipli) #55050f7c3b03759
] - (SEMVER-MINOR) lib: propagate aborted state to dependent signals before firing events (jazelly) #54826397ae418db
] - lib: the REPL should survive deletion of Array.prototype methods (Jordan Harband) #31457566179c9ec
] - lib, tools: remove duplicate requires (Aviv Keller) #54987c9a1bbbef2
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #55300d7b73bbd1d
] - meta: bump mozilla-actions/sccache-action from 0.0.5 to 0.0.6 (dependabot[bot]) #552250f4269faa9
] - meta: bump actions/checkout from 4.1.7 to 4.2.0 (dependabot[bot]) #5522433be1990d8
] - meta: bump actions/setup-node from 4.0.3 to 4.0.4 (dependabot[bot]) #55223f5b4ae5bf8
] - meta: bump peter-evans/create-pull-request from 7.0.1 to 7.0.5 (dependabot[bot]) #552191985d9016e
] - meta: add mailmap entry for abmusse (Abdirahim Musse) #5518293b215d5e6
] - meta: add more information about nightly releases (Aviv Keller) #55084aeae5973c3
] - meta: addlinux
to OS labels in collaborator guide (Aviv Keller) #549864fb2c3baa8
] - meta: remove never-used workflow trigger (Aviv Keller) #54983e1f36d0da8
] - meta: remove unneeded ignore rules from ruff (Aviv Keller) #54360ce0d0c1ec8
] - meta: removebuild-windows.yml
(Aviv Keller) #54662ca67c97f33
] - meta: add links to alternative issue trackers (Aviv Keller) #544016fcac73738
] - module: wrap swc error in ERR_INVALID_TYPESCRIPT_SYNTAX (Marco Ippolito) #553160412ac8bf3
] - module: add internal type def forflushCompileCache
(Jacob Smith) #5522632261fc98a
] - (SEMVER-MINOR) module: support loading entrypoint as url (RedYetiDev) #54933111261e245
] - (SEMVER-MINOR) module: implement the "module-sync" exports condition (Joyee Cheung) #54648b6fc9adf5b
] - module: remove duplicated import (Aviv Keller) #5494206957ff355
] - (SEMVER-MINOR) module: implement flushCompileCache() (Joyee Cheung) #549712dcf70c347
] - (SEMVER-MINOR) module: throw when invalid argument is passed to enableCompileCache() (Joyee Cheung) #54971f9b19d7c44
] - (SEMVER-MINOR) module: write compile cache to temporary file and then rename it (Joyee Cheung) #549711d169764db
] - module: report unfinished TLA in ambiguous modules (Antoine du Hamel) #54980c89c93496d
] - module: refator ESM loader for adding future synchronous hooks (Joyee Cheung) #54769108cef22e6
] - module: remove bogus assertion in CJS entrypoint handling with --import (Joyee Cheung) #5459267ecb10c78
] - module: fix discrepancy between .ts and .js (Marco Ippolito) #544613300d5990f
] - os: use const with early return for path (Trivikram Kamat) #5495990cce6ec7c
] - path: remove repetitive conditional operator inposix.resolve
(Wiyeong Seo) #54835cbfc980f89
] - perf_hooks: add missing type argument to getEntriesByName (Luke Taher) #54767e95163b170
] - (SEMVER-MINOR) process: add process.features.require_module (Joyee Cheung) #552410655d3a384
] - process: fixprocess.features.typescript
when Amaro is unavailable (Antoine du Hamel) #553234050f68e5d
] - (SEMVER-MINOR) process: addprocess.features.typescript
(Aviv Keller) #5429575073c50ae
] - quic: start adding in the internal quic js api (James M Snell) #53256538b1eb5b0
] - repl: catch\v
and\r
in new-line detection (Aviv Keller) #5451257a9d3f15e
] - sqlite: disable DQS misfeature by default (Tobias Nießen) #55297c126543374
] - sqlite: make sourceSQL and expandedSQL string-valued properties (Tobias Nießen) #5472167f5f46c56
] - sqlite: enable foreign key constraints by default (Tobias Nießen) #5477709999491bf
] - src: handle errors correctly in webstorage (Michaël Zasso) #54544295c17c4ea
] - src: make minor tweaks to quic c++ for c++20 (James M Snell) #53256b1d47d06f9
] - src: apply getCallSite optimization (RafaelGSS) #55174d6bcc44829
] - src: modernize likely/unlikely hints (Yagiz Nizipli) #551551af5ad61ca
] - src: fixup Error.stackTraceLimit during snapshot building (Joyee Cheung) #55121b229083235
] - src: parse --stack-trace-limit and use it in --trace-* flags (Joyee Cheung) #55121942ad54e08
] - src: move more key handling to ncrypto (James M Snell) #551080bb5584288
] - src: add receiver to fast api callback methods (Carlos Espa) #54408706e9611f0
] - src: fix typos (Nathan Baulch) #55064a96d5d1bcc
] - src: move more stuff over to use Maybe<void> (James M Snell) #54831ee0a98b5a2
] - src: decode native error messages as UTF-8 (Joyee Cheung) #550241fc8edecf8
] - src: update clang-tidy and focus on modernization (Yagiz Nizipli) #537573a1485a1a3
] - src: move evp stuff to ncrypto (James M Snell) #549119ae80e1e4d
] - src: revert filesystem::path changes (Yagiz Nizipli) #55015465d05018a
] - src: mark node --run as stable (Yagiz Nizipli) #53763ef546c872c
] - src: cleanup per env handles directly without a list (Chengzhong Wu) #549930876f78411
] - src: add unistd.h import if node posix credentials is defined (Jonas) #54528284db53866
] - src: remove duplicate code setting AF_INET (He Yang) #54939f332c4c4fc
] - src: useMaybe<void>
where bool isn't needed (Michaël Zasso) #54575c7ed2ff920
] - stream: handle undefined chunks correctly in decode stream (devstone) #55153a9675a0cbc
] - stream: treat null asyncIterator as undefined (Jason Zhang) #55119bf69ae1406
] - stream: set stream prototype to closest transferable superclass (Jason Zhang) #550673273707a3a
] - test: fix tests when Amaro is unavailable (Richard Lau) #55320ff3cc3b2ab
] - test: use more informative errors intest-runner-cli
(Antoine du Hamel) #5532117d2f9de6d
] - test: maketest-loaders-workers-spawned
less flaky (Antoine du Hamel) #551721b1104e69b
] - test: add resource to internal module stat test (RafaelGSS) #55157b36f8c2146
] - test: update multiple assert tests to use node:test (James M Snell) #545851b30f7fdd6
] - test: move coverage source map tests to new file (Aviv Keller) #55123ce67e7b5b3
] - test: adding more tests for strip-types (Kevin Toshihiro Uehara) #54929a57c8ba3ef
] - test: update wpt test for encoding (devstone) #5515165fbe94d45
] - test: addescapePOSIXShell
util (Antoine du Hamel) #55125cc8838252e
] - test: remove unnecessaryawait
in test-watch-mode (Wuli) #551429aeba48bf0
] - test: fix typos (Nathan Baulch) #550630999b5e493
] - test: remove duplicated test descriptions (Christos Koutsiaris) #54140e99d4a4cb8
] - test: deflake test/pummel/test-timers.js (jakecastelli) #55098fb8470afd7
] - test: deflake test-http-remove-header-stays-removed (Luigi Pinca) #55004e879c5edf2
] - test: fix test-tls-junk-closes-server (Michael Dawson) #55089b885f0583c
] - test: fix more tests that fail when path contains a space (Antoine du Hamel) #5508885f1187942
] - test: fixassertSnapshot
when path contains a quote (Antoine du Hamel) #55087fdae57f1e1
] - test: fix some tests when path contains%
(Antoine du Hamel) #5508236c9ea8912
] - Revert "test: mark test-fs-watch-non-recursive flaky on Windows" (Luigi Pinca) #5507980da5993cc
] - test: remove interval and give more time to unsync (Pietro Marchini) #5500693c23e74b3
] - test: deflake test-inspector-strip-types (Luigi Pinca) #5505843bbca2c08
] - test: maketest-runner-assert
more robust (Aviv Keller) #55036268f1ec08f
] - test: update tls test to support OpenSSL32 (Michael Dawson) #55030a50dd21423
] - test: do not assumeprocess.execPath
contains no spaces (Antoine du Hamel) #55028c56e324cb8
] - test: fixtest-vm-context-dont-contextify
when path contains a space (Antoine du Hamel) #550266d42e44264
] - test: adjust tls-set-ciphers for OpenSSL32 (Michael Dawson) #5501622e601a76c
] - test: addutil.stripVTControlCharacters
test (RedYetiDev) #54865a6796696d7
] - test: improve coverage for timer promises schedular (Aviv Keller) #533709506f77b3e
] - test: removegetCallSite
from common (RedYetiDev) #5494720d3a806ea
] - test: remove unused common utilities (RedYetiDev) #54825341b6d9b94
] - test: deflake test-http-header-overflow (Luigi Pinca) #549781e53c10853
] - test: fixsoucre
tosource
(Aviv Keller) #550386843ca7e0d
] - test: add asserts to validate test assumptions (Michael Dawson) #5499798ff615c5e
] - test: add runner watch mode isolation tests (Pietro Marchini) #54888327a8f7b59
] - test: fix invalid wasm test (Aviv Keller) #549355b012f544c
] - test: move test-http-max-sockets to parallel (Luigi Pinca) #5497722b413910e
] - test: remove test-http-max-sockets flaky designation (Luigi Pinca) #5497662b8640550
] - test: refactor test-whatwg-webstreams-encoding to be shorter (David Dong) #545691f11d68173
] - test: adjust key sizes to support OpenSSL32 (Michael Dawson) #5497290a87ca8f7
] - test: update test to support OpenSSL32 (Michael Dawson) #549689b7834536a
] - test: update DOM events web platform tests (Matthew Aitken) #546421c001550a2
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55029800f7c44ed
] - test_runner: throw on invalid source map (Aviv Keller) #550550f7e3f017f
] - test_runner: assert entry is a valid object (Edigleysson Silva (Edy)) #55231c308862d2e
] - test_runner: avoid spread operator on arrays (Antoine du Hamel) #5514312401972b7
] - test_runner: support typescript files in default glob (Aviv Keller) #5508119cfa3140f
] - test_runner: close and flush destinations on forced exit (Colin Ihrig) #5509986f7cb802d
] - (SEMVER-MINOR) test_runner: support custom arguments inrun()
(Aviv Keller) #551267eaeba499a
] - test_runner: fix mocking modules with quote in their URL (Antoine du Hamel) #550838818c6c88a
] - test_runner: report error on missing sourcemap source (Aviv Keller) #55037b62f2f8259
] - (SEMVER-MINOR) test_runner: add 'test:summary' event (Colin Ihrig) #54851449dad0db0
] - test_runner: usetest:
symbol on second print of parent test (RedYetiDev) #549564b962a78c7
] - test_runner: replace ansi clear with ansi reset (Pietro Marchini) #55013d7c708aec5
] - (SEMVER-MINOR) test_runner: add support for coverage via run() (Chemi Atlow) #5393793c6c90219
] - test_runner: support typescript module mocking (Marco Ippolito) #548781daec9a63f
] - test_runner: avoid coverage report partial file names (Pietro Marchini) #54379d51e5a8667
] - tools: enforce errors to not be documented in legacy section (Aviv Keller) #552186a7d201b80
] - tools: update gyp-next to 0.18.2 (Node.js GitHub Bot) #55160c988e7e2e5
] - tools: bump the eslint group in /tools/eslint with 4 updates (dependabot[bot]) #552277982d3d4ed
] - tools: only check teams on the default branch (Antoine du Hamel) #5512460a35eddb0
] - tools: makechoco install
script more readable (Aviv Keller) #54002b7b1fa6dd3
] - tools: bump Rollup from 4.18.1 to 4.22.4 forlint-md
(dependabot[bot]) #550933304bf387f
] - tools: unlock versions of irrelevant DB deps (Michaël Zasso) #5504265c376a819
] - tools: remove redudant code from eslint require rule (Aviv Keller) #54892295f684b69
] - tools: update error message for ICU in license-builder (Aviv Keller) #54742ce4b6e403d
] - tools: refactor js2c.cc to use c++20 (Yagiz Nizipli) #5484931f0ef6ea3
] - tools: bump the eslint group in /tools/eslint with 7 updates (dependabot[bot]) #54821676d0a09a0
] - tools: update github_reporter to 1.7.1 (Node.js GitHub Bot) #549510f01f38aea
] - tty: fix links for terminal colors (Aviv Keller) #54596d264639f5f
] - util: update ansi regex (Aviv Keller) #54865ea7aaf37bf
] - v8: out of bounds copy (Robert Nagy) #55261fa695facf5
] - watch: preserve output when gracefully restarted (Théo LUDWIG) #543235fda4a1498
] - (SEMVER-MINOR) worker: addmarkAsUncloneable
api (Jason Zhang) #55234d65334c454
] - worker: throw InvalidStateError in postMessage after close (devstone) #55206fc90d7c63a
] - worker: handle--input-type
more consistently (Antoine du Hamel) #54979a9fa2da870
] - zlib: throw brotli initialization error from c++ (Yagiz Nizipli) #546989abd1c7288
] - zlib: remove prototype primordials usage (Yagiz Nizipli) #54695v22.9.0
: 2024-09-17, Version 22.9.0 (Current), @RafaelGSSCompare Source
New API to retrieve execution Stack Trace
A new API
getCallSite
has been introduced to theutil
module. This API allows usersto retrieve the stacktrace of the current execution. Example:
Thanks to Rafael Gonzaga for making this work on #54380.
Disable V8 Maglev
We have seen several crashes/unexpected JS behaviors with maglev on v22
(which ships V8 v12.4). The bugs lie in the codegen so it would be difficult for
users to work around them or even figure out where the bugs are coming from.
Some bugs are fixed in the upstream while some others probably remain.
As v22 will get stuck with V8 v12.4 as LTS, it will be increasingly difficult to
backport patches for them even if the bugs are fixed. So disable it by default
on v22 to reduce the churn and troubles for users.
Thanks to Joyee Cheung for making this work on #54384
Exposes X509_V_FLAG_PARTIAL_CHAIN to tls.createSecureContext
This releases introduces a new option to the API
tls.createSecureContext
. Fornow on users can use
tls.createSecureContext({ allowPartialTrustChain: true })
to treat intermediate (non-self-signed) certificates in the trust CA certificate
list as trusted.
Thanks to Anna Henningsen for making this work on #54790
Other Notable Changes
5c9599af5a
] - src: create handle scope in FastInternalModuleStat (Joyee Cheung) #54384e2307d87e8
] - (SEMVER-MINOR) stream: relocate the status checking code in the onwritecomplete (YoonSoo_Shin) #54032Deprecations
8433032948
] - repl: doc-deprecate instantiatingnode:repl
classes withoutnew
(Aviv Keller) #548428c4c85cf31
] - zlib: deprecate instantiating classes without new (Yagiz Nizipli) #54708Commits
027b0ffe84
] - async_hooks: add an InactiveAsyncContextFrame class (Bryan English) #54510022767028e
] - benchmark: --no-warnings to avoid DEP/ExpWarn log (Rafael Gonzaga) #54928af1988c147
] - benchmark: add buffer.isAscii benchmark (RafaelGSS) #5474040c6849964
] - benchmark: add buffer.isUtf8 bench (RafaelGSS) #54740237d7dfbde
] - benchmark: add access async version to bench (Rafael Gonzaga) #54747ebe91db827
] - benchmark: enhance dc publish benchmark (Rafael Gonzaga) #54745060164485b
] - benchmark: add match and doesNotMatch bench (RafaelGSS) #547342844180c7e
] - benchmark: add rejects and doesNotReject bench (RafaelGSS) #54734af7689ed02
] - benchmark: add throws and doesNotThrow bench (RafaelGSS) #54734456a1fe222
] - benchmark: add strictEqual and notStrictEqual bench (RafaelGSS) #54734721c63c858
] - benchmark: adds groups to better separate benchmarks (Giovanni Bucci) #5439368e45b406e
] - benchmark,doc: add CPU scaling governor to perf (Rafael Gonzaga) #54723d19efd7a50
] - benchmark,doc: mention bar.R to the list of scripts (Rafael Gonzaga) #547221fb67afa2f
] - buffer: fix out of range for toString (Jason Zhang) #5455385b5ed5d41
] - buffer: re-enable Fast API for Buffer.write (Robert Nagy) #545269a075279ec
] - build: upgrade clang-format to v18 (Aviv Keller) #5395769ec9d8d2b
] - build: fix conflicting V8 object print flags (Daeyeon Jeong) #54785948bba396c
] - build: do not build with code cache for core coverage collection (Joyee Cheung) #546336200cf4fb6
] - build: don't store eslint locally (Aviv Keller) #542313b5ed97fe9
] - build: turn off-Wrestrict
(Richard Lau) #54737e38e305a35
] - build,win: enable clang-cl compilation (Stefan Stojanovic) #546555bba0781b0
] - crypto: reject dh,x25519,x448 in {Sign,Verify}Final (Huáng Jùnliàng) #537743981853c00
] - crypto: return a clearer error when loading an unsupported pkcs12 (Tim Perry) #5448502ac5376b9
] - crypto: remove unusedkHashTypes
internal (Antoine du Hamel) #54627323d9da3c9
] - deps: update cjs-module-lexer to 1.4.1 (Node.js GitHub Bot) #54846bf4bf7cc6b
] - deps: update simdutf to 5.5.0 (Node.js GitHub Bot) #5443461047dd130
] - deps: upgrade npm to 10.8.3 (npm team) #546192351da5034
] - deps: update cjs-module-lexer to 1.4.0 (Node.js GitHub Bot) #547130659516823
] - deps: allow amaro to be externalizable (Michael Dawson) #546466a32645dbc
] - deps: fix sign-compare warning in ncrypto (Cheng) #546248f62f19197
] - doc: fix broken Android building link (Niklas Wenzel) #54922440c256d76
] - doc: add support link for aduh95 (Antoine du Hamel) #5486656aca2a1ca
] - doc: run license-builder (github-actions[bot]) #548548931f569c6
] - doc: experimental flag for global accessible APIs (Chengzhong Wu) #543306f8a6e9eb6
] - doc: addERR_INVALID_ADDRESS
toerrors.md
(Aviv Keller) #54661c1b92e05e7
] - doc: add support link for mcollina (Matteo Collina) #547861def18122a
] - doc: mark--conditions
CLI flag as stable (Guy Bedford) #54209b8ae36b6c3
] - doc: fix typo in recognizing-contributors (Tobias Nießen) #548222c2ae80924
] - doc: clarify--max-old-space-size
and--max-semi-space-size
units (Alexandre ABRIOUX) #544775bd4be5ce7
] - doc: replace --allow-fs-read by --allow-fs-write in related section (M1CK431) #54427c0f3e4603f
] - doc: add support link for marco-ippolito (Marco Ippolito) #54789dc69eb8276
] - doc: fix typo in module.md (Tobias Nießen) #54794de225f5db9
] - doc: specify that preloaded modules affect subprocesses (Aviv Keller) #5293962b0007cbe
] - doc: clarify expandedSQL behavior (Tobias Nießen) #546851c7bdf95db
] - doc: render type references in SQLite docs (Tobias Nießen) #546845555095531
] - doc: fix typo (Michael Dawson) #54640754baa4efa
] - doc: fix webcrypto.md AES-GCM backticks (Filip Skokan) #546215bfb4bcf45
] - doc: add documentation about os.tmpdir() overrides (Joyee Cheung) #5461322d873208e
] - doc, build: fixup build docs (Aviv Keller) #548995e081a12b6
] - doc, child_process: add esm snippets (Aviv Keller) #536162b68c30a26
] - doc, meta: fix broken link inonboarding.md
(Aviv Keller) #54886a624002fff
] - esm: throwERR_REQUIRE_ESM
instead ofERR_INTERNAL_ASSERTION
(Antoine du Hamel) #5486831d4ef91ee
] - esm: fix support forURL
instances inimport.meta.resolve
(Antoine du Hamel) #5469040ba89e452
] - esm: use Undici/fetch
data:
URL parser (Matthew Aitken) #5474893116dd7b1
] - fs: translate error code properly in cpSync (Jason Zhang) #54906375cbb592e
] - fs: refactor rimraf to avoid using primordials (Yagiz Nizipli) #54834ee89c3149e
] - fs: respect dereference when copy symlink directory (Jason Zhang) #547327123bf7ca4
] - http: reduce likelihood of race conditions on keep-alive timeout (jazelly) #5486304ef3e4afd
] - https: only use default ALPNProtocols when appropriate (Brian White) #54411dc5593ba1e
] - lib: remove unnecessary async (jakecastelli) #548292b9a6373da
] - lib: make WeakRef safe in abort_controller (jazelly) #547915f02e1b850
] - lib: moveSymbol[Async]Dispose
polyfills tointernal/util
(Antoine du Hamel) #54853fc78ced7e4
] - lib: convert signals to array before validation (Jason Zhang) #5471421fef34a53
] - lib: add note about removingnode:sys
module (Rafael Gonzaga) #54743a37d805489
] - (SEMVER-MINOR) lib: add util.getCallSite() API (Rafael Gonzaga) #543802a1f56cce6
] - lib: ensure no holey array in fixed_queue (Jason Zhang) #54537540b1dbaf6
] - lib: refactor SubtleCrypto experimental warnings (Filip Skokan) #54620b59c8b88c7
] - lib,src: use built-in array buffer detach, transfer (Yagiz Nizipli) #54837c1cc046de9
] - meta: bump peter-evans/create-pull-request from 6.1.0 to 7.0.1 (dependabot[bot]) #5482082c08ef483
] - meta: addWindows ARM64
to flaky-tests list (Aviv Keller) #54693df30e8efa1
] - meta: ping @nodejs/performance on bench changes (Rafael Gonzaga) #54752bdd9fbb905
] - meta: bump actions/setup-python from 5.1.1 to 5.2.0 (Rich Trott) #5469119574a8403
] - meta: update sccache to v0.8.1 (Aviv Keller) #547209ebcfb2b28
] - meta: bump step-security/harden-runner from 2.9.0 to 2.9.1 (dependabot[bot]) #54704ea58feb959
] - meta: bump actions/upload-artifact from 4.3.4 to 4.4.0 (dependabot[bot]) #54703c6bd9e443e
] - meta: bump github/codeql-action from 3.25.15 to 3.26.6 (dependabot[bot]) #5470279b358af2e
] - meta: fix links inSECURITY.md
(Aviv Keller) #546966c8a20d650
] - meta: fixcontributing
codeowners (Aviv Keller) #54641b7284ed099
] - module: do not warn for typeless package.json when there isn't one (Joyee Cheung) #54045ddd24a6e63
] - node-api: add external buffer creation benchmark (Chengzhong Wu) #548774a7576efae
] - node-api: add support for UTF-8 and Latin-1 property keys (Mert Can Altin) #52984461e523498
] - os: improvetmpdir
performance (Yagiz Nizipli) #5470994fb7ab2e7
] - path: removeStringPrototypeCharCodeAt
fromposix.extname
(Aviv Keller) #5454667b1d4cb45
] - repl: avoid interpreting 'npm' as a command when errors are recoverable (Shima Ryuhei) #548488433032948
] - repl: doc-deprecate instantiatingnode:repl
classes withoutnew
(Aviv Keller) #548427766349dd0
] - sqlite: fix segfault in expandedSQL (Tobias Nießen) #546874c1b98ba2b
] - sqlite: remove unnecessary auto assignment (Tobias Nießen) #5468677d162adb6
] - src: add--env-file-if-exists
flag (Bosco Domingo) #53060424bdc03b4
] - src: add Cleanable class to Environment (Gabriel Schulhof) #54880fbd08e3a9f
] - src: switch crypto APIs to use Maybe<void> (James M Snell) #547755e72bd3545
] - src: eliminate ManagedEVPPkey (James M Snell) #5475197cbcfbb43
] - src: fix unhandled error in structuredClone (Daeyeon Jeong) #54764b89cd8d19a
] - src: move hkdf, scrypto, pbkdf2 impl to ncrypto (James M Snell) #546515c9599af5a
] - src: create handle scope in FastInternalModuleStat (Joyee Cheung) #54384e2307d87e8
] - (SEMVER-MINOR) stream: relocate the status checking code in the onwritecomplete (YoonSoo_Shin) #54032ff54cabef6
] - test: adjust test-tls-junk-server for OpenSSL32 (Michael Dawson) #5492623fb03beed
] - test: remove duplicate skip AIX (Wuli) #549172b5e70816a
] - test: adjust tls test for OpenSSL32 (Michael Dawson) #54909cefa692dcb
] - test: fix test-http2-socket-close.js (Hüseyin Açacak) #54900097f6d3e7e
] - test: improve test-internal-fs-syncwritestream (Sunghoon) #54671ed736a689f
] - test: deflake test-dns (Luigi Pinca) #54902bb4849f595
] - test: fix test test-tls-dhe for OpenSSL32 (Michael Dawson) #54903d9264bceca
] - test: use correct file naming syntax forutil-parse-env
(Aviv Keller) #53705115a7ca42a
] - test: add missing await (Luigi Pinca) #548287a1d633d77
] - test: move more url tests tonode:test
(Yagiz Nizipli) #54636ee385d62b9
] - test: strip color chars intest-runner-run
(Giovanni Bucci) #545522efec6221c
] - test: deflake test-http2-misbehaving-multiplex (Luigi Pinca) #54872b198a91404
] - test: remove dead code in test-http2-misbehaving-multiplex (Luigi Pinca) #54860194cb83f39
] - test: reduce test-esm-loader-hooks-inspect-wait flakiness (Luigi Pinca) #548274b53558e8b
] - test: reduce the allocation size in test-worker-arraybuffer-zerofill (James M Snell) #54839c968d65d6d
] - test: fix test-tls-client-mindhsize for OpenSSL32 (Michael Dawson) #54739b998bb0933
] - test: remove need to make fs call for zlib test (Yagiz Nizipli) #54814f084ea2e01
] - test: use platform timeout (jakecastelli) #54591b10e434cf3
] - test: add platform timeout support for riscv64 (jakecastelli) #54591b875f2d7de
] - test: reduce stack size for test-error-serdes (James M Snell) #54840d1a411480a
] - test: reduce fs calls in test-fs-existssync-false (Yagiz Nizipli) #54815b96ee30a09
] - test: usenode:test
intest-cli-syntax.bad
(Aviv Keller) #545135278b8b7a1
] - test: move test-http-server-request-timeouts-mixed (James M Snell) #548418345a60d3a
] - test: fix Windows async-context-frame memory failure (Stephen Belanger) #54823cad404e1a1
] - test: fix volatile for CauseSegfault with clang (Ivan Trubach) #5432541682c7286
] - test: settest-http2-socket-close
as flaky (Yagiz Nizipli) #548021e1ac48711
] - test: settest-worker-arraybuffer-zerofill
as flaky (Yagiz Nizipli) #5480256238debff
] - test: settest-runner-run-watch
as flaky (Yagiz Nizipli) #548028291de1540
] - test: settest-http-server-request-timeouts-mixed
as flaky (Yagiz Nizipli) #5480232d340e6b3
] - test: settest-single-executable-application-empty
as flaky (Yagiz Nizipli) #548026a2da4c4ca
] - test: settest-macos-app-sandbox
as flaky (Yagiz Nizipli) #548022f408847a0
] - test: settest-fs-utimes
as flaky (Yagiz Nizipli) #54802e3b7c40ffc
] - test: settest-runner-run-watch
as flaky (Yagiz Nizipli) #54802d2ede46946
] - test: settest-sqlite-statement-sync
as flaky (Yagiz Nizipli) #54802b9f3385808
] - test: settest-writewrap
as flaky (Yagiz Nizipli) #54802d55fec8f40
] - test: settest-async-context-frame
as flaky (Yagiz Nizipli) #548023dfb525f3e
] - test: settest-esm-loader-hooks-inspect-wait
as flaky (Yagiz Nizipli) #54802b0458a88b4
] - test: settest-http2-large-file
as flaky (Yagiz Nizipli) #548025f6f8757e5
] - test: settest-runner-watch-mode-complex
as flaky (Yagiz Nizipli) #548024231af336d
] - test: settest-performance-function
as flaky (Yagiz Nizipli) #5480245ef2a868e
] - test: settest-debugger-heap-profiler
as flaky (Yagiz Nizipli) #54802b5137f6405
] - test: fixtest-process-load-env-file
when path contains'
(Antoine du Hamel) #54511960116905a
] - test: refactor fs-watch tests due to macOS issue (Santiago Gimeno) #54498f074d74bf3
] - test: refactortest-esm-type-field-errors
(Giovanni Bucci) #5436867e30deced
] - test: move more zlib tests to node:test (Yagiz Nizipli) #54609fdb65111a3
] - test: improve output of child process utilities (Joyee Cheung) #5462255a12a4190
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #54925de0f445a7f
] - test_runner: reimplementassert.ok
to allow stack parsing (Aviv Keller) #54776a52c199d9d
] - (SEMVER-MINOR) test_runner: report coverage thresholds intest:coverage
(Aviv Keller) #548136552fddef5
] - test_runner: update kPatterns (Pietro Marchini) #547283396a4954d
] - test_runner: detect only tests when isolation is off (Colin Ihrig) #54832021f59b6bc
] - test_runner: apply filtering when tests begin (Colin Ihrig) #5483236da793350
] - test_runner: allow--import
with no isolation (Aviv Keller) #54697de73d1ee4b
] - test_runner: improve code coverage cleanup (Colin Ihrig) #548563d478728f2
] - timers: avoid generating holey internal arrays (Gürgün Dayıoğlu) #54771b3d567ae0f
] - timers: document ref option for scheduler.wait (Paolo Insogna) #54605c2bf0134ce
] - (SEMVER-MINOR) tls: addallowPartialTrustChain
flag (Anna Henningsen) #54790608a611132
] - tools: add readability/fn_size to filter (Rafael Gonzaga) #5474493fab49099
] - tools: add util scripts to land and rebase PRs (Antoine du Hamel) #54656d6df542ff8
] - tools: remove readability/fn_size rule (Rafael Gonzaga) #54663689d127ee7
] - typings: fix TypedArray to a global type (1ilsang) #54063071dff1d34
] - typings: correct param type ofSafePromisePrototypeFinally
(Wuli) #547275243e3240c
] - Revert "v8: enable maglev on supported architectures" (Joyee Cheung) #54384ade9da5b3a
] - vm: add vm proto property lookup test (Chengzhong Wu) #546068385958b60
] - zlib: add typings for better dx (Yagiz Nizipli) #546998c4c85cf31
] - zlib: deprecate instantiating classes without new (Yagiz Nizipli) #54708v22.8.0
: 2024-09-03, Version 22.8.0 (Current), @RafaelGSSCompare Source
New JS API for compile cache
This release adds a new API
module.enableCompileCache()
that can be used to enable on-disk code caching of all modules loaded after this API is called.Previously this could only be enabled by the
NODE_COMPILE_CACHE
environment variable, so it could only set by end-users.This API allows tooling and library authors to enable caching of their own code.
This is a built-in alternative to the v8-compile-cache/v8-compile-cache-lib packages,
but have better performance and supports ESM.
Thanks to Joyee Cheung for working on this.
New option for vm.createContext() to create a context with a freezable globalThis
Node.js implements a flavor of
vm.createContext()
and friends that creates a context without contextifying its globalobject when vm.constants.DONT_CONTEXTIFY is used. This is suitable when users want to freeze the context
(impossible when the global is contextified i.e. has interceptors installed) or speed up the global access if they
don't need the interceptor behavior.
Thanks to Joyee Cheung for working on this.
Support for coverage thresholds
Node.js now supports requiring code coverage to meet a specific threshold before the process exits successfully.
To use this feature, you need to enable the
--experimental-test-coverage
flag.You can set thresholds for the following types of coverage:
--test-coverage-branches=<threshold>
--test-coverage-functions=<threshold>
--test-coverage-lines=<threshold>
<threshold>
should be an integer between 0 and 100. If an invalid value is provided, aTypeError
will be thrown.If the code coverage fails to meet the specified thresholds for any category, the process will exit with code
1
.For instance, to enforce a minimum of 80% line coverage and 60% branch coverage, you can run:
Thanks Aviv Keller for working on this.
Other Notable Changes
1f2cc2fa47
] - (SEMVER-MINOR) src,lib: add performance.uvMetricsInfo (Rafael Gonzaga) #544131e01bdc0d0
] - (SEMVER-MINOR) net: exclude ipv6 loopback addresses from server.listen (Giovanni Bucci) #5426497fa075c2e
] - (SEMVER-MINOR) test_runner: support running tests in process (Colin Ihrig) #53927858b583c88
] - (SEMVER-MINOR) test_runner: defer inheriting hooks until run() (Colin Ihrig) #53927Commits
94985df9d6
] - benchmark: fix benchmark for file path and URL conversion (Early Riser) #54190ac178b094b
] - buffer: truncate instead of throw when writing beyond buffer (Robert Nagy) #54524afd8c1eb4f
] - buffer: allow invalid encoding in from (Robert Nagy) #545336f0cf35cd3
] - build: reclaim disk space on macOS GHA runner (jakecastelli) #54658467ac3aec4
] - build: don't clean obj.target directory if it doesn't exist (Joyee Cheung) #5433771fdf961df
] - build: update required python version to 3.8 (Aviv Keller) #5435873604cf1c5
] - deps: update nghttp2 to 1.63.0 (Node.js GitHub Bot) #54589b00c087285
] - deps: V8: cherry-picke74d0f4
(Joyee Cheung) #5427933a6b3c7a9
] - deps: backport ICU-22787 to fix ClangCL on Windows (Stefan Stojanovic) #54502fe56949cbb
] - deps: update c-ares to v1.33.1 (Node.js GitHub Bot) #54549290f6ce619
] - deps: update amaro to 0.1.8 (Node.js GitHub Bot) #54520b5843568b4
] - deps: update amaro to 0.1.7 (Node.js GitHub Bot) #544739c709209b4
] - deps: update undici to 6.19.8 (Node.js GitHub Bot) #54456a5ce24181b
] - deps: sqlite: fix Windows compilation (Colin Ihrig) #544333caf29ea88
] - deps: update sqlite to 3.46.1 (Node.js GitHub Bot) #5443368758d4b08
] - doc: add support me link for anonrig (Yagiz Nizipli) #54611f5c5529266
] - doc: add alert on REPL from TCP socket (Rafael Gonzaga) #54594bf824483cd
] - doc: fix typo in styleText description (Rafael Gonzaga) #54616825d933fd4
] - doc: add getHeapStatistics() property descriptions (Benji Marinacci) #5458480e5150160
] - doc: fix module compile cache description (沈鸿飞) #546257fd033fe56
] - doc: run license-builder (github-actions[bot]) #54562c499913732
] - doc: fix information about including coverage files (Aviv Keller) #54527c3dc83befc
] - doc: support collaborators - talk amplification (Michael Dawson) #54508fc57beaad3
] - doc: add note about shasum generation failure (Marco Ippolito) #544871800a58f49
] - doc: update websocket flag description to reflect stable API status (Yelim Koo) #5448261affd77a7
] - doc: fix capitalization in module.md (shallow-beach) #5448825419915c7
] - doc: add esm examples to node:https (Alfredo González) #5439983b5efeb54
] - doc: reserve ABI 130 for Electron 33 (Calvin) #543836ccbd32ae8
] - doc, meta: add missing,
toBUILDING.md
(Aviv Keller) #54409fc08a9b0cd
] - fs: refactor handleTimestampsAndMode to remove redundant call (HEESEUNG) #543694a664b5fcb
] - lib: respect terminal capabilities on styleText (Rafael Gonzaga) #54389a9ce2b6a28
] - lib: fix emit warning for debuglog.time when disabled (Vinicius Lourenço) #54275b5a23c9783
] - meta: remind users to use a supported version in bug reports (Aviv Keller) #544810d7171d8e9
] - meta: add more labels to dep-updaters (Aviv Keller) #54454c4996c189f
] - meta: run coverage-windows whenvcbuild.bat
updated (Aviv Keller) #544123cf645768e
] - module: use amaro default transform values (Marco Ippolito) #54517336496b90e
] - module: add sourceURL magic comment hinting generated source (Chengzhong Wu) #5440204f83b50ad
] - Revert "net: validate host name for server listen" (jakecastelli) #545541e01bdc0d0
] - (SEMVER-MINOR) net: exclude ipv6 loopback addresses from server.listen (Giovanni Bucci) #542643cd10a3f40
] - node-api: remove RefBase and CallbackWrapper (Vladimir Morozov) #5359072c554abab
] - sqlite: return results with null prototype (Michaël Zasso) #54350e071651bb2
] - src: disable fast methods forbuffer.write
(Michaël Zasso) #54565f8cbbc685a
] - src: use v8::Isolate::GetDefaultLocale() to compute navigator.language (Joyee Cheung) #542794baf4637eb
] - (SEMVER-MINOR) src: add JS APIs for compile cache and NODE_DISABLE_COMPILE_CACHE (Joyee Cheung) #54501101e299656
] - src: move more crypto_dh.cc code to ncrypto (James M Snell) #54459e6e1f4e8bd
] - src: remove redundant AESCipherMode (Tobias Nießen) #544381ff3f63f5e
] - src: handle errors correctly inpermission.cc
(Michaël Zasso) #545414938188682
] - src: returnv8::Object
from error constructors (Michaël Zasso) #545414578e9485b
] - src: use better return types in KVStore (Michaël Zasso) #545397d9e994791
] - src: change SetEncodedValue to return Maybe<void> (Tobias Nießen) #54443eef303028f
] - src: remove cached data tag from snapshot metadata (Joyee Cheung) #541223a74c400d5
] - src: improvebuffer.transcode
performance (Yagiz Nizipli) #54153909c5320fd
] - src: move more crypto code to ncrypto (James M Snell) #543209ba75faf5f
] - (SEMVER-MINOR) src,lib: add performance.uvMetricsInfo (Rafael Gonzaga) #54413fffc300c6d
] - stream: change stream to use index instead offor...of
(Wiyeong Seo) #54474a4a6ef8d29
] - test: fix test-tls-client-auth test for OpenSSL32 (Michael Dawson) #5461076345a5d7c
] - test: update TLS test for OpenSSL 3.2 (Richard Lau) #54612522d5a359d
] - test: run V8 Fast API tests in release mode too (Michaël Zasso) #54570edbecf5209
] - test: increase key size for ca2-cert.pem (Michael Dawson) #54599bc976cfc93
] - test: update test-abortsignal-cloneable to use node:test (James M Snell) #545819f1ce732a8
] - test: update test-assert-typedarray-deepequal to use node:test (James M Snell) #54585c74f2aeb92
] - test: update test-assert to use node:test (James M Snell) #54585a0be95e4cc
] - test: merge ongc and gcutil into gc.js (tannal) #54355c10aff665e
] - test: move a couple of tests over to using node:test (James M Snell) #54582dbbc790949
] - test: update test-aborted-util to use node:test (James M Snell) #5457864442fce6b
] - test: refactor test-abortcontroller to use node:test (James M Snell) #5457472345dee1c
] - test: fix embedding test for Windows (Vladimir Morozov) #53659846e2b2896
] - test: refactor test_runner tests to change default reporter (Colin Ihrig) #54547b5eb24c86a
] - test: force spec reporter in test-runner-watch-mode.mjs (Colin Ihrig) #5453866ae9f4c0a
] - test: use valid hostnames (Luigi Pinca) #5455602d664b75f
] - test: fix improper path to URL conversion (Antoine du Hamel) #545098a4f8a9eff
] - test: add tests for runner coverage with different stdout column widths (Pietro Marchini) #54494b0ed8dbb2f
] - test: prevent V8 from writing into the system's tmpdir (Michaël Zasso) #543955ee234a5a6
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #54593a4bebf8559
] - test_runner: ensure test watcher picks up new test files (Pietro Marchini) #54225d4310fe9c1
] - (SEMVER-MINOR) test_runner: add support for coverage thresholds (Aviv Keller) #544290cf78aa24b
] - test_runner: refactormock_loader
(Antoine du Hamel) #5422397fa075c2e
] - (SEMVER-MINOR) test_runner: support running tests in process (Colin Ihrig) #53927858b583c88
] - (SEMVER-MINOR) test_runner: defer inheriting hooks until run() (Colin Ihrig) #5392745b0250692
] - test_runner: account for newline in source maps (Colin Ihrig) #544441c29e74d30
] - test_runner: makemock.module
'sspecifier
consistent withimport()
(Antoine du Hamel) #54416cbe30a02a3
] - test_runner: finish build phase before running tests (Colin Ihrig) #544238a4b26f00c
] - timers: fix validation (Paolo Insogna) #5440438798140c4
] - tools: remove unused python files (Aviv Keller) #53928da6c61def8
] - tools: add swc license (Marco Ippolito) #5446216d4c437e1
] - typings: provide internal types for wasi bindings (Andrew Moon) #54119fe5666f006
] - vm: return all own names and symbols in property enumerator interceptor (Chengzhong Wu) #54522db80eac496
] - (SEMVER-MINOR) vm: introduce vanilla contexts via vm.constants.DONT_CONTEXTIFY (Joyee Cheung) #543948ffdd1e2b2
] - zlib: simplify validators (Yagiz Nizipli) #54442v22.7.0
: 2024-08-22, Version 22.7.0 (Current), @RafaelGSSCompare Source
Experimental transform types support
With the new flag
--experimental-transform-types
it is possible to enable thetransformation of TypeScript-only syntax into JavaScript code.
This feature allows Node.js to support TypeScript syntax such as
Enum
andnamespace
.Thanks to Marco Ippolito for making this work on #54283.
Module syntax detection is now enabled by default.
Module syntax detection (the
--experimental-detect-module
flag) is nowenabled by default. Use
--no-experimental-detect-module
to disable it ifneeded.
Syntax detection attempts to run ambiguous files as CommonJS, and if the module
fails to parse as CommonJS due to ES module syntax, Node.js tries again and runs
the file as an ES module.
Ambiguous files are those with a
.js
or no extension, where the nearest parentpackage.json
has no"type"
field (either"type": "module"
or"type": "commonjs"
).Syntax detection should have no performance impact on CommonJS modules, but it
incurs a slight performance penalty for ES modules; add
"type": "module"
tothe nearest parent
package.json
file to eliminate the performance cost.A use case unlocked by this feature is the ability to use ES module syntax in
extensionless scripts with no nearby
package.json
.Thanks to Geoffrey Booth for making this work on #53619.
Performance Improvements to Buffer
Performance of Node.js Buffers have been optimized through multiple PR's with significant
improvements to the
Buffer.copy
andBuffer.write
methods. These are used throughoutthe codebase and should give a nice boost across the board.
Thanks to Robert Nagy for making this work on #54311,
#54324, and #54087.
Other Notable Changes
911de7dd6d
] - (SEMVER-MINOR) inspector: supportNetwork.loadingFailed
event (Kohei Ueno) #542469ee4b16bd8
] - (SEMVER-MINOR) lib: rewrite AsyncLocalStorage without async_hooks (Stephen Belanger) #48528Commits
c6544ff5a6
] - benchmark: use assert.ok searchparams (Rafael Gonzaga) #5433451b8576897
] - benchmark: add stream.compose benchmark (jakecastelli) #54308c166036515
] - benchmark: rename count to n (Rafael Gonzaga) #542711be0ee76ef
] - benchmark: change assert() to assert.ok() (Rafael Gonzaga) #542544dd229f546
] - benchmark: support --help in CLI (Aviv Keller) #53358a5a320cd5b
] - benchmark: remove force option as force defaults to true (Yelim Koo) #54203db0a80a0eb
] - benchmark: use assert.ok instead of assert (Rafael Gonzaga) #541768ba53ae7b7
] - buffer: properly apply dst offset and src length on fast path (Robert Nagy) #54391a5a60e6823
] - buffer: use fast API for writing one-byte strings (Robert Nagy) #543117b641bc2bd
] - buffer: optimize byteLength for short strings (Robert Nagy) #5434528ca678f81
] - buffer: optimize byteLength for common encodings (Robert Nagy) #5434212785559be
] - buffer: optimize createFromString (Robert Nagy) #54324f7f7b0c498
] - buffer: optimize for common encodings (Robert Nagy) #5431937631f826b
] - buffer: add JSDoc to blob bytes method (Roberto Simonini) #54117ab6fae9dbf
] - buffer: faster type check (Robert Nagy) #540889f8f26eb2f
] - buffer: use native copy impl (Robert Nagy) #54087019ebf03c1
] - buffer: use faster integer argument check (Robert Nagy) #54089c640a2f24c
] - build: always disable strict aliasing (Michaël Zasso) #543396aa1d9e855
] - build: updateruff
to0.5.2
(Aviv Keller) #53909350e699443
] - build: supportlint-js-fix
invcbuild.bat
(Aviv Keller) #5369598fed763f7
] - build: add--without-amaro
build flag (Antoine du Hamel) #541361ca598c5ce
] - cli: allow--test-[name/skip]-pattern
inNODE_OPTIONS
(Aviv Keller) #5300137960a67ae
] - console: use validateOneOf for colorMode validation (HEESEUNG) #54245d52f515bab
] - crypto: include NODE_EXTRA_CA_CERTS in all secure contexts by default (Eric Bickle) #44529b6a3e61353
] - deps: update amaro to 0.1.6 (Node.js GitHub Bot) #543740d716ad3f3
] - deps: update simdutf to 5.3.4 (Node.js GitHub Bot) #5431218bfea5f33
] - deps: update zlib to 1.3.0.1-motley-71660e1 (Node.js GitHub Bot) #53464d0c23f332f
] - deps: update zlib to 1.3.0.1-motley-c2469fd (Node.js GitHub Bot) #53464e7db63972c
] - deps: update zlib to 1.3.0.1-motley-68e57e6 (Node.js GitHub Bot) #53464713ae95555
] - deps: update zlib to 1.3.0.1-motley-8b7eff8 (Node.js GitHub Bot) #53464758c9df36e
] - deps: update zlib to 1.3.0.1-motley-e432200 (Node.js GitHub Bot) #53464fe7e6c9563
] - deps: update zlib to 1.3.0.1-motley-887bb57 (Node.js GitHub Bot) #5346435722b7bca
] - deps: update simdjson to 3.10.0 (Node.js GitHub Bot) #54197a2a41557db
] - deps: fix GN build warning in ncrypto (Cheng) #54222869da204d7
] - deps: update c-ares to v1.33.0 (Node.js GitHub Bot) #54198e0d503a715
] - deps: update nbytes to 0.1.1 (Node.js GitHub Bot) #54277b0c768dae1
] - deps: update undici to 6.19.7 (Node.js GitHub Bot) #54286ef9a950cb9
] - deps: update acorn to 8.12.1 (Node.js GitHub Bot) #534651597a1139a
] - deps: update undici to 6.19.5 (Node.js GitHub Bot) #54076103e4db3e0
] - deps: update simdutf to 5.3.1 (Node.js GitHub Bot) #541969f115ba9e9
] - doc: fix error description of the max header size (Egawa Ryo) #54125f967ab3810
] - doc: add git node security --cleanup (Rafael Gonzaga) #543818883c01afa
] - doc: add note on weakness of permission model (Tobias Nießen) #54268824bd58bc5
] - doc: add versions when--watch-preserve-output
was added (Théo LUDWIG) #5432833795cfd49
] - doc: replace v19 mention in Current release (Rafael Gonzaga) #54361aa6e770ea5
] - doc: correct peformance entry types (Jason Zhang) #542634b099ce1bd
] - doc: fix typo in method name in the sea doc (Eliyah Sundström) #540278a8d1d2281
] - doc: mark process.nextTick legacy (Marco Ippolito) #512806f4b5d998e
] - doc: add esm examples to node:http2 (Alfredo González) #542921535469c12
] - doc: explicitly mention node:fs module restriction (Rafael Gonzaga) #5426926c37f7910
] - doc: remove module-based permission doc (Rafael Gonzaga) #54266971b9f31f5
] - doc: updatebuffer.constants.MAX_LENGTH
size (Samuli Asmala) #542073106149965
] - doc: warn for windows build bug (Jason Zhang) #5421755f8ac3e89
] - doc: make some parameters optional intracingChannel.traceCallback
(Deokjin Kim) #54068e3e2f22cab
] - doc: add esm examples to node:dns (Alfredo González) #541720429b1eb9d
] - doc: add KevinEady as a triager (Chengzhong Wu) #541794bfa7d8e54
] - doc: add esm examples to node:console (Alfredo González) #541082f5309fc22
] - doc: fix sea assets example (Sadzurami) #5419288aef5a39d
] - doc: add links to security steward companies (Aviv Keller) #529815175903c23
] - doc: moveonread
option fromsocket.connect()
tonew net.socket()
(sendoru) #54194144637e845
] - doc: move release key for Myles Borins (Richard Lau) #54059358fdacec6
] - doc: refresh instructions for building node from source (Liran Tal) #5376811fdaa6ad2
] - doc: add documentation for blob.bytes() method (jaexxin) #54114db3b0df42c
] - doc: add missing new lines to custom test reporter examples (Eddie Abbondanzio) #541521cafefd2cf
] - doc: fix worker threadId/destination typo (Thomas Hunter II) #539337772b46038
] - doc: update list of Triagers on theREADME.md
(Antoine du Hamel) #54138af99ba3dc9
] - doc: remove unused imports from worker_threads.md (Yelim Koo) #54147826edc4341
] - doc: expand troubleshooting section (Liran Tal) #53808923195b624
] - doc: clarifyuseCodeCache
setting for cross-platform SEA generation (Yelim Koo) #539947c305a4900
] - doc, meta: replace command with link to keys (Aviv Keller) #537456f986e0ee6
] - doc, test: simplify test README table (Aviv Keller) #53971112228c15a
] - fs: remove unnecessary option argument validation (Jonas) #53958911de7dd6d
] - (SEMVER-MINOR) inspector: supportNetwork.loadingFailed
event (Kohei Ueno) #542461e825915d5
] - inspector: provide detailed info to fix DevTools frontend errors (Kohei Ueno) #54156417120a3a3
] - lib: replace spread operator with primordials function (YoonSoo_Shin) #5405309f411e6f6
] - lib: avoid for of loop and remove unnecessary variable in zlib (YoonSoo_Shin) #54258b8970570b0
] - lib: improve async_context_frame structure (Stephen Belanger) #54239783322fa16
] - lib: fix unhandled errors in webstream adapters (Fedor Indutny) #54206425b9562b9
] - lib: fix typos in comments within internal/streams (YoonSoo_Shin) #540939ee4b16bd8
] - (SEMVER-MINOR) lib: rewrite AsyncLocalStorage without async_hooks (Stephen Belanger) #485288c9a4ae12b
] - lib,permission: support Buffer to permission.has (Rafael Gonzaga) #54104c8e358c96c
] - meta: add test-permission-* CODEOWNERS (Rafael Gonzaga) #54267581c155cf8
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #542103f0d7344e3
] - meta: add module label for the lib/internal/modules folder (Aviv Keller) #528580157ec6bbd
] - meta: bumpactions/upload-artifact
from 4.3.3 to 4.3.4 (dependabot[bot]) #541667fa95d2360
] - meta: bumpactions/download-artifact
from 4.1.7 to 4.1.8 (dependabot[bot]) #54167acc5b9a0c5
] - meta: bump actions/setup-python from 5.1.0 to 5.1.1 (dependabot[bot]) #54165dede30a8d0
] - meta: bumpstep-security/harden-runner
from 2.8.1 to 2.9.0 (dependabot[bot]) #54169b733854eac
] - meta: bumpactions/setup-node
from 4.0.2 to 4.0.3 (dependabot[bot]) #541706a9f168cc6
] - meta: bumpgithub/codeql-action
from 3.25.11 to 3.25.15 (dependabot[bot]) #541689bbd85e4fe
] - meta: bumpossf/scorecard-action
from 2.3.3 to 2.4.0 (dependabot[bot]) #5417133633eebd9
] - meta: add typescript team to codeowners (Marco Ippolito) #54101240d9296c1
] - (SEMVER-MINOR) module: add --experimental-transform-types flag (Marco Ippolito) #5428366dcb2a571
] - (SEMVER-MINOR) module: unflag detect-module (Geoffrey Booth) #53619100225fbe1
] - module: do not attempt to strip type when there's no source (Antoine du Hamel) #542871ba2000703
] - module: refactor ts parser loading (Marco Ippolito) #5424313cc480030
] - module: remove outdated comment (Michaël Zasso) #54118e676d98435
] - module,win: fix long path resolve (Hüseyin Açacak) #532949aec536083
] - path: changeposix.join
to use array (Wiyeong Seo) #543318a770cf5c9
] - path: fix relative on Windows (Hüseyin Açacak) #53991267cd7f361
] - path: use the correct name invalidateString
(Benjamin Pasero) #5366931adeea855
] - sea: don't set code cache flags when snapshot is used (Joyee Cheung) #541207f1bf1ce24
] - sqlite: split up large test file (Colin Ihrig) #5401494e2ea6f5c
] - sqlite: ensure statement finalization on db close (Colin Ihrig) #54014e077ff1f38
] - src: update compile cache storage structure (Joyee Cheung) #542914e4d1def7e
] - src: refactor http parser binding initialization (Joyee Cheung) #54276409d9eb09b
] - src: shift even moar x509 to ncrypto (James M Snell) #54340f87aa27274
] - src: don't match after--
inDotenv::GetPathFromArgs
(Aviv Keller) #54237b6927dd981
] - src: move some X509Certificate stuff to ncrypto (James M Snell) #54241a394219fa5
] - src: skip inspector wait in internal workers (Chengzhong Wu) #542198daeccfe92
] - src: shift more crypto impl details to ncrypto (James M Snell) #54028e619133ac9
] - src: move spkac methods to ncrypto (James M Snell) #53985b52c2fff75
] - src: account for OpenSSL unexpected version (Shelley Vohr) #540380b16af1689
] - src,test: trackURL.canParse
fast API calls (Michaël Zasso) #543562be78b03c3
] - src,test: ensure that V8 fast APIs are called (Michaël Zasso) #543179297d29cdb
] - stream: make checking pendingcb on WritableStream backward compatible (jakecastelli) #541422a6a12e493
] - stream: throw TypeError when criteria fulfilled in getIterator (jakecastelli) #538257f68cc0f7f
] - test: make snapshot comparison more flexible (Shelley Vohr) #543753df7938832
] - test: make sure current run result is pushed and reset (jakecastelli) #543323e25be7b28
] - test: use relative paths in test-cli-permission tests (sendoru) #54188f49f1bb3e9
] - test: unmark test-sqlite as flaky (Colin Ihrig) #540142f68a74702
] - test: fix timeout not being cleared (Isaac-yz-Liu) #54242f5cfa4454e
] - test: refactortest-runner-module-mocking
(Antoine du Hamel) #54233b85b13b418
] - test: use assert.{s,deepS}trictEqual() (Luigi Pinca) #542086bcbfcd7bc
] - test: add subtests to test-node-run (sungpaks) #54204dafe97548f
] - test: set test-structuredclone-jstransferable non-flaky (Stefan Stojanovic) #54115be61793db5
] - test: update wpt test for streams (devstone) #54129670c796449
] - test: fix typo in test (Sonny) #541371a15f3f613
] - test: add initial pull delay and prototype pollution prevention tests (Sonny) #540615dbff81b71
] - test: add coverage for webstorage quota (jakecastelli) #53964141e9fe7cc
] - test_runner: use validateStringArray fortimers.enable()
(Deokjin Kim) #49534e70711e190
] - test_runner: report failures in filtered suites (Colin Ihrig) #543877766c1dc9b
] - test_runner: remove parseCommandLine() from test.js (Colin Ihrig) #54353961cbf0be0
] - test_runner: refactor hook creation (Colin Ihrig) #5435369c78ca2f5
] - test_runner: return setup() from parseCommandLine() (Colin Ihrig) #54353ed1ede8c26
] - test_runner: pass global options to createTestTree() (Colin Ihrig) #543531e88045a69
] - test_runner: pass harness object as option to root test (Colin Ihrig) #54353e3378f0679
] - test_runner: use run() argument names in parseCommandLine() (Colin Ihrig) #54353676bbd5c09
] - test_runner: fix delete test file cause dependency file not watched (jakecastelli) #53533fe793a6103
] - test_runner: do not expose internal loader (Antoine du Hamel) #541067fad771bbf
] - test_runner: fix erroneous diagnostic warning when only: false (Pietro Marchini) #54116dc465736fb
] - test_runner: make mock_loader not confuse CJS and ESM resolution (Sung Ye In) #538465a1afb2139
] - test_runner: remove outdated comment (Colin Ihrig) #5414620a01fcc39
] - test_runner: run after hooks even if test is aborted (Colin Ihrig) #54151df428adb6c
] - tools: remove header from c-ares license (Aviv Keller) #54335b659fc0f2b
] - tools: add find pyenv path on windows (Marco Ippolito) #54314b93c6d9f38
] - tools: make undici updater build wasm from src (Michael Dawson) #541283835131559
] - tools: add workflow to ensureREADME
lists are in sync with gh teams (Antoine du Hamel) #53901e218b7ca8a
] - tools: add strip-types to label system (Marco Ippolito) #541858b35f0e601
] - tools: update eslint to 9.8.0 (Node.js GitHub Bot) #54073d83421fbe5
] - tty: initialize winSize array with values (Michaël Zasso) #54281a4768374f2
] - typings: add util.styleText type definition (Rafael Gonzaga) #54252a4aecd2755
] - typings: add missing binding functionwriteFileUtf8()
(Jungku Lee) #541100bed600df9
] - url: modify pathToFileURL to handle extended UNC path (Early Riser) #54262037672f15d
] - url: improve resolveObject with ObjectAssign (Early Riser) #540924d8b53e475
] - watch: reload changes in contents of --env-file (Marek Piechut) #54109v22.6.0
: 2024-08-06, Version 22.6.0 (Current), @RafaelGSSCompare Source
Experimental TypeScript support via strip types
Node.js introduces the
--experimental-strip-types
flag for initial TypeScript support.This feature strips type annotations from .ts files, allowing them to run
without transforming TypeScript-specific syntax. Current limitations include:
enums
ornamespaces
.Thanks Marco Ippolito for working on this.
Experimental Network Inspection Support in Node.js
This update introduces the initial support for network inspection in Node.js.
Currently, this is an experimental feature, so you need to enable it using the
--experimental-network-inspection
flag.With this feature enabled, you can inspect network activities occurring within a JavaScript application.
To use network inspection, start your Node.js application with the following command:
Please note that the network inspection capabilities are in active development.
We are actively working on enhancing this feature and will continue to expand its functionality in future updates.
http
andhttps
modules only.feature request on the Chrome DevTools side is addressed.
Thanks Kohei Ueno for working on this.
Other Notable Changes
15a94e67b1
] - lib,src: drop --experimental-network-imports (Rafael Gonzaga) #5382268e444d2d8
] - (SEMVER-MINOR) http: add diagnostics channelhttp.client.request.error
(Kohei Ueno) #540542d982d3dee
] - (SEMVER-MINOR) deps: V8: backport7857eb3
(Stephen Belanger) #5399715816bd0dd
] - (SEMVER-MINOR) stream: expose DuplexPair API (Austin Wright) #34111893c864542
] - (SEMVER-MINOR) test_runner: fix support watch with run(), add globPatterns option (Matteo Collina) #53866048d421ad1
] - meta: add jake to collaborators (jakecastelli) #540046ad6e01bf3
] - (SEMVER-MINOR) test_runner: refactor snapshots to get file from context (Colin Ihrig) #53853698e44f8e7
] - (SEMVER-MINOR) test_runner: add context.filePath (Colin Ihrig) #53853Commits
063f46dc2a
] - assert: use isError instead of instanceof in innerOk (Pietro Marchini) #5398010bea42f81
] - build: update gcovr to 7.2 and codecov config (Benjamin E. Coe) #540197c417c6cf4
] - build: avoid compiling with VS v17.10 (Hüseyin Açacak) #53863ee97c045b4
] - build: ensure v8_pointer_compression_sandbox is enabled on 64bit (Shelley Vohr) #53884bfbed0afd5
] - build: fix conflict gyp configs (Chengzhong Wu) #536050f1fe63e32
] - build: trigger coverage ci when updating codecov (Yagiz Nizipli) #53929ad62b945f0
] - build: update codecov coverage build count (Yagiz Nizipli) #539293c40868fd3
] - build: disable test-asan workflow (Michaël Zasso) #538442a62d6ca57
] - build, tools: drop leading/
fromr2dir
(Richard Lau) #539519c7b009f47
] - build,tools: simplify upload of shasum signatures (Michaël Zasso) #53892057bd44f9f
] - child_process: fix incomplete prototype pollution hardening (Liran Tal) #5378166f7c595c7
] - cli: document--inspect
port0
behavior (Aviv Keller) #53782fad3e74b47
] - console: fix issues with frozen intrinsics (Vinicius Lourenço) #54070e685ecd7ae
] - deps: update corepack to 0.29.3 (Node.js GitHub Bot) #54072e5f7250e6d
] - deps: update amaro to 0.0.6 (Node.js GitHub Bot) #541992c1e9082e8
] - deps: update amaro to 0.0.5 (Node.js GitHub Bot) #541992d982d3dee
] - (SEMVER-MINOR) deps: V8: backport7857eb3
(Stephen Belanger) #539971061898462
] - deps: update c-ares to v1.32.3 (Node.js GitHub Bot) #54020f4a7ac5e18
] - deps: V8: cherry-pick35888fe
(Joyee Cheung) #537281176310226
] - deps: add gn build files for ncrypto (Cheng) #539407a1d5a4f84
] - deps: update c-ares to v1.32.2 (Node.js GitHub Bot) #5386566f6a2aec9
] - deps: V8: cherry-pick9812cb4
(Michaël Zasso) #539668e66a18ef0
] - deps: start working on ncrypto dep (James M Snell) #53803c114082b12
] - deps: fix include_dirs of nbytes (Cheng) #53862b7315281be
] - doc: move numCPUs require to top of file in cluster CJS example (Alfredo González) #539328e7c30c2a4
] - doc: update security-release process to automated one (Rafael Gonzaga) #5387752a4206be2
] - doc: fix typo in technical-priorities.md (YoonSoo_Shin) #5409430e18a04a3
] - doc: fix typo in diagnostic tooling support tiers document (Taejin Kim) #5405858aebfd31e
] - doc: move GeoffreyBooth to TSC regular member (Geoffrey Booth) #54047c1634c7213
] - doc: correct typescript stdin support (Marco Ippolito) #5403664812d5c22
] - doc: fix typo in recognizing-contributors (Marco Ippolito) #539906b35994b6f
] - doc: fix documentation for--run
(Aviv Keller) #5397604d203a233
] - doc: update boxstarter README (Aviv Keller) #5378586fa46db1c
] - doc: add info about prefix-only modules tomodule.builtinModules
(Grigory) #53954defdc3c568
] - doc: removescroll-behavior: smooth;
(Cloyd Lau) #53942e907236dd9
] - doc: move --test-coverage-{ex,in}clude to proper location (Colin Ihrig) #539268bf9960b98
] - doc: add--experimental-sqlite
note (Aviv Keller) #53907d7615004d8
] - doc: updateapi_assets
README for new files (Aviv Keller) #5367663cf715aa0
] - doc: add MattiasBuelens to collaborators (Mattias Buelens) #538955b8dd78112
] - doc: fix release date for 22.5.0 (Antoine du Hamel) #53889dd2c0f349a
] - doc: fix casing of GitHub handle for two collaborators (Antoine du Hamel) #53857b47c2308e1
] - doc: update release-post nodejs.org script (Rafael Gonzaga) #5376288539527d5
] - doc, test: tracing channel hasSubscribers getter (Thomas Hunter II) #5290844a08f75b0
] - doc,tools: enforce use ofnode:
prefix (Antoine du Hamel) #5395087bab76df2
] - doc,tty: add documentation for ReadStream and WriteStream (jakecastelli) #53567dcca9ba560
] - esm: refactorget_format
(Antoine du Hamel) #538725e03c17aae
] - fs: optimizefs.cpSync
js calls (Yagiz Nizipli) #53614e0054ee0a7
] - fs: ensure consistency for mkdtemp in both fs and fs/promises (YieldRay) #537768086337ea9
] - fs: remove unnecessary option argument validation (Jonas) #53861b377b93a3f
] - fs: correctly pass dirent to excludewithFileTypes
(RedYetiDev) #5382368e444d2d8
] - (SEMVER-MINOR) http: add diagnostics channelhttp.client.request.error
(Kohei Ueno) #54054de1fbc292f
] - (SEMVER-MINOR) inspector: add initial support for network inspection (Kohei Ueno) #53593744df0be24
] - lib: support dynamic trace events on debugWithTimer (Vinicius Lourenço) #53913546dab29c1
] - lib: optimize copyError with ObjectAssign in primordials (HEESEUNG) #53999494df9835a
] - lib: improve cluster/primary code (Ehsan Khakifirooz) #5375603f353293b
] - lib: improve error message when index not found on cjs (Vinicius Lourenço) #53859d8375d6236
] - lib: decorate async stack trace in source maps (Chengzhong Wu) #5386015a94e67b1
] - lib,src: drop --experimental-network-imports (Rafael Gonzaga) #53822a6eedc401d
] - meta: addsqlite
to js subsystems (Alex Yang) #5391121098856de
] - meta: move tsc member to emeritus (Michael Dawson) #54029048d421ad1
] - meta: add jake to collaborators (jakecastelli) #5400420a8c96c41
] - meta: remove license for hljs (Aviv Keller) #539702fd4ac4859
] - meta: make more bug-report information required (Aviv Keller) #53718b312ec0b0c
] - meta: reword linter messages (Aviv Keller) #53949d2526126a9
] - meta: store actions secrets in environment (Aviv Keller) #539301688f00dce
] - meta: move anonrig to tsc voting members (Yagiz Nizipli) #53888c20e8418de
] - module: fix strip-types interaction with detect-module (Marco Ippolito) #54164ab1f0b415f
] - module: fix extensionless typescript in cjs loader (Marco Ippolito) #5406292439fc160
] - (SEMVER-MINOR) module: add --experimental-strip-types (Marco Ippolito) #53725f755d31bec
] - node-api: add property keys benchmark (Chengzhong Wu) #540127382eefae5
] - node-api: rename nogc to basic (Gabriel Schulhof) #538302c4470625b
] - process: unify experimental warning messages (Aviv Keller) #5370498a7ad2e0d
] - src: expose LookupAndCompile with parameters (Shelley Vohr) #53886dd3c66be0a
] - src: simplify AESCipherTraits::AdditionalConfig (Tobias Nießen) #53890ee82f224ff
] - src: remove redundant RsaPointer (use RSAPointer) (James M Snell) #540032d77bd2929
] - src: fix -Wshadow warning (Shelley Vohr) #53885bd4a9ffe8c
] - src: start using ncrypto for CSPRNG calls (James M Snell) #539843fdcf7a47d
] - src: returnundefined
if no rows are returned in SQLite (Deokjin Kim) #53981ca6854443d
] - src: fix slice of slice of file-backed Blob (Josh Lee) #53972c457f9ed5a
] - src: cache invariant code motion (Rafael Gonzaga) #53879fd0da6c2cf
] - src: avoid strcmp in ImportJWKAsymmetricKey (Tobias Nießen) #53813fbf74bcf99
] - src: switch from ToLocalChecked to ToLocal in node_webstorage (James M Snell) #5395904bb6778e5
] - src: moveToNamespacedPath
call of webstorage (Yagiz Nizipli) #538759ffaf763e9
] - src: use Maybe<void> in SecureContext (Tobias Nießen) #53883a94c3ae06f
] - src: replace ToLocalChecked uses with ToLocal in node-file (James M Snell) #5386955461be05f
] - src: refactor webstorage implementation (Yagiz Nizipli) #53876c53cf449a6
] - src: fix env-file flag to ignore spaces before quotes (Mohit Malhotra) #53786bac3a485f6
] - src: fix potential segmentation fault in SQLite (Tobias Nießen) #53850df5083e5f9
] - src,lib: expose getCategoryEnabledBuffer to use on node.http (Vinicius Lourenço) #536028664b9ad60
] - src,test: disallow unsafe integer coercion in SQLite (Tobias Nießen) #5385115816bd0dd
] - (SEMVER-MINOR) stream: expose DuplexPair API (Austin Wright) #34111718f6bc78c
] - test: do not swallow uncaughtException errors in exit code tests (Meghan Denny) #54039c6656c9251
] - test: move shared module totest/common
(Rich Trott) #54042e471e32d46
] - test: skip sea tests with more accurate available disk space estimation (Chengzhong Wu) #5399661971ec929
] - test: remove unnecessary console log (KAYYY) #538121344bd2d6f
] - test: add comments and rename test for timer robustness (Rich Trott) #54008da3573409c
] - test: add test for one arg timers to increase coverage (Carlos Espa) #54007fc67abd97e
] - test: mark 'test/parallel/test-sqlite.js' as flaky (Colin Ihrig) #54031aa0ac3b57c
] - test: mark test-pipe-file-to-http as flaky (jakecastelli) #5375152bc8ec360
] - test: compare paths on Windows without considering case (Early Riser) #539937e8a609579
] - test: skip sea tests in large debug builds (Chengzhong Wu) #5391830a94ca0c4
] - test: skip --title check on IBM i (Abdirahim Musse) #539525cea7ed706
] - test: reduce flakiness oftest-assert-esm-cjs-message-verify
(Antoine du Hamel) #5396758cb0dd8a6
] - test: usePYTHON
executable from env inassertSnapshot
(Antoine du Hamel) #53938c247582591
] - test: deflake test-blob-file-backed (Luigi Pinca) #539203999021653
] - test_runner: switched to internal readline interface (Emil Tayeb) #540003fb97a90ee
] - test_runner: remove redundant bootstrap boolean (Colin Ihrig) #54013edd80e2bdc
] - test_runner: do not throw on mocked clearTimeout() (Aksinya Bykova) #54005893c864542
] - (SEMVER-MINOR) test_runner: fix support watch with run(), add globPatterns option (Matteo Collina) #538664887213f2e
] - test_runner: added colors to dot reporter (Giovanni) #53450c4848c53e6
] - test_runner: cleanup global event listeners after run (Eddie Abbondanzio) #53878876e7b3226
] - test_runner: refactor coverage to pass in config options (Colin Ihrig) #53931f45edb4b5e
] - test_runner: refactor and simplify internals (Colin Ihrig) #539216ad6e01bf3
] - (SEMVER-MINOR) test_runner: refactor snapshots to get file from context (Colin Ihrig) #53853698e44f8e7
] - (SEMVER-MINOR) test_runner: add context.filePath (Colin Ihrig) #5385397da7ca11b
] - test_runner: consolidate option parsing (Colin Ihrig) #5384943afcbf9dd
] - tools: fixSLACK_TITLE
in invalid commit workflow (Antoine du Hamel) #53912eed0963391
] - typings: apply lint (1ilsang) #54065e8ea49b256
] - typings: fix typo on quic onSessionDatagram (1ilsang) #54064v22.5.1
: 2024-07-19, Version 22.5.1 (Current), @richardlauCompare Source
Notable Changes
This release fixes a regression introduced in Node.js 22.5.0. The problem is known to display the following symptoms:
FATAL ERROR: v8::Object::GetCreationContextChecked No creation context available
#53902npm error Exit handler never called!
npm/cli#7657Usage Error: Couldn't find the node_modules state file - running an install might help (findPackageLocation)
yarnpkg/berry#6398Commits
e2deeedc6e
] - Revert "fs: add v8 fast api to closeSync" (Aviv Keller) #53904v22.5.0
: 2024-07-17, Version 22.5.0 (Current), @RafaelGSS prepared by @aduh95Compare Source
Notable Changes
1367c5558e
] - (SEMVER-MINOR) http: expose websockets (Natalia Venditto) #53721b31394920d
] - (SEMVER-MINOR) lib: addnode:sqlite
module (Colin Ihrig) #53752aa7df9551d
] - module: add__esModule
torequire()
'd ESM (Joyee Cheung) #521668743c4d65a
] - (SEMVER-MINOR) path: addmatchesGlob
method (Aviv Keller) #5288177936c3d24
] - (SEMVER-MINOR) process: port on-exit-leak-free to core (Vinicius Lourenço) #5323982d88a83f8
] - (SEMVER-MINOR) stream: pipeline wait for close before calling the callback (jakecastelli) #534623a0fcbb17a
] - test_runner: support glob matching coverage files (Aviv Keller) #5355322ca334090
] - (SEMVER-MINOR) worker: addpostMessageToThread
(Paolo Insogna) #53682Commits
eb4e370933
] - benchmark: add require-esm benchmark (Joyee Cheung) #521664d4a8338db
] - benchmark: add cpSync benchmark (Yagiz Nizipli) #536123d60b38afa
] - build: fix build warning of c-ares under GN build (Cheng) #53750a45c801048
] - build: fix build error in sqlite under GN build (Cheng) #5368640032eb623
] - build: add gn files for deps/nbytes (Cheng) #53685082799debb
] - build: fix mac build error of c-ares under GN (Cheng) #53687b05394ea6a
] - build: add version-specific library path for AIX (Richard Lau) #535856237172eaf
] - cli: updatenode.1
to reflect Atom's sunset (Aviv Keller) #537345697938cb7
] - crypto: avoid std::function (Tobias Nießen) #536833cc01aa314
] - crypto: make deriveBits length parameter optional and nullable (Filip Skokan) #53601f82e20fdea
] - crypto: avoid taking ownership of OpenSSL objects (Tobias Nießen) #53460ad1e5610ec
] - deps: update googletest to4b21f1a
(Node.js GitHub Bot) #53842d285d610a0
] - deps: update minimatch to 10.0.1 (Node.js GitHub Bot) #5384170f5209c9f
] - deps: update corepack to 0.29.2 (Node.js GitHub Bot) #538384930e12a45
] - deps: update simdutf to 5.3.0 (Node.js GitHub Bot) #53837d346833364
] - deps: update ada to 2.9.0 (Node.js GitHub Bot) #53748ab8abb5367
] - deps: upgrade npm to 10.8.2 (npm team) #537991ad664905a
] - deps: update nbytes and add update script (Yagiz Nizipli) #53790a66f11e798
] - deps: update googletest to34ad51b
(Node.js GitHub Bot) #531579bf61d6a0d
] - deps: update googletest to305e5a2
(Node.js GitHub Bot) #531578542ace488
] - deps: V8: cherry-pick9ebca66
(Chengzhong Wu) #5375529a734c21d
] - deps: V8: cherry-picke061cf9
(Joyee Cheung) #53755c7624af44a
] - deps: update c-ares to v1.32.1 (Node.js GitHub Bot) #53753bbcec9e129
] - deps: update minimatch to 9.0.5 (Node.js GitHub Bot) #5364676032fd980
] - deps: update c-ares to v1.32.0 (Node.js GitHub Bot) #5372226386046ad
] - doc: move MylesBorins to emeritus (Myles Borins) #53760362875bda0
] - doc: add Rafael to the last security release (Rafael Gonzaga) #53769a1a5ad848d
] - doc: use mock.callCount() in examples (Sébastien Règne) #53754bb960c5471
] - doc: clarify authenticity of plaintexts in update (Tobias Nießen) #537845dd3018eb4
] - doc: add option to have support me link (Michael Dawson) #533120f95ad3d7d
] - doc: add OpenSSL security level to TLS docs (Afanasii Kurakin) #536472d92ec2831
] - doc: updatescroll-padding-top
to 4rem (Cloyd Lau) #53662933359a786
] - doc: mention v8.setFlagsFromString to pm (Rafael Gonzaga) #53731e17c2618e3
] - doc: remove the last <pre> tag (Claudio W) #537417f18a5f47a
] - doc: exclude voting and regular TSC from spotlight (Michael Dawson) #53694df3dcd1bd1
] - doc: fix releases guide for recent Git versions (Michaël Zasso) #5370950987ea833
] - doc: requirenode:process
in assert doc examples (Alfredo González) #53702fa58d01497
] - doc: add additional explanation to the wildcard section in permissions (jakecastelli) #5366428bf1e48ef
] - doc: mark NODE_MODULE_VERSION for Node.js 22.0.0 (Michaël Zasso) #536501cc0b41f00
] - doc: include node.module_timer on available categories (Vinicius Lourenço) #53638d224e9eab5
] - doc: fix module customization hook examples (Elliot Goodrich) #536372cf60964e6
] - doc: fix doc for correct usage with plan & TestContext (Emil Tayeb) #536156df86ae056
] - doc: remove some news issues that are no longer (Michael Dawson) #5360842b9408f3e
] - doc: add issue for news from ambassadors (Michael Dawson) #536072d1ff91953
] - doc: add esm example for os (Leonardo Peixoto) #53604de99d69d75
] - doc: clarify usage of coverage reporters (Eliphaz Bouye) #53523519c328dcf
] - doc: document addition testing options (Aviv Keller) #53569c6166cdfe4
] - doc: clarify that fs.exists() may return false for existing symlink (Tobias Nießen) #535669139ab2848
] - doc: note http.closeAllConnections excludes upgraded sockets (Rob Hogan) #5356019b3718ee1
] - doc, meta: add PTAL to glossary (Aviv Keller) #5377080c1f5ce8a
] - doc, typings: events.once accepts symbol event type (René) #535421a21e0f61e
] - esm: improvedefaultResolve
performance (Yagiz Nizipli) #53711262f2cb3b6
] - esm: remove unnecessary toNamespacedPath calls (Yagiz Nizipli) #53656e29c9453a9
] - esm: move hooks test with others (Geoffrey Booth) #535588368555289
] - fs: add v8 fast api to closeSync (Yagiz Nizipli) #53627628a539810
] - fs: reduce throwing unnecessary errors on glob (Yagiz Nizipli) #53632076e82ca40
] - fs: moveToNamespacedPath
dir calls to c++ (Yagiz Nizipli) #53630128e514d81
] - fs: improve error performance offs.dir
(Yagiz Nizipli) #53667603c2c5c08
] - fs: fix typings (Yagiz Nizipli) #536261367c5558e
] - (SEMVER-MINOR) http: expose websockets (Natalia Venditto) #537217debb6c36e
] - http: remove prototype primordials (Antoine du Hamel) #53698b13aea5698
] - http, readline: replace sort with toSorted (Benjamin Gruenbaum) #536231397f5d9f4
] - http2: remove prototype primordials (Antoine du Hamel) #53696f57d3cee2c
] - lib: make navigator not runtime-lookup process.version/arch/platform (Jordan Harband) #537650a01abbd45
] - lib: refactorplatform
utility methods (Daniel Bayley) #53817afe7f4f819
] - lib: remove path.resolve from permissions.js (Rafael Gonzaga) #53729cbe77b30ca
] - lib: moveToNamespacedPath
call to c++ (Yagiz Nizipli) #536540f146aac2c
] - lib: make navigator properties lazy (James M Snell) #536490540308bd7
] - lib: add toJSON to PerformanceMeasure (theanarkh) #53603b31394920d
] - (SEMVER-MINOR) lib,src,test,doc: add node:sqlite module (Colin Ihrig) #537521a7c2dc5ea
] - meta: remove redudant logging from dep updaters (Aviv Keller) #53783ac5d7b709d
] - meta: change email address of anonrig (Yagiz Nizipli) #53829085ec5533c
] - meta: addnode_sqlite.c
to PR label config (Aviv Keller) #53797c68d873e99
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #537585ae8ea489d
] - meta: use HTML entities in commit-queue comment (Aviv Keller) #53744ecd8fceb68
] - meta: move regular TSC member to emeritus (Michael Dawson) #5369305058f9809
] - meta: bump codecov/codecov-action from 4.4.1 to 4.5.0 (dependabot[bot]) #53675e272ffa3d6
] - meta: bump mozilla-actions/sccache-action from 0.0.4 to 0.0.5 (dependabot[bot]) #53674a39407560c
] - meta: bump github/codeql-action from 3.25.7 to 3.25.11 (dependabot[bot]) #53673e4ce92ee31
] - meta: bump actions/checkout from 4.1.6 to 4.1.7 (dependabot[bot]) #536724cf98febe7
] - meta: bump peter-evans/create-pull-request from 6.0.5 to 6.1.0 (dependabot[bot]) #53671c28af95bf5
] - meta: bump step-security/harden-runner from 2.8.0 to 2.8.1 (dependabot[bot]) #53670dd2157bc83
] - meta: move member from TSC regular to emeriti (Michael Dawson) #53599508abfe178
] - meta: warnings bypass deprecation cycle (Benjamin Gruenbaum) #535133c5ec839e3
] - meta: prevent constant references to issues in versioning (Aviv Keller) #53564aa7df9551d
] - module: add __esModule to require()'d ESM (Joyee Cheung) #521668743c4d65a
] - (SEMVER-MINOR) path: addmatchesGlob
method (Aviv Keller) #5288177936c3d24
] - (SEMVER-MINOR) process: port on-exit-leak-free to core (Vinicius Lourenço) #532395e4ca9fbb6
] - src: update outdated references to spec sections (Tobias Nießen) #53832c22d9d5167
] - src: use Maybe<void> in ManagedEVPPKey (Tobias Nießen) #53811d41ed44f49
] - src: moveloadEnvFile
toNamespacedPath call (Yagiz Nizipli) #53658dc99dd391f
] - src: fix error handling in ExportJWKAsymmetricKey (Tobias Nießen) #53767ab1e03e8cd
] - src: use Maybe<void> in node::crypto::error (Tobias Nießen) #537669bde9b254d
] - src: fix implementation ofPropertySetterCallback
(Igor Sheludko) #53576021e2cf40f
] - src: remove unused ContextifyContext::WeakCallback (Chengzhong Wu) #5351787121a17c4
] - src: fix typo in node.h (Daeyeon Jeong) #5375994c7054c8d
] - src: document the Node.js context embedder data (Joyee Cheung) #53611c181940e83
] - src: zero-initialize data that are copied into the snapshot (Joyee Cheung) #535638cda2db64c
] - Revert "src: make sure that memcpy-ed structs in snapshot have no padding" (Joyee Cheung) #5356381767f6089
] - src: fix Worker termination when '--inspect-brk' is passed (Daeyeon Jeong) #53724a9db553935
] - src: refactor embedded entrypoint loading (Joyee Cheung) #535733ab8aba478
] - src: do not get string_view from temp string (Cheng) #53688664bf6c28f
] - src: replacekPathSeparator
with std::filesystem (Yagiz Nizipli) #53063cc1f49751a
] - src: moveFromNamespacedPath
to path.cc (Yagiz Nizipli) #53540e43a4e07ec
] - src: usestarts_with
in node_dotenv.cc (Yagiz Nizipli) #5353919488fd4ce
] - src,test: further cleanup references to osx (Daniel Bayley) #538204bf62f6cbd
] - stream: improve inspector ergonomics (Benjamin Gruenbaum) #5380082d88a83f8
] - (SEMVER-MINOR) stream: pipeline wait for close before calling the callback (jakecastelli) #5346253a7dd7790
] - test: update wpt test (Mert Can Altin) #53814bc480902ab
] - test: update WPT WebIDL interfaces (Filip Skokan) #53720d13153d90f
] - test: un-set inspector-async-hook-setup-at-inspect-brk as flaky (Abdirahim Musse) #53692ac9c2e6bf2
] - test: use python3 instead of python in pummel test (Mathis Wiehl) #53057bac28678e6
] - test: do not assume cwd in snapshot tests (Antoine du Hamel) #5314641e106c0c6
] - test: useSet.difference()
(Richard Lau) #535978aab680f66
] - test: fix OpenSSL version checks (Richard Lau) #535036aa4f0f266
] - test: refactor, add assertion to http-request-end (jakecastelli) #53411fbc5cbb617
] - test_runner: remove plan option from run() (Colin Ihrig) #53834c590828ad8
] - test_runner: fix escaping in snapshot tests (Julian Kniephoff) #538333a0fcbb17a
] - test_runner: support glob matching coverage files (Aviv Keller) #53553e6a1eeb73d
] - test_runner: support module detection in module mocks (Geoffrey Booth) #536424d777de7d4
] - tls: add setKeyCert() to tls.Socket (Brian White) #53636ab9adfc42a
] - tls: remove prototype primordials (Antoine du Hamel) #5369903d378ffb9
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #5384006377b1b11
] - tools: update eslint to 9.7.0 (Node.js GitHub Bot) #53839d6629a2d84
] - tools: use v8_features.json to populate config.gypi (Cheng) #53749d3653fe8ac
] - tools: update eslint to 9.6.0 (Node.js GitHub Bot) #536451e930e93d4
] - tools: update lint-md-dependencies to unified@11.0.5 (Node.js GitHub Bot) #53555317a13b30f
] - tools: replace reference to NodeMainInstance with SnapshotBuilder (codediverdev) #535440e25faea0a
] - typings: addfs_dir
types (Yagiz Nizipli) #536317637f291be
] - url: fix typo (KAYYY) #538272c6548afd1
] - url: reduce unnecessary string copies (Yagiz Nizipli) #536280f2b57d1bc
] - url: make URL.parse enumerable (Filip Skokan) #537201300169f80
] - url: add missing documentation forURL.parse()
(Yagiz Nizipli) #53733c55e72ed8b
] - util: fix crashing when emitting new Buffer() deprecation warning #53075 (Aras Abbasi) #530895aa216320e
] - v8: moveToNamespacedPath
to c++ (Yagiz Nizipli) #536559fd976b09d
] - vm,src: add property query interceptors (Chengzhong Wu) #5351722ca334090
] - (SEMVER-MINOR) worker: add postMessageToThread (Paolo Insogna) #536825aecbefbd5
] - worker: allow copied NODE_OPTIONS in the env setting (Joyee Cheung) #53596v22.4.1
: 2024-07-08, Version 22.4.1 (Current), @RafaelGSSCompare Source
This is a security release.
Notable Changes
Commits
110902ff5e
] - lib,esm: handle bypass network-import via data: (RafaelGSS) nodejs-private/node-private#5220a0de3d491
] - lib,permission: support fs.lstat (RafaelGSS)93574335ff
] - lib,permission: disable fchmod/fchown when pm enabled (RafaelGSS) nodejs-private/node-private#58409899e6302
] - src: handle permissive extension on cmd check (RafaelGSS) nodejs-private/node-private#5965d9c811634
] - src,permission: fix UNC path resolution (RafaelGSS) nodejs-private/node-private#581v22.4.0
: 2024-07-02, Version 22.4.0 (Current), @targosCompare Source
Notable Changes
Experimental Web Storage API
9e30724b53
] - (SEMVER-MINOR) deps,lib,src: add experimental web storage (Colin Ihrig) #52435API stability updates
201266706b
] - doc: movenode --run
stability to rc (Yagiz Nizipli) #5343316c0884d48
] - doc: mark WebSocket as stable (Matthew Aitken) #53352cf375e73c1
] - doc: mark --heap-prof and related flags stable (Joyee Cheung) #533430160745057
] - doc: mark --cpu-prof and related flags stable (Joyee Cheung) #53343Other Notable Changes
df4762722c
] - doc: doc-only deprecate OpenSSL engine-based APIs (Richard Lau) #53329ad5282e196
] - inspector: fix disable async hooks onDebugger.setAsyncCallStackDepth
(Joyee Cheung) #53473e95af740fc
] - (SEMVER-MINOR) lib: add diagnostics_channel events to module loading (RafaelGSS) #4434050733a1abe
] - (SEMVER-MINOR) util: support--no-
for argument with boolean type for parseArgs (Zhenwei Jin) #53107Commits
9f32002397
] - assert,util: correct comparison when both contain same reference (Daniel Lemire) #53431dfdc062111
] - buffer: make indexOf(byte) faster (Tobias Nießen) #534551de437527e
] - build: configure with shared sqlite3 (Chengzhong Wu) #53519c7d44ba1f3
] - build: find version of Clang installed on Windows (Stefan Stojanovic) #5322836aad8b204
] - build: fix spacing before NINJA_ARGS (jakecastelli) #5318182092cdaa3
] - crypto: improve GetECGroupBits signature (Tobias Nießen) #53364073c231607
] - deps: update c-ares to v1.31.0 (Node.js GitHub Bot) #53554977beab729
] - (SEMVER-MINOR) deps: sqlite: fix Windows compilation (Colin Ihrig) #52435e69b8d202c
] - deps: update undici to 6.19.2 (Node.js GitHub Bot) #53468c4a7e051c8
] - deps: update undici to 6.19.1 (Node.js GitHub Bot) #53468fa34f8fcf0
] - deps: update undici to 6.19.1 (Node.js GitHub Bot) #534680b40bfad43
] - deps: update undici to 6.19.0 (Node.js GitHub Bot) #534681877f22a79
] - deps: update simdjson to 3.9.4 (Node.js GitHub Bot) #534671b84964b8d
] - deps: patch V8 to 12.4.254.21 (Node.js GitHub Bot) #534706acadeb59b
] - deps: update acorn-walk to 8.3.3 (Node.js GitHub Bot) #534667a7f438841
] - deps: update zlib to 1.3.0.1-motley-209717d (Node.js GitHub Bot) #53156bf891bf64c
] - deps: update c-ares to v1.30.0 (Node.js GitHub Bot) #53416bd68888261
] - deps: V8: cherry-picka3cc852
(kxxt) #534122defaaf771
] - deps: V8: cherry-pick6ea594f
(kxxt) #534129e30724b53
] - (SEMVER-MINOR) deps,lib,src: add experimental web storage (Colin Ihrig) #52435608cc05de1
] - doc: recommend not using libuv node-api function (Michael Dawson) #5352130858eca59
] - doc: add additional guidance for PRs to deps (Michael Dawson) #53499a5852cc710
] - doc: only apply content-visibility on all.html (Filip Skokan) #53510befabe5c58
] - doc: update the description of the return type for options.filter (Zhenwei Jin) #527425ed1a036ba
] - doc: remove first timer badge (Aviv Keller) #53338201266706b
] - doc: movenode --run
stability to rc (Yagiz Nizipli) #5343346a7681cc4
] - doc: add Buffer.from(string) to functions that use buffer pool (Christian Bates-White) #52801ec5364f6de
] - doc: add initial text for ambassadors program (Michael Dawson) #52857fa113b8fc7
] - doc: fix typo (EhsanKhaki) #53397d9182d0086
] - doc: define more cases for stream event emissions (Aviv Keller) #53317923d24b6f2
] - doc: remove mentions of policy model from security info (Aviv Keller) #5324948f78cd31b
] - doc: fix mistakes in the moduleload
hook api (István Donkó) #5334916c0884d48
] - doc: mark WebSocket as stable (Matthew Aitken) #53352df4762722c
] - doc: doc-only deprecate OpenSSL engine-based APIs (Richard Lau) #53329cf375e73c1
] - doc: mark --heap-prof and related flags stable (Joyee Cheung) #533430160745057
] - doc: mark --cpu-prof and related flags stable (Joyee Cheung) #533436e12d9f049
] - doc: remove IRC from man page (Tobias Nießen) #5334424c7a9415b
] - doc, http: addrejectNonStandardBodyWrites
option, clear its behaviour (jakecastelli) #53396ec38f3dc6a
] - doc, meta: organize contributing to Node-API guide (Aviv Keller) #53243cf5a973c42
] - doc, meta: use markdown rather than HTML in CONTRIBUTING.md (Aviv Keller) #53235105b006fd2
] - fs: moveToNamespacedPath
to c++ (Yagiz Nizipli) #52135568377f7f0
] - fs: do not crash if the watched file is removed while setting up watch (Matteo Collina) #53452fad179307c
] - fs: add fast api forInternalModuleStat
(Yagiz Nizipli) #5134441100b65f6
] - http2: reject failed http2.connect when used with promisify (ehsankhfr) #53475ad5282e196
] - inspector: fix disable async hooks on Debugger.setAsyncCallStackDepth (Joyee Cheung) #53473b5fc227344
] - lib: fix typo in comment (codediverdev) #53543e95af740fc
] - (SEMVER-MINOR) lib: add diagnostics_channel events to module loading (RafaelGSS) #44340123910f1de
] - lib: remove the unused code (theanarkh) #53463452011b719
] - lib: speed up MessageEvent creation internally (Matthew Aitken) #52951710cf7758c
] - lib: reduce amount of caught URL errors (Yagiz Nizipli) #5265845b59e58d1
] - lib: fix naming convention ofSymbol
(Deokjin Kim) #53387515dd24ee7
] - lib: fix timer leak (theanarkh) #5333777166137be
] - meta: use correct source for workflow in PR (Aviv Keller) #53490d1c10fee53
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #53480a5026386bf
] - meta: fix typo in dependency updates (Aviv Keller) #534710b9191da99
] - meta: bump step-security/harden-runner from 2.7.1 to 2.8.0 (dependabot[bot]) #5324549cfb9d001
] - src: resetprocess.versions
during pre-execution (Richard Lau) #5344415df4edd22
] - src: useargs.This()
instead ofHolder
(Michaël Zasso) #53474e16a04e852
] - src: fix dynamically linked OpenSSL version (Richard Lau) #534565961253824
] - src: removebase64
fromprocess.versions
(Richard Lau) #5344211dd15c0b5
] - src: removeSetEncoding
from StringEncoder (Yagiz Nizipli) #534410c7e69acd2
] - src: simplifysize() == 0
checks (Yagiz Nizipli) #53440f077afafda
] - src: add utilities to help debugging reproducibility of snapshots (Joyee Cheung) #50983004b9ea4c4
] - src: make sure that memcpy-ed structs in snapshot have no padding (Joyee Cheung) #50983bfc5236423
] - src: return non-empty data in context data serializer (Joyee Cheung) #50983955454ba4d
] - src: fix typo in env.cc (EhsanKhaki) #534187d8787768c
] - src: avoid strcmp in favor of operator== (Tobias Nießen) #53439599e7c3d8e
] - src: remove ArrayBufferAllocator::Reallocate override (Shu-yu Guo) #52910f9075ff38e
] - src: print v8::OOMDetails::detail when it's available (Joyee Cheung) #533604704270443
] - src: fix IsIPAddress for IPv6 (Hüseyin Açacak) #5340063f62d76de
] - src: fix permission inspector crash (theanarkh) #5338970bbc02dac
] - src, deps: add nbytes library (James M Snell) #535078b877099d0
] - stream: update outdated highwatermark doc (Jay Kim) #53494eded1e9768
] - stream: support dispose in writable (Benjamin Gruenbaum) #48547b3372a8b0e
] - stream: callback should be called when pendingcb is 0 (jakecastelli) #53438f4efb7f625
] - stream: make sure _destroy is called (jakecastelli) #532137dde37591c
] - stream: prevent stream unexpected pause when highWaterMark set to 0 (jakecastelli) #532616e66d9763f
] - test: marktest-benchmark-crypto
as flaky (Antoine du Hamel) #529551eebcbf9bf
] - test: skip reproducible snapshot test on 32-bit (Michaël Zasso) #5359291b2850303
] - test: extend env fortest-node-output-errors
(Richard Lau) #53535bcad560726
] - test: updatecompression
web-platform tests (Yagiz Nizipli) #53478b8f436c755
] - test: update encoding web-platform tests (Yagiz Nizipli) #53477d2c169a4f6
] - test: updateurl
web-platform tests (Yagiz Nizipli) #53472513e6aa4c7
] - test: check against run-time OpenSSL version (Richard Lau) #53456602b9d63c4
] - test: update tests for OpenSSL 3.0.14 (Richard Lau) #533734a3525bb08
] - test: fix test-http-server-keepalive-req-gc (Etienne Pierre-doray) #532927349edb28b
] - test: update TLS tests for OpenSSL 3.2 (Richard Lau) #53384a11a05763d
] - tls: check result of SSL_CTX_set_*_proto_version (Tobias Nießen) #534594b47f89eb2
] - tls: avoid taking ownership of OpenSSL objects (Tobias Nießen) #53436ac8adeb99f
] - tls: use SSL_get_peer_tmp_key (Tobias Nießen) #53366d5c380bb09
] - tools: lock versions of irrelevant DB deps (Michaël Zasso) #5354671321bb249
] - tools: fix skip detection of test runner output (Richard Lau) #53545ca198f4125
] - tools: update eslint to 9.5.0 (Node.js GitHub Bot) #5351530fdd482a1
] - tools: move ESLint to tools/eslint (Michaël Zasso) #53413fe85e05ba9
] - tools: fix c-ares update script (Marco Ippolito) #534148eb7bdf81b
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #531589ece63d415
] - tools: do not run Corepack code before it's reviewed (Antoine du Hamel) #53405ab2021492b
] - tools: move ESLint tools to tools/eslint (Michaël Zasso) #5339378a9037a6d
] - tools: use Ubuntu 24.04 and Clang on GitHub actions (Michaël Zasso) #53212855eb25dad
] - tools: add stream label on PR when related files being changed in lib (jakecastelli) #5326950733a1abe
] - (SEMVER-MINOR) util: support--no-
for argument with boolean type for parseArgs (Zhenwei Jin) #53107v22.3.0
: 2024-06-11, Version 22.3.0 (Current), @RafaelGSSCompare Source
Notable Changes
5a41bcf9ca
] - (SEMVER-MINOR) src: traverse parent folders while running--run
(Yagiz Nizipli) #531541d5934524b
] - (SEMVER-MINOR) buffer: add .bytes() method to Blob (Matthew Aitken) #5322175e5612fae
] - (SEMVER-MINOR) src,permission: --allow-wasi & prevent WASI exec (Rafael Gonzaga) #53124b5c30e2f5e
] - (SEMVER-MINOR) module: print amount of load time of a cjs module (Vinicius Lourenço) #522138c6dffc269
] - (SEMVER-MINOR) test_runner: add snapshot testing (Colin Ihrig) #53169048478d351
] - (SEMVER-MINOR) doc: add context.assert docs (Colin Ihrig) #53169f6d2af8ee7
] - (SEMVER-MINOR) test_runner: add context.fullName (Colin Ihrig) #53169a0766bdf0e
] - (SEMVER-MINOR) net: add new net.server.listen tracing channel (Paolo Insogna) #53136374743cd4e
] - (SEMVER-MINOR) process: add process.getBuiltinModule(id) (Joyee Cheung) #527621eb55f3550
] - (SEMVER-MINOR) doc: improve explanation about built-in modules (Joyee Cheung) #527626165894774
] - fs: mark recursive cp methods as stable (Théo LUDWIG) #53127db5dd0c6df
] - doc: add StefanStojanovic to collaborators (StefanStojanovic) #53118cfcde78513
] - (SEMVER-MINOR) cli: addNODE_RUN_PACKAGE_JSON_PATH
env (Yagiz Nizipli) #530587a67ecf161
] - (SEMVER-MINOR) test_runner: support module mocking (Colin Ihrig) #52848ee56aecced
] - (SEMVER-MINOR) lib: add EventSource Client (Aras Abbasi) #515756413769bc7
] - (SEMVER-MINOR) lib: replace MessageEvent with undici's (Matthew Aitken) #52370c70b2f7a76
] - (SEMVER-MINOR) cli: addNODE_RUN_SCRIPT_NAME
env tonode --run
(Yagiz Nizipli) #53032badec0c38b
] - doc: add Marco Ippolito to TSC (Rafael Gonzaga) #53008Commits
feb0ba2860
] - benchmark: fix napi/ref addon (Michaël Zasso) #53233bb844de4e1
] - benchmark: fix api restriction for the permission category (Ryan Tsien) #515281d5934524b
] - (SEMVER-MINOR) buffer: add .bytes() method to Blob (Matthew Aitken) #53221d87f9af5aa
] - buffer: make compare/equals faster (Tobias Nießen) #52993ec83431d71
] - build: generate binlog in out directories (Chengzhong Wu) #533250976439417
] - build: fix --v8-lite-mode build (Daeyeon Jeong) #52725350c733ae6
] - build: support python 3.13 (Chengzhong Wu) #5319074cefa55a2
] - build: update ruff to v0.4.5 (Yagiz Nizipli) #5318033242ff042
] - build: add--skip-tests
totest-ci-js
target (Antoine du Hamel) #53105edcadf7f8a
] - build: fix building embedtest in GN build (Cheng) #53145d711942fce
] - build: use broader detection for 'help' (Aviv Keller) #53045ca655b61a7
] - build: fix -j propagation to ninja (Tobias Nießen) #530885fba67ff9f
] - build: exit on unsupported host OS for Android (Mohammed Keyvanzadeh) #52882b7d7e9a084
] - build: fix--enable-d8
builds (Richard Lau) #5310614547c5d32
] - build: fix ./configure --help format error (Zhenwei Jin) #53066f9490806d3
] - build: set "clang" in config.gypi in GN build (Cheng) #53004638b510ce7
] - cli: add--expose-gc
flag available toNODE_OPTIONS
(Juan José) #53078cfcde78513
] - (SEMVER-MINOR) cli: addNODE_RUN_PACKAGE_JSON_PATH
env (Yagiz Nizipli) #53058c70b2f7a76
] - (SEMVER-MINOR) cli: addNODE_RUN_SCRIPT_NAME
env tonode --run
(Yagiz Nizipli) #5303234f20983fd
] - crypto: fix propagation of "memory limit exceeded" (Tobias Nießen) #53300fef067f4f4
] - deps: update nghttp2 to 1.62.1 (Node.js GitHub Bot) #52966fc949928ac
] - deps: update nghttp2 to 1.62.0 (Node.js GitHub Bot) #529664a17dda8dc
] - deps: update undici to 6.18.2 (Node.js GitHub Bot) #53255e45cc2a551
] - deps: update ada to 2.8.0 (Node.js GitHub Bot) #5325477907a2619
] - deps: update corepack to 0.28.2 (Node.js GitHub Bot) #53253b688050778
] - deps: update simdjson to 3.9.3 (Node.js GitHub Bot) #532526303f19cbe
] - deps: patch V8 to 12.4.254.20 (Node.js GitHub Bot) #53159257004c68f
] - deps: update c-ares to 1.29.0 (Node.js GitHub Bot) #531550b375a3e36
] - deps: upgrade npm to 10.8.1 (npm team) #53207728c861b1c
] - deps: fix FP16 bitcasts.h (Stefan Stojanovic) #5313452a78737b1
] - deps: patch V8 to 12.4.254.19 (Node.js GitHub Bot) #530944d27b32e58
] - deps: update undici to 6.18.1 (Node.js GitHub Bot) #53073b94199240b
] - deps: update undici to 6.18.0 (Node.js GitHub Bot) #53073793af1b3e7
] - deps: update undici to 6.17.0 (Node.js GitHub Bot) #53034fe00becc03
] - deps: update undici to 6.16.1 (Node.js GitHub Bot) #5294896f72ae54f
] - deps: update undici to 6.15.0 (Matthew Aitken) #52763af60fbb12b
] - deps: update googletest to33af80a
(Node.js GitHub Bot) #530537b929df489
] - deps: patch V8 to 12.4.254.18 (Node.js GitHub Bot) #53054626037c0fc
] - deps: update zlib to 1.3.0.1-motley-4f653ff (Node.js GitHub Bot) #530526d8589e558
] - deps: patch V8 to 12.4.254.17 (Node.js GitHub Bot) #52980fd91eaab34
] - deps: upgrade npm to 10.8.0 (npm team) #53014133cae0732
] - doc: fix broken link instatic-analysis.md
(Richard Lau) #533457bc5f964fd
] - doc: indicate requirement on VS 17.6 or newer (Chengzhong Wu) #533018c71522ced
] - doc: remove cases for keys not containing "*" in PATTERN_KEY_COMPARE (Maarten Zuidhoorn) #53215718a3ab1ab
] - doc: add err param to fs.cp callback (Feng Yu) #53234d89bde26ff
] - doc: adderr
param to fs.copyFile callback (Feng Yu) #5323491971ee344
] - doc: reserve 128 for Electron 32 (Keeley Hammond) #53203812f0e9e14
] - doc: add note to ninjia build for macOS using -jn flag (jakecastelli) #53187048478d351
] - (SEMVER-MINOR) doc: add context.assert docs (Colin Ihrig) #53169c391923445
] - doc: include ESM import for HTTP (Aviv Keller) #531651eb55f3550
] - (SEMVER-MINOR) doc: improve explanation about built-in modules (Joyee Cheung) #5276267a766f7d4
] - doc: fix minor grammar and style issues in SECURITY.md (Rich Trott) #53168afbfe8922a
] - doc: mention pm is not enforced when using fd (Rafael Gonzaga) #531251702d2632e
] - doc: fix format inesm.md
(Pop Moore) #53170070577e7d7
] - doc: fix wrong variable name in example oftimers.tick()
(Deokjin Kim) #531477147c1df1f
] - doc: fix wrong function name in example ofcontext.plan()
(Deokjin Kim) #53140cf47384148
] - doc: add note for windows users and symlinks (Aviv Keller) #53117088dff1074
] - doc: move all TLS-PSK documentation to its section (Alba Mendez) #35717db5dd0c6df
] - doc: add StefanStojanovic to collaborators (StefanStojanovic) #531180f0bc98ad7
] - doc: improve ninja build for --built-in-modules-path (jakecastelli) #530074c65c52d30
] - doc: avoid hiding by navigation bar in anchor jumping (Cloyd Lau) #4513163fcbcfd62
] - doc: remove unavailable youtube link in pull requests (Deokjin Kim) #5298277fd504636
] - doc: add missing supported timer values intimers.enable()
(Deokjin Kim) #529696708536b03
] - fs: fix cp dir/non-dir mismatch error messages (Mathis Wiehl) #531506165894774
] - fs: mark recursive cp methods as stable (Théo LUDWIG) #531277940db7be1
] - fs: remove basename in favor of std::filesystem (Yagiz Nizipli) #53062505e9a425b
] - lib: fix misleading argument of validateUint32 (Tobias Nießen) #5330798ae1ebdd6
] - lib: fix the name of the fetch global function (Gabriel Bota) #53227fe007cd1b4
] - lib: allow CJS source map cache to be reclaimed (Chengzhong Wu) #51711040be4a7b4
] - lib: do not call callback if socket is closed (theanarkh) #52829ee56aecced
] - (SEMVER-MINOR) lib: add EventSource Client (Aras Abbasi) #515756413769bc7
] - (SEMVER-MINOR) lib: replace MessageEvent with undici's (Matthew Aitken) #52370879679e5a3
] - lib,doc: replace references to import assertions (Michaël Zasso) #52998062a0c6f67
] - meta: bump ossf/scorecard-action from 2.3.1 to 2.3.3 (dependabot[bot]) #53248e59b744b30
] - meta: bump actions/checkout from 4.1.4 to 4.1.6 (dependabot[bot]) #5324796924f48a0
] - meta: bump github/codeql-action from 3.25.3 to 3.25.7 (dependabot[bot]) #53246b7f5662dee
] - meta: bump codecov/codecov-action from 4.3.1 to 4.4.1 (dependabot[bot]) #53244e079967eb4
] - meta: removeinitializeCommand
from devcontainer (Aviv Keller) #531373afeced572
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #530654b9cdea8a6
] - Revert "module: have a single hooks thread for all workers" (Matteo Collina) #53183b5c30e2f5e
] - (SEMVER-MINOR) module: print amount of load time of a cjs module (Vinicius Lourenço) #522134cdb05a7a2
] - module: do not set CJS variables for Worker eval (Antoine du Hamel) #53050a0766bdf0e
] - (SEMVER-MINOR) net: add new net.server.listen tracing channel (Paolo Insogna) #53136374743cd4e
] - (SEMVER-MINOR) process: add process.getBuiltinModule(id) (Joyee Cheung) #52762e66eb376a0
] - repl: fix await object patterns without values (Luke Haas) #53331cb1329a8cf
] - src: use v8::(Des|S)erializeInternalFieldsCallback (Joyee Cheung) #532171886fe99af
] - src: use __FUNCSIG__ on Windows in backtrace (Joyee Cheung) #531353bfce6c816
] - src: use new V8 API to define stream accessor (Igor Sheludko) #5308411f790d911
] - src: do not use deprecated V8 API (ishell) #530846b1731cbcc
] - src: convert all endian checks to constexpr (Tobias Nießen) #529747aa9519ad4
] - src: fix external module env and kDisableNodeOptionsEnv (Rafael Gonzaga) #52905838fe59787
] - src: fix execArgv in worker (theanarkh) #530294a2c6ff05d
] - src: reduce unnecessaryGetCwd
calls (Yagiz Nizipli) #53064ec44965b49
] - src: simplify node modules traverse path (Yagiz Nizipli) #53061190129b48e
] - src: remove unusedbase64_table_url
(Yagiz Nizipli) #53040d750a3c5c4
] - src: remove calls to recently deprecated V8 APIs (Adam Klein) #52996f1890abb18
] - src: replace deprecated GetImportAssertions V8 API (Michaël Zasso) #529974347bd2acb
] - src: improve node::Dotenv declarations (Tobias Nießen) #52973e26166f30b
] - src,permission: handle process.chdir on pm (Rafael Gonzaga) #5317575e5612fae
] - (SEMVER-MINOR) src,permission: --allow-wasi & prevent WASI exec (Rafael Gonzaga) #531247c66b27407
] - stream: micro-optimize writable condition (Orgad Shaneh) #53189a656cf6bc8
] - stream: fix memory usage regression in writable (Orgad Shaneh) #531880e85a84fdc
] - test: fix test when compiled without engine support (Richard Lau) #53232cebbd83e47
] - test: update TLS trace tests for OpenSSL >= 3.2 (Richard Lau) #5322945c1eb19f1
] - Revert "test: skip v8-updates/test-linux-perf-logger" (Luke Albao) #52869c1138db3c1
] - test: unskip v8-updates/test-linux-perf-logger (Luke Albao) #5286965b64cf0f1
] - test: fix Windows native test suites (Stefan Stojanovic) #531739a47792cd1
] - test: skiptest-setproctitle
whenps
is not available (Antoine du Hamel) #53104a371dea699
] - test: increase allocation so it fails for the test (Adam Majer) #530993ce7a9a1b5
] - test: remove timers from test-tls-socket-close (Luigi Pinca) #53019494fa542af
] - test: replace.substr
with.slice
(Antoine du Hamel) #530703f7d55b7db
] - test: add AbortController to knownGlobals (Luigi Pinca) #53020c61f909ab6
] - test,doc: enable running embedtest for Windows (Vladimir Morozov) #526462d1ecbf827
] - test_runner: calculate executed lines using source map (Moshe Atlow) #53315d4f5f80f6c
] - test_runner: handle file rename and deletion under watch mode (jakecastelli) #5311407c601e32f
] - test_runner: refactor to use min/max ofvalidateInteger
(Deokjin Kim) #531488c6dffc269
] - (SEMVER-MINOR) test_runner: add snapshot testing (Colin Ihrig) #53169f6d2af8ee7
] - (SEMVER-MINOR) test_runner: add context.fullName (Colin Ihrig) #531697a67ecf161
] - (SEMVER-MINOR) test_runner: support module mocking (Colin Ihrig) #528483ff174f2bf
] - test_runner: fix t.assert methods (Colin Ihrig) #53049e2211a07c2
] - test_runner: avoid error when coverage line not found (Moshe Atlow) #53000c249289121
] - test_runner,doc: align documentation with actual stdout/stderr behavior (Moshe Atlow) #531315110b19a07
] - tls: fix negative sessionTimeout handling (Tobias Nießen) #530020ecb770331
] - tools: remove no-goma arg from make-v8 script (Michaël Zasso) #53336e7f3a3c296
] - tools: use sccache Github action (Moshe Atlow) #5331698cc094bc5
] - tools: update eslint to 9.4.0 (Node.js GitHub Bot) #532986409b1fe65
] - tools: update gyp-next to 0.18.1 (Node.js GitHub Bot) #5325186e80dcb9b
] - tools: move webcrypto into no-restricted-properties (Zihong Qu) #530236022346f0e
] - tools: update error message for Type Error (Aviv Keller) #53047c1b3e0ed6f
] - Revert "tools: add --certify-safe to nci-ci" (Antoine du Hamel) #530989f764a873c
] - tools: update ESLint to v9 and use flat config (Michaël Zasso) #527802859f4c027
] - watch: fix variable naming (jakecastelli) #53101v22.2.0
: 2024-05-15, Version 22.2.0 (Current), @targosCompare Source
Notable Changes
fb85d38e80
] - (SEMVER-MINOR) cli: allow running wasm in limited vmem with --disable-wasm-trap-handler (Joyee Cheung) #5276623a0d3339f
] - doc: add pimterry to collaborators (Tim Perry) #528747d7a762156
] - (SEMVER-MINOR) fs: allow 'withFileTypes' to be used with globs (Aviv Keller) #528378748dd6477
] - (SEMVER-MINOR) inspector: introduce the--inspect-wait
flag (Kohei Ueno) #527349a7ae9b6c4
] - lib,src: remove --experimental-policy (Rafael Gonzaga) #525831f7c2a93fc
] - (SEMVER-MINOR) perf_hooks: adddeliveryType
andresponseStatus
fields (Matthew Aitken) #515892f59529dc5
] - (SEMVER-MINOR) test_runner: support test plans (Colin Ihrig) #528606b4dac3eb5
] - (SEMVER-MINOR) zlib: expose zlib.crc32() (Joyee Cheung) #52692Commits
0f5716c364
] - assert: add deep equal check for more Error type (Zhenwei Jin) #518052c7d7caa8a
] - benchmark: filter non-present deps fromstart-cli-version
(Adam Majer) #517465db4c54bd6
] - bootstrap: print--help
message usingconsole.log
(Jacob Hummer) #5146367fcb6b85e
] - buffer: even faster atob (Daniel Lemire) #52443a5d63f9052
] - buffer: use size_t instead of uint32_t to avoid segmentation fault (Xavier Stouder) #48033f1bc994826
] - buffer: remove lines setting indexes to integer value (Zhenwei Jin) #52588a97ff753ab
] - build: add option to enable clang-cl on Windows (Michaël Zasso) #52870f96466a92c
] - build: enable building with shared uvwasi lib (Pooja D P) #43987b463385aa8
] - build: remove deprecated calls for argument groups (Mohammed Keyvanzadeh) #52913daeb7dbb3e
] - build: sync V8 warning cflags with BUILD.gn (Michaël Zasso) #52873eed967430d
] - build: harmonize Clang checks (Michaël Zasso) #52873e4b187433d
] - build: compile with C++20 support (Michaël Zasso) #52838aea6ca25ba
] - build: drop base64 dep in GN build (Cheng) #528567f866a8225
] - build: make simdjson a public dep in GN build (Cheng) #52755e1bd53c098
] - build: defineNOMINMAX
in common.gypi (Chengzhong Wu) #5279418c530f8f7
] - build, tools: copy release assets to staging R2 bucket once built (flakey5) #51394fb85d38e80
] - (SEMVER-MINOR) cli: allow running wasm in limited vmem with --disable-wasm-trap-handler (Joyee Cheung) #5276611e978916f
] - cluster: replaceforEach
withfor-of
loop (Jérôme Benoit) #50317db76c58d68
] - console: colorize console error and warn (Jithil P Ponnan) #516290d040a3035
] - crypto: fix duplicated switch-case return values (Mustafa Ateş UZUN) #49030ab7219f0b2
] - deps: update googletest tofa6de7f
(Node.js GitHub Bot) #529494ab096eccc
] - deps: update simdjson to 3.9.2 (Node.js GitHub Bot) #5294789f275b1df
] - deps: update corepack to 0.28.1 (Node.js GitHub Bot) #52946fc568b4b42
] - deps: update simdutf to 5.2.8 (Node.js GitHub Bot) #52727e399360182
] - deps: update simdutf to 5.2.6 (Node.js GitHub Bot) #52727232831f013
] - deps: enable unbundling of simdjson, simdutf, ada (Daniel Lemire) #529247ca83a5abc
] - deps: update googletest to2d16ed0
(Node.js GitHub Bot) #516573b15eb5911
] - deps: update googletest tod83fee1
(Node.js GitHub Bot) #516574190d70035
] - deps: update googletest to5a37b51
(Node.js GitHub Bot) #516577a166a2871
] - deps: update googletest to5197b1a
(Node.js GitHub Bot) #51657812dbd749f
] - deps: update googletest toeff443c
(Node.js GitHub Bot) #51657cb3ae4b9ef
] - deps: update googletest toc231e6f
(Node.js GitHub Bot) #51657d97317aaa1
] - deps: update googletest toe4fdb87
(Node.js GitHub Bot) #51657ad8ca1259f
] - deps: update googletest to5df0241
(Node.js GitHub Bot) #51657828f0d7096
] - deps: update googletest tob75ecf1
(Node.js GitHub Bot) #516573b60dbcf7b
] - deps: update googletest to4565741
(Node.js GitHub Bot) #5165737098eb880
] - deps: update simdjson to 3.9.1 (Node.js GitHub Bot) #52397a13cf1c049
] - deps: update uvwasi to 0.0.21 (Node.js GitHub Bot) #52863faf8ada719
] - deps: V8: cherry-pickf6bef09
(Richard Lau) #528028e5844c2a4
] - doc: remove reference to AUTHORS file (Marco Ippolito) #529601f3634e30f
] - doc: update hljs with the latest styles (Aviv Keller) #529119102255749
] - doc: mention quicker way to build docs (Alex Crawford) #5293715db3ef5fb
] - doc: mention push.followTags config (Rafael Gonzaga) #5290680fa675af2
] - doc: document pipeline withend
option (Alois Klink) #48970c0000f4118
] - doc: add example forexecFileSync
method and ref to stdio (Evan Shortiss) #39412e0148e2653
] - doc: add examples and notes to http server.close et al (mary marchini) #49091030f56ee6d
] - doc: fixdns.lookup
family0
andall
descriptions (Adam Jones) #51653a6d624cd5a
] - doc: updatefs.realpath
documentation (sinkhaha) #481705dab187ca8
] - doc: update fs read documentation for clarity (Mert Can Altin) #524535d3ee7205d
] - doc: watermark string behavior (Benjamin Gruenbaum) #528422dd8f092a8
] - doc: exclude commits with baking-for-lts (Marco Ippolito) #528960c2539b913
] - doc: add names next to release key bash commands (Aviv Keller) #5287823a0d3339f
] - doc: add pimterry to collaborators (Tim Perry) #5287415aad62e0c
] - doc: update BUILDING.md previous versions links (Michaël Zasso) #52852f770a993d4
] - doc: add more definitions to GLOSSARY.md (Aviv Keller) #52798f35b838a65
] - doc: make docs more welcoming and descriptive for newcomers (Serkan Özel) #38056562a019a14
] - doc: add OpenSSL errors to API docs (John Lamp) #342130cb7cf7aa9
] - doc: fix grammatical mistake (codershiba) #52808a0147ff8d0
] - doc: simplify copy-pasting ofbranch-diff
commands (Antoine du Hamel) #52757fce31fc829
] - doc: add test_runner to subsystem (Raz Luvaton) #52774ca5607bbc8
] - events: update MaxListenersExceededWarning message log (sinkhaha) #5192196566fc696
] - events: add stop propagation flag toEvent.stopImmediatePropagation
(Mickael Meausoone) #394635ee69243ed
] - events: replace NodeCustomEvent with CustomEvent (Feng Yu) #43876f076e721cb
] - fs: keep fs.promises.readFile read until EOF is reached (Zhenwei Jin) #521787d7a762156
] - (SEMVER-MINOR) fs: allow 'withFileTypes' to be used with globs (Aviv Keller) #52837ad9c4bddb1
] - http: correctly translate HTTP method (Paolo Insogna) #527018748dd6477
] - (SEMVER-MINOR) inspector: introduce the--inspect-wait
flag (Kohei Ueno) #527349a7ae9b6c4
] - lib,src: remove --experimental-policy (Rafael Gonzaga) #52583a850219600
] - meta: move@anonrig
to TSC regular member (Yagiz Nizipli) #529324dc8a387b3
] - meta: add mailmap entry for legendecas (Chengzhong Wu) #52795d10182d81d
] - meta: bump actions/checkout from 4.1.1 to 4.1.4 (dependabot[bot]) #5278748d0ac0665
] - meta: bump github/codeql-action from 3.24.9 to 3.25.3 (dependabot[bot]) #527867c7a25150e
] - meta: bump actions/upload-artifact from 4.3.1 to 4.3.3 (dependabot[bot]) #52785d9abf18342
] - meta: bump actions/download-artifact from 4.1.4 to 4.1.7 (dependabot[bot]) #52784590e5c6c45
] - meta: bump codecov/codecov-action from 4.1.1 to 4.3.1 (dependabot[bot]) #52783b3d1720515
] - meta: bump step-security/harden-runner from 2.7.0 to 2.7.1 (dependabot[bot]) #52782f74beb53de
] - module: cache synchronous module jobs before linking (Joyee Cheung) #528688fbf6628d6
] - module: have a single hooks thread for all workers (Gabriel Bota) #52706609d90bb4b
] - path: fix toNamespacedPath on Windows (Hüseyin Açacak) #529151f7c2a93fc
] - (SEMVER-MINOR) perf_hooks: adddeliveryType
andresponseStatus
fields (Matthew Aitken) #515890bbc62c42a
] - process: improve event-loop (Aras Abbasi) #52108619ac79abb
] - quic: address coverity warning (Michael Dawson) #5282404de5766ee
] - repl: fix disruptive autocomplete without inspector (Nitzan Uziely) #40661663bb973ab
] - src: fix Worker termination ininspector.waitForDebugger
(Daeyeon Jeong) #52527fca38b2d6e
] - src: useS_ISDIR
to check if the file is a directory (theanarkh) #52164b228db579f
] - src: allow preventing debug signal handler start (Shelley Vohr) #46681ace65a9aac
] - src: make sure pass theargv
to worker threads (theanarkh) #5282775004d32ab
] - src: fix typo Unabled -> Unable (Simon Siefke) #52820c40a8273ef
] - src: avoid unused variable 'error' warning (Michaël Zasso) #52886d169d0f181
] - src: fix positional args in task runner (Yagiz Nizipli) #528109c76c95c10
] - src: only apply fix in main thread (Paolo Insogna) #52702e1cba97df3
] - src: fix test local edge case (Paolo Insogna) #52702dc41c135d7
] - src: reduce unnecessary serialization of CLI options in C++ (Joyee Cheung) #52451fb24c4475c
] - src: rewrite task runner in c++ (Yagiz Nizipli) #52609323f95de9e
] - src: migrate to new V8 interceptors API (Michaël Zasso) #52745850ff02931
] - src,permission: resolve path on fs_permission (Rafael Gonzaga) #527618d3b0b7ade
] - stream: useByteLengthQueuingStrategy
when not inobjectMode
(Jason) #48847fa715437b0
] - stream: fix util.inspect for compression/decompressionStream (Mert Can Altin) #52283b0e6a6b3d5
] - string_decoder: throw an error when writing a too long buffer (zhenweijin) #52215e016e952e6
] - test: addDebugger.setInstrumentationBreakpoint
known issue (Konstantin Ulitin) #31137a589de0886
] - test: usefor-of
instead offorEach
(Gibby Free) #49790578868ddf8
] - test: verify request payload is uploaded consistently (Austin Wright) #34066c676e522e6
] - test: add fuzzer for native/js string conversion (Adam Korczynski) #511205f6415b41d
] - test: add fuzzer forClientHelloParser
(AdamKorcz) #510884d50d51a5e
] - test: fix broken env fuzzer by initializing process (AdamKorcz) #51080cd00cdcbc8
] - test: replaceforEach()
intest-stream-pipe-unpipe-stream
(Dario) #507865469adf458
] - test: test pipelineend
on transform streams (Alois Klink) #48970ea6070b0e8
] - test: improve coverage of lib/readline.js (Rongjian Zhang) #386464f96b00307
] - test: updated for each to for of in test file (lyannel) #503085d91cf1976
] - test: movetest-http-server-request-timeouts-mixed
to sequential (Madhuri) #45722f47e8fccbb
] - test: fix DNS cancel tests (Szymon Marczak) #444320b073f885a
] - test: add http agent toexecutionAsyncResource
(psj-tar-gz) #34966fbce3178ba
] - test: reduce memory usage of test-worker-stdio (Adam Majer) #377691f8eaec454
] - test: add common.expectRequiredModule() (Joyee Cheung) #528685e731da572
] - test: skip unstable shadow realm gc tests (Chengzhong Wu) #5285530a35ae522
] - test: crypto-rsa-dsa testing for dynamic openssl (Michael Dawson) #52781968fe6a8b1
] - test: skip some console tests on dumb terminal (Adam Majer) #377701448959e0d
] - test: skip v8-updates/test-linux-perf-logger (Michaël Zasso) #5282130a4248b48
] - test: add env variable test for --run (Yagiz Nizipli) #52811edb4ed3bc9
] - test: drop test-crypto-timing-safe-equal-benchmarks (Rafael Gonzaga) #52751944ae598b5
] - test, crypto: use correct object on assert (响马) #51820a814e720fa
] - test_runner: fix watch mode race condition (Moshe Atlow) #529542f59529dc5
] - (SEMVER-MINOR) test_runner: support test plans (Colin Ihrig) #528603267b3c063
] - test_runner: display failed test stack trace with dot reporter (Mihir Bhansali) #52655b96868b4e7
] - test_runner: preserve hook promise when executed twice (Moshe Atlow) #5279174341ba3c9
] - tools: fix v8-update workflow (Michaël Zasso) #52957afe39ed0df
] - tools: add --certify-safe to nci-ci (Matteo Collina) #52940bb97e1ccdd
] - tools: fix doc update action (Marco Ippolito) #52890c6043fe6c8
] - tools: fix get_asan_state() in tools/test.py (Joyee Cheung) #527666e71accc5f
] - tools: support max_virtual_memory test configuration (Joyee Cheung) #527661600bdac60
] - tools: support != in test status files (Joyee Cheung) #527668ce23dc9f3
] - tools: update gyp-next to 0.18.0 (Node.js GitHub Bot) #52835c5f832adc0
] - tools: update gyp-next to 0.17.0 (Node.js GitHub Bot) #52835646a094782
] - tools: prepare custom rules for ESLint v9 (Michaël Zasso) #52889505566347d
] - tools: update lint-md-dependencies to rollup@4.17.2 (Node.js GitHub Bot) #52836466e0c1321
] - tools: updategr2m/create-or-update-pull-request-action
(Antoine du Hamel) #52843ce7a751ad1
] - tools: use sccache GitHub action (Michaël Zasso) #528391ee38a5ec1
] - tools: specify a commit-message for V8 update workflow (Antoine du Hamel) #52844317998a1e8
] - tools: fix V8 update workflow (Antoine du Hamel) #52822ef6a2101e2
] - url,tools,benchmark: replace deprecatedsubstr()
(Jungku Lee) #515460deef2d2b1
] - util: fix%s
format behavior withSymbol.toPrimitive
(Chenyu Yang) #50992a42b93b9aa
] - util: improveisInsideNodeModules
(uzlopak) #52147d71e16154a
] - watch: allow listening for grouped changes (Matthieu Sieben) #52722e895f7cf32
] - watch: enable passthrough ipc in watch mode (Zack) #50890f5d925706a
] - watch: fix arguments parsing (Moshe Atlow) #527606b4dac3eb5
] - (SEMVER-MINOR) zlib: expose zlib.crc32() (Joyee Cheung) #52692v22.1.0
: 2024-05-02, Version 22.1.0 (Current), @targos prepared by @aduh95Compare Source
module: implement
NODE_COMPILE_CACHE
for automatic on-disk code cachingThis patch implements automatic on-disk code caching that can be enabled
via an environment variable
NODE_COMPILE_CACHE=/path/to/cache/dir
.When set, whenever Node.js compiles a CommonJS or a ECMAScript Module,
it will use on-disk V8 code cache
persisted in the specified directory
to speed up the compilation. This may slow down the first load of a
module graph, but subsequent loads of the same module graph may get
a significant speedup if the contents of the modules do not change.
Locally, this speeds up loading of
test/fixtures/snapshot/typescript.js
from ~130ms to ~80ms.
To clean up the generated code cache, simply remove the directory.
It will be recreated the next time the same directory is used for
NODE_COMPILE_CACHE
.Compilation cache generated by one version of Node.js may not be used
by a different version of Node.js. Cache generated by different versions
of Node.js will be stored separately if the same directory is used
to persist the cache, so they can co-exist.
Caveat: currently when using this with V8 JavaScript code coverage, the
coverage being collected by V8 may be less precise in functions that are
deserialized from the code cache. It's recommended to turn this off when
running tests to generate precise coverage.
Contributed by Joyee Cheung in #52535.
Other Notable Changes
44ee04cf9f
] - buffer: improvebase64
andbase64url
performance (Yagiz Nizipli) #524283c37ce5710
] - (SEMVER-MINOR) dns: add order option and support ipv6first (Paolo Insogna) #524923026401be1
] - events,doc: mark CustomEvent as stable (Daeyeon Jeong) #5261864428dc1c9
] - (SEMVER-MINOR) lib, url: add awindows
option to path parsing (Aviv Keller) #52509d79ae74f71
] - (SEMVER-MINOR) net: add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) #5247443fa6a1a45
] - (SEMVER-MINOR) src: addstring_view
overload to snapshot FromBlob (Anna Henningsen) #52595c6fe433d42
] - src,permission: throw async errors on async APIs (Rafael Gonzaga) #52730e247a61d15
] - (SEMVER-MINOR) test_runner: add --test-skip-pattern cli option (Aviv Keller) #525299b18df9dcb
] - (SEMVER-MINOR) url: implement parse method for safer URL parsing (Ali Hassan) #52280Commits
35643c18c0
] - benchmark: reduce the buffer size for blob (Debadree Chatterjee) #525487cdfe8a3fc
] - benchmark: inherit stdio/stderr instead of pipe (Ali Hassan) #524567b82c17f22
] - benchmark: add ipc support to spawn stdio config (Ali Hassan) #52456dfda6fed61
] - buffer: add missing ARG_TYPE(ArrayBuffer) for isUtf8 (Jungku Lee) #5247744ee04cf9f
] - buffer: improvebase64
andbase64url
performance (Yagiz Nizipli) #52428c64a1a3b89
] - build: fix typo in node.gyp (Michaël Zasso) #527194f713fbc2e
] - build: fix headers install for shared mode on Win (Segev Finer) #524424baeb7b21d
] - build: fix arm64 cross-compilation bug on non-arm machines (Mahdi Sharifi) #52559d5cd468ce8
] - build,tools,node-api: fix building node-api tests for Windows Debug (Vladimir Morozov) #52632910533fcfd
] - crypto: simplify assertions in Safe*Print (David Benjamin) #4970961e1ac0b8c
] - crypto: enable NODE_EXTRA_CA_CERTS with BoringSSL (Shelley Vohr) #522176e98eee256
] - deps: upgrade npm to 10.7.0 (npm team) #5276727a5f9418c
] - deps: V8: cherry-pick500de8b
(Richard Lau) #526763b422ddcea
] - deps: update corepack to 0.28.0 (Node.js GitHub Bot) #52616d40e4d4c42
] - deps: update ada to 2.7.8 (Node.js GitHub Bot) #525175b52a4870a
] - deps: update icu to 75.1 (Node.js GitHub Bot) #5257380cbe72c1f
] - deps: update undici to 6.13.0 (Node.js GitHub Bot) #524939a44059055
] - deps: update zlib to 1.3.0.1-motley-7d77fb7 (Node.js GitHub Bot) #52516d67a9a5360
] - deps: update minimatch to 9.0.4 (Node.js GitHub Bot) #525248738b89971
] - deps: upgrade npm to 10.5.2 (npm team) #524588e4fd2842b
] - deps,src: simplify base64 encoding (Daniel Lemire) #527143c37ce5710
] - (SEMVER-MINOR) dns: add order option and support ipv6first (Paolo Insogna) #524923987a28a9e
] - doc: update process.versions properties (ishabi) #52736c0b58e07f1
] - doc: remove mold use on mac for speeding up build (Cong Zhang) #522529a032cf6e2
] - doc: remove relative limitation to pm (Rafael Gonzaga) #5264890c6e77238
] - doc: fix info string causing duplicated code blocks (Mathieu Leenhardt) #526604d577fa048
] - doc: add .gitattributes for md files (Hüseyin Açacak) #5216104c8e110e5
] - doc: run license-builder (github-actions[bot]) #526313552829594
] - doc: add info on contributor spotlight program (Michael Dawson) #52598eeb80ad836
] - doc: correct unsafe URL example in http docs (Malte Legenhausen) #52555c83526a688
] - doc: replace U+00A0 with U+0020 (Luigi Pinca) #5259031831e9db8
] - doc: sort options alphabetically (Luigi Pinca) #52589a93f5d4aaa
] - doc: correct stream.finished changes (KaKa) #5255127ffa35540
] - doc: add RedYetiDev to triage team (Aviv Keller) #5255663cc2b870e
] - doc: fix issue detected in markdown lint update (Rich Trott) #525667e93c4892b
] - doc: update test runner coverage limitations (Moshe Atlow) #525153026401be1
] - events,doc: mark CustomEvent as stable (Daeyeon Jeong) #52618c6e0fe2f22
] - fs: allow setting Stat date properties (Nicolò Ribaudo) #52708f23fa1de72
] - fs: fix read / readSync positional offset types (Ruy Adorno) #52603a7e03d301a
] - fs: fixes recursive fs.watch crash on Linux when deleting files (Matteo Collina) #52349d5ecb6cd00
] - http2: fix excessive CPU usage when usingallowHTTP1=true
(Eugene) #52713d1adc9b140
] - lib: enforce ASCII order in error code imports (Antoine du Hamel) #526259ffdcade37
] - lib: use predefined variable instead of bit operation (Deokjin Kim) #52580fdcde845ee
] - lib: refactor lazy loading of undici for fetch method (Victor Chen) #52275f6145aa2ca
] - lib: convert WeakMaps in cjs loader with private symbol properties (Chengzhong Wu) #52095014bf01efc
] - lib: replace string prototype usage with alternatives (Aviv Keller) #52440dc399ddd03
] - lib, doc: rename readme.md to README.md (Aviv Keller) #5247164428dc1c9
] - (SEMVER-MINOR) lib, url: add awindows
option to path parsing (Aviv Keller) #525099b2b6abb62
] - lib,src: iterate module requests of a module wrap in JS (Chengzhong Wu) #52058896a80e366
] - meta: standardize regex (Aviv Keller) #5269320c07e922e
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #52633e70d8a4fa9
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #5245720ab8f2a88
] - module: support ESM detection in the CJS loader (Joyee Cheung) #52047544c602b75
] - module: skip NODE_COMPILE_CACHE when policy is enabled (Joyee Cheung) #525773df3afc284
] - module: detect ESM syntax by trying to recompile as SourceTextModule (Joyee Cheung) #524134d77fd2c46
] - (SEMVER-MINOR) module: implement NODE_COMPILE_CACHE for automatic on-disk code caching (Joyee Cheung) #525359794d21b07
] - module: fix submodules loaded by require() and import() (Joyee Cheung) #52487b00766d9e7
] - module: tidy code and comments (Jacob Smith) #52437d79ae74f71
] - (SEMVER-MINOR) net: add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) #52474b17cfea289
] - node-api: address coverity report (Michael Dawson) #525841fca8baac1
] - node-api: copy external type tags when they are set (Niels Martignène) #52426d086ab42a1
] - quic: address recent coverity warnings (Michael Dawson) #52647fb4edf70cf
] - quic: rework TLSContext, additional cleanups (James M Snell) #513400c58d0319b
] - src: remove misplaced windows code under posix guard in node.cc (Ali Hassan) #52545e20d2f1de3
] - src: cast to v8::Value before using v8::EmbedderGraph::V8Node (Joyee Cheung) #5263843fa6a1a45
] - (SEMVER-MINOR) src: addstring_view
overload to snapshot FromBlob (Anna Henningsen) #52595a56faff4d0
] - src: parse inspector profiles with simdjson (Joyee Cheung) #51783ac04c6434a
] - src: remove regex usage for env file parsing (IlyasShabi) #52406f283d27285
] - src: fix loadEnvFile ENOENT error (mathis-west-1) #52438c6fe433d42
] - src,permission: throw async errors on async APIs (Rafael Gonzaga) #527309f9eca965a
] - stream: update ongoing promise in async iterator return() method (Mattias Buelens) #52657d568a9a38e
] - test: marktest-error-serdes
as flaky (Antoine du Hamel) #5273945f7002b90
] - test: mark test as flaky (Michael Dawson) #5267110596e20e8
] - test: fix backtick usage in docs (Aviv Keller) #52643b2f754c9f1
] - test: skip test-fs-watch-recursive-delete.js on IBM i (Abdirahim Musse) #52645ed080d868d
] - test: ensure that all worker servers are ready (Luigi Pinca) #52563c8c61737e4
] - test: fix test-tls-ticket-cluster.js (Hüseyin Açacak) #5243118aa5d6640
] - test: split wasi poll test for windows (Hüseyin Açacak) #52538e34e0a9ba1
] - test: write tests for assertIsArray http2 util (Sinan Sonmez (Chaush)) #52511e247a61d15
] - (SEMVER-MINOR) test_runner: add --test-skip-pattern cli option (Aviv Keller) #52529e066ba2ae4
] - test_runner: better error handing for test hook (Alex Yang) #52401328755341d
] - test_runner: don't exceed call stack when filtering (Colin Ihrig) #52488b4ccb6c626
] - test_runner: move end of work check to finalize() (Colin Ihrig) #524882ef9380472
] - tools: update lint-md-dependencies to rollup@4.17.0 (Node.js GitHub Bot) #52729db421bdefc
] - tools: take co-authors into account infind-inactive-collaborators
(Antoine du Hamel) #5266901103a85cb
] - tools: fix invalid escape sequence in mkssldef (Michaël Zasso) #52624382d951b01
] - tools: update lint-md-dependencies to rollup@4.15.0 (Node.js GitHub Bot) #52617f9ddd77ff3
] - tools: add lint rule to keep primordials in ASCII order (Antoine du Hamel) #52592552642a498
] - tools: update lint-md-dependencies (Rich Trott) #52581df61feb655
] - tools: fix heading spaces for osx-entitlements.plist (Jackson Tian) #525616b4bbfbb1f
] - tools: update lint-md-dependencies to rollup@4.14.2 vfile-reporter@8.1.1 (Node.js GitHub Bot) #525184e5ce3afb7
] - tools: use stylistic ESLint plugin for formatting (Michaël Zasso) #5071415c5686381
] - tools: update minimatch index path (Marco Ippolito) #525238ae1507ae1
] - tools: add a linter for README lists (Antoine du Hamel) #524760b970316bc
] - typings: fix invalid JSDoc declarations (Yagiz Nizipli) #526599b18df9dcb
] - (SEMVER-MINOR) url: implement parse method for safer URL parsing (Ali Hassan) #52280d33131af3a
] - vm: fix ASCII-betical order (Aviv Keller) #52686v22.0.0
: 2024-04-24, Version 22.0.0 (Current), @RafaelGSS and @marco-ippolitoCompare Source
We're excited to announce the release of Node.js 22!
Highlights include require()ing ESM graphs, WebSocket client, updates of the V8 JavaScript engine, and more!
As a reminder, Node.js 22 will enter long-term support (LTS) in October, but until then, it will be the "Current" release for the next six months.
We encourage you to explore the new features and benefits offered by this latest release and evaluate their potential impact on your applications.
Other Notable Changes
25c79f3331
] - esm: drop support for import assertions (Nicolò Ribaudo) #52104818c10e86d
] - lib: improve perf ofAbortSignal
creation (Raz Luvaton) #524084f68c7c1c9
] - watch: mark as stable (Moshe Atlow) #5207402b0bc01fe
] - (SEMVER-MAJOR) deps: update V8 to 12.4.254.14 (Michaël Zasso) #52465c975384264
] - (SEMVER-MAJOR) lib: enable WebSocket by default (Aras Abbasi) #515941abff07392
] - (SEMVER-MAJOR) stream: bump default highWaterMark (Robert Nagy) #520371a5acd0638
] - (SEMVER-MAJOR) v8: enable maglev on supported architectures (Keyhan Vakil) #51360128c60d906
] - (SEMVER-MINOR) cli: implementnode --run <script-in-package-json>
(Yagiz Nizipli) #52190151d365ad1
] - (SEMVER-MINOR) fs: expose glob and globSync (Moshe Atlow) #519125f7fad2605
] - (SEMVER-MINOR) module: support require()ing synchronous ESM graphs (Joyee Cheung) #51977Semver-Major Commits
2b1e7c2fcb
] - (SEMVER-MAJOR) build: compile with C++20 support on Windows (StefanStojanovic) #5246512d00f1479
] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #524655f08e11a3c
] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #5229394f0369d1d
] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #5136258674cd1d8
] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #5011560e836427e
] - (SEMVER-MAJOR) console: treat non-strings as separate argument in console.assert() (Jacob Hummer) #49722d62ab3a1ef
] - (SEMVER-MAJOR) crypto: runtime deprecate hmac constructor (Marco Ippolito) #52071de0602d190
] - (SEMVER-MAJOR) crypto: runtime deprecate Hash constructor (Marco Ippolito) #51880215f4d04b7
] - (SEMVER-MAJOR) crypto: move createCipher and createDecipher to eol (Marco Ippolito) #5097330801b8aaf
] - (SEMVER-MAJOR) deps: V8: cherry-pickcd10ad7
(Joyee Cheung) #52465521b629ab1
] - (SEMVER-MAJOR) deps: V8: revert CL5331688
(Michaël Zasso) #524653795e97e6c
] - (SEMVER-MAJOR) deps: patch V8 to support compilation with MSVC (StefanStojanovic) #524655bde9e677d
] - (SEMVER-MAJOR) deps: silence internal V8 deprecation warning (Michaël Zasso) #5246546e628c6f2
] - (SEMVER-MAJOR) deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #52465f824e40a82
] - (SEMVER-MAJOR) deps: remove usage of a C++20 feature from V8 (Michaël Zasso) #52465d2c84c9a13
] - (SEMVER-MAJOR) deps: avoid compilation error with ASan (Michaël Zasso) #5246595d6045bdb
] - (SEMVER-MAJOR) deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #5246500f55f5743
] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) #52465764085aa66
] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #5246502b0bc01fe
] - (SEMVER-MAJOR) deps: update V8 to 12.4.254.14 (Michaël Zasso) #524650ec50a19dd
] - (SEMVER-MAJOR) deps: V8: cherry-pickcd10ad7
(Joyee Cheung) #52293021b0b7dee
] - (SEMVER-MAJOR) deps: V8: backportc4be0a9
(Richard Lau) #52293681aaf85c7
] - (SEMVER-MAJOR) deps: silence internal V8 deprecation warning (Michaël Zasso) #52293c563a1c4e4
] - (SEMVER-MAJOR) deps: patch V8 to support compilation with MSVC (Stefan Stojanovic) #5229311e94b9987
] - (SEMVER-MAJOR) deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #52293856163e23c
] - (SEMVER-MAJOR) deps: remove usage of a C++20 feature from V8 (Michaël Zasso) #52293b530214127
] - (SEMVER-MAJOR) deps: avoid compilation error with ASan (Michaël Zasso) #522938054f69dd9
] - (SEMVER-MAJOR) deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #52293dee908be42
] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) #52293cf069414ee
] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #52293cc5792dd85
] - (SEMVER-MAJOR) deps: update V8 to 12.3.219.16 (Michaël Zasso) #5229361a0d3b4c4
] - (SEMVER-MAJOR) deps: V8: backportc4be0a9
(Richard Lau) #51362f55380a725
] - (SEMVER-MAJOR) deps: V8: cherry-pickf8d5e57
(Richard Lau) #51362b9d806a2dd
] - (SEMVER-MAJOR) deps: patch V8 to support compilation with MSVC (StefanStojanovic) #5136263b58bc17b
] - (SEMVER-MAJOR) deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #5136286056353c4
] - (SEMVER-MAJOR) deps: remove usage of a C++20 feature from V8 (Michaël Zasso) #513622e0efc1c8d
] - (SEMVER-MAJOR) deps: avoid compilation error with ASan (Michaël Zasso) #5136259e6f62e34
] - (SEMVER-MAJOR) deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #513620423f7e27e
] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) #51362f36620806d
] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #5136209a8440b45
] - (SEMVER-MAJOR) deps: update V8 to 12.2.281.27 (Michaël Zasso) #513620da3beebfc
] - (SEMVER-MAJOR) deps: V8: cherry-pickde611e6
(Keyhan Vakil) #50115b982335637
] - (SEMVER-MAJOR) deps: V8: cherry-pick0fd478b
(Joyee Cheung) #50115481a90116c
] - (SEMVER-MAJOR) deps: V8: cherry-pick0f9ebbc
(Chengzhong Wu) #50115782addbdc3
] - (SEMVER-MAJOR) deps: V8: cherry-pick8f0b946
(Lu Yahan) #50115b682e7f540
] - (SEMVER-MAJOR) deps: V8: cherry-pickf7d000a
(Luke Albao) #50115a60090c52f
] - (SEMVER-MAJOR) deps: V8: cherry-pick2590224
(Joyee Cheung) #501158441d1fc18
] - (SEMVER-MAJOR) deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #50115e8e9bbd7a9
] - (SEMVER-MAJOR) deps: remove usage of a C++20 feature from V8 (Michaël Zasso) #50115785d5cd006
] - (SEMVER-MAJOR) deps: avoid compilation error with ASan (Michaël Zasso) #501157071c1dafd
] - (SEMVER-MAJOR) deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #50115d1d60b297d
] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) #501155b240c62f9
] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #50115d8c97e4857
] - (SEMVER-MAJOR) deps: update V8 to 11.9.169.7 (Michaël Zasso) #50115b9df88a8c2
] - (SEMVER-MAJOR) doc: runtime deprecate flag --trace-atomics-wait (marco-ippolito) #511799ba5df30b4
] - (SEMVER-MAJOR) doc: bump FreeBSD experimental support to 13.2 (Michaël Zasso) #51231900d79caf2
] - (SEMVER-MAJOR) doc: add migration paths for deprecated utils (Marco Ippolito) #504888206f6bb7f
] - (SEMVER-MAJOR) fs: runtime deprecate fs.Stats constructor (Marco Ippolito) #52067c14133503a
] - (SEMVER-MAJOR) fs: use private fields instead of symbols forDir
(Jungku Lee) #51037abbdc3efaa
] - (SEMVER-MAJOR) fs: make stats date fields lazy (Yagiz Nizipli) #509084b76ccea95
] - (SEMVER-MAJOR) http: preserve raw header duplicates in writeHead after setHeader calls (Tim Perry) #50394c975384264
] - (SEMVER-MAJOR) lib: enable WebSocket by default (Aras Abbasi) #51594351495e938
] - (SEMVER-MAJOR) lib,test: handle new Iterator global (Michaël Zasso) #51362a8b21fdc90
] - (SEMVER-MAJOR) process: wait for'exit'
before printing result (Antoine du Hamel) #52172582ff5037c
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 127 (Michaël Zasso) #52465c5c4b50260
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 126 (Michaël Zasso) #52293d248639285
] - (SEMVER-MAJOR) src: use supported API to get stalled TLA messages (Michaël Zasso) #51362d34b02db4c
] - (SEMVER-MAJOR) src: update default V8 platform to override functions with location (Etienne Pierre-Doray) #51362d9c47e9b5f
] - (SEMVER-MAJOR) src: add missing TryCatch (Michaël Zasso) #513625cddd3b2d8
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 124 (Michaël Zasso) #513621528846ada
] - (SEMVER-MAJOR) src: use non-deprecated v8::Uint8Array::kMaxLength (Michaël Zasso) #501157166986626
] - (SEMVER-MAJOR) src: adapt to v8::Exception API change (Michaël Zasso) #501154782818020
] - (SEMVER-MAJOR) src: use non-deprecated version of CreateSyntheticModule (Michaël Zasso) #501152cff0ce411
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 122 (Michaël Zasso) #501151abff07392
] - (SEMVER-MAJOR) stream: bump default highWaterMark (Robert Nagy) #520379efc84a2cb
] - (SEMVER-MAJOR) test: mark test-worker-arraybuffer-zerofill as flaky (Michaël Zasso) #5136284c2e712eb
] - (SEMVER-MAJOR) test: mark some GC-related tests as flaky (Michaël Zasso) #51362cdc4437b87
] - (SEMVER-MAJOR) test: allow slightly more diff in memory leak test (Michaël Zasso) #51362515b007fae
] - (SEMVER-MAJOR) test: replace always-opt flag with alway-turbofan (Michaël Zasso) #501152341805eb2
] - (SEMVER-MAJOR) test: remove tests that create very large buffers (Michaël Zasso) #50115941cef5636
] - (SEMVER-MAJOR) test: adapt to new V8 trusted memory spaces (Michaël Zasso) #5011529de7f82cd
] - (SEMVER-MAJOR) test_runner: omit filtered test from output (Colin Ihrig) #5222100dc6d9d97
] - (SEMVER-MAJOR) test_runner: improve--test-name-pattern
to allow matching single test (Michał Drobniak) #515775def8019d5
] - (SEMVER-MAJOR) tools: update V8 gypfiles for 12.4 (Michaël Zasso) #52465c22793d050
] - (SEMVER-MAJOR) tools: roughly port v8_abseil to gyp (Michaël Zasso) #51362ffb0302f0c
] - (SEMVER-MAJOR) tools: update V8 gypfiles for 12.2 (Michaël Zasso) #51362aadea12440
] - (SEMVER-MAJOR) tools: update V8 gypfiles for 12.1 (Michaël Zasso) #513627784773967
] - (SEMVER-MAJOR) tools: update V8 gypfiles for 12.0 (Michaël Zasso) #513629fe0424baa
] - (SEMVER-MAJOR) trace_events: use private fields instead of symbols forTracing
(Jungku Lee) #51180e96cd25007
] - (SEMVER-MAJOR) util: runtime deprecate util.log (Marco Ippolito) #504886cf20d5e43
] - (SEMVER-MAJOR) util: runtime deprecate util.isUndefined (Marco Ippolito) #5048809e424921f
] - (SEMVER-MAJOR) util: runtime deprecate util.isSymbol (Marco Ippolito) #5048880b6bfd4e9
] - (SEMVER-MAJOR) util: runtime deprecate util.isString (Marco Ippolito) #50488d419edded9
] - (SEMVER-MAJOR) util: runtime deprecate util.isRegExp (Marco Ippolito) #50488e0b8de78ed
] - (SEMVER-MAJOR) util: runtime deprecate util.isPrimitive (Marco Ippolito) #504885478e1129a
] - (SEMVER-MAJOR) util: runtime deprecate util.isObject (Marco Ippolito) #50488b05b1dd541
] - (SEMVER-MAJOR) util: runtime deprecate util.isNumber (Marco Ippolito) #504885af9bf5f6a
] - (SEMVER-MAJOR) util: runtime deprecate util.isNullOrUndefined (Marco Ippolito) #50488860a10e10e
] - (SEMVER-MAJOR) util: runtime deprecate util.isNull (Marco Ippolito) #5048870330f5c2b
] - (SEMVER-MAJOR) util: runtime deprecate util.isFunction (Marco Ippolito) #504887c69c33acc
] - (SEMVER-MAJOR) util: runtime deprecate util.isError (Marco Ippolito) #50488a0c5b871a9
] - (SEMVER-MAJOR) util: runtime deprecate util.isDate (Marco Ippolito) #504883c670cb15d
] - (SEMVER-MAJOR) util: runtime deprecation util.isBuffer (Marco Ippolito) #50488c17a448ca9
] - (SEMVER-MAJOR) util: runtime deprecation util.isBoolean (Marco Ippolito) #50488fbb2f891aa
] - (SEMVER-MAJOR) util: runtime deprecate util.isArray (Marco Ippolito) #5048822d8062e42
] - (SEMVER-MAJOR) util: runtime deprecation util._extend (Marco Ippolito) #504881a5acd0638
] - (SEMVER-MAJOR) v8: enable maglev on supported architectures (Keyhan Vakil) #51360Semver-Minor Commits
128c60d906
] - (SEMVER-MINOR) cli: implementnode --run <script-in-package-json>
(Yagiz Nizipli) #52190f69946b905
] - (SEMVER-MINOR) deps: update simdutf to 5.0.0 (Daniel Lemire) #52138828ad42eee
] - (SEMVER-MINOR) deps: update undici to 6.3.0 (Node.js GitHub Bot) #5146205f8172188
] - (SEMVER-MINOR) deps: update undici to 6.2.1 (Node.js GitHub Bot) #51278a0c466810a
] - (SEMVER-MINOR) doc: deprecate fs.Stats public constructor (Marco Ippolito) #51879151d365ad1
] - (SEMVER-MINOR) fs: expose glob and globSync (Moshe Atlow) #519125f7fad2605
] - (SEMVER-MINOR) module: support require()ing synchronous ESM graphs (Joyee Cheung) #51977009665fb56
] - (SEMVER-MINOR) report: add--report-exclude-network
option (Ethan Arrowood) #5164580f86e5d02
] - (SEMVER-MINOR) src: add C++ ProcessEmitWarningSync() (Joyee Cheung) #5197778be0d0f1c
] - (SEMVER-MINOR) src: add uv_get_available_memory to report and process (theanarkh) #52023b34512e38e
] - (SEMVER-MINOR) src: preload function for Environment (Cheng Zhao) #515397d258db1d7
] - (SEMVER-MINOR) stream: support typed arrays (IlyasShabi) #518665276c0d5d4
] - (SEMVER-MINOR) test_runner: add suite() (Colin Ihrig) #5212784de97a61e
] - (SEMVER-MINOR) test_runner: support forced exit (Colin Ihrig) #52038aac5ad901d
] - (SEMVER-MINOR) test_runner: addtest:complete
event to reflect execution order (Moshe Atlow) #519099a1e01c4ce
] - (SEMVER-MINOR) util: support array of formats in util.styleText (Marco Ippolito) #520407f2d61f82a
] - (SEMVER-MINOR) v8: implement v8.queryObjects() for memory leak regression testing (Joyee Cheung) #51927d1d5da22e4
] - (SEMVER-MINOR) vm: harden module type checks (Chengzhong Wu) #52162Semver-Patch Commits
a760dadec3
] - benchmark: add AbortSignal.abort benchmarks (Raz Luvaton) #5240847c934e464
] - benchmark: conditionally use spawn with taskset for cpu pinning (Ali Hassan) #52253dde0cffb2e
] - benchmark: add toNamespacedPath bench (Rafael Gonzaga) #52236bda66ad711
] - benchmark: add style-text benchmark (Rafael Gonzaga) #5200421211a3fa9
] - buffer: improvebtoa
performance (Yagiz Nizipli) #524276f504b71ac
] - buffer: use simdutf foratob
implementation (Yagiz Nizipli) #523810ce7365856
] - build: temporary disable ubsan (Rafael Gonzaga) #525604e278f0253
] - build: speed up compilation of some V8 files (Michaël Zasso) #52083ba06c5c509
] - build,tools: add test-ubsan ci (Rafael Gonzaga) #46297562369f348
] - child_process: use internal addAbortListener (Chemi Atlow) #520818f61b658de
] - crypto: deprecate implicitly shortened GCM tags (Tobias Nießen) #5234508609b5222
] - crypto: make timingSafeEqual faster for Uint8Array (Tobias Nießen) #523419f939f5af7
] - crypto: rejectEd25519
/Ed448 in Sign/Verify prototypes (Filip Skokan) #523402241e8c5b3
] - crypto: validate RSA-PSS saltLength in subtle.sign and subtle.verify (Filip Skokan) #522626dd1c75f4a
] - crypto: fixinput
validation incrypto.hash
(Antoine du Hamel) #52070a1d48f4a26
] - deps: update simdutf to 5.2.4 (Node.js GitHub Bot) #5247308ff4a0c9d
] - deps: update nghttp2 to 1.61.0 (Node.js GitHub Bot) #52395cf629366b9
] - deps: update simdutf to 5.2.3 (Yagiz Nizipli) #52381ad86a12964
] - deps: upgrade npm to 10.5.1 (npm team) #5235145cc32c9c6
] - deps: update c-ares to 1.28.1 (Node.js GitHub Bot) #5228538161c38d9
] - deps: update zlib to 1.3.0.1-motley-24c07df (Node.js GitHub Bot) #521991264414700
] - deps: update simdjson to 3.8.0 (Node.js GitHub Bot) #52124f6996ee150
] - deps: V8: backportc4be0a9
(Richard Lau) #521830d4bc4c40e
] - deps: V8: cherry-pickf8d5e57
(Richard Lau) #5218370a05103c8
] - deps: update zlib to 1.3.0.1-motley-24342f6 (Node.js GitHub Bot) #521234c3e9659ed
] - deps: update corepack to 0.26.0 (Node.js GitHub Bot) #520270b4cdb4b42
] - deps: update ada to 2.7.7 (Node.js GitHub Bot) #52028b241a1d0ae
] - deps: update simdutf to 4.0.9 (Node.js GitHub Bot) #5165536dcd399c0
] - deps: upgrade libuv to 1.48.0 (Santiago Gimeno) #516978cf313cd72
] - deps: update undici to 6.6.0 (Node.js GitHub Bot) #51630dd4767f99f
] - deps: update undici to 6.4.0 (Node.js GitHub Bot) #515278362caa7d8
] - dgram: use internal addAbortListener (Chemi Atlow) #520814f3cf4e89a
] - diagnostics_channel: early-exit tracing channel trace methods (Stephen Belanger) #51915204018bba6
] - doc: deprecate --experimental-policy (RafaelGSS) #52602d32a914ac7
] - doc: add lint-js-fix into BUILDING.md (jakecastelli) #52290411503bacd
] - doc: remove Internet Explorer mention in BUILDING.md (Rich Trott) #52455e9ccf5aba2
] - doc: accommodate upcoming stricter .md linting (Rich Trott) #52454b4186ec2c1
] - doc: add Rafael to steward list (Rafael Gonzaga) #524527b01bfb2be
] - doc: correct naming convention in C++ style guide (Mohammed Keyvanzadeh) #52424c82f3c9e80
] - doc: updateprocess.execArg
example to be more useful (Jacob Smith) #52412655b327a4d
] - doc: call out http(s).globalAgent default (mathis-west-1) #523922c77be5488
] - doc: update the location ofbuild_with_cmake
(Emmanuel Ferdman) #523567dd514f2db
] - doc: reserve 125 for Electron 31 (Shelley Vohr) #52379756acd0877
] - doc: use consistent plural form of "index" (Rich Trott) #52373ba07e4e5e6
] - doc: fix typo in cli.md (Daeyeon Jeong) #52388461d9d665d
] - doc: add Rafael to sec release stewards (Rafael Gonzaga) #52354d0c364a844
] - doc: document missing options of events.on (Chemi Atlow) #52080a63261cf2c
] - doc: add missing space (Augustin Mauroy) #52360dd711d221a
] - doc: add tips about vcpkg cause build faild on windows (Cong Zhang) #521814df34cf6dd
] - doc: replace "below" with "following" (Rich Trott) #52315d9aa33fdbf
] - doc: fix email pattern to be wrapped with<<
instead of single<
(Raz Luvaton) #52284903f28e684
] - doc: update release gpg keyserver (marco-ippolito) #52257fd55458770
] - doc: add release key for marco-ippolito (marco-ippolito) #5225727493a1dd7
] - doc: fix arrow vertical alignment in HTML version (Akash Yeole) #52193af48641993
] - doc: move TSC members from regular to emeritus (Michael Dawson) #52209fa13ed6d79
] - doc: add section explaining todo tests (Colin Ihrig) #52204312ebd97c2
] - doc: editChildProcess
'message'
event docs (theanarkh) #52154f1635f442f
] - doc: quote test_runner glob parameters (Fabian Meyer) #52201fc029181df
] - doc: add mold to speeding up section (Cong Zhang) #521798bd3cb2f8c
] - doc: http event order correction (wh0) #51464a7f170e45a
] - doc: move gabrielschulhof to TSC emeritus (Gabriel Schulhof) #52192305375ac16
] - doc: fix--env-file
docs for valid quotes for defining values (Gabriel Bota) #521573fcaf7b900
] - doc: clarify what is supported in NODE_OPTIONS (Michael Dawson) #520764fe87357f3
] - doc: fix typos in maintaining-dependencies.md (RoboSchmied) #52160f1949ac1ae
] - doc: add spec for contains module syntax (Geoffrey Booth) #52059707155424b
] - doc: optimize the doc about Unix abstract socket (theanarkh) #520438a191e4e6a
] - doc: update pnpm link (Superchupu) #52113454d0806a1
] - doc: remove ableist language from crypto (Jamie King) #52063dafe004703
] - doc: update collaborator email (Ruy Adorno) #520888824adb031
] - doc: state that removing npm is a non-goal (Geoffrey Booth) #51951b360532f1a
] - doc: mention NodeSource in RafaelGSS steward list (Rafael Gonzaga) #5205757d2e4881c
] - doc: remove ArrayBuffer from crypto.hash() data parameter type (fengmk2) #52069e11c1d2315
] - doc: add some commonly used lables up gront (Michael Dawson) #520068f9f5db1e8
] - doc: document thatconst c2 = vm.createContext(c1); c1 === c2
is true (Daniel Kaplan) #51960d78a565713
] - doc: clarify what moderation issues are for (Antoine du Hamel) #519904cac07c931
] - doc: add Hemanth HM mention to v21.7.0 changelog (Rafael Gonzaga) #5200873025c4dec
] - doc: add UlisesGascon as a collaborator (Ulises Gascón) #51991999c6b34fb
] - doc: test for cli options (Aras Abbasi) #51623edd6190836
] - doc: deprecate hmac public constructor (Marco Ippolito) #5188125c79f3331
] - esm: drop support for import assertions (Nicolò Ribaudo) #52104d619aab575
] - events: rename high & low watermark for consistency (Chemi Atlow) #52080e263946c2e
] - events: extract addAbortListener for safe internal use (Chemi Atlow) #5208140ef2da8d6
] - events: remove abort listener from signal inon
(Neal Beeken) #5109161e5de1268
] - fs: refactor maybeCallback function (Yagiz Nizipli) #5212939f1b899cd
] - fs: fix edge case in readFileSync utf8 fast path (Richard Lau) #52101639c096004
] - fs: validate fd from cpp onfchown
(Yagiz Nizipli) #520519ac1fe05d7
] - fs: validate fd from cpp onclose
(Yagiz Nizipli) #520513ec20f25df
] - fs: validate file mode from cpp (Yagiz Nizipli) #520508c0b723ccb
] - fs,permission: make handling of buffers consistent (Tobias Nießen) #523483fc8d2200e
] - http2: fix h2-over-h2 connection proxying (Tim Perry) #52368b9d8a14a03
] - http2: use internal addAbortListener (Chemi Atlow) #52081818c10e86d
] - lib: improve perf ofAbortSignal
creation (Raz Luvaton) #524083f5ff8dc20
] - lib: .load .save add proper error message when no file passed (Thomas Mauran) #522250a252c23d9
] - lib: fix type error for _refreshLine (Jackson Tian) #5213314de082ab4
] - lib: emit listening event once when call listen twice (theanarkh) #521194e9ce7c035
] - lib: make sure clear the old timer in http server (theanarkh) #5211820525f14b9
] - lib: fix listen with handle in cluster worker (theanarkh) #520568df54481f4
] - meta: bump actions/download-artifact from 4.1.3 to 4.1.4 (dependabot[bot]) #52314bcc102147a
] - meta: bump rtCamp/action-slack-notify from 2.2.1 to 2.3.0 (dependabot[bot]) #523134e7e0ef9c3
] - meta: bump github/codeql-action from 3.24.6 to 3.24.9 (dependabot[bot]) #5231214a39881b8
] - meta: bump actions/cache from 4.0.1 to 4.0.2 (dependabot[bot]) #523112f8f90dadb
] - meta: bump actions/setup-python from 5.0.0 to 5.1.0 (dependabot[bot]) #5231095efdaf01a
] - meta: bump codecov/codecov-action from 4.1.0 to 4.1.1 (dependabot[bot]) #5230824c1a8e739
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #5230060dcfad91e
] - meta: pass Codecov upload token to codecov action (Michaël Zasso) #51982db1746182b
] - module: disallow CJS <-> ESM edges in a cycle from require(esm) (Joyee Cheung) #52264d6b57f6629
] - module: centralize SourceTextModule compilation for builtin loader (Joyee Cheung) #52291f4a0a3b04b
] - module: warn on detection in typeless package (Geoffrey Booth) #521688bc745944e
] - module: eliminate performance cost of detection for cjs entry (Geoffrey Booth) #5209363d04d4d80
] - module: fix detect-module not retrying as esm for cjs-only errors (Geoffrey Booth) #52024575ced8139
] - module: print location of unsettled top-level await in entry points (Joyee Cheung) #51999075c95f61f
] - module: refactor ESM loader initialization and entry point handling (Joyee Cheung) #5199945f0dd0192
] - module,win: fix long path resolve (Stefan Stojanovic) #51097d89fc73d45
] - net: use internal addAbortListener (Chemi Atlow) #52081f0e6acde2d
] - node-api: make tsfn accept napi_finalize once more (Gabriel Schulhof) #51801ff93f3e1a8
] - readline: use internal addAbortListener (Chemi Atlow) #520814a6ca7a1d4
] - src: remove erroneous CVE-2024-27980 revert option (Tobias Nießen) #5254364b67779f7
] - src: disallow direct .bat and .cmd file spawning (Ben Noordhuis) nodejs-private/node-private#5609ef724bc81
] - src: update branch name in node_revert.h (Tobias Nießen) #52390ec1550407b
] - src: stop usingv8::BackingStore::Reallocate
(Michaël Zasso) #52292681b0a3df3
] - src: address coverity warning in module_wrap.cc (Michael Dawson) #5214304319228e0
] - src: fix move after use reported by coverity (Michael Dawson) #521410eb2b727f6
] - src: return a number from process.constrainedMemory() constantly (Chengzhong Wu) #52039bec9b5fccc
] - src: use dedicated routine to compile function for builtin CJS loader (Joyee Cheung) #520161f193165b9
] - src: fix reading empty string views in Blob[De]serializer (Joyee Cheung) #52000fb356b3305
] - src: refactor out FormatErrorMessage for error formatting (Joyee Cheung) #519991a8ae9d6c0
] - src: use callback-based array iteration in Blob (Joyee Cheung) #517585cd2ec8bd5
] - src: implement v8 array iteration using the new callback-based API (Joyee Cheung) #5175889a26b451e
] - src: fix node_version.h (Joyee Cheung) #50375c02de658a1
] - stream: make Duplex inherit destroy from Writable (Luigi Pinca) #5231863391e749d
] - stream: addnew
when constructingERR_MULTIPLE_CALLBACK
(haze) #52110a9528e87b9
] - stream: use internal addAbortListener (Chemi Atlow) #52081ee4fa77624
] - test: fix watch test with require not testing pid (Raz Luvaton) #5235305cb16dc1a
] - test: simplify ASan build checks (Michaël Zasso) #52430eb53121b77
] - test: fix Windows compiler warnings in overlapped-checker (Michaël Zasso) #524057dfa4750af
] - test: add test for skip+todo combinations (Colin Ihrig) #522045905596719
] - test: fix incorrect test fixture (Colin Ihrig) #52185bae14b7914
] - test: do not set concurrency on parallelized runs (Antoine du Hamel) #521770b676736a0
] - test: add missing cctest/test_path.cc (Yagiz Nizipli) #52148c714cda9a7
] - test: addspawnSyncAndAssert
util (Antoine du Hamel) #52132978d5a26c9
] - test: reduce flakiness of test-runner-output.mjs (Colin Ihrig) #52146afaf889775
] - test: skip test for dynamically linked OpenSSL (Richard Lau) #52542be75821a12
] - test: add test for using--print
with promises (Antoine du Hamel) #521374e109e5958
] - test: un-set test-emit-after-on-destroyed as flaky (Abdirahim Musse) #519953f8cc88009
] - test_runner: fix clearing final timeout in own callback (Ben Richeson) #5233252f8dcfccc
] - test_runner: make end of work check stricter (Colin Ihrig) #52326433bd1b04d
] - test_runner: fix recursive run (Moshe Atlow) #52322e57992ffb2
] - test_runner: hide new line when no error in spec reporter (Moshe Atlow) #52297ac9e5e7527
] - test_runner: improve describe.only behavior (Moshe Atlow) #522962c024cd24d
] - test_runner: disable highWatermark on TestsStream (Colin Ihrig) #522877c02486f1f
] - test_runner: run afterEach hooks in correct order (Colin Ihrig) #522396af4049810
] - test_runner: simplify test end time tracking (Colin Ihrig) #52182878047be0b
] - test_runner: simplify test start time tracking (Colin Ihrig) #521824648c83dbc
] - test_runner: don't await the same promise for each test (Colin Ihrig) #52185f9755f6f79
] - test_runner: emit diagnostics when watch mode drains (Moshe Atlow) #521304ba9f45d99
] - test_runner: ignore todo flag when running suites (Colin Ihrig) #521176f4d6011ea
] - test_runner: skip each hooks for skipped tests (Colin Ihrig) #5211505db979c01
] - test_runner: run top level tests in a microtask (Colin Ihrig) #5209297b2c5344d
] - test_runner: remove redundant report call (Colin Ihrig) #52089780d030bdf
] - test_runner: use internal addAbortListener (Chemi Atlow) #52081814fa1ae74
] - test_runner: use source maps when reporting coverage (Moshe Atlow) #520603c5764a0e2
] - test_runner: handle undefined test locations (Colin Ihrig) #52036328642bbb9
] - test_runner: use paths for test locations (Colin Ihrig) #520106d625fe616
] - test_runner: support source mapped test locations (Colin Ihrig) #52010592c6907bf
] - test_runner: avoid overwriting root start time (Colin Ihrig) #5202029b231763e
] - test_runner: abort unfinished tests on async error (Colin Ihrig) #519965d13419dbd
] - test_runner: run before hook immediately if test started (Moshe Atlow) #520038451990668
] - test_runner: add support for null and date value output (Malthe Borch) #51920423ad47e0f
] - tools: change inactive limit to 12 months (Yagiz Nizipli) #524250d1e64f64c
] - tools: update stale bot messaging (Wes Todd) #524235bae73df90
] - tools: update lint-md-dependencies to rollup@4.14.0 (Node.js GitHub Bot) #52398468cb99ba4
] - tools: update Ruff to v0.3.4 (Michaël Zasso) #5230267b9dda003
] - tools: run test-ubsan on ubuntu-latest (Michaël Zasso) #52375f1f32d89e0
] - tools: update lint-md-dependencies to rollup@4.13.2 (Node.js GitHub Bot) #52286d7aa8fc9da
] - Revert "tools: runbuild-windows
workflow only on source changes" (Michaël Zasso) #52320a3b1fc3f27
] - tools: use Python 3.12 in GitHub Actions workflows (Michaël Zasso) #52301021cf91208
] - tools: allow local updates for llhttp (Paolo Insogna) #520854d8602046e
] - tools: install npm PowerShell scripts on Windows (Luke Karrys) #52009081319d762
] - tools: update lint-md-dependencies to rollup@4.13.0 (Node.js GitHub Bot) #52122c43a944231
] - tools: fix error reported by coverity in js2c.cc (Michael Dawson) #52142f05b241f07
] - tools: sync ubsan workflow with asan (Michaël Zasso) #52152a21b15a14e
] - tools: update github_reporter to 1.7.0 (Node.js GitHub Bot) #52121d60a871db2
] - tools: remove gyp-next .github folder (Marco Ippolito) #520646ad5353764
] - tools: update gyp-next to 0.16.2 (Node.js GitHub Bot) #52062dab85bdc06
] - tools: install manpage to share/man for FreeBSD (Po-Chuan Hsieh) #51791cde37e7b63
] - tools: automate gyp-next update (Marco Ippolito) #52014925a464cb8
] - url: remove #context from URLSearchParams (Matt Cowley) #51520893e2cf22b
] - watch: fix some node argument not passed to watched process (Raz Luvaton) #52358fec7e505fc
] - watch: use internal addAbortListener (Chemi Atlow) #520814f68c7c1c9
] - watch: mark as stable (Moshe Atlow) #52074257f32296d
] - watch: batch file restarts (Moshe Atlow) #51992v20.18.1
: 2024-11-20, Version 20.18.1 'Iron' (LTS), @marco-ippolitoCompare Source
Notable Changes
7a8992b2d6
] - doc: add abmusse to collaborators (Abdirahim Musse) #55086Commits
085c3441fe
] - assert: show the diff when deep comparing data with a custom message (Giovanni) #5475901f0b0e7b4
] - benchmark: adjust config for deepEqual object (Rafael Gonzaga) #55254a45537269b
] - benchmark: rewrite detect-esm-syntax benchmark (Joyee Cheung) #552381a0d8ef64f
] - benchmark: add no-warnings to process.has bench (Rafael Gonzaga) #551592be5d611ce
] - benchmark: create benchmark for typescript (Marco Ippolito) #54904a2aa4fa477
] - benchmark: include ascii to fs/readfile (Rafael Gonzaga) #5498809849105fe
] - benchmark: add dotenv benchmark (Aviv Keller) #542786b3c24dbad
] - buffer: fix out of range for toString (Jason Zhang) #54553f25a5b6dc4
] - build: use rclone instead of aws CLI (Michaël Zasso) #556170bbeb605de
] - build: fix notify-on-review-wanted action (Rafael Gonzaga) #553045b35836732
] - build: include.nycrc
in coverage workflows (Wuli Zuo) #55210f38d1e90e0
] - build: notify via slack when review-wanted (Rafael Gonzaga) #551020b985ec4bb
] - build: remove -v flag to reduce noise (iwuliz) #5502509f75b27a1
] - build: display free disk space after build in the test-macOS workflow (iwuliz) #55025f25760c4a2
] - build: add the option to generate compile_commands.json in vcbuild.bat (Segev Finer) #52279746e78c4f3
] - Revert "build: upgrade clang-format to v18" (Chengzhong Wu) #5499467834ee646
] - build: printRunning XYZ linter...
for py and yml (Aviv Keller) #54386ae34e276a2
] - build: pin doc workflow to Node.js 20 (Richard Lau) #55755d0e871a706
] - build,win: add winget config to set up env (Hüseyin Açacak) #5472993ac799b6b
] - cli: fix spacing for port range error (Aviv Keller) #544953ba2e7bf97
] - Revert "console: colorize console error and warn" (Aviv Keller) #546772f678ea53b
] - crypto: ensure invalid SubtleCrypto JWK data import results in DataError (Filip Skokan) #550415d28d98542
] - deps: update undici to 6.20.0 (Node.js GitHub Bot) #553290c7f2fc421
] - deps: update archs files for openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184da15e7edf5
] - deps: upgrade openssl sources to quictls/openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184381f1f9d08
] - deps: update archs files for openssl-3.0.14+quic1 (Node.js GitHub Bot) #5433648d643f78a
] - deps: upgrade openssl sources to quictls/openssl-3.0.14+quic1 (Node.js GitHub Bot) #543367b1796803b
] - deps: update timezone to 2024b (Node.js GitHub Bot) #550568f1956c588
] - deps: update acorn-walk to 8.3.4 (Node.js GitHub Bot) #5495020501a7350
] - deps: update corepack to 0.29.4 (Node.js GitHub Bot) #548450f81eafecc
] - doc: fix Markdown linter (Antoine du Hamel) #55344df713f0a98
] - Revert "doc: update test context.assert" (Antoine du Hamel) #55344fd6fc61d2c
] - doc: add pmarchini to collaborators (Pietro Marchini) #55331b963db9ee2
] - doc: fixevents.once()
example usingAbortSignal
(Ivo Janssen) #5514450b13bfb12
] - doc: add onboarding details for ambassador program (Marco Ippolito) #5528427564b7811
] - doc: fix initial default value of autoSelectFamily (Ihor Rohovets) #552459e7be23aa5
] - doc: tweak onboarding instructions (Michael Dawson) #55212f412a029c3
] - doc: update test context.assert (Pietro Marchini) #551862f7828debb
] - doc: fix unordered error anchors (Antoine du Hamel) #55242d08e4c235b
] - doc: mention addons to experimental permission (Rafael Gonzaga) #55166d65c2458dc
] - doc: use correct dash in stability status (Antoine du Hamel) #55200d9839c16cf
] - doc: fix link intest/README.md
(Livia Medeiros) #551651ad659afa4
] - doc: add esm examples to node:net (Alfredo González) #5513481ad69d50f
] - doc: move the YAML changes element (sendoru) #551127a51a161be
] - doc: fix the require resolve algorithm inmodules.md
(chirsz) #5511780edcdf899
] - doc: update style guide (Aviv Keller) #53223388c754dd2
] - doc: add missing:
torun()
'sglobPatterns
(Aviv Keller) #5513594302b6a76
] - doc: add abmusse to collaborators (Abdirahim Musse) #5508627ff2da964
] - doc: add note about--expose-internals
(Aviv Keller) #52861df6dc753b7
] - doc: removeparseREPLKeyword
from REPL documentation (Aviv Keller) #547494baa5c4d10
] - doc: change backporting guide with updated info (Aviv Keller) #537469947fc112f
] - doc: add missing definitions tointernal-api.md
(Aviv Keller) #53303a4586f0e94
] - doc: update documentation for externalizing deps (Michael Dawson) #5479270504f8522
] - doc: updaterequire(ESM)
history and stability status (Antoine du Hamel) #551999d0041ac40
] - doc: add release key for aduh95 (Antoine du Hamel) #553490c1666a52a
] - events: allow null/undefined eventInitDict (Matthew Aitken) #54643453df77f99
] - events: returncurrentTarget
when dispatching (Matthew Aitken) #546420decaab9db
] - fs: acknowledgesignal
option infilehandle.createReadStream()
(Livia Medeiros) #5514800a2fc7166
] - lib: moveSymbol[Async]Dispose
polyfills tointernal/util
(Antoine du Hamel) #548538e6b606ac4
] - lib: remove lib/internal/idna.js (Yagiz Nizipli) #55050c96e5cb664
] - lib: the REPL should survive deletion of Array.prototype methods (Jordan Harband) #31457748ed2e559
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #553008b8d35f015
] - meta: bump mozilla-actions/sccache-action from 0.0.5 to 0.0.6 (dependabot[bot]) #55225d3441ff0c8
] - meta: bump actions/checkout from 4.1.7 to 4.2.0 (dependabot[bot]) #552241c20908558
] - meta: bump actions/setup-node from 4.0.3 to 4.0.4 (dependabot[bot]) #552238a529abd69
] - meta: bump peter-evans/create-pull-request from 7.0.1 to 7.0.5 (dependabot[bot]) #552199053d210ab
] - meta: add mailmap entry for abmusse (Abdirahim Musse) #55182db2496c125
] - meta: add more information about nightly releases (Aviv Keller) #55084d2ce003b2f
] - meta: addlinux
to OS labels in collaborator guide (Aviv Keller) #5498637b0bea247
] - meta: remove never-used workflow trigger (Aviv Keller) #54983ae27e2dcd7
] - meta: add links to alternative issue trackers (Aviv Keller) #544016e5d524b0f
] - module: remove duplicated import (Aviv Keller) #549423a682cca03
] - path: remove repetitive conditional operator inposix.resolve
(Wiyeong Seo) #54835ac1cb8dfdb
] - perf_hooks: add missing type argument to getEntriesByName (Luke Taher) #5476785b3edc83b
] - repl: catch\v
and\r
in new-line detection (Aviv Keller) #54512df1f04999e
] - src: decode native error messages as UTF-8 (Joyee Cheung) #5502486d718177a
] - src: update clang-tidy and focus on modernization (Yagiz Nizipli) #537577d01b6a9c5
] - src: cleanup per env handles directly without a list (Chengzhong Wu) #54993a730cdb622
] - src: remove duplicate code setting AF_INET (He Yang) #54939f10d9ad283
] - stream: treat null asyncIterator as undefined (Jason Zhang) #551196027084245
] - test: maketest-loaders-workers-spawned
less flaky (Antoine du Hamel) #5517266a87d19bd
] - test: update multiple assert tests to use node:test (James M Snell) #545855105188c47
] - test: update wpt test for encoding (devstone) #5515181bcec0b82
] - test: deflake test/pummel/test-timers.js (jakecastelli) #5509882c402265a
] - test: deflake test-http-remove-header-stays-removed (Luigi Pinca) #5500478021701ed
] - test: fix test-tls-junk-closes-server (Michael Dawson) #55089c908b8a2d8
] - test: fix more tests that fail when path contains a space (Antoine du Hamel) #55088afc1628e73
] - test: fixassertSnapshot
when path contains a quote (Antoine du Hamel) #550877c88739b83
] - test: fix some tests when path contains%
(Antoine du Hamel) #55082eb4d468671
] - Revert "test: mark test-fs-watch-non-recursive flaky on Windows" (Luigi Pinca) #55079bc7b5249d4
] - test: maketest-runner-assert
more robust (Aviv Keller) #550366c2a1386f7
] - test: update tls test to support OpenSSL32 (Michael Dawson) #5503096406610fa
] - test: fixtest-vm-context-dont-contextify
when path contains a space (Antoine du Hamel) #5502639a80eed4f
] - test: adjust tls-set-ciphers for OpenSSL32 (Michael Dawson) #55016bd8fd4fceb
] - test: addutil.stripVTControlCharacters
test (RedYetiDev) #54865333b5a02d0
] - test: improve coverage for timer promises schedular (Aviv Keller) #53370f48992f433
] - test: remove unused common utilities (RedYetiDev) #5482593a098c56d
] - test: deflake test-http-header-overflow (Luigi Pinca) #54978f849cf677d
] - test: fixsoucre
tosource
(Aviv Keller) #550381a007ea814
] - test: add asserts to validate test assumptions (Michael Dawson) #549976f53c096f8
] - test: move test-http-max-sockets to parallel (Luigi Pinca) #54977aba9dc775e
] - test: remove test-http-max-sockets flaky designation (Luigi Pinca) #54976ee5624bffe
] - test: adjust key sizes to support OpenSSL32 (Michael Dawson) #549725c11a61140
] - test: update test to support OpenSSL32 (Michael Dawson) #5496862f21470e4
] - test: update DOM events web platform tests (Matthew Aitken) #54642426851705c
] - test_runner: assert entry is a valid object (Edigleysson Silva (Edy)) #55231b1cad519d7
] - test_runner: usetest:
symbol on second print of parent test (RedYetiDev) #5495663c8f3d436
] - test_runner: replace ansi clear with ansi reset (Pietro Marchini) #550130b3fb344f7
] - tools: addpolyfilled
option toprefer-primordials
rule (Antoine du Hamel) #553188981309bd9
] - tools: makechoco install
script more readable (Aviv Keller) #540027310abeae1
] - tools: bump Rollup from 4.18.1 to 4.22.4 forlint-md
(dependabot[bot]) #55093083311e8af
] - tools: remove redudant code from eslint require rule (Aviv Keller) #54892ae4b2aece1
] - tools: update error message for ICU in license-builder (Aviv Keller) #547423ebd31684d
] - tools: update github_reporter to 1.7.1 (Node.js GitHub Bot) #54951397be8a10e
] - tty: fix links for terminal colors (Aviv Keller) #54596a3c2ef9e98
] - util: update ansi regex (Aviv Keller) #54865efdccc88a2
] - watch: preserve output when gracefully restarted (Théo LUDWIG) #54323226836c5ac
] - worker: throw InvalidStateError in postMessage after close (devstone) #55206f39ff4d14b
] - worker: handle--input-type
more consistently (Antoine du Hamel) #5497930383ffb9a
] - zlib: throw brotli initialization error from c++ (Yagiz Nizipli) #54698v20.18.0
: 2024-10-03, Version 20.18.0 'Iron' (LTS), @targosCompare Source
Notable Changes
Experimental Network Inspection Support in Node.js
This update introduces the initial support for network inspection in Node.js.
Currently, this is an experimental feature, so you need to enable it using the
--experimental-network-inspection
flag.With this feature enabled, you can inspect network activities occurring within a JavaScript application.
To use network inspection, start your Node.js application with the following command:
Please note that the network inspection capabilities are in active development.
We are actively working on enhancing this feature and will continue to expand its functionality in future updates.
http
andhttps
modules only.feature request on the Chrome DevTools side is addressed.
Contributed by Kohei Ueno in #53593 and #54246
Exposes X509_V_FLAG_PARTIAL_CHAIN to tls.createSecureContext
This releases introduces a new option to the API
tls.createSecureContext
. Fromnow on,
tls.createSecureContext({ allowPartialTrustChain: true })
can be usedto treat intermediate (non-self-signed) certificates in the trust CA certificate
list as trusted.
Contributed by Anna Henningsen in #54790
New option for vm.createContext() to create a context with a freezable globalThis
Node.js implements a flavor of
vm.createContext()
and friends that creates a context without contextifying its globalobject when vm.constants.DONT_CONTEXTIFY is used. This is suitable when users want to freeze the context
(impossible when the global is contextified i.e. has interceptors installed) or speed up the global access if they
don't need the interceptor behavior.
Contributed by Joyee Cheung in #54394
Deprecations
64aa31f6e5
] - repl: doc-deprecate instantiatingnode:repl
classes withoutnew
(Aviv Keller) #548424c52ee3d7f
] - zlib: deprecate instantiating classes without new (Yagiz Nizipli) #54708Other Notable Changes
b80da2f964
] - buffer: optimize createFromString (Robert Nagy) #5432402b36cbd2d
] - (SEMVER-MINOR) lib: add EventSource Client (Aras Abbasi) #51575879546a9bf
] - (SEMVER-MINOR) src,lib: add performance.uvMetricsInfo (Rafael Gonzaga) #54413f789f4c92d
] - (SEMVER-MINOR) test_runner: support module mocking (Colin Ihrig) #528484eb0749b6c
] - (SEMVER-MINOR) url: implement parse method for safer URL parsing (Ali Hassan) #52280Commits
013c48f0e9
] - benchmark: --no-warnings to avoid DEP/ExpWarn log (Rafael Gonzaga) #54928194fc113ac
] - benchmark: add buffer.isAscii benchmark (RafaelGSS) #547407410d51cb9
] - benchmark: add buffer.isUtf8 bench (RafaelGSS) #547402393f21e8a
] - benchmark: add access async version to bench (Rafael Gonzaga) #54747b8779721f0
] - benchmark: enhance dc publish benchmark (Rafael Gonzaga) #547454078aa83ff
] - benchmark: add match and doesNotMatch bench (RafaelGSS) #5473466acab9976
] - benchmark: add rejects and doesNotReject bench (RafaelGSS) #547346db777fb3a
] - benchmark: add throws and doesNotThrow bench (RafaelGSS) #547348f101560ce
] - benchmark: add strictEqual and notStrictEqual bench (RafaelGSS) #547342c9e4c936e
] - benchmark: adds groups to better separate benchmarks (Giovanni Bucci) #54393671c3ac633
] - benchmark: fix benchmark for file path and URL conversion (Early Riser) #541908c8708cb5b
] - benchmark: use assert.ok searchparams (Rafael Gonzaga) #543348b71fa79e2
] - benchmark: add stream.compose benchmark (jakecastelli) #5430893ee36e3a0
] - benchmark: rename count to n (Rafael Gonzaga) #54271f2971b6f0b
] - benchmark: change assert() to assert.ok() (Rafael Gonzaga) #54254f48f2c212c
] - benchmark: support --help in CLI (Aviv Keller) #533580309b0520b
] - benchmark: remove force option as force defaults to true (Yelim Koo) #54203b6e8305b2d
] - benchmark: use assert.ok instead of assert (Rafael Gonzaga) #5417690c660d26a
] - benchmark: add require-esm benchmark (Joyee Cheung) #521661b8584b52e
] - benchmark,doc: add CPU scaling governor to perf (Rafael Gonzaga) #547230b9161b330
] - benchmark,doc: mention bar.R to the list of scripts (Rafael Gonzaga) #5472284bf93b7ea
] - buffer: allow invalid encoding in from (Robert Nagy) #54533d04246a0d7
] - buffer: optimize byteLength for common encodings (Robert Nagy) #54342f36831f694
] - buffer: optimize createFromString (Robert Nagy) #54324f5f40c8088
] - buffer: optimize for common encodings (Robert Nagy) #5431976c37703be
] - buffer: add JSDoc to blob bytes method (Roberto Simonini) #541173012d31404
] - buffer: use faster integer argument check (Robert Nagy) #540893505782801
] - buffer: make indexOf(byte) faster (Tobias Nießen) #53455d285fc1f68
] - build: upgrade clang-format to v18 (Aviv Keller) #53957d288ec3b0a
] - build: fix conflicting V8 object print flags (Daeyeon Jeong) #54785e862eecac9
] - build: do not build with code cache for core coverage collection (Joyee Cheung) #54633f7a606eb96
] - build: turn off-Wrestrict
(Richard Lau) #5473771ca2665e4
] - build: reclaim disk space on macOS GHA runner (jakecastelli) #5465882d8051c39
] - build: don't clean obj.target directory if it doesn't exist (Joyee Cheung) #543376e550b1f26
] - build: updateruff
to0.5.2
(Aviv Keller) #53909e2ea7b26d7
] - build: fix ./configure --help format error (Zhenwei Jin) #53066eb2402d569
] - build: enable building with shared uvwasi lib (Pooja D P) #4398745732314d4
] - build: sync V8 warning cflags with BUILD.gn (Michaël Zasso) #528736e0a2bb54c
] - build: harmonize Clang checks (Michaël Zasso) #528733f78d4eb28
] - cli: add--expose-gc
flag available toNODE_OPTIONS
(Juan José) #53078a110409b2a
] - console: use validateOneOf for colorMode validation (HEESEUNG) #54245231ab788ea
] - crypto: reject dh,x25519,x448 in {Sign,Verify}Final (Huáng Jùnliàng) #53774a5984e4570
] - crypto: return a clearer error when loading an unsupported pkcs12 (Tim Perry) #54485f287cd77bd
] - crypto: remove unusedkHashTypes
internal (Antoine du Hamel) #546271fc904f8c4
] - deps: update cjs-module-lexer to 1.4.1 (Node.js GitHub Bot) #5484695b55c39b1
] - deps: update simdutf to 5.5.0 (Node.js GitHub Bot) #54434cf6ded5dd3
] - deps: update cjs-module-lexer to 1.4.0 (Node.js GitHub Bot) #547137f8edce3f1
] - deps: update c-ares to v1.33.1 (Node.js GitHub Bot) #545499a4a7b7ecc
] - deps: update undici to 6.19.8 (Node.js GitHub Bot) #5445687ca1d7fee
] - deps: update simdutf to 5.3.4 (Node.js GitHub Bot) #54312d3a743f182
] - deps: update zlib to 1.3.0.1-motley-71660e1 (Node.js GitHub Bot) #53464926981aa9f
] - deps: update zlib to 1.3.0.1-motley-c2469fd (Node.js GitHub Bot) #53464654c8d1fdc
] - deps: update zlib to 1.3.0.1-motley-68e57e6 (Node.js GitHub Bot) #534642477e79172
] - deps: update zlib to 1.3.0.1-motley-8b7eff8 (Node.js GitHub Bot) #534643d8113faf5
] - deps: update zlib to 1.3.0.1-motley-e432200 (Node.js GitHub Bot) #53464ac294e3db4
] - deps: update zlib to 1.3.0.1-motley-887bb57 (Node.js GitHub Bot) #53464239588b968
] - deps: update c-ares to v1.33.0 (Node.js GitHub Bot) #541986e7de37ed3
] - deps: update undici to 6.19.7 (Node.js GitHub Bot) #5428638aa9d6ea9
] - deps: update acorn to 8.12.1 (Node.js GitHub Bot) #53465d30145f663
] - deps: update undici to 6.19.5 (Node.js GitHub Bot) #54076c169d9c12b
] - deps: update simdutf to 5.3.1 (Node.js GitHub Bot) #5419692f3447957
] - doc: add missing EventSource docs to globals (Matthew Aitken) #550222879ce9681
] - doc: fix broken Android building link (Niklas Wenzel) #54922096623b59a
] - doc: add support link for aduh95 (Antoine du Hamel) #548661dfd238781
] - doc: run license-builder (github-actions[bot]) #54854a6c748fffb
] - doc: experimental flag for global accessible APIs (Chengzhong Wu) #54330d48a22fa14
] - doc: addERR_INVALID_ADDRESS
toerrors.md
(Aviv Keller) #546614a840cecfa
] - doc: add support link for mcollina (Matteo Collina) #54786ec22d86512
] - doc: mark--conditions
CLI flag as stable (Guy Bedford) #5420977c702ca07
] - doc: fix typo in recognizing-contributors (Tobias Nießen) #5482262953ef9fb
] - doc: clarify--max-old-space-size
and--max-semi-space-size
units (Alexandre ABRIOUX) #54477e2bab0f2b2
] - doc: replace --allow-fs-read by --allow-fs-write in related section (M1CK431) #544279cbfd5b33a
] - doc: add support link for marco-ippolito (Marco Ippolito) #5478953167b29ef
] - doc: fix typo (Michael Dawson) #5464087f78a35f7
] - doc: fix webcrypto.md AES-GCM backticks (Filip Skokan) #546217c83c15221
] - doc: add documentation about os.tmpdir() overrides (Joyee Cheung) #546134bfd832d70
] - doc: add support me link for anonrig (Yagiz Nizipli) #5461122a103e5ec
] - doc: add alert on REPL from TCP socket (Rafael Gonzaga) #54594b6374c24e1
] - doc: fix typo in styleText description (Rafael Gonzaga) #546162f5b98ee1f
] - doc: add getHeapStatistics() property descriptions (Benji Marinacci) #54584482302b99b
] - doc: fix information about including coverage files (Aviv Keller) #54527b3708e7df4
] - doc: support collaborators - talk amplification (Michael Dawson) #54508c86fe23012
] - doc: add note about shasum generation failure (Marco Ippolito) #54487d53e6cf755
] - doc: fix capitalization in module.md (shallow-beach) #54488cdc6713f18
] - doc: add esm examples to node:https (Alfredo González) #543991ac1fe4e65
] - doc: fix error description of the max header size (Egawa Ryo) #54125244542b720
] - doc: add git node security --cleanup (Rafael Gonzaga) #5438169fb71f54c
] - doc: add note on weakness of permission model (Tobias Nießen) #5426883b2cb908b
] - doc: add versions when--watch-preserve-output
was added (Théo LUDWIG) #54328460fb49483
] - doc: replace v19 mention in Current release (Rafael Gonzaga) #54361994b46a160
] - doc: correct peformance entry types (Jason Zhang) #54263f142e668cb
] - doc: fix typo in method name in the sea doc (Eliyah Sundström) #540279529a30dba
] - doc: mark process.nextTick legacy (Marco Ippolito) #512807e25fabb91
] - doc: add esm examples to node:http2 (Alfredo González) #542926a4f05e384
] - doc: explicitly mention node:fs module restriction (Rafael Gonzaga) #5426953f5c54997
] - doc: warn for windows build bug (Jason Zhang) #5421707bde054f3
] - doc: make some parameters optional intracingChannel.traceCallback
(Deokjin Kim) #5406862bf03b5f1
] - doc: add esm examples to node:dns (Alfredo González) #54172fb2b19184b
] - doc: add KevinEady as a triager (Chengzhong Wu) #5417924976bfba0
] - doc: add esm examples to node:console (Alfredo González) #541084e7edc40f7
] - doc: fix sea assets example (Sadzurami) #54192322b5d91e1
] - doc: add links to security steward companies (Aviv Keller) #529816ab271510e
] - doc: moveonread
option fromsocket.connect()
tonew net.socket()
(sendoru) #5419439c30ea08f
] - doc: move release key for Myles Borins (Richard Lau) #54059e9fc54804a
] - doc: refresh instructions for building node from source (Liran Tal) #53768f131dc625a
] - doc: add documentation for blob.bytes() method (jaexxin) #541148d41bb900b
] - doc: add missing new lines to custom test reporter examples (Eddie Abbondanzio) #541522acaeaba77
] - doc: update list of Triagers on theREADME.md
(Antoine du Hamel) #54138fff8eb2792
] - doc: expand troubleshooting section (Liran Tal) #53808402121520f
] - doc: clarifyuseCodeCache
setting for cross-platform SEA generation (Yelim Koo) #53994272484b8b2
] - doc: test for cli options (Aras Abbasi) #51623c4d0ca4710
] - doc, build: fixup build docs (Aviv Keller) #548992e3e17748b
] - doc, child_process: add esm snippets (Aviv Keller) #53616c40b4b4f27
] - doc, meta: fix broken link inonboarding.md
(Aviv Keller) #54886beff587b94
] - doc, meta: add missing,
toBUILDING.md
(Aviv Keller) #54409c114585430
] - doc, meta: replace command with link to keys (Aviv Keller) #537450843077a99
] - doc, test: simplify test README table (Aviv Keller) #539712df7bc0e32
] - doc,tools: enforce use ofnode:
prefix (Antoine du Hamel) #539500dd4639391
] - esm: fix support forURL
instances inimport.meta.resolve
(Antoine du Hamel) #54690f0c55e206d
] - fs: refactor rimraf to avoid using primordials (Yagiz Nizipli) #54834f568384bbd
] - fs: refactor handleTimestampsAndMode to remove redundant call (HEESEUNG) #543692fb7cc9715
] - fs: fix typings (Yagiz Nizipli) #53626596940cfa0
] - http: reduce likelihood of race conditions on keep-alive timeout (jazelly) #548636e13a7ba02
] - http: remove prototype primordials (Antoine du Hamel) #5369899f96eb3f7
] - http2: remove prototype primordials (Antoine du Hamel) #5369641f5eacc1a
] - https: only use default ALPNProtocols when appropriate (Brian White) #5441159a39520e1
] - (SEMVER-MINOR) inspector: supportNetwork.loadingFailed
event (Kohei Ueno) #54246d1007fb1a9
] - inspector: provide detailed info to fix DevTools frontend errors (Kohei Ueno) #541563b93507949
] - (SEMVER-MINOR) inspector: add initial support for network inspection (Kohei Ueno) #53593fc37b801c8
] - lib: remove unnecessary async (jakecastelli) #54829d86f24787b
] - lib: make WeakRef safe in abort_controller (jazelly) #5479177c59224e5
] - lib: add note about removingnode:sys
module (Rafael Gonzaga) #54743b8c06dce02
] - lib: ensure no holey array in fixed_queue (Jason Zhang) #54537b85c8ce1fc
] - lib: refactor SubtleCrypto experimental warnings (Filip Skokan) #54620e84812c1b5
] - lib: respect terminal capabilities on styleText (Rafael Gonzaga) #54389c004abaf17
] - lib: replace spread operator with primordials function (YoonSoo_Shin) #54053b79aeabc4d
] - lib: avoid for of loop and remove unnecessary variable in zlib (YoonSoo_Shin) #54258f4085363c6
] - lib: fix unhandled errors in webstream adapters (Fedor Indutny) #542061ad857e748
] - lib: fix typos in comments within internal/streams (YoonSoo_Shin) #5409302b36cbd2d
] - (SEMVER-MINOR) lib: add EventSource Client (Aras Abbasi) #51575afbf2c0530
] - lib,permission: support Buffer to permission.has (Rafael Gonzaga) #5410454af47395d
] - meta: bump peter-evans/create-pull-request from 6.1.0 to 7.0.1 (dependabot[bot]) #54820a0c10f2ed9
] - meta: addWindows ARM64
to flaky-tests list (Aviv Keller) #5469327b06880e1
] - meta: bump actions/setup-python from 5.1.1 to 5.2.0 (Rich Trott) #546918747af1037
] - meta: update sccache to v0.8.1 (Aviv Keller) #547203f753d87a6
] - meta: bump step-security/harden-runner from 2.9.0 to 2.9.1 (dependabot[bot]) #547046f103ae25d
] - meta: bump actions/upload-artifact from 4.3.4 to 4.4.0 (dependabot[bot]) #547033e6a9bb04e
] - meta: bump github/codeql-action from 3.25.15 to 3.26.6 (dependabot[bot]) #54702c666ebc4e4
] - meta: fix links inSECURITY.md
(Aviv Keller) #546964d361b3bed
] - meta: fixcontributing
codeowners (Aviv Keller) #5464136931aa183
] - meta: remind users to use a supported version in bug reports (Aviv Keller) #54481cf283d9ca7
] - meta: run coverage-windows whenvcbuild.bat
updated (Aviv Keller) #5441267ca397c9f
] - meta: add test-permission-* CODEOWNERS (Rafael Gonzaga) #54267b61a2f5b79
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #54210dd8ab83667
] - meta: add module label for the lib/internal/modules folder (Aviv Keller) #52858db78978d17
] - meta: bumpactions/upload-artifact
from 4.3.3 to 4.3.4 (dependabot[bot]) #54166ca808dd9e5
] - meta: bumpactions/download-artifact
from 4.1.7 to 4.1.8 (dependabot[bot]) #54167a35d980146
] - meta: bump actions/setup-python from 5.1.0 to 5.1.1 (dependabot[bot]) #541653a103c3a17
] - meta: bumpstep-security/harden-runner
from 2.8.1 to 2.9.0 (dependabot[bot]) #54169775ebbe0e8
] - meta: bumpactions/setup-node
from 4.0.2 to 4.0.3 (dependabot[bot]) #541707d5dd6f1d1
] - meta: bumpgithub/codeql-action
from 3.25.11 to 3.25.15 (dependabot[bot]) #5416880dd38dde3
] - meta: bumpossf/scorecard-action
from 2.3.3 to 2.4.0 (dependabot[bot]) #5417190b632ee02
] - module: warn on detection in typeless package (Geoffrey Booth) #521683011927aab
] - node-api: add external buffer creation benchmark (Chengzhong Wu) #548777611093e11
] - node-api: add support for UTF-8 and Latin-1 property keys (Mert Can Altin) #52984d65a8f377c
] - node-api: remove RefBase and CallbackWrapper (Vladimir Morozov) #53590309cb1cbd2
] - path: removeStringPrototypeCharCodeAt
fromposix.extname
(Aviv Keller) #545462859b4ba9a
] - path: changeposix.join
to use array (Wiyeong Seo) #54331c61cee2138
] - path: fix relative on Windows (Hüseyin Açacak) #53991329be5cc35
] - path: use the correct name invalidateString
(Benjamin Pasero) #53669a9837267cb
] - repl: avoid interpreting 'npm' as a command when errors are recoverable (Shima Ryuhei) #54848d6a2317961
] - repl: doc-deprecate instantiatingnode:repl
classes withoutnew
(Aviv Keller) #548427f09d983f3
] - sea: don't set code cache flags when snapshot is used (Joyee Cheung) #5412085542b094c
] - src: add Cleanable class to Environment (Gabriel Schulhof) #548808422064127
] - src: remove redundant AESCipherMode (Tobias Nießen) #54438342c32483a
] - src: handle errors correctly inpermission.cc
(Michaël Zasso) #5454190ff714699
] - src: returnv8::Object
from error constructors (Michaël Zasso) #54541872856cfcb
] - src: improvebuffer.transcode
performance (Yagiz Nizipli) #5415391936ebd12
] - src: skip inspector wait in internal workers (Chengzhong Wu) #542199759049427
] - src: account for OpenSSL unexpected version (Shelley Vohr) #5403887167fa248
] - src: useargs.This()
instead ofHolder
(Michaël Zasso) #53474b05c56e4be
] - src: simplifysize() == 0
checks (Yagiz Nizipli) #53440d53e53699c
] - src: fix execArgv in worker (theanarkh) #5302921776a34b5
] - src: make sure pass theargv
to worker threads (theanarkh) #528273aaae68ec8
] - (SEMVER-MINOR) src,lib: add performance.uvMetricsInfo (Rafael Gonzaga) #54413ef1c0d7def
] - src,permission: handle process.chdir on pm (Rafael Gonzaga) #531750c32918eef
] - stream: change stream to use index instead offor...of
(Wiyeong Seo) #54474337cd412b5
] - stream: make checking pendingcb on WritableStream backward compatible (jakecastelli) #54142713fc0c9eb
] - stream: throw TypeError when criteria fulfilled in getIterator (jakecastelli) #538259686153616
] - stream: fix util.inspect for compression/decompressionStream (Mert Can Altin) #5228376110b0b43
] - test: adjust test-tls-junk-server for OpenSSL32 (Michael Dawson) #549264092889371
] - test: adjust tls test for OpenSSL32 (Michael Dawson) #549095d48543a16
] - test: fix test-http2-socket-close.js (Hüseyin Açacak) #549008048c2eaed
] - test: improve test-internal-fs-syncwritestream (Sunghoon) #54671597bc14c90
] - test: deflake test-dns (Luigi Pinca) #54902a9fc8d9cfa
] - test: fix test test-tls-dhe for OpenSSL32 (Michael Dawson) #549031b3b4f4a9f
] - test: use correct file naming syntax forutil-parse-env
(Aviv Keller) #537059db46b5ea3
] - test: add missing await (Luigi Pinca) #54828124f715679
] - test: move more url tests tonode:test
(Yagiz Nizipli) #54636d2ec96150a
] - test: strip color chars intest-runner-run
(Giovanni Bucci) #54552747d9ae72e
] - test: deflake test-http2-misbehaving-multiplex (Luigi Pinca) #548727b7687eadc
] - test: remove dead code in test-http2-misbehaving-multiplex (Luigi Pinca) #5486060f5f5426d
] - test: reduce test-esm-loader-hooks-inspect-wait flakiness (Luigi Pinca) #54827f5e77385c5
] - test: reduce the allocation size in test-worker-arraybuffer-zerofill (James M Snell) #54839f26cf09d6b
] - test: fix test-tls-client-mindhsize for OpenSSL32 (Michael Dawson) #54739c6f9afec94
] - test: use platform timeout (jakecastelli) #545918f49b7c3ee
] - test: reduce fs calls in test-fs-existssync-false (Yagiz Nizipli) #54815e2c69c9844
] - test: move test-http-server-request-timeouts-mixed (James M Snell) #54841f7af8ca021
] - test: fix volatile for CauseSegfault with clang (Ivan Trubach) #54325d1bae5ede5
] - test: settest-worker-arraybuffer-zerofill
as flaky (Yagiz Nizipli) #54802b5b5cc811f
] - test: settest-http-server-request-timeouts-mixed
as flaky (Yagiz Nizipli) #548029808feecac
] - test: settest-single-executable-application-empty
as flaky (Yagiz Nizipli) #5480297d41c62e3
] - test: settest-macos-app-sandbox
as flaky (Yagiz Nizipli) #5480257ae68001c
] - test: settest-fs-utimes
as flaky (Yagiz Nizipli) #5480238afc4da03
] - test: settest-runner-run-watch
as flaky (Yagiz Nizipli) #5480268e19748a6
] - test: settest-writewrap
as flaky (Yagiz Nizipli) #54802e8cb03d530
] - test: settest-async-context-frame
as flaky (Yagiz Nizipli) #548023a56517220
] - test: settest-esm-loader-hooks-inspect-wait
as flaky (Yagiz Nizipli) #54802c98cd1227d
] - test: settest-http2-large-file
as flaky (Yagiz Nizipli) #5480216176a6323
] - test: settest-runner-watch-mode-complex
as flaky (Yagiz Nizipli) #54802eed0537533
] - test: settest-performance-function
as flaky (Yagiz Nizipli) #54802d0f208d2e9
] - test: settest-debugger-heap-profiler
as flaky (Yagiz Nizipli) #5480268891a6363
] - test: fixtest-process-load-env-file
when path contains'
(Antoine du Hamel) #545114f82673139
] - test: refactor fs-watch tests due to macOS issue (Santiago Gimeno) #544983606c53fdc
] - test: refactortest-esm-type-field-errors
(Giovanni Bucci) #5436899566aea97
] - test: improve output of child process utilities (Joyee Cheung) #54622ed2377c1a1
] - test: fix test-tls-client-auth test for OpenSSL32 (Michael Dawson) #54610d2a7e45946
] - test: update TLS test for OpenSSL 3.2 (Richard Lau) #54612a50bbca78a
] - test: increase key size for ca2-cert.pem (Michael Dawson) #54599d7ac3262de
] - test: update test-assert-typedarray-deepequal to use node:test (James M Snell) #54585916a73cd8f
] - test: update test-assert to use node:test (James M Snell) #5458510bea1cef5
] - test: merge ongc and gcutil into gc.js (tannal) #54355f145982436
] - test: move a couple of tests over to using node:test (James M Snell) #54582229e102d20
] - test: fix embedding test for Windows (Vladimir Morozov) #53659fcf82adef0
] - test: use relative paths in test-cli-permission tests (sendoru) #541884c219b0235
] - test: fix timeout not being cleared (Isaac-yz-Liu) #54242e446517a41
] - test: refactortest-runner-module-mocking
(Antoine du Hamel) #54233782a6a05ef
] - test: use assert.{s,deepS}trictEqual() (Luigi Pinca) #54208d478db7adc
] - test: set test-structuredclone-jstransferable non-flaky (Stefan Stojanovic) #54115c8587ec90d
] - test: update wpt test for streams (devstone) #54129dbc26c2971
] - test: fix typo in test (Sonny) #5413717b7ec4df3
] - test: add initial pull delay and prototype pollution prevention tests (Sonny) #54061931ff4367a
] - test: update wpt test (Mert Can Altin) #538141c1bd7ce52
] - test: updateurl
web-platform tests (Yagiz Nizipli) #53472b048eaea5c
] - test_runner: reimplementassert.ok
to allow stack parsing (Aviv Keller) #54776c981e61155
] - test_runner: improve code coverage cleanup (Colin Ihrig) #548564f421b37da
] - test_runner: use validateStringArray fortimers.enable()
(Deokjin Kim) #4953427da75ae22
] - test_runner: do not expose internal loader (Antoine du Hamel) #5410656cbc80d28
] - test_runner: make mock_loader not confuse CJS and ESM resolution (Sung Ye In) #538468fd951f7c7
] - test_runner: remove outdated comment (Colin Ihrig) #5414665b6fec3ba
] - test_runner: run after hooks even if test is aborted (Colin Ihrig) #54151c0b4c8284c
] - test_runner: added colors to dot reporter (Giovanni) #534503000e5df91
] - test_runner: support module detection in module mocks (Geoffrey Booth) #53642f789f4c92d
] - (SEMVER-MINOR) test_runner: support module mocking (Colin Ihrig) #5284882d1c36f51
] - test_runner: display failed test stack trace with dot reporter (Mihir Bhansali) #526555358601e31
] - timers: avoid generating holey internal arrays (Gürgün Dayıoğlu) #54771b6ed97c66d
] - timers: document ref option for scheduler.wait (Paolo Insogna) #54605f524b8a28b
] - timers: fix validation (Paolo Insogna) #54404bc020f7cb3
] - (SEMVER-MINOR) tls: addallowPartialTrustChain
flag (Anna Henningsen) #54790d0e6f9168e
] - tls: remove prototype primordials (Antoine du Hamel) #53699f5c65d0be6
] - tools: add readability/fn_size to filter (Rafael Gonzaga) #54744a47bb9b2c2
] - tools: add util scripts to land and rebase PRs (Antoine du Hamel) #54656fe3155cefa
] - tools: remove readability/fn_size rule (Rafael Gonzaga) #54663d6b9cc3acd
] - tools: remove unused python files (Aviv Keller) #53928b5fbe9609c
] - tools: remove header from c-ares license (Aviv Keller) #54335a7fdc608c6
] - tools: add find pyenv path on windows (Marco Ippolito) #54314f90688cd5b
] - tools: make undici updater build wasm from src (Michael Dawson) #54128a033dff2f2
] - tty: initialize winSize array with values (Michaël Zasso) #54281e635e0956c
] - typings: fix TypedArray to a global type (1ilsang) #54063b5bf08f31e
] - typings: correct param type ofSafePromisePrototypeFinally
(Wuli) #54727628ae4bde5
] - typings: add util.styleText type definition (Rafael Gonzaga) #54252cc37401ea5
] - typings: add missing binding functionwriteFileUtf8()
(Jungku Lee) #54110728c3fd6f1
] - url: modify pathToFileURL to handle extended UNC path (Early Riser) #54262b25563dfcb
] - url: improve resolveObject with ObjectAssign (Early Riser) #54092eededd1ca8
] - url: make URL.parse enumerable (Filip Skokan) #537204eb0749b6c
] - (SEMVER-MINOR) url: implement parse method for safer URL parsing (Ali Hassan) #522809e1c2293bf
] - vm: harden module type checks (Chengzhong Wu) #521622d90340cb3
] - (SEMVER-MINOR) vm: introduce vanilla contexts via vm.constants.DONT_CONTEXTIFY (Joyee Cheung) #543944644d05ab5
] - zlib: deprecate instantiating classes without new (Yagiz Nizipli) #54708ecdf6dd444
] - zlib: simplify validators (Yagiz Nizipli) #54442v20.17.0
: 2024-08-21, Version 20.17.0 'Iron' (LTS), @marco-ippolitoCompare Source
module: support require()ing synchronous ESM graphs
This release adds
require()
support for synchronous ESM graphs underthe flag
--experimental-require-module
.If
--experimental-require-module
is enabled, and the ECMAScriptmodule being loaded by
require()
meets the following requirements:require()
will load the requested module as an ES Module, and returnthe module name space object. In this case it is similar to dynamic
import()
but is run synchronously and returns the name space objectdirectly.
Contributed by Joyee Cheung in #51977
path: add
matchesGlob
methodGlob patterns can now be tested against individual paths via the
path.matchesGlob(path, pattern)
method.Contributed by Aviv Keller in #52881
stream: expose DuplexPair API
The function
duplexPair
returns an array with two items,each being a
Duplex
stream connected to the other side:Whatever is written to one stream is made readable on the other. It provides
behavior analogous to a network connection, where the data written by the client
becomes readable by the server, and vice-versa.
Contributed by Austin Wright in #34111
Other Notable Changes
8e64c02b19
] - (SEMVER-MINOR) http: add diagnostics channelhttp.client.request.error
(Kohei Ueno) #54054ae30674991
] - meta: add jake to collaborators (jakecastelli) #540044a3ecbfc9b
] - (SEMVER-MINOR) stream: implementmin
option forReadableStreamBYOBReader.read
(Mattias Buelens) #50888Commits
b3a2726cbc
] - assert: use isError instead of instanceof in innerOk (Pietro Marchini) #53980c7e4c3daf4
] - benchmark: add cpSync benchmark (Yagiz Nizipli) #53612a52de8c5ff
] - bootstrap: print--help
message usingconsole.log
(Jacob Hummer) #5146361b90e7c5e
] - build: update gcovr to 7.2 and codecov config (Benjamin E. Coe) #54019a9c04eaa27
] - build: ensure v8_pointer_compression_sandbox is enabled on 64bit (Shelley Vohr) #53884342a663d7a
] - build: trigger coverage ci when updating codecov (Yagiz Nizipli) #539295727b4d129
] - build: update codecov coverage build count (Yagiz Nizipli) #53929977af25870
] - build: disable test-asan workflow (Michaël Zasso) #5384404798fb104
] - build: fix build warning of c-ares under GN build (Cheng) #537505ec5e78574
] - build: fix mac build error of c-ares under GN (Cheng) #536873d8721f0a4
] - build: add version-specific library path for AIX (Richard Lau) #53585ffb0bd344d
] - build, tools: drop leading/
fromr2dir
(Richard Lau) #53951a2d74f4c31
] - build,tools: simplify upload of shasum signatures (Michaël Zasso) #53892993bb3b6e7
] - child_process: fix incomplete prototype pollution hardening (Liran Tal) #53781137a2e5766
] - cli: document--inspect
port0
behavior (Aviv Keller) #53782820e6e1737
] - cli: updatenode.1
to reflect Atom's sunset (Aviv Keller) #53734fa0e8d7b3b
] - crypto: avoid std::function (Tobias Nießen) #53683460240c368
] - crypto: make deriveBits length parameter optional and nullable (Filip Skokan) #53601ceb1d5e00a
] - crypto: avoid taking ownership of OpenSSL objects (Tobias Nießen) #5346044268c27eb
] - deps: update corepack to 0.29.3 (Node.js GitHub Bot) #54072496975ece0
] - deps: update c-ares to v1.32.3 (Node.js GitHub Bot) #540205eea419349
] - deps: update c-ares to v1.32.2 (Node.js GitHub Bot) #538658c8e3688c5
] - deps: update googletest to4b21f1a
(Node.js GitHub Bot) #5384278f6b34c77
] - deps: update minimatch to 10.0.1 (Node.js GitHub Bot) #53841398f7acca3
] - deps: update corepack to 0.29.2 (Node.js GitHub Bot) #53838fa8f99d90b
] - deps: update simdutf to 5.3.0 (Node.js GitHub Bot) #53837a19b28336b
] - deps: update ada to 2.9.0 (Node.js GitHub Bot) #537482f66c7e707
] - deps: upgrade npm to 10.8.2 (npm team) #537992a2620e7c0
] - deps: update googletest to34ad51b
(Node.js GitHub Bot) #53157c01ce60ce7
] - deps: update googletest to305e5a2
(Node.js GitHub Bot) #53157832328ea01
] - deps: update c-ares to v1.32.1 (Node.js GitHub Bot) #53753878e9a4ae7
] - deps: update minimatch to 9.0.5 (Node.js GitHub Bot) #536464647e6b5c5
] - deps: update c-ares to v1.32.0 (Node.js GitHub Bot) #5372230310bf887
] - doc: move numCPUs require to top of file in cluster CJS example (Alfredo González) #5393236170eddca
] - doc: update security-release process to automated one (Rafael Gonzaga) #5387755f5e76ba7
] - doc: fix typo in technical-priorities.md (YoonSoo_Shin) #540941c0ccc0ca8
] - doc: fix typo in diagnostic tooling support tiers document (Taejin Kim) #540586a5120ff0f
] - doc: move GeoffreyBooth to TSC regular member (Geoffrey Booth) #54047ead05aad2a
] - doc: fix typo in recognizing-contributors (Marco Ippolito) #5399025e59aebac
] - doc: update boxstarter README (Aviv Keller) #53785a3183fb927
] - doc: add info about prefix-only modules tomodule.builtinModules
(Grigory) #5395489599e025f
] - doc: removescroll-behavior: smooth;
(Cloyd Lau) #53942139c62e40c
] - doc: move --test-coverage-{ex,in}clude to proper location (Colin Ihrig) #53926233aba90ea
] - doc: updateapi_assets
README for new files (Aviv Keller) #5367644a1cbe98a
] - doc: add MattiasBuelens to collaborators (Mattias Buelens) #53895f5280ddbc5
] - doc: fix casing of GitHub handle for two collaborators (Antoine du Hamel) #538579224e3eef1
] - doc: update release-post nodejs.org script (Rafael Gonzaga) #53762f87eed8de4
] - doc: move MylesBorins to emeritus (Myles Borins) #5376032ac80ae8d
] - doc: add Rafael to the last security release (Rafael Gonzaga) #53769e71aa7e98b
] - doc: use mock.callCount() in examples (Sébastien Règne) #53754f64db24312
] - doc: clarify authenticity of plaintexts in update (Tobias Nießen) #5378451e736ac83
] - doc: add option to have support me link (Michael Dawson) #533129804731d0f
] - doc: updatescroll-padding-top
to 4rem (Cloyd Lau) #53662229f7f8b8a
] - doc: mention v8.setFlagsFromString to pm (Rafael Gonzaga) #5373198d59aa929
] - doc: remove the last <pre> tag (Claudio W) #5374160ee41df08
] - doc: exclude voting and regular TSC from spotlight (Michael Dawson) #53694c3536cfa99
] - doc: fix releases guide for recent Git versions (Michaël Zasso) #537093b632e1871
] - doc: requirenode:process
in assert doc examples (Alfredo González) #53702754090c110
] - doc: add additional explanation to the wildcard section in permissions (jakecastelli) #536644346de7267
] - doc: mark NODE_MODULE_VERSION for Node.js 22.0.0 (Michaël Zasso) #53650758178bd72
] - doc: include node.module_timer on available categories (Vinicius Lourenço) #53638e0d213df2b
] - doc: fix module customization hook examples (Elliot Goodrich) #5363743ac5a2441
] - doc: fix doc for correct usage with plan & TestContext (Emil Tayeb) #536155076f0d292
] - doc: remove some news issues that are no longer (Michael Dawson) #53608c997dbef34
] - doc: add issue for news from ambassadors (Michael Dawson) #5360716d55f1d25
] - doc: add esm example for os (Leonardo Peixoto) #53604156fc536f2
] - doc: clarify usage of coverage reporters (Eliphaz Bouye) #53523f8f247bc99
] - doc: document addition testing options (Aviv Keller) #5356973860aca56
] - doc: clarify that fs.exists() may return false for existing symlink (Tobias Nießen) #5356659c5c5c73e
] - doc: note http.closeAllConnections excludes upgraded sockets (Rob Hogan) #535601cd3c8eb27
] - doc: fix typo (EhsanKhaki) #533973c5e593e2a
] - doc, meta: add PTAL to glossary (Aviv Keller) #53770f336e61257
] - doc, test: tracing channel hasSubscribers getter (Thomas Hunter II) #529084187b81439
] - doc, typings: events.once accepts symbol event type (René) #535423cdf94d403
] - doc,tty: add documentation for ReadStream and WriteStream (jakecastelli) #535675d03f6fab7
] - esm: move hooks test with others (Geoffrey Booth) #53558490f15a99b
] - fs: ensure consistency for mkdtemp in both fs and fs/promises (YieldRay) #537768e64c02b19
] - (SEMVER-MINOR) http: add diagnostics channelhttp.client.request.error
(Kohei Ueno) #540540d70c79ebf
] - lib: optimize copyError with ObjectAssign in primordials (HEESEUNG) #53999a4ff2ac0f0
] - lib: improve cluster/primary code (Ehsan Khakifirooz) #53756c667fbd988
] - lib: improve error message when index not found on cjs (Vinicius Lourenço) #5385951ba566171
] - lib: decorate async stack trace in source maps (Chengzhong Wu) #53860d012dd3d29
] - lib: remove path.resolve from permissions.js (Rafael Gonzaga) #537291e9ff50446
] - lib: add toJSON to PerformanceMeasure (theanarkh) #536033a2d8bffa5
] - lib: convert WeakMaps in cjs loader with private symbol properties (Chengzhong Wu) #52095e326342bd7
] - meta: addsqlite
to js subsystems (Alex Yang) #53911bfabfb4d17
] - meta: move tsc member to emeritus (Michael Dawson) #54029ae30674991
] - meta: add jake to collaborators (jakecastelli) #540046ca0cfc602
] - meta: remove license for hljs (Aviv Keller) #53970e6ba121e83
] - meta: make more bug-report information required (Aviv Keller) #537181864cddd0c
] - meta: store actions secrets in environment (Aviv Keller) #53930c0b24e5071
] - meta: move anonrig to tsc voting members (Yagiz Nizipli) #53888e60b089f7f
] - meta: remove redudant logging from dep updaters (Aviv Keller) #53783bff6995ec3
] - meta: change email address of anonrig (Yagiz Nizipli) #53829c2bb46020a
] - meta: addnode_sqlite.c
to PR label config (Aviv Keller) #53797b8d2bbc6d6
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #537580ad4b7c1f7
] - meta: use HTML entities in commit-queue comment (Aviv Keller) #53744aa0c5c25d1
] - meta: move regular TSC member to emeritus (Michael Dawson) #53693a5f5b4550b
] - meta: bump codecov/codecov-action from 4.4.1 to 4.5.0 (dependabot[bot]) #53675f84e215c90
] - meta: bump mozilla-actions/sccache-action from 0.0.4 to 0.0.5 (dependabot[bot]) #53674d5a9c249d3
] - meta: bump github/codeql-action from 3.25.7 to 3.25.11 (dependabot[bot]) #5367339d6c780c8
] - meta: bump actions/checkout from 4.1.6 to 4.1.7 (dependabot[bot]) #53672bb6fe38a34
] - meta: bump peter-evans/create-pull-request from 6.0.5 to 6.1.0 (dependabot[bot]) #536715dcdfb5e6b
] - meta: bump step-security/harden-runner from 2.8.0 to 2.8.1 (dependabot[bot]) #5367044d901a1c9
] - meta: move member from TSC regular to emeriti (Michael Dawson) #535990c91186afa
] - meta: warnings bypass deprecation cycle (Benjamin Gruenbaum) #53513bcd08bef60
] - meta: prevent constant references to issues in versioning (Aviv Keller) #535647625dc4927
] - module: fix submodules loaded by require() and import() (Joyee Cheung) #524876c4f4772e3
] - module: tidy code and comments (Jacob Smith) #5243751b88faeac
] - module: disallow CJS <-> ESM edges in a cycle from require(esm) (Joyee Cheung) #522644dae68ced4
] - module: centralize SourceTextModule compilation for builtin loader (Joyee Cheung) #52291cad46afc07
] - (SEMVER-MINOR) module: support require()ing synchronous ESM graphs (Joyee Cheung) #51977ac58c829a1
] - node-api: add property keys benchmark (Chengzhong Wu) #54012e6a4104bd1
] - node-api: rename nogc to basic (Gabriel Schulhof) #5383057b8b8e18e
] - (SEMVER-MINOR) path: addmatchesGlob
method (Aviv Keller) #52881bf6aa53299
] - process: unify experimental warning messages (Aviv Keller) #537042a3ae16e62
] - src: expose LookupAndCompile with parameters (Shelley Vohr) #538860109f9c961
] - src: simplify AESCipherTraits::AdditionalConfig (Tobias Nießen) #538906bafe8a457
] - src: fix -Wshadow warning (Shelley Vohr) #538854c36d6c47a
] - src: fix slice of slice of file-backed Blob (Josh Lee) #53972848c2d59fb
] - src: cache invariant code motion (Rafael Gonzaga) #53879acaf5dd1cd
] - src: avoid strcmp in ImportJWKAsymmetricKey (Tobias Nießen) #53813b71250aaf9
] - src: replace ToLocalChecked uses with ToLocal in node-file (James M Snell) #53869aff9a5339a
] - src: fix env-file flag to ignore spaces before quotes (Mohit Malhotra) #53786e352a4ef27
] - src: update outdated references to spec sections (Tobias Nießen) #538321a4da22a60
] - src: use Maybe<void> in ManagedEVPPKey (Tobias Nießen) #538110c24b91bd2
] - src: fix error handling in ExportJWKAsymmetricKey (Tobias Nießen) #5376781cd84c716
] - src: use Maybe<void> in node::crypto::error (Tobias Nießen) #537668135f3616d
] - src: fix typo in node.h (Daeyeon Jeong) #53759e6d735a997
] - src: document the Node.js context embedder data (Joyee Cheung) #53611584beaa2ed
] - src: zero-initialize data that are copied into the snapshot (Joyee Cheung) #53563ef5dabd8c6
] - src: fix Worker termination when '--inspect-brk' is passed (Daeyeon Jeong) #5372462f4f6f48e
] - src: remove ArrayBufferAllocator::Reallocate override (Shu-yu Guo) #52910a6dd8643fa
] - src: reduce unnecessary serialization of CLI options in C++ (Joyee Cheung) #5245131fdb881cf
] - src,lib: expose getCategoryEnabledBuffer to use on node.http (Vinicius Lourenço) #536022eea8502e1
] - src,test: further cleanup references to osx (Daniel Bayley) #538207c21bb99a5
] - (SEMVER-MINOR) stream: expose DuplexPair API (Austin Wright) #3411156299f7309
] - stream: improve inspector ergonomics (Benjamin Gruenbaum) #538009b82b15230
] - stream: update ongoing promise in async iterator return() method (Mattias Buelens) #526574a3ecbfc9b
] - (SEMVER-MINOR) stream: implementmin
option forReadableStreamBYOBReader.read
(Mattias Buelens) #50888bd996bf694
] - test: do not swallow uncaughtException errors in exit code tests (Meghan Denny) #5403977761af077
] - test: move shared module totest/common
(Rich Trott) #54042bec88ce138
] - test: skip sea tests with more accurate available disk space estimation (Chengzhong Wu) #539969a98ad47cd
] - test: remove unnecessary console log (KAYYY) #53812364d09cf0a
] - test: add comments and rename test for timer robustness (Rich Trott) #540085c5093dc0a
] - test: add test for one arg timers to increase coverage (Carlos Espa) #5400743ede1ae0b
] - test: mark 'test/parallel/test-sqlite.js' as flaky (Colin Ihrig) #540310ad783cb42
] - test: mark test-pipe-file-to-http as flaky (jakecastelli) #53751f2b4fd3544
] - test: compare paths on Windows without considering case (Early Riser) #539932e69e5f4d2
] - test: skip sea tests in large debug builds (Chengzhong Wu) #5391856c26fe6e5
] - test: skip --title check on IBM i (Abdirahim Musse) #539526d0b8ded00
] - test: reduce flakiness oftest-assert-esm-cjs-message-verify
(Antoine du Hamel) #53967edb75aebd7
] - test: usePYTHON
executable from env inassertSnapshot
(Antoine du Hamel) #53938be94e470a6
] - test: deflake test-blob-file-backed (Luigi Pinca) #53920c2b0dcd165
] - test: un-set inspector-async-hook-setup-at-inspect-brk as flaky (Abdirahim Musse) #536926dc18981ac
] - test: use python3 instead of python in pummel test (Mathis Wiehl) #53057662bf524e1
] - test: do not assume cwd in snapshot tests (Antoine du Hamel) #53146a07526702a
] - test: fix OpenSSL version checks (Richard Lau) #535032b70018d11
] - test: refactor, add assertion to http-request-end (jakecastelli) #53411c0262c1561
] - test_runner: switched to internal readline interface (Emil Tayeb) #54000fb7342246c
] - test_runner: do not throw on mocked clearTimeout() (Aksinya Bykova) #54005367f9e77f3
] - test_runner: cleanup global event listeners after run (Eddie Abbondanzio) #53878206c668ee7
] - test_runner: remove plan option from run() (Colin Ihrig) #538348660d481e5
] - tls: add setKeyCert() to tls.Socket (Brian White) #536369c5beabd83
] - tools: fixSLACK_TITLE
in invalid commit workflow (Antoine du Hamel) #539124dedf2aead
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #53840642d5c5d30
] - tools: use v8_features.json to populate config.gypi (Cheng) #53749031206544d
] - tools: update lint-md-dependencies to unified@11.0.5 (Node.js GitHub Bot) #535558404421ea6
] - tools: replace reference to NodeMainInstance with SnapshotBuilder (codediverdev) #535442d8490fed5
] - typings: addfs_dir
types (Yagiz Nizipli) #53631325eae0b3f
] - url: fix typo (KAYYY) #538277fc45f5e3f
] - url: reduce unnecessary string copies (Yagiz Nizipli) #536281d961facf1
] - url: add missing documentation forURL.parse()
(Yagiz Nizipli) #53733ce877c6d0f
] - util: fix crashing when emitting new Buffer() deprecation warning #53075 (Aras Abbasi) #53089d6d04279ca
] - worker: allow copied NODE_OPTIONS in the env setting (Joyee Cheung) #53596v20.16.0
: 2024-07-24, Version 20.16.0 'Iron' (LTS), @marco-ippolitoCompare Source
process: add process.getBuiltinModule(id)
process.getBuiltinModule(id)
provides a way to load built-in modulesin a globally available function. ES Modules that need to support
other environments can use it to conditionally load a Node.js built-in
when it is run in Node.js, without having to deal with the resolution
error that can be thrown by
import
in a non-Node.js environment orhaving to use dynamic
import()
which either turns the module intoan asynchronous module, or turns a synchronous API into an asynchronous one.
If
id
specifies a built-in module available in the current Node.js process,process.getBuiltinModule(id)
method returns the corresponding built-inmodule. If
id
does not correspond to any built-in module,undefined
is returned.
process.getBuiltinModule(id)
accepts built-in module IDs that are recognizedby
module.isBuiltin(id)
.The references returned by
process.getBuiltinModule(id)
always point tothe built-in module corresponding to
id
even if users modifyrequire.cache
so thatrequire(id)
returns something else.Contributed by Joyee Cheung in #52762
doc: doc-only deprecate OpenSSL engine-based APIs
OpenSSL 3 deprecated support for custom engines with a recommendation to switch to its new provider model.
The
clientCertEngine
option forhttps.request()
,tls.createSecureContext()
, andtls.createServer()
; theprivateKeyEngine
andprivateKeyIdentifier
fortls.createSecureContext();
andcrypto.setEngine()
all depend on this functionality from OpenSSL.Contributed by Richard Lau in #53329
inspector: fix disable async hooks on Debugger.setAsyncCallStackDepth
Debugger.setAsyncCallStackDepth
was previously calling the enable function by mistake. As a result, when profiling using Chrome DevTools, the async hooks won't be turned off properly after receivingDebugger.setAsyncCallStackDepth
with depth 0.Contributed by Joyee Cheung in #53473
Other Notable Changes
09e2191432
] - (SEMVER-MINOR) buffer: add .bytes() method to Blob (Matthew Aitken) #53221394e00f41c
] - (SEMVER-MINOR) doc: add context.assert docs (Colin Ihrig) #53169a8601efa5e
] - (SEMVER-MINOR) doc: improve explanation about built-in modules (Joyee Cheung) #527625e76c258f7
] - doc: add StefanStojanovic to collaborators (StefanStojanovic) #531185e694026f1
] - doc: add Marco Ippolito to TSC (Rafael Gonzaga) #53008f3ba1eb72f
] - (SEMVER-MINOR) net: add new net.server.listen tracing channel (Paolo Insogna) #531362bcce3255b
] - (SEMVER-MINOR) src,permission: --allow-wasi & prevent WASI exec (Rafael Gonzaga) #53124a03a4c7bdd
] - (SEMVER-MINOR) test_runner: add context.fullName (Colin Ihrig) #5316969b828f5a5
] - (SEMVER-MINOR) util: support--no-
for argument with boolean type for parseArgs (Zhenwei Jin) #53107Commits
76fd0ea92e
] - assert,util: correct comparison when both contain same reference (Daniel Lemire) #5343165308b6692
] - benchmark: fix api restriction for the permission category (Ryan Tsien) #515281e2bc2c2d0
] - benchmark: fix napi/ref addon (Michaël Zasso) #5323309e2191432
] - (SEMVER-MINOR) buffer: add .bytes() method to Blob (Matthew Aitken) #53221e1951a4804
] - build: fix spacing before NINJA_ARGS (jakecastelli) #5318176f3bb3460
] - build: generate binlog in out directories (Chengzhong Wu) #53325eded0c187b
] - build: support python 3.13 (Chengzhong Wu) #531901e57c67fdb
] - build: update ruff to v0.4.5 (Yagiz Nizipli) #5318028e71ede63
] - build: add--skip-tests
totest-ci-js
target (Antoine du Hamel) #53105bb06778a65
] - build: fix building embedtest in GN build (Cheng) #53145117ff5f139
] - build: use broader detection for 'help' (Aviv Keller) #530459aa896e7f5
] - build: fix -j propagation to ninja (Tobias Nießen) #53088acdbc78955
] - build: exit on unsupported host OS for Android (Mohammed Keyvanzadeh) #52882bf3d94478e
] - build: fix--enable-d8
builds (Richard Lau) #5310699da7d7237
] - build: set "clang" in config.gypi in GN build (Cheng) #530049446278f03
] - crypto: improve GetECGroupBits signature (Tobias Nießen) #53364dc2a4af68d
] - crypto: fix propagation of "memory limit exceeded" (Tobias Nießen) #53300c5174f5e60
] - deps: update c-ares to v1.31.0 (Node.js GitHub Bot) #5355428e932dc7a
] - deps: update undici to 6.19.2 (Node.js GitHub Bot) #53468e4f9c663c4
] - deps: update undici to 6.19.1 (Node.js GitHub Bot) #53468171dc50fdc
] - deps: update undici to 6.19.1 (Node.js GitHub Bot) #534686bb6a9100d
] - deps: update undici to 6.19.0 (Node.js GitHub Bot) #53468815d71b4cd
] - deps: update acorn-walk to 8.3.3 (Node.js GitHub Bot) #534668b5f1d765a
] - deps: update zlib to 1.3.0.1-motley-209717d (Node.js GitHub Bot) #53156fc73da6f50
] - deps: update c-ares to v1.30.0 (Node.js GitHub Bot) #53416a6b803abd6
] - deps: update undici to 6.18.2 (Node.js GitHub Bot) #532550f235535bb
] - deps: update ada to 2.8.0 (Node.js GitHub Bot) #5325463407269a8
] - deps: update corepack to 0.28.2 (Node.js GitHub Bot) #532537a126e8773
] - deps: update c-ares to 1.29.0 (Node.js GitHub Bot) #531550c8fcceefa
] - deps: upgrade npm to 10.8.1 (npm team) #5320723866979f2
] - deps: update undici to 6.18.1 (Node.js GitHub Bot) #530734987a00142
] - deps: update undici to 6.18.0 (Node.js GitHub Bot) #53073af226d0d9c
] - deps: update undici to 6.17.0 (Node.js GitHub Bot) #53034c9c6bf8bfb
] - deps: update undici to 6.16.1 (Node.js GitHub Bot) #52948b32b62d590
] - deps: update undici to 6.15.0 (Matthew Aitken) #527636e6641bea2
] - deps: update googletest to33af80a
(Node.js GitHub Bot) #53053aa96fbe03e
] - deps: update zlib to 1.3.0.1-motley-4f653ff (Node.js GitHub Bot) #53052ba3310ded5
] - deps: upgrade npm to 10.8.0 (npm team) #530148537a2aecf
] - doc: recommend not using libuv node-api function (Michael Dawson) #53521c13600f0db
] - doc: add additional guidance for PRs to deps (Michael Dawson) #534997c3edd952e
] - doc: only apply content-visibility on all.html (Filip Skokan) #53510ac5be14ed8
] - doc: update the description of the return type for options.filter (Zhenwei Jin) #52742cac300e351
] - doc: remove first timer badge (Aviv Keller) #53338feb61459fd
] - doc: add Buffer.from(string) to functions that use buffer pool (Christian Bates-White) #528019e0a6e938b
] - doc: add initial text for ambassadors program (Michael Dawson) #5285755ac53cb0b
] - doc: define more cases for stream event emissions (Aviv Keller) #533177128e0f9c9
] - doc: remove mentions of policy model from security info (Aviv Keller) #532493e290433df
] - doc: fix mistakes in the moduleload
hook api (István Donkó) #533493445c08144
] - doc: doc-only deprecate OpenSSL engine-based APIs (Richard Lau) #53329a3e8cda019
] - doc: mark --heap-prof and related flags stable (Joyee Cheung) #533430b9daaae4d
] - doc: mark --cpu-prof and related flags stable (Joyee Cheung) #53343daf91834f6
] - doc: remove IRC from man page (Tobias Nießen) #533444246c8fa31
] - doc: fix broken link instatic-analysis.md
(Richard Lau) #53345955b98a0e4
] - doc: remove cases for keys not containing "*" in PATTERN_KEY_COMPARE (Maarten Zuidhoorn) #532157832b1815f
] - doc: add err param to fs.cp callback (Feng Yu) #5323401533df87f
] - doc: adderr
param to fs.copyFile callback (Feng Yu) #53234b081bc7d5e
] - doc: reserve 128 for Electron 32 (Keeley Hammond) #532036b8460b560
] - doc: add note to ninjia build for macOS using -jn flag (jakecastelli) #53187394e00f41c
] - (SEMVER-MINOR) doc: add context.assert docs (Colin Ihrig) #53169c143d61d0e
] - doc: include ESM import for HTTP (Aviv Keller) #53165a8601efa5e
] - (SEMVER-MINOR) doc: improve explanation about built-in modules (Joyee Cheung) #52762560392de3d
] - doc: fix minor grammar and style issues in SECURITY.md (Rich Trott) #531689f8e34323d
] - doc: mention pm is not enforced when using fd (Rafael Gonzaga) #531253ac775b015
] - doc: fix format inesm.md
(Pop Moore) #5317041b08bdcf7
] - doc: fix wrong variable name in example oftimers.tick()
(Deokjin Kim) #53147698ea7aa5a
] - doc: fix wrong function name in example ofcontext.plan()
(Deokjin Kim) #53140a99359d79d
] - doc: add note for windows users and symlinks (Aviv Keller) #5311761ec2af292
] - doc: move all TLS-PSK documentation to its section (Alba Mendez) #357175e76c258f7
] - doc: add StefanStojanovic to collaborators (StefanStojanovic) #531181dc406ba62
] - doc: improve ninja build for --built-in-modules-path (jakecastelli) #530072854585662
] - doc: avoid hiding by navigation bar in anchor jumping (Cloyd Lau) #451313f432f829f
] - doc: remove unavailable youtube link in pull requests (Deokjin Kim) #529825e694026f1
] - doc: add Marco Ippolito to TSC (Rafael Gonzaga) #53008231e44043e
] - doc: add missing supported timer values intimers.enable()
(Deokjin Kim) #52969b8944f6938
] - doc, http: addrejectNonStandardBodyWrites
option, clear its behaviour (jakecastelli) #533960354584738
] - doc, meta: organize contributing to Node-API guide (Aviv Keller) #532439ae3719c4e
] - doc, meta: use markdown rather than HTML in CONTRIBUTING.md (Aviv Keller) #53235621e073c96
] - fs: do not crash if the watched file is removed while setting up watch (Matteo Collina) #53452f00ee1c377
] - fs: fix cp dir/non-dir mismatch error messages (Mathis Wiehl) #53150655b960418
] - http2: reject failed http2.connect when used with promisify (ehsankhfr) #53475eb0b68bb29
] - inspector: fix disable async hooks on Debugger.setAsyncCallStackDepth (Joyee Cheung) #534731c0b89be4c
] - lib: fix typo in comment (codediverdev) #5354355922d9cb0
] - lib: remove the unused code (theanarkh) #5346306374ef96b
] - lib: fix naming convention ofSymbol
(Deokjin Kim) #53387d1a780039a
] - lib: fix timer leak (theanarkh) #533378689ce4b41
] - lib: fix misleading argument of validateUint32 (Tobias Nießen) #5330757d7bbf624
] - lib: fix the name of the fetch global function (Gabriel Bota) #5322723f086c363
] - lib: do not call callback if socket is closed (theanarkh) #52829f325c54c80
] - meta: use correct source for workflow in PR (Aviv Keller) #534908172412dbe
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #5348001b61d65d3
] - meta: fix typo in dependency updates (Aviv Keller) #5347112f5737cd3
] - meta: bump step-security/harden-runner from 2.7.1 to 2.8.0 (dependabot[bot]) #53245102e4eee3c
] - meta: bump ossf/scorecard-action from 2.3.1 to 2.3.3 (dependabot[bot]) #532485ba185580d
] - meta: bump actions/checkout from 4.1.4 to 4.1.6 (dependabot[bot]) #532479d186cce2b
] - meta: bump github/codeql-action from 3.25.3 to 3.25.7 (dependabot[bot]) #5324629ab74009e
] - meta: bump codecov/codecov-action from 4.3.1 to 4.4.1 (dependabot[bot]) #53244bd4b593f30
] - meta: removeinitializeCommand
from devcontainer (Aviv Keller) #5313761b1f573cf
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #53065f3ba1eb72f
] - (SEMVER-MINOR) net: add new net.server.listen tracing channel (Paolo Insogna) #5313667333a5796
] - (SEMVER-MINOR) process: add process.getBuiltinModule(id) (Joyee Cheung) #52762092aa09eb3
] - repl: fix await object patterns without values (Luke Haas) #53331554d25f526
] - src: resetprocess.versions
during pre-execution (Richard Lau) #53444a0879ad628
] - src: fix dynamically linked OpenSSL version (Richard Lau) #5345691c05f34de
] - src: removeSetEncoding
from StringEncoder (Yagiz Nizipli) #534414f49384be5
] - src: fix typo in env.cc (EhsanKhaki) #534189730d1e186
] - src: avoid strcmp in favor of operator== (Tobias Nießen) #53439436ad8ceb9
] - src: print v8::OOMDetails::detail when it's available (Joyee Cheung) #53360f773b289eb
] - src: fix IsIPAddress for IPv6 (Hüseyin Açacak) #534007705efd860
] - src: fix permission inspector crash (theanarkh) #53389260d8d9ae1
] - src: use __FUNCSIG__ on Windows in backtrace (Joyee Cheung) #531353b79e9c24e
] - src: fix external module env and kDisableNodeOptionsEnv (Rafael Gonzaga) #5290532839c63cb
] - src: reduce unnecessaryGetCwd
calls (Yagiz Nizipli) #53064840dd092ce
] - src: improve node::Dotenv declarations (Tobias Nießen) #529732bcce3255b
] - (SEMVER-MINOR) src,permission: --allow-wasi & prevent WASI exec (Rafael Gonzaga) #53124e092c62a22
] - stream: update outdated highwatermark doc (Jay Kim) #5349471af3e8172
] - stream: support dispose in writable (Benjamin Gruenbaum) #4854733a15be32f
] - stream: callback should be called when pendingcb is 0 (jakecastelli) #534381b46ebbf69
] - stream: make sure _destroy is called (jakecastelli) #532139f95d41947
] - stream: prevent stream unexpected pause when highWaterMark set to 0 (jakecastelli) #53261d02651c9d6
] - stream: micro-optimize writable condition (Orgad Shaneh) #53189324070c410
] - stream: fix memory usage regression in writable (Orgad Shaneh) #5318848138afd35
] - stream: fixes for webstreams (Mattias Buelens) #5116824f078a22b
] - test: marktest-benchmark-crypto
as flaky (Antoine du Hamel) #529550d69ce3474
] - test: extend env fortest-node-output-errors
(Richard Lau) #535351aaaad8518
] - test: update encoding web-platform tests (Yagiz Nizipli) #5347754e0ba8771
] - test: check against run-time OpenSSL version (Richard Lau) #53456059e47c320
] - test: update tests for OpenSSL 3.0.14 (Richard Lau) #5337349e6f33021
] - test: fix test-http-server-keepalive-req-gc (Etienne Pierre-doray) #53292292d13a289
] - test: update TLS tests for OpenSSL 3.2 (Richard Lau) #5338482017c90bb
] - test: fix test when compiled without engine support (Richard Lau) #53232a54090b385
] - test: update TLS trace tests for OpenSSL >= 3.2 (Richard Lau) #532293a1693421d
] - test: fix Windows native test suites (Stefan Stojanovic) #531732b07d01272
] - test: skiptest-setproctitle
whenps
is not available (Antoine du Hamel) #531040051d1c83d
] - test: increase allocation so it fails for the test (Adam Majer) #53099048cbe3304
] - test: remove timers from test-tls-socket-close (Luigi Pinca) #530198653d9223e
] - test: replace.substr
with.slice
(Antoine du Hamel) #53070d74bda4241
] - test: add AbortController to knownGlobals (Luigi Pinca) #53020f29e1e9838
] - test: skip unstable shadow realm gc tests (Chengzhong Wu) #52855dfa498697e
] - test,doc: enable running embedtest for Windows (Vladimir Morozov) #526460381817f1d
] - test_runner: calculate executed lines using source map (Moshe Atlow) #533159d3699b5b0
] - test_runner: handle file rename and deletion under watch mode (jakecastelli) #531149a36258ca0
] - test_runner: refactor to use min/max ofvalidateInteger
(Deokjin Kim) #53148a03a4c7bdd
] - (SEMVER-MINOR) test_runner: add context.fullName (Colin Ihrig) #53169a72157077a
] - test_runner: fix t.assert methods (Colin Ihrig) #53049ba764db9ab
] - test_runner: avoid error when coverage line not found (Moshe Atlow) #530003a4a0ebd06
] - test_runner,doc: align documentation with actual stdout/stderr behavior (Moshe Atlow) #531316e6646bdd5
] - tls: check result of SSL_CTX_set_*_proto_version (Tobias Nießen) #534592aceed4297
] - tls: avoid taking ownership of OpenSSL objects (Tobias Nießen) #53436faa5cac18c
] - tls: use SSL_get_peer_tmp_key (Tobias Nießen) #5336668fcbb635e
] - tls: fix negative sessionTimeout handling (Tobias Nießen) #5300261a1c43ef1
] - tools: fix skip detection of test runner output (Richard Lau) #5354553a7b6e1c0
] - tools: fix c-ares update script (Marco Ippolito) #534143bd5f46a15
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #53158daab9e170f
] - tools: do not run Corepack code before it's reviewed (Antoine du Hamel) #53405d18a67f937
] - tools: use Ubuntu 24.04 and Clang on GitHub actions (Michaël Zasso) #53212e9b7a52848
] - tools: add stream label on PR when related files being changed in lib (jakecastelli) #5326904d78dd56d
] - tools: remove no-goma arg from make-v8 script (Michaël Zasso) #5333637e725a500
] - tools: use sccache Github action (Moshe Atlow) #533162a1fde7e32
] - tools: update error message for Type Error (Aviv Keller) #530478f5fb4192d
] - Revert "tools: add --certify-safe to nci-ci" (Antoine du Hamel) #5309869b828f5a5
] - (SEMVER-MINOR) util: support--no-
for argument with boolean type for parseArgs (Zhenwei Jin) #531071a2f3ab4f5
] - watch: fix variable naming (jakecastelli) #53101v20.15.1
: 2024-07-08, Version 20.15.1 'Iron' (LTS), @RafaelGSSCompare Source
This is a security release.
Notable Changes
Commits
60e184a6e4
] - lib,esm: handle bypass network-import via data: (RafaelGSS) nodejs-private/node-private#522025cbd6936
] - lib,permission: support fs.lstat (RafaelGSS) nodejs-private/node-private#486d38ea17341
] - lib,permission: disable fchmod/fchown when pm enabled (RafaelGSS) nodejs-private/node-private#5841ba624cd3b
] - src: handle permissive extension on cmd check (RafaelGSS) nodejs-private/node-private#5962524d00c3d
] - src,permission: fix UNC path resolution (RafaelGSS) nodejs-private/node-private#581484cb0f13c
] - src,permission: resolve path on fs_permission (Rafael Gonzaga) #52761v20.15.0
: 2024-06-20, Version 20.15.0 'Iron' (LTS), @marco-ippolitoCompare Source
test_runner: support test plans
It is now possible to count the number of assertions and subtests that are expected to run within a test. If the number of assertions and subtests that run does not match the expected count, the test will fail.
Contributed by Colin Ihrig in #52860
inspector: introduce the
--inspect-wait
flagThis release introduces the
--inspect-wait
flag, which allows debugger to wait for attachement. This flag is useful when you want to debug the code from the beginning. Unlike--inspect-brk
, which breaks on the first line, this flag waits for debugger to be connected and then runs the code as soon as a session is established.Contributed by Kohei Ueno in #52734
zlib: expose zlib.crc32()
This release exposes the crc32() function from zlib to user-land.
It computes a 32-bit Cyclic Redundancy Check checksum of data. If
value is specified, it is used as the starting value of the checksum,
otherwise, 0 is used as the starting value.
The CRC algorithm is designed to compute checksums and to detect error
in data transmission. It's not suitable for cryptographic authentication.
Contributed by Joyee Cheung in #52692
cli: allow running wasm in limited vmem with --disable-wasm-trap-handler
By default, Node.js enables trap-handler-based WebAssembly bound
checks. As a result, V8 does not need to insert inline bound checks
int the code compiled from WebAssembly which may speedup WebAssembly
execution significantly, but this optimization requires allocating
a big virtual memory cage (currently 10GB). If the Node.js process
does not have access to a large enough virtual memory address space
due to system configurations or hardware limitations, users won't
be able to run any WebAssembly that involves allocation in this
virtual memory cage and will see an out-of-memory error.
--disable-wasm-trap-handler
disables this optimization so thatusers can at least run WebAssembly (with a less optimial performance)
when the virtual memory address space available to their Node.js
process is lower than what the V8 WebAssembly memory cage needs.
Contributed by Joyee Cheung in #52766
Other Notable Changes
12512c3d0e
] - doc: add pimterry to collaborators (Tim Perry) #528749d485b40bb
] - (SEMVER-MINOR) tools: fix get_asan_state() in tools/test.py (Joyee Cheung) #52766e98c305f52
] - (SEMVER-MINOR) tools: support max_virtual_memory test configuration (Joyee Cheung) #52766dce0300896
] - (SEMVER-MINOR) tools: support != in test status files (Joyee Cheung) #52766Commits
227093bfec
] - assert: add deep equal check for more Error type (Zhenwei Jin) #51805184cfe5a71
] - benchmark: filter non-present deps fromstart-cli-version
(Adam Majer) #517468b3e83bb53
] - buffer: even faster atob (Daniel Lemire) #524438d628c3255
] - buffer: use size_t instead of uint32_t to avoid segmentation fault (Xavier Stouder) #4803316ae2b2933
] - buffer: remove lines setting indexes to integer value (Zhenwei Jin) #5258848c15d0dcd
] - build: remove deprecated calls for argument groups (Mohammed Keyvanzadeh) #529131be8232d17
] - build: drop base64 dep in GN build (Cheng) #52856918962d6e7
] - build: make simdjson a public dep in GN build (Cheng) #527555215b6fd8e
] - build, tools: copy release assets to staging R2 bucket once built (flakey5) #51394473fa73857
] - (SEMVER-MINOR) cli: allow running wasm in limited vmem with --disable-wasm-trap-handler (Joyee Cheung) #52766954d2aded4
] - cluster: replaceforEach
withfor-of
loop (Jérôme Benoit) #50317794e450ea7
] - console: colorize console error and warn (Jithil P Ponnan) #516290fb7c18f10
] - crypto: fix duplicated switch-case return values (Mustafa Ateş UZUN) #49030cd1415c8b2
] - Revert "crypto: make timingSafeEqual faster for Uint8Array" (Tobias Nießen) #53390b774544bb1
] - deps: enable unbundling of simdjson, simdutf, ada (Daniel Lemire) #52924da4dbfc5fd
] - doc: remove reference to AUTHORS file (Marco Ippolito) #529602f3f2ff8af
] - doc: update hljs with the latest styles (Aviv Keller) #529113a1d17a9b1
] - doc: mention quicker way to build docs (Alex Crawford) #52937be309bd19d
] - doc: mention push.followTags config (Rafael Gonzaga) #52906e62c6e2684
] - doc: document pipeline withend
option (Alois Klink) #48970af27225cf6
] - doc: add example forexecFileSync
method and ref to stdio (Evan Shortiss) #39412086626f9b1
] - doc: add examples and notes to http server.close et al (mary marchini) #490913aa3337a00
] - doc: fixdns.lookup
family0
andall
descriptions (Adam Jones) #51653585f2a2e7f
] - doc: updatefs.realpath
documentation (sinkhaha) #481704bf3d44e1d
] - doc: update fs read documentation for clarity (Mert Can Altin) #52453ae5d47dde3
] - doc: watermark string behavior (Benjamin Gruenbaum) #528421e429d10d3
] - doc: exclude commits with baking-for-lts (Marco Ippolito) #528963df3e37cdb
] - doc: add names next to release key bash commands (Aviv Keller) #5287812512c3d0e
] - doc: add pimterry to collaborators (Tim Perry) #5287497e0fef019
] - doc: add more definitions to GLOSSARY.md (Aviv Keller) #5279891fadac162
] - doc: make docs more welcoming and descriptive for newcomers (Serkan Özel) #38056a3b20126fd
] - doc: add OpenSSL errors to API docs (John Lamp) #342139587ae9b5b
] - doc: simplify copy-pasting ofbranch-diff
commands (Antoine du Hamel) #527576ea72a53c3
] - doc: add test_runner to subsystem (Raz Luvaton) #52774972eafd983
] - events: update MaxListenersExceededWarning message log (sinkhaha) #5192174753ed1fe
] - events: add stop propagation flag toEvent.stopImmediatePropagation
(Mickael Meausoone) #3946375dd009649
] - events: replace NodeCustomEvent with CustomEvent (Feng Yu) #438767d38c2e012
] - fs: keep fs.promises.readFile read until EOF is reached (Zhenwei Jin) #521788cb13120d3
] - (SEMVER-MINOR) inspector: introduce the--inspect-wait
flag (Kohei Ueno) #52734d5ab1de1fd
] - meta: move@anonrig
to TSC regular member (Yagiz Nizipli) #52932f82d086e90
] - path: fix toNamespacedPath on Windows (Hüseyin Açacak) #52915121ea13b50
] - process: improve event-loop (Aras Abbasi) #52108eceac784aa
] - repl: fix disruptive autocomplete without inspector (Nitzan Uziely) #4066189a910be82
] - src: fix Worker termination ininspector.waitForDebugger
(Daeyeon Jeong) #52527033f985e8a
] - src: useS_ISDIR
to check if the file is a directory (theanarkh) #5216495128399f8
] - src: allow preventing debug signal handler start (Shelley Vohr) #46681b162aeae9e
] - src: fix typo Unabled -> Unable (Simon Siefke) #528202dcbf1894a
] - src: avoid unused variable 'error' warning (Michaël Zasso) #52886978ee0a635
] - src: only apply fix in main thread (Paolo Insogna) #527028fc52b38c6
] - src: fix test local edge case (Paolo Insogna) #52702d02907ecc4
] - src: remove misplaced windows code under posix guard in node.cc (Ali Hassan) #52545af29120fa7
] - stream: useByteLengthQueuingStrategy
when not inobjectMode
(Jason) #48847a5f3dd137c
] - string_decoder: throw an error when writing a too long buffer (zhenweijin) #5221565fa95d57d
] - test: addDebugger.setInstrumentationBreakpoint
known issue (Konstantin Ulitin) #311370513e07805
] - test: usefor-of
instead offorEach
(Gibby Free) #497901d01325928
] - test: verify request payload is uploaded consistently (Austin Wright) #340667dda156872
] - test: add fuzzer for native/js string conversion (Adam Korczynski) #511205fb829b340
] - test: add fuzzer forClientHelloParser
(AdamKorcz) #51088cc74bf789f
] - test: fix broken env fuzzer by initializing process (AdamKorcz) #51080800b6f65cf
] - test: replaceforEach()
intest-stream-pipe-unpipe-stream
(Dario) #50786d08c9a6a31
] - test: test pipelineend
on transform streams (Alois Klink) #489700be8123ede
] - test: improve coverage of lib/readline.js (Rongjian Zhang) #38646410224415c
] - test: updated for each to for of in test file (lyannel) #50308556e9a2127
] - test: movetest-http-server-request-timeouts-mixed
to sequential (Madhuri) #457220638274c07
] - test: fix DNS cancel tests (Szymon Marczak) #44432311bdc62bd
] - test: add http agent toexecutionAsyncResource
(psj-tar-gz) #349666001b164ab
] - test: reduce memory usage of test-worker-stdio (Adam Majer) #37769986bfa26e9
] - test: add common.expectRequiredModule() (Joyee Cheung) #528682246d4fd1e
] - test: crypto-rsa-dsa testing for dynamic openssl (Michael Dawson) #527811dce5dea0b
] - test: skip some console tests on dumb terminal (Adam Majer) #377700addeb240c
] - test: skip v8-updates/test-linux-perf-logger (Michaël Zasso) #5282156e19e38f3
] - test: drop test-crypto-timing-safe-equal-benchmarks (Rafael Gonzaga) #527510c5e58958c
] - test, crypto: use correct object on assert (响马) #51820d54aa47ec1
] - (SEMVER-MINOR) test_runner: support test plans (Colin Ihrig) #528600289a023a5
] - test_runner: fix watch mode race condition (Moshe Atlow) #52954cf817e192e
] - test_runner: preserve hook promise when executed twice (Moshe Atlow) #52791de541235fe
] - tools: fix v8-update workflow (Michaël Zasso) #52957f6290bc327
] - tools: add --certify-safe to nci-ci (Matteo Collina) #529400830b3115d
] - tools: fix doc update action (Marco Ippolito) #528909d485b40bb
] - (SEMVER-MINOR) tools: fix get_asan_state() in tools/test.py (Joyee Cheung) #52766e98c305f52
] - (SEMVER-MINOR) tools: support max_virtual_memory test configuration (Joyee Cheung) #52766dce0300896
] - (SEMVER-MINOR) tools: support != in test status files (Joyee Cheung) #5276657006001ec
] - tools: prepare custom rules for ESLint v9 (Michaël Zasso) #52889403a4a7557
] - tools: update lint-md-dependencies to rollup@4.17.2 (Node.js GitHub Bot) #5283601eff5860e
] - tools: updategr2m/create-or-update-pull-request-action
(Antoine du Hamel) #52843514f01ed59
] - tools: use sccache GitHub action (Michaël Zasso) #528398f8fb91927
] - tools: specify a commit-message for V8 update workflow (Antoine du Hamel) #52844b83fbf8709
] - tools: fix V8 update workflow (Antoine du Hamel) #52822be9d6f2176
] - url,tools,benchmark: replace deprecatedsubstr()
(Jungku Lee) #515467603a51d45
] - util: fix%s
format behavior withSymbol.toPrimitive
(Chenyu Yang) #50992d7eba50cf3
] - util: improveisInsideNodeModules
(uzlopak) #521474ae4f7e517
] - watch: allow listening for grouped changes (Matthieu Sieben) #527221ff8f318c0
] - watch: enable passthrough ipc in watch mode (Zack) #50890739adf90b1
] - watch: fix arguments parsing (Moshe Atlow) #527605161d95c30
] - (SEMVER-MINOR) zlib: expose zlib.crc32() (Joyee Cheung) #52692v20.14.0
: 2024-05-28, Version 20.14.0 'Iron' (LTS), @marco-ippolitoCompare Source
Notable Changes
28d2baa17c
] - src,permission: throw async errors on async APIs (Rafael Gonzaga) #5273077e2bf029a
] - (SEMVER-MINOR) test_runner: support forced exit (Colin Ihrig) #52038Commits
e3ad05d8b0
] - deps: V8: cherry-pick500de8b
(Richard Lau) #52676053282e661
] - deps: V8: backportc4be0a9
(Richard Lau) #52183200dadb879
] - deps: V8: cherry-pickf8d5e57
(Richard Lau) #52183f5cd125e02
] - deps: update googletest tofa6de7f
(Node.js GitHub Bot) #52949bbbfd7f4e1
] - deps: update corepack to 0.28.1 (Node.js GitHub Bot) #529467ba30a57a6
] - deps: update simdutf to 5.2.8 (Node.js GitHub Bot) #52727b21a480a28
] - deps: update simdutf to 5.2.6 (Node.js GitHub Bot) #527276cfad60d97
] - deps: update googletest to2d16ed0
(Node.js GitHub Bot) #5165734708d1429
] - deps: update googletest tod83fee1
(Node.js GitHub Bot) #51657c1d3e558e8
] - deps: update googletest to5a37b51
(Node.js GitHub Bot) #5165769959d0fca
] - deps: update googletest to5197b1a
(Node.js GitHub Bot) #51657c8305f6057
] - deps: update googletest toeff443c
(Node.js GitHub Bot) #51657760b788704
] - deps: update googletest toc231e6f
(Node.js GitHub Bot) #51657301541cc8f
] - deps: update googletest toe4fdb87
(Node.js GitHub Bot) #51657981d57e401
] - deps: update googletest to5df0241
(Node.js GitHub Bot) #51657a1817f534d
] - deps: update googletest tob75ecf1
(Node.js GitHub Bot) #5165742070ca189
] - deps: update googletest to4565741
(Node.js GitHub Bot) #51657edc3e5d056
] - deps: update uvwasi to 0.0.21 (Node.js GitHub Bot) #5286326b1231ffb
] - deps: upgrade npm to 10.7.0 (npm team) #52767e6d9fbece2
] - doc: update process.versions properties (ishabi) #527368c1f837c0a
] - doc: remove mold use on mac for speeding up build (Cong Zhang) #52252d9c5114694
] - doc: fix grammatical mistake (codershiba) #52808b350f435b7
] - meta: add mailmap entry for legendecas (Chengzhong Wu) #5279561f9f12eff
] - meta: bump actions/checkout from 4.1.1 to 4.1.4 (dependabot[bot]) #52787ac563667d6
] - meta: bump github/codeql-action from 3.24.9 to 3.25.3 (dependabot[bot]) #5278670611d7924
] - meta: bump actions/upload-artifact from 4.3.1 to 4.3.3 (dependabot[bot]) #5278530482ea273
] - meta: bump actions/download-artifact from 4.1.4 to 4.1.7 (dependabot[bot]) #52784d1607cdebb
] - meta: bump codecov/codecov-action from 4.1.1 to 4.3.1 (dependabot[bot]) #5278321f1b6bfc3
] - meta: bump step-security/harden-runner from 2.7.0 to 2.7.1 (dependabot[bot]) #527820c6019a222
] - meta: standardize regex (Aviv Keller) #5269328d2baa17c
] - src,permission: throw async errors on async APIs (Rafael Gonzaga) #52730cffd2cc0c9
] - Revert "stream: revert fix cloned webstreams not being unref'd" (Marco Ippolito) #531443dd96f1fab
] - stream: implement TransformStream cleanup using "transformer.cancel" (Debadree Chatterjee) #501268e7e778e01
] - test: skip v8-updates/test-linux-perf (Michaël Zasso) #49639f8e18869e9
] - test: replace always-opt flag with alway-turbofan (Michaël Zasso) #50115a501860d63
] - test_runner: don't await the same promise for each test (Colin Ihrig) #52185e2ae4367f4
] - test_runner: run top level tests in a microtask (Colin Ihrig) #5209277e2bf029a
] - (SEMVER-MINOR) test_runner: support forced exit (Colin Ihrig) #52038b7bc63565e
] - test_runner: ignore todo flag when running suites (Colin Ihrig) #52117be587e3ae3
] - test_runner: use paths for test locations (Colin Ihrig) #52010743281ab25
] - test_runner: support source mapped test locations (Colin Ihrig) #520104051316d95
] - tools: update lint-md-dependencies to rollup@4.17.0 (Node.js GitHub Bot) #52729v20.13.1
: 2024-05-09, Version 20.13.1 'Iron' (LTS), @marco-ippolitoCompare Source
2024-05-09, Version 20.13.1 'Iron' (LTS), @marco-ippolito
Revert "tools: install npm PowerShell scripts on Windows"
Due to a regression in the npm installation on Windows, this commit reverts the change that installed npm PowerShell scripts on Windows.
Commits
b7d80802cc
] - Revert "tools: install npm PowerShell scripts on Windows" (marco-ippolito) #52897v20.13.0
: 2024-05-07, Version 20.13.0 'Iron' (LTS), @marco-ippolitoCompare Source
2024-05-07, Version 20.13.0 'Iron' (LTS), @marco-ippolito
buffer: improve
base64
andbase64url
performanceThe performance of the
base64
andbase64url
encoding and decoding functions has been improved significantly.Contributed by Yagiz Nizipli in #52428
crypto: deprecate implicitly shortened GCM tags
This release, introduces a doc-only deprecation of using GCM authentication tags that are shorter than the cipher's block size, unless the user specified the
authTagLength
option.Contributed by Tobias Nießen in #52345
events,doc: mark CustomEvent as stable
From this release
CustomEvent
has been marked stable.Contributed by Daeyeon Jeong in #52618
fs: add stacktrace to fs/promises
Sync functions in fs throwed an error with a stacktrace which is helpful for debugging. But functions in fs/promises throwed an error without a stacktrace. This commit adds stacktraces by calling
Error.captureStacktrace
and re-throwing the error.Contributed by 翠 / green in #49849
report: add
--report-exclude-network
optionNew option
--report-exclude-network
, also available asreport.excludeNetwork
, enables the user to exclude networking interfaces in their diagnostic report. On some systems, this can cause the report to take minutes to generate so this option can be used to optimize that.Contributed by Ethan Arrowood in #51645
src: add uv_get_available_memory to report and process
From this release it is possible to get the available memory in the system by calling
process.getAvailableMemory()
.Contributed by theanarkh #52023
stream: support typed arrays
This commit adds support for typed arrays in streams.
Contributed by IlyasShabi #51866
util: support array of formats in util.styleText
It is now possible to pass an array of format strings to
util.styleText
to apply multiple formats to the same text.Contributed by Marco Ippolito in #52040
v8: implement v8.queryObjects() for memory leak regression testing
This is similar to the queryObjects() console API provided by the Chromium DevTools console. It can be used to search for objects that have the matching constructor on its prototype chain in the heap after a full garbage collection, which can be useful for memory leak regression tests.
To avoid surprising results, users should avoid using this API on constructors whose implementation they don't control, or on constructors that can be invoked by other parties in the application.
To avoid accidental leaks, this API does not return raw references to the objects found. By default, it returns the count of the objects found. If options.format is 'summary', it returns an array containing brief string representations for each object. The visibility provided in this API is similar to what the heap snapshot provides, while users can save the cost of serialization and parsing and directly filer the target objects during the search.
We have been using this API internally for the test suite, which has been more stable than any other leak regression testing strategies in the CI. With a public implementation we can now use the public API instead.
Contributed by Joyee Cheung in #51927
watch: mark as stable
From this release Watch Mode is considered stable.
When in watch mode, changes in the watched files cause the Node.js process to restart.
Contributed by Moshe Atlow in #52074
Other Notable Changes
f8ad30048d
] - benchmark: add AbortSignal.abort benchmarks (Raz Luvaton) #524083b41da9a56
] - (SEMVER-MINOR) deps: update simdutf to 5.0.0 (Daniel Lemire) #521380a08c4a7b3
] - (SEMVER-MINOR) deps: update undici to 6.3.0 (Node.js GitHub Bot) #51462f1b7bda4f5
] - (SEMVER-MINOR) deps: update undici to 6.2.1 (Node.js GitHub Bot) #512784acca8ed84
] - (SEMVER-MINOR) dns: add order option and support ipv6first (Paolo Insogna) #52492cc67720ff9
] - doc: update release gpg keyserver (marco-ippolito) #52257c2def7df96
] - doc: add release key for marco-ippolito (marco-ippolito) #52257807c89cb26
] - doc: add UlisesGascon as a collaborator (Ulises Gascón) #519915e78a20ef9
] - (SEMVER-MINOR) doc: deprecate fs.Stats public constructor (Marco Ippolito) #51879722fe64ff7
] - (SEMVER-MINOR) lib, url: add awindows
option to path parsing (Aviv Keller) #52509d116fa1568
] - (SEMVER-MINOR) net: add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) #524746af7b78b0d
] - (SEMVER-MINOR) src: addstring_view
overload to snapshot FromBlob (Anna Henningsen) #52595b3a11b574b
] - (SEMVER-MINOR) src: preload function for Environment (Cheng Zhao) #5153941646d9c9e
] - (SEMVER-MINOR) test_runner: add suite() (Colin Ihrig) #52127fc9ba17f6c
] - (SEMVER-MINOR) test_runner: addtest:complete
event to reflect execution order (Moshe Atlow) #51909Commits
6fdd748b21
] - benchmark: reduce the buffer size for blob (Debadree Chatterjee) #525482274d0c868
] - benchmark: inherit stdio/stderr instead of pipe (Ali Hassan) #524560300598315
] - benchmark: add ipc support to spawn stdio config (Ali Hassan) #52456f8ad30048d
] - benchmark: add AbortSignal.abort benchmarks (Raz Luvaton) #524087508d48736
] - benchmark: conditionally use spawn with taskset for cpu pinning (Ali Hassan) #52253ea8e72e185
] - benchmark: add toNamespacedPath bench (Rafael Gonzaga) #52236c00715cc1e
] - benchmark: add style-text benchmark (Rafael Gonzaga) #520041c1a6935ee
] - buffer: add missing ARG_TYPE(ArrayBuffer) for isUtf8 (Jungku Lee) #524771b2aff7dce
] - buffer: improvebase64
andbase64url
performance (Yagiz Nizipli) #52428328bded5ab
] - buffer: improvebtoa
performance (Yagiz Nizipli) #52427e67bc34326
] - buffer: use simdutf foratob
implementation (Yagiz Nizipli) #523815abddb45d8
] - build: fix typo in node.gyp (Michaël Zasso) #527197d1f304f5e
] - build: fix headers install for shared mode on Win (Segev Finer) #524426826bbf267
] - build: fix arm64 cross-compilation bug on non-arm machines (Mahdi Sharifi) #525596e85bc431a
] - build: temporary disable ubsan (Rafael Gonzaga) #52560297368a1ed
] - build: fix arm64 cross-compilation (Michaël Zasso) #5125693bddb598f
] - build,tools: add test-ubsan ci (Rafael Gonzaga) #4629720bb16582f
] - build,tools,node-api: fix building node-api tests for Windows Debug (Vladimir Morozov) #526329af15cfff1
] - child_process: use internal addAbortListener (Chemi Atlow) #52081a4847c4619
] - crypto: simplify assertions in Safe*Print (David Benjamin) #497090ec4d9d734
] - crypto: enable NODE_EXTRA_CA_CERTS with BoringSSL (Shelley Vohr) #5221703e05b092c
] - crypto: deprecate implicitly shortened GCM tags (Tobias Nießen) #523450f784c96ba
] - crypto: make timingSafeEqual faster for Uint8Array (Tobias Nießen) #52341739958e472
] - crypto: rejectEd25519
/Ed448 in Sign/Verify prototypes (Filip Skokan) #52340197b61f210
] - crypto: validate RSA-PSS saltLength in subtle.sign and subtle.verify (Filip Skokan) #52262a6eede33f3
] - crypto: fixinput
validation incrypto.hash
(Antoine du Hamel) #52070bfa4986e5d
] - deps: update corepack to 0.28.0 (Node.js GitHub Bot) #5261670546698d7
] - deps: update ada to 2.7.8 (Node.js GitHub Bot) #52517a135027f84
] - deps: update icu to 75.1 (Node.js GitHub Bot) #52573c96f1043d4
] - deps: update undici to 6.13.0 (Node.js GitHub Bot) #524939c330b610b
] - deps: update zlib to 1.3.0.1-motley-7d77fb7 (Node.js GitHub Bot) #525167e5bbeebab
] - deps: update nghttp2 to 1.61.0 (Node.js GitHub Bot) #52395b42a4735d9
] - deps: update minimatch to 9.0.4 (Node.js GitHub Bot) #52524d34fd21bc2
] - deps: update simdutf to 5.2.4 (Node.js GitHub Bot) #52473ecc180f830
] - deps: upgrade npm to 10.5.2 (npm team) #52458606c183344
] - deps: update simdutf to 5.2.3 (Yagiz Nizipli) #523810a103e99fe
] - deps: upgrade npm to 10.5.1 (npm team) #52351cce861e670
] - deps: update c-ares to 1.28.1 (Node.js GitHub Bot) #522855258b547ea
] - deps: update undici to 6.11.1 (Node.js GitHub Bot) #52328923a77c80a
] - deps: update undici to 6.10.2 (Node.js GitHub Bot) #52227bd3c6a231c
] - deps: update zlib to 1.3.0.1-motley-24c07df (Node.js GitHub Bot) #521993b41da9a56
] - (SEMVER-MINOR) deps: update simdutf to 5.0.0 (Daniel Lemire) #52138d6f9ca385c
] - deps: update zlib to 1.3.0.1-motley-24342f6 (Node.js GitHub Bot) #52123f5512897b0
] - deps: update corepack to 0.26.0 (Node.js GitHub Bot) #52027d891275178
] - deps: update ada to 2.7.7 (Node.js GitHub Bot) #5202818838f2db3
] - deps: update simdutf to 4.0.9 (Node.js GitHub Bot) #51655503c034abc
] - deps: update undici to 6.6.2 (Node.js GitHub Bot) #51667256bcba52e
] - deps: update undici to 6.6.0 (Node.js GitHub Bot) #516307a1e321d95
] - deps: update undici to 6.4.0 (Node.js GitHub Bot) #51527dde9e08224
] - deps: update ngtcp2 to 1.1.0 (Node.js GitHub Bot) #513190a08c4a7b3
] - (SEMVER-MINOR) deps: update undici to 6.3.0 (Node.js GitHub Bot) #51462f1b7bda4f5
] - (SEMVER-MINOR) deps: update undici to 6.2.1 (Node.js GitHub Bot) #51278ecadd638cd
] - deps: V8: remove references to non-existent flags (Richard Lau) #5225627d364491f
] - dgram: use internal addAbortListener (Chemi Atlow) #52081b94d11935a
] - diagnostics_channel: early-exit tracing channel trace methods (Stephen Belanger) #519154acca8ed84
] - (SEMVER-MINOR) dns: add order option and support ipv6first (Paolo Insogna) #52492bcc06ac5a9
] - doc: remove relative limitation to pm (Rafael Gonzaga) #526484d5ef4f7af
] - doc: fix info string causing duplicated code blocks (Mathieu Leenhardt) #52660d5a316f5ea
] - doc: run license-builder (github-actions[bot]) #52631d7434fe411
] - doc: deprecate --experimental-policy (RafaelGSS) #5260202a83d89f7
] - doc: add info on contributor spotlight program (Michael Dawson) #52598a905eaace1
] - doc: correct unsafe URL example in http docs (Malte Legenhausen) #5255569c21a6522
] - doc: replace U+00A0 with U+0020 (Luigi Pinca) #525905df34c7d0a
] - doc: sort options alphabetically (Luigi Pinca) #52589b49464bc9d
] - doc: correct stream.finished changes (KaKa) #525514d051ba89b
] - doc: add RedYetiDev to triage team (Aviv Keller) #525564ed55bf16c
] - doc: fix issue detected in markdown lint update (Rich Trott) #52566a8bc40fd07
] - doc: update test runner coverage limitations (Moshe Atlow) #5251517d5ba9fed
] - doc: add lint-js-fix into BUILDING.md (jakecastelli) #5229088adbd0991
] - doc: remove Internet Explorer mention in BUILDING.md (Rich Trott) #52455e8cb29d66d
] - doc: accommodate upcoming stricter .md linting (Rich Trott) #52454e2ea984c7b
] - doc: add Rafael to steward list (Rafael Gonzaga) #5245293d684097a
] - doc: correct naming convention in C++ style guide (Mohammed Keyvanzadeh) #52424b9bdb947ac
] - doc: updateprocess.execArg
example to be more useful (Jacob Smith) #52412f3f67ff84a
] - doc: call out http(s).globalAgent default (mathis-west-1) #52392392a0d310e
] - doc: update the location ofbuild_with_cmake
(Emmanuel Ferdman) #523563ad62f1cc7
] - doc: reserve 125 for Electron 31 (Shelley Vohr) #52379bfd4c7844b
] - doc: use consistent plural form of "index" (Rich Trott) #523736f31cc8361
] - doc: add Rafael to sec release stewards (Rafael Gonzaga) #52354c55a3be789
] - doc: document missing options of events.on (Chemi Atlow) #520801a843f7c6d
] - doc: add missing space (Augustin Mauroy) #523608ee20d8693
] - doc: add tips about vcpkg cause build faild on windows (Cong Zhang) #52181a86705c113
] - doc: replace "below" with "following" (Rich Trott) #52315f3e8d1159a
] - doc: fix email pattern to be wrapped with<<
instead of single<
(Raz Luvaton) #52284cc67720ff9
] - doc: update release gpg keyserver (marco-ippolito) #52257c2def7df96
] - doc: add release key for marco-ippolito (marco-ippolito) #522572509f3be18
] - doc: fix arrow vertical alignment in HTML version (Akash Yeole) #521932abaea3cdc
] - doc: move TSC members from regular to emeritus (Michael Dawson) #5220965618a3d7b
] - doc: add section explaining todo tests (Colin Ihrig) #52204bf0ed95b04
] - doc: editChildProcess
'message'
event docs (theanarkh) #521543d67b6b5e8
] - doc: add mold to speeding up section (Cong Zhang) #521798ba308a838
] - doc: http event order correction (wh0) #514649771f41069
] - doc: move gabrielschulhof to TSC emeritus (Gabriel Schulhof) #5219272bd2b0d62
] - doc: fix--env-file
docs for valid quotes for defining values (Gabriel Bota) #521574f19203dfb
] - doc: clarify what is supported in NODE_OPTIONS (Michael Dawson) #520765bce596838
] - doc: fix typos in maintaining-dependencies.md (RoboSchmied) #52160f5241e20cc
] - doc: add spec for contains module syntax (Geoffrey Booth) #52059bda3cdea86
] - doc: optimize the doc about Unix abstract socket (theanarkh) #520438d7d6eff81
] - doc: update pnpm link (Superchupu) #52113af7c55f62d
] - doc: remove ableist language from crypto (Jamie King) #52063f8362b0a5a
] - doc: update collaborator email (Ruy Adorno) #5208848cbd5f71e
] - doc: state that removing npm is a non-goal (Geoffrey Booth) #519510ef2708131
] - doc: mention NodeSource in RafaelGSS steward list (Rafael Gonzaga) #52057a6473a89be
] - doc: remove ArrayBuffer from crypto.hash() data parameter type (fengmk2) #52069ae7a11c787
] - doc: add some commonly used lables up gront (Michael Dawson) #5200601aaddde3c
] - doc: document thatconst c2 = vm.createContext(c1); c1 === c2
is true (Daniel Kaplan) #51960912145fac4
] - doc: clarify what moderation issues are for (Antoine du Hamel) #51990807c89cb26
] - doc: add UlisesGascon as a collaborator (Ulises Gascón) #5199153ff3e5682
] - doc: deprecate hmac public constructor (Marco Ippolito) #518815e78a20ef9
] - (SEMVER-MINOR) doc: deprecate fs.Stats public constructor (Marco Ippolito) #518797bfb0b43e6
] - events: rename high & low watermark for consistency (Chemi Atlow) #520805e6967359b
] - events: extract addAbortListener for safe internal use (Chemi Atlow) #520816930205272
] - events: remove abort listener from signal inon
(Neal Beeken) #51091235ab4f99f
] - events,doc: mark CustomEvent as stable (Daeyeon Jeong) #52618ca5b827148
] - fs: fix read / readSync positional offset types (Ruy Adorno) #52603e7d0d804b2
] - fs: fixes recursive fs.watch crash on Linux when deleting files (Matteo Collina) #52349c5fd193d6b
] - fs: refactor maybeCallback function (Yagiz Nizipli) #521290a9910c2c1
] - fs: fix edge case in readFileSync utf8 fast path (Richard Lau) #5210151d7cd5de8
] - fs: validate fd from cpp onfchown
(Yagiz Nizipli) #5205133ad86c2be
] - fs: validate fd from cpp onclose
(Yagiz Nizipli) #5205134667c0a7e
] - fs: validate file mode from cpp (Yagiz Nizipli) #52050c530520be3
] - fs: add stacktrace to fs/promises (翠 / green) #49849edecd464b9
] - fs,permission: make handling of buffers consistent (Tobias Nießen) #523483bcd68337e
] - http2: fix excessive CPU usage when usingallowHTTP1=true
(Eugene) #52713e01015996a
] - http2: fix h2-over-h2 connection proxying (Tim Perry) #523689f88736860
] - http2: use internal addAbortListener (Chemi Atlow) #52081acd7758959
] - lib: use predefined variable instead of bit operation (Deokjin Kim) #5258018ae7a46f6
] - lib: refactor lazy loading of undici for fetch method (Victor Chen) #5227564c2c2a7ac
] - lib: replace string prototype usage with alternatives (Aviv Keller) #52440ee11b5315c
] - lib: .load .save add proper error message when no file passed (Thomas Mauran) #52225e5521b537f
] - lib: fix type error for _refreshLine (Jackson Tian) #52133d5d6e041c8
] - lib: emit listening event once when call listen twice (theanarkh) #52119d33fc36784
] - lib: make sure clear the old timer in http server (theanarkh) #52118ea4905c0f5
] - lib: fix listen with handle in cluster worker (theanarkh) #520568fd8130507
] - lib, doc: rename readme.md to README.md (Aviv Keller) #52471722fe64ff7
] - (SEMVER-MINOR) lib, url: add awindows
option to path parsing (Aviv Keller) #5250926691e6032
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #52633befb90dc83
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #5245722b7167e72
] - meta: bump actions/download-artifact from 4.1.3 to 4.1.4 (dependabot[bot]) #523144dafd3ede2
] - meta: bump rtCamp/action-slack-notify from 2.2.1 to 2.3.0 (dependabot[bot]) #523132760db7640
] - meta: bump github/codeql-action from 3.24.6 to 3.24.9 (dependabot[bot]) #52312542aaf9ca9
] - meta: bump actions/cache from 4.0.1 to 4.0.2 (dependabot[bot]) #52311df330998d9
] - meta: bump actions/setup-python from 5.0.0 to 5.1.0 (dependabot[bot]) #523105f40fe0cc2
] - meta: bump codecov/codecov-action from 4.1.0 to 4.1.1 (dependabot[bot]) #52308481420f25c
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #523003121949f85
] - meta: pass Codecov upload token to codecov action (Michaël Zasso) #51982882a64e639
] - module: fix detect-module not retrying as esm for cjs-only errors (Geoffrey Booth) #520245fcc1d32a8
] - module: refactor ESM loader initialization and entry point handling (Joyee Cheung) #51999d116fa1568
] - (SEMVER-MINOR) net: add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) #5247437abad86ae
] - net: use internal addAbortListener (Chemi Atlow) #52081a920489a1f
] - node-api: address coverity report (Michael Dawson) #525840a225a4b40
] - node-api: copy external type tags when they are set (Niels Martignène) #52426f9d95674be
] - node-api: make tsfn accept napi_finalize once more (Gabriel Schulhof) #5180172aabe1139
] - perf_hooks: reduce overhead of createHistogram (Vinícius Lourenço) #50074fb601c3a94
] - readline: use internal addAbortListener (Chemi Atlow) #5208129f09f05f7
] - (SEMVER-MINOR) report: add--report-exclude-network
option (Ethan Arrowood) #516457e6d923f5b
] - src: cast to v8::Value before using v8::EmbedderGraph::V8Node (Joyee Cheung) #526386af7b78b0d
] - (SEMVER-MINOR) src: addstring_view
overload to snapshot FromBlob (Anna Henningsen) #5259527491e55c1
] - src: remove regex usage for env file parsing (IlyasShabi) #52406b05e639e27
] - src: fix loadEnvFile ENOENT error (mathis-west-1) #524381b4d2814d1
] - src: update branch name in node_revert.h (Tobias Nießen) #523907e35a169ea
] - src: stop usingv8::BackingStore::Reallocate
(Michaël Zasso) #522922449d2606a
] - src: fix move after use reported by coverity (Michael Dawson) #52141b33eff887d
] - (SEMVER-MINOR) src: add C++ ProcessEmitWarningSync() (Joyee Cheung) #51977f2c7408927
] - src: return a number from process.constrainedMemory() constantly (Chengzhong Wu) #520397f575c886b
] - (SEMVER-MINOR) src: add uv_get_available_memory to report and process (theanarkh) #52023e161e62313
] - src: use dedicated routine to compile function for builtin CJS loader (Joyee Cheung) #5201607322b490f
] - src: fix reading empty string views in Blob[De]serializer (Joyee Cheung) #52000e216192390
] - src: refactor out FormatErrorMessage for error formatting (Joyee Cheung) #51999b3a11b574b
] - (SEMVER-MINOR) src: preload function for Environment (Cheng Zhao) #5153909bd367ef6
] - stream: make Duplex inherit destroy from Writable (Luigi Pinca) #523180b853a7576
] - (SEMVER-MINOR) stream: support typed arrays (IlyasShabi) #51866f8209ffe45
] - stream: addnew
when constructingERR_MULTIPLE_CALLBACK
(haze) #521108442457117
] - stream: use internal addAbortListener (Chemi Atlow) #520818d20b641a2
] - Revert "stream: fix cloned webstreams not being unref'd" (Matteo Collina) #51491a923adffab
] - test: marktest-error-serdes
as flaky (Antoine du Hamel) #52739d4f1803f0b
] - test: mark test as flaky (Michael Dawson) #526711e88e042c2
] - test: skip test-fs-watch-recursive-delete.js on IBM i (Abdirahim Musse) #526456da558af8b
] - test: ensure that all worker servers are ready (Luigi Pinca) #52563c871fadb85
] - test: fix test-tls-ticket-cluster.js (Hüseyin Açacak) #52431b6cb74d775
] - test: split wasi poll test for windows (Hüseyin Açacak) #525384ad159bb75
] - test: write tests for assertIsArray http2 util (Sinan Sonmez (Chaush)) #525111f7a28cbe7
] - test: fix watch test with require not testing pid (Raz Luvaton) #523535b758b93d5
] - test: simplify ASan build checks (Michaël Zasso) #52430375c3db5ea
] - test: fix Windows compiler warnings in overlapped-checker (Michaël Zasso) #52405a1dd92cdee
] - test: add test for skip+todo combinations (Colin Ihrig) #522048a0b721930
] - test: fix incorrect test fixture (Colin Ihrig) #52185dd1f761f3b
] - test: add missing cctest/test_path.cc (Yagiz Nizipli) #521486da446d9e1
] - test: addspawnSyncAndAssert
util (Antoine du Hamel) #52132d7bfb4e8d8
] - test: reduce flakiness of test-runner-output.mjs (Colin Ihrig) #52146e4981b3d75
] - test: add test for using--print
with promises (Antoine du Hamel) #521375cc540078e
] - test: un-set test-emit-after-on-destroyed as flaky (Abdirahim Musse) #51995b9eb0035dd
] - test: skip test for dynamically linked OpenSSL (Richard Lau) #5254232014f5601
] - test: avoid v8 deadcode on performance function (Vinícius Lourenço) #5007429d2011f51
] - test_runner: better error handing for test hook (Alex Yang) #524019497097fb3
] - test_runner: fix clearing final timeout in own callback (Ben Richeson) #523320f690f0b9e
] - test_runner: fix recursive run (Moshe Atlow) #5232234ab1a36ee
] - test_runner: hide new line when no error in spec reporter (Moshe Atlow) #52297379535abe3
] - test_runner: disable highWatermark on TestsStream (Colin Ihrig) #5228735588cff39
] - test_runner: run afterEach hooks in correct order (Colin Ihrig) #522395cd3df8fe1
] - test_runner: simplify test end time tracking (Colin Ihrig) #5218207e4a42e4b
] - test_runner: simplify test start time tracking (Colin Ihrig) #52182caec996831
] - test_runner: emit diagnostics when watch mode drains (Moshe Atlow) #5213041646d9c9e
] - (SEMVER-MINOR) test_runner: add suite() (Colin Ihrig) #52127fd1489a623
] - test_runner: skip each hooks for skipped tests (Colin Ihrig) #5211573b38bfa9e
] - test_runner: remove redundant report call (Colin Ihrig) #5208968187c4d9e
] - test_runner: use internal addAbortListener (Chemi Atlow) #5208161e7ae05ef
] - test_runner: use source maps when reporting coverage (Moshe Atlow) #52060e64a25af61
] - test_runner: handle undefined test locations (Colin Ihrig) #52036590decf202
] - test_runner: avoid overwriting root start time (Colin Ihrig) #52020a4cbb61c65
] - test_runner: abort unfinished tests on async error (Colin Ihrig) #51996a223ca4868
] - test_runner: run before hook immediately if test started (Moshe Atlow) #52003956ee74c7e
] - test_runner: add support for null and date value output (Malthe Borch) #51920fc9ba17f6c
] - (SEMVER-MINOR) test_runner: addtest:complete
event to reflect execution order (Moshe Atlow) #51909d5ac979aeb
] - test_runner: format coverage report for tap reporter (Pulkit Gupta) #51119c925bc18dc
] - tools: take co-authors into account infind-inactive-collaborators
(Antoine du Hamel) #526691d37e772ec
] - tools: fix invalid escape sequence in mkssldef (Michaël Zasso) #526245b22fc3a81
] - tools: update lint-md-dependencies to rollup@4.15.0 (Node.js GitHub Bot) #526179cf47bb2f1
] - tools: update lint-md-dependencies (Rich Trott) #52581c0c60d13c0
] - tools: fix heading spaces for osx-entitlements.plist (Jackson Tian) #525617c349d7819
] - tools: update lint-md-dependencies to rollup@4.14.2 vfile-reporter@8.1.1 (Node.js GitHub Bot) #52518b4d703297b
] - tools: use stylistic ESLint plugin for formatting (Michaël Zasso) #50714c6813360c2
] - tools: update minimatch index path (Marco Ippolito) #525238464c0253c
] - tools: add a linter for README lists (Antoine du Hamel) #5247655a3fbc842
] - tools: change inactive limit to 12 months (Yagiz Nizipli) #5242574a171f130
] - tools: update stale bot messaging (Wes Todd) #52423b2a3dcec2a
] - tools: update lint-md-dependencies to rollup@4.14.0 (Node.js GitHub Bot) #52398f71a777e6e
] - tools: update Ruff to v0.3.4 (Michaël Zasso) #52302e3e0c68f8f
] - tools: run test-ubsan on ubuntu-latest (Michaël Zasso) #52375893b5aac31
] - tools: update lint-md-dependencies to rollup@4.13.2 (Node.js GitHub Bot) #52286049cca419e
] - Revert "tools: runbuild-windows
workflow only on source changes" (Michaël Zasso) #52320b3dfc62cee
] - tools: use Python 3.12 in GitHub Actions workflows (Michaël Zasso) #52301c7238d0c04
] - tools: allow local updates for llhttp (Paolo Insogna) #52085c39f15cafd
] - tools: install npm PowerShell scripts on Windows (Luke Karrys) #52009b36fea064a
] - tools: update lint-md-dependencies to rollup@4.13.0 (Node.js GitHub Bot) #52122a5204eb915
] - tools: fix error reported by coverity in js2c.cc (Michael Dawson) #52142cef4b7ef3d
] - tools: sync ubsan workflow with asan (Michaël Zasso) #52152d406976bbe
] - tools: update github_reporter to 1.7.0 (Node.js GitHub Bot) #52121fb100a2ac8
] - tools: remove gyp-next .github folder (Marco Ippolito) #520645f1e7a0de2
] - tools: update gyp-next to 0.16.2 (Node.js GitHub Bot) #520621f1253446b
] - tools: install manpage to share/man for FreeBSD (Po-Chuan Hsieh) #517914b8b92fccc
] - tools: automate gyp-next update (Marco Ippolito) #520141ec9e58692
] - typings: fix invalid JSDoc declarations (Yagiz Nizipli) #526592d6b19970b
] - (SEMVER-MINOR) util: support array of formats in util.styleText (Marco Ippolito) #52040d30cccdf8c
] - (SEMVER-MINOR) v8: implement v8.queryObjects() for memory leak regression testing (Joyee Cheung) #519277f3b7fdeff
] - watch: fix some node argument not passed to watched process (Raz Luvaton) #523588ba6f9bc9a
] - watch: use internal addAbortListener (Chemi Atlow) #520815a922232da
] - watch: mark as stable (Moshe Atlow) #52074508e968a5f
] - watch: batch file restarts (Moshe Atlow) #51992v20.12.2
: 2024-04-10, Version 20.12.2 'Iron' (LTS), @RafaelGSSCompare Source
This is a security release.
Notable Changes
child_process.spawn
without shell option enabled on WindowsCommits
69ffc6d50d
] - src: disallow direct .bat and .cmd file spawning (Ben Noordhuis) nodejs-private/node-private#563v20.12.1
: 2024-04-03, Version 20.12.1 'Iron' (LTS), @RafaelGSSCompare Source
This is a security release
Notable Changes
Commits
bd8f10a257
] - deps: update undici to v5.28.4 (Matteo Collina) nodejs-private/node-private#5765e34540a96
] - http: do not allow OBS fold in headers by default (Paolo Insogna) nodejs-private/node-private#557ba1ae6d188
] - src: ensure to close stream when destroying session (Anna Henningsen) nodejs-private/node-private#561v20.12.0
: 2024-03-26, Version 20.12.0 'Iron' (LTS), @richardlauCompare Source
Notable Changes
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.
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.
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.
Permission Model changes
Node.js 20.12.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.
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.
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
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 in #51850.
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.
Root certificates updated to NSS 3.98
Certificates added:
Certificates removed:
Updated dependencies
Other notable changes
4f49e9d000
] - (SEMVER-MINOR) build: build opt to set local location of headers (Michael Dawson) #51525ccdb01187b
] - doc: add zcbenz to collaborators (Cheng Zhao) #51812481af53aea
] - doc: add lemire to collaborators (Daniel Lemire) #515725ba4d96525
] - (SEMVER-MINOR) http2: add h2 compat support for appendHeader (Tim Perry) #514120861498e8b
] - (SEMVER-MINOR) http2: add server handshake utility (snek) #511726b08d006ee
] - (SEMVER-MINOR) http2: receive customsettings (Marten Richter) #513237894989bf0
] - (SEMVER-MINOR) lib: move encodingsMap to internal/util (Joyee Cheung) #51044a58c98ea85
] - (SEMVER-MINOR) src: print string content better in BlobDeserializer (Joyee Cheung) #50960c3c0a3ee5c
] - (SEMVER-MINOR) src: support multi-line values for .env file (IlyasShabi) #512892a921966c6
] - (SEMVER-MINOR) src: do not coerce dotenv paths (Tobias Nießen) #514250dee86f295
] - (SEMVER-MINOR) src: support configurable snapshot (Joyee Cheung) #50453ade6614067
] - (SEMVER-MINOR) stream: add support fordeflate-raw
format to webstreams compression (Damian Krzeminski) #50097fe922f05e4
] - (SEMVER-MINOR) timers: export timers.promises (Marco Ippolito) #51246Commits
cbda4e9fc5
] - assert,crypto: make KeyObject and CryptoKey testable for equality (Filip Skokan) #5089792fca59647
] - async_hooks,inspector: implement inspector api without async_wrap (Gabriel Bota) #51501029ca982dc
] - benchmark: update iterations of benchmark/async_hooks/async-local- (Lei Shi) #51420350e9fee8d
] - benchmark: update iterations of benchmark/domain/domain-fn-args.js (Lei Shi) #5140840fda97deb
] - benchmark: update iterations of assert/deepequal-typedarrays.js (Lei Shi) #514191b2e3b7049
] - benchmark: update iterations of benchmark/assert/deepequal-map.js (Lei Shi) #514167639259203
] - benchmark: rename startup.js to startup-core.js (Joyee Cheung) #516694be33b5577
] - benchmark: remove dependency on unshipped tools (Adam Majer) #51146bd03a154a9
] - benchmark: update iterations in benchmark/perf_hooks (Lei Shi) #5086919b943b909
] - benchmark: update iterations in benchmark/crypto/aes-gcm-throughput.js (Lei Shi) #50929278c990dea
] - benchmark: update iteration and size in benchmark/crypto/randomBytes.js (Lei Shi) #50868443d4fcff3
] - benchmark: add undici websocket benchmark (Chenyu Yang) #505863ab6143380
] - benchmark: add create-hash benchmark (Joyee Cheung) #510266a8ff09332
] - benchmark: update interations and len in benchmark/util/text-decoder.js (Lei Shi) #5093822b53bc1fa
] - benchmark: update iterations of benchmark/util/type-check.js (Lei Shi) #50937f56bda5109
] - benchmark: update iterations in benchmark/util/normalize-encoding.js (Lei Shi) #509344fc83e1ce3
] - benchmark: update iterations in benchmark/util/inspect-array.js (Lei Shi) #509330edddcfc19
] - benchmark: update iterations in benchmark/util/format.js (Lei Shi) #50932f109961fd1
] - benchmark: update iterations in benchmark/crypto/hkdf.js (Lei Shi) #508661e923f11f2
] - benchmark: update iterations in benchmark/crypto/get-ciphers.js (Lei Shi) #50863f13643da06
] - benchmark: update number of iterations forutil.inspect
(kylo5aby) #5065103b19cbd2a
] - bootstrap: improve snapshot unsupported builtin warnings (Joyee Cheung) #5094451ea5b60a9
] - build: fix arm64 host cross-compilation in GN (Cheng Zhao) #519039f5547afa2
] - Revert "build: workaround for node-core-utils" (Richard Lau) #5197558255e73ae
] - build: respect theNODE
env variable inMakefile
(Antoine du Hamel) #517430a7419bf0b
] - Revert "build: fix warning in cares under GN build" (Luigi Pinca) #518654118174b85
] - build: removelibrt
libs link for Android compatibility (BuShe Pie) #51632012da16b85
] - build: do not rely on gn_helpers in GN build (Cheng Zhao) #5143993fcf52990
] - build: fix warning in cares under GN build (Cheng Zhao) #516872176495455
] - build: fix building js2c with GN (Cheng Zhao) #51818d6e702f885
] - build: encode non-ASCII Latin1 characters as one byte in JS2C (Joyee Cheung) #516054f49e9d000
] - (SEMVER-MINOR) build: build opt to set local location of headers (Michael Dawson) #515258e84aad0ef
] - build: use macOS m1 machines for testing (Yagiz Nizipli) #516205fce1a17e2
] - build: check before removing %config% link (liudonghua) #5143746d6dce1a8
] - build: increase parallel executions in github (Yagiz Nizipli) #515548b3ead1f3e
] - build: remove copyright header in node.gni (Cheng Zhao) #51535d8b86ad363
] - build: update GN build files for ngtcp2 (Cheng Zhao) #51313ba0ffddd2d
] - build: fix for VScode "Reopen in Container" (Serg Kryvonos) #512718b97e2e0a7
] - build: add-flax-vector-conversions
to V8 build (Michaël Zasso) #51257bd528c7dc0
] - build: fix warnings from uv for gn build (Cheng Zhao) #51069ffe467b062
] - build,tools: make addons tests work with GN (Cheng Zhao) #50737448d67109a
] - (SEMVER-MINOR) crypto: implement crypto.hash() (Joyee Cheung) #5104448959dd2b4
] - crypto: update root certificates to NSS 3.98 (Node.js GitHub Bot) #5179468e8b2c492
] - crypto: use EVP_MD_fetch and cache EVP_MD for hashes (Joyee Cheung) #51034adb5d69621
] - crypto: update CryptoKey symbol properties (Filip Skokan) #50897df0213fd3d
] - deps: update nghttp2 to 1.60.0 (Node.js GitHub Bot) #51948208dd887a5
] - deps: upgrade npm to 10.5.0 (npm team) #51913587e70e1ee
] - deps: update corepack to 0.25.2 (Node.js GitHub Bot) #5181038343c4857
] - deps: update c-ares to 1.27.0 (Node.js GitHub Bot) #51846c9974f621c
] - deps: update c-ares to 1.26.0 (Node.js GitHub Bot) #515820aa18e1a1c
] - deps: update googletest to6a59382
(Node.js GitHub Bot) #51580f871bc6ddc
] - deps: update nghttp2 to 1.59.0 (Node.js GitHub Bot) #5158194f8ee8717
] - deps: update corepack to 0.24.1 (Node.js GitHub Bot) #51459c23ce06e6b
] - deps: update ada to 2.7.6 (Node.js GitHub Bot) #51542372ce69de1
] - deps: update ada to 2.7.5 (Node.js GitHub Bot) #51542133719b2c9
] - deps: update googletest to7c07a86
(Node.js GitHub Bot) #5145835675aa07f
] - deps: update acorn-walk to 8.3.2 (Node.js GitHub Bot) #51457ca73f55a22
] - deps: update base64 to 0.5.2 (Node.js GitHub Bot) #51455c9dad18191
] - deps: compile c-ares with C11 support (Michaël Zasso) #51410a727fa73ee
] - deps: upgrade npm to 10.3.0 (npm team) #51431834bbfd039
] - deps: update c-ares to 1.25.0 (Node.js GitHub Bot) #513854c8fa3e7c2
] - deps: update uvwasi to 0.0.20 and fixup tests (Michael Dawson) #51355bd183ef2af
] - deps: add nghttp3/**/.deps to .gitignore (Luigi Pinca) #514001d8169995c
] - deps: update corepack to 0.24.0 (Node.js GitHub Bot) #513184dfbbb8789
] - deps: update acorn to 8.11.3 (Node.js GitHub Bot) #513177d60877fa3
] - deps: update brotli to 1.1.0 (Node.js GitHub Bot) #508041b99a3f0af
] - deps: update zlib to 1.3.0.1-motley-40e35a7 (Node.js GitHub Bot) #512742270285839
] - deps: update simdutf to 4.0.8 (Node.js GitHub Bot) #5100061d1535d84
] - deps: V8: cherry-pickde611e6
(Keyhan Vakil) #5120004323fd595
] - deps: update googletest to530d5c8
(Node.js GitHub Bot) #51191454b4f8d7e
] - deps: update acorn-walk to 8.3.1 (Node.js GitHub Bot) #50457cc693eb908
] - deps: update acorn-walk to 8.3.0 (Node.js GitHub Bot) #5045709519c6655
] - deps: update zlib to 1.3.0.1-motley-dd5fc13 (Node.js GitHub Bot) #51105a2f39e9168
] - deps: V8: cherry-pick0fd478b
(Joyee Cheung) #505721aaf156ea7
] - deps: update zlib to 1.3-22124f5 (Node.js GitHub Bot) #509103f4e254047
] - deps: update googletest to76bb2af
(Node.js GitHub Bot) #50555702684c008
] - deps: update googletest tob10fad3
(Node.js GitHub Bot) #505554ee7f29657
] - deps: update timezone to 2024a (Michaël Zasso) #51723452d74c8b6
] - deps: update icu to 74.2 (Michaël Zasso) #51723e6fc5a5ee1
] - deps: update timezone to 2023d (Node.js GitHub Bot) #514614ee0f8306b
] - deps: update icu to 74.1 (Node.js GitHub Bot) #50515cb49f31480
] - deps: cherry-pick libuv/libuv@d09441c
(Richard Lau) #51976ea50540c5e
] - Revert "deps: V8: cherry-pick13192d6
" (kxxt) #514956fd1617ab4
] - doc: add policy for distribution (Geoffrey Booth) #51918fc0b389006
] - doc: fix actual result of example is different in events (Deokjin Kim) #5192593d6d66339
] - doc: clarify Corepack threat model (Antoine du Hamel) #51917276d1d1d65
] - doc: add stability index to crypto.hash() (Joyee Cheung) #51978473af948b5
] - doc: remove redundant backquote which breaks sentence (JounQin) #51904b52b249b05
] - doc: update node-api/node-addon-api team link to sharing project news (Ulises Gascón) #51877a74c373ea4
] - doc: add website team to sharing project news (Ulises Gascón) #49002b7ce547d41
] - doc: update guide link for Event Loop (Shrujal Shah) #518743dfee7ee33
] - doc: changeExperimentalWarnings
toExperimentalWarning
(Ameet Kaustav) #51741740d0679e7
] - doc: add Paolo to TSC members (Michael Dawson) #518253240a2f349
] - doc: reserve 123 for Electron 30 (Keeley Hammond) #51803597e3db0f9
] - doc: add mention to GPG_TTY (Rafael Gonzaga) #51806ccdb01187b
] - doc: add zcbenz to collaborators (Cheng Zhao) #518123a3de00437
] - doc: add entry to stewards (Rafael Gonzaga) #5176006b882d2fa
] - doc: update technical priorities for 2023 (Jean Burellier) #475239a68b47fe1
] - doc: mark isWebAssemblyCompiledModule eol (Marco Ippolito) #514428016628710
] - doc: fixglobals.md
introduction (Antoine du Hamel) #517429ddbe4523f
] - doc: updates for better json generating (Dmitry Semigradsky) #51592140cf26d47
] - doc: document the GN build (Cheng Zhao) #51676ecfb3f18b3
] - doc: fix uncaught exception example (Gabriel Schulhof) #51638b3157a08bf
] - doc: clarify execution ofafter
hook on test suite completion (Ognjen Jevremović) #515231dae1873d9
] - doc: fixdns.lookup
anddnsPromises.lookup
description (Duncan Chiu) #5151750df052087
] - doc: note that path.normalize deviates from POSIX (Tobias Nießen) #51513481af53aea
] - doc: add lemire to collaborators (Daniel Lemire) #51572dec0d5d19a
] - doc: fix historical experimental fetch flag (Kenrick) #5150696c480b1a1
] - doc: fix type of connectionAttempt parameter (Rafael Gonzaga) #5149076968ab112
] - doc: remove reference to resolved child_process v8 issue (Ian Kerins) #51467bdd3a2a9fd
] - doc: update typos (Aranđel Šarenac) #514753532f5587c
] - doc: add notes on inspector breakpoints (Chengzhong Wu) #514170dffb9f049
] - doc: add links inoffboarding.md
(Antoine du Hamel) #5144058d2442f0f
] - doc: fix spelling mistake (u9g) #51454a09f440dbd
] - doc: add check for security reverts (Michael Dawson) #51376401837bfc4
] - doc: fix some policy scope typos (Tim Kuijsten) #51234f301f829ba
] - doc: improve subtests documentation (Marco Ippolito) #513791e40f552fd
] - doc: add missing word inchild_process.md
(Joseph Joy) #5037042b4f0f5ab
] - doc: fixup alignment of warning subsection (James M Snell) #51374b5bc597871
] - doc: the GN files should use Node's license (Cheng Zhao) #5069401a41041d6
] - doc: improve localWindowSize event descriptions (Davy Landman) #5107163aa27df10
] - doc: mark--jitless
as experimental (Antoine du Hamel) #51247c8233912e9
] - doc: run license-builder (github-actions[bot]) #511999e360df521
] - doc: fix limitations and known issues in pm (Rafael Gonzaga) #5118452d8222d32
] - doc: mention node:wasi in the Threat Model (Rafael Gonzaga) #51211cb3270e4c8
] - doc: remove ambiguous 'considered' (Rich Trott) #51207979e183e0c
] - doc: set exit code in custom test runner example (Matteo Collina) #51056eaadebb1f4
] - doc: remove version frommaintaining-dependencies.md
(Antoine du Hamel) #51195256db6e056
] - doc: mention native addons are restricted in pm (Rafael Gonzaga) #511852a61602ab2
] - doc: correct note on behavior of stats.isDirectory (Nick Reilingh) #50946184b8bea5b
] - doc: fixTestsStream
parent class (Jungku Lee) #51181c61597ffe4
] - (SEMVER-MINOR) doc: add documentation for --build-snapshot-config (Anna Henningsen) #50453b88170d602
] - doc: run license-builder (github-actions[bot]) #51111f2b4626ab8
] - doc: deprecate hash constructor (Marco Ippolito) #510776c241550cd
] - doc: add note regarding--experimental-detect-module
(Shubherthi Mitra) #510898ee30ea900
] - doc: correct tracingChannel.traceCallback() (Gerhard Stöbich) #510681cd27b6eff
] - doc: use length argument in pbkdf2Key (Tobias Nießen) #5106609ad974537
] - doc: add deprecation notice todirent.path
(Antoine du Hamel) #510591113e58f87
] - doc: deprecatedirent.path
(Antoine du Hamel) #5102037979d750e
] - doc: add additional details about--input-type
(Shubham Pandey) #507963ff00e1e79
] - doc: add procedure when CVEs don't get published (Rafael Gonzaga) #509450930be6bd5
] - doc: fix some errors in esm resolution algorithms (Christopher Jeffrey (JJ)) #50898ddc7964b03
] - doc: reserve 121 for Electron 29 (Shelley Vohr) #50957625fd69b76
] - doc: run license-builder (github-actions[bot]) #50926f18269607a
] - doc: document non-node_modules-only runtime deprecation (Joyee Cheung) #507485f8e7a0fdb
] - doc: add doc for Unix abstract socket (theanarkh) #50904e0598787e0
] - doc: remove flicker on page load on dark theme (Dima Demakov) #509422a7047d933
] - doc,crypto: further clarify RSA_PKCS1_PADDING support (Tobias Nießen) #5179931c4ba4dfd
] - doc,crypto: add changelog and note about disabled RSA_PKCS1_PADDING (Filip Skokan) #5178290da41548f
] - doc,module: clarify hook chain execution sequence (Jacob Smith) #51884bb7d7f3d1c
] - errors: fix stacktrace of SystemError (uzlopak) #49956db7459b57b
] - errors: improve hideStackFrames (Aras Abbasi) #49990a6b3569121
] - esm: improve error when callingimport.meta.resolve
fromdata:
URL (Antoine du Hamel) #4951638f4000905
] - esm: fix hint on invalid module specifier (Antoine du Hamel) #51223e39e37bbd5
] - esm: fix hook name in error message (Bruce MacNaughton) #50466d9b5cd533c
] - events: no stopPropagation call in cancelBubble (mert.altin) #50405287a02c4b2
] - fs: load rimraf lazily in fs/promises (Joyee Cheung) #51617bbd1351ef0
] - fs: remove race condition for recursive watch on Linux (Matteo Collina) #514061b7ccec5a7
] - fs: update jsdoc forfilehandle.createWriteStream
andappendFile
(Jungku Lee) #5149425056f5024
] - fs: fix fs.promises.realpath for long paths on Windows (翠 / green) #51032a8fd01a5a2
] - fs: make offset, position & length args in fh.read() optional (Pulkit Gupta) #51087721557c6d8
] - fs: add missing jsdoc parameters toreadSync
(Yagiz Nizipli) #512253ce9aacfcd
] - fs: removeinternalModuleReadJSON
binding (Yagiz Nizipli) #5122465df2c6787
] - fs: improve mkdtemp performance for buffer prefix (Yagiz Nizipli) #510786705b48012
] - fs: validate fd synchronously on c++ (Yagiz Nizipli) #51027afd5d67f89
] - fs: throw fchownSync error from c++ (Yagiz Nizipli) #51075bac982bce5
] - fs: update params in jsdoc for createReadStream and createWriteStream (Jungku Lee) #510636764f0c9a8
] - fs: improve error performance of readvSync (IlyasShabi) #501000225fce776
] - (SEMVER-MINOR) fs: introducedirent.parentPath
(Antoine du Hamel) #509764adea6c405
] - fs,test: add URL to string to fs.watch (Rafael Gonzaga) #513466bf148e12b
] - http: fixclose
return value mismatch between doc and implementation (kylo5aby) #5179766318602d0
] - http: split set-cookie when using setHeaders (Marco Ippolito) #51649f7b53d05bd
] - http: remove misleading warning (Luigi Pinca) #512049062d30600
] - http: do not override user-provided options object (KuthorX) #336334e38dee4ee
] - http: handle multi-value content-disposition header (Arsalan Ahmad) #50977b560bfbb84
] - http2: close idle connections when allowHTTP1 is true (xsbchen) #515695ba4d96525
] - (SEMVER-MINOR) http2: add h2 compat support for appendHeader (Tim Perry) #514120861498e8b
] - (SEMVER-MINOR) http2: add server handshake utility (snek) #511726b08d006ee
] - (SEMVER-MINOR) http2: receive customsettings (Marten Richter) #5132323414a6120
] - http2: addtl http/2 settings (Marten Richter) #490253fe59ba224
] - inspector: add NodeRuntime.waitingForDebugger event (mary marchini) #5156044f05e0d30
] - lib: make sure close net server (theanarkh) #519293be5ff9c45
] - lib: return directly if udp socket close before lookup (theanarkh) #51914dcbf88f4c7
] - lib: account for cwd access from snapshot serialization cb (Anna Henningsen) #51901da8fa484f8
] - lib: fix http client socket path (theanarkh) #5190055011d2c71
] - lib: only build the ESM facade for builtins when they are needed (Joyee Cheung) #516697894989bf0
] - (SEMVER-MINOR) lib: move encodingsMap to internal/util (Joyee Cheung) #510449082cc557d
] - lib: do not access process.noDeprecation at build time (Joyee Cheung) #514476679e6b616
] - lib: add assertion for user ESM execution (Joyee Cheung) #51748d6e8d03afc
] - lib: create global console properties at snapshot build time (Joyee Cheung) #51700bd2a3c10ae
] - lib: define FormData and fetch etc. in the built-in snapshot (Joyee Cheung) #51598da79876ef0
] - lib: allow checking the test result from afterEach (Tim Stableford) #51485bff7e3cf7a
] - lib: remove unnecessary refreshHrtimeBuffer() (Joyee Cheung) #51446562947e012
] - lib: fix use of--frozen-intrinsics
with--jitless
(Antoine du Hamel) #512487b83ef749e
] - lib: move function declaration outside of loop (Sanjaiyan Parthipan) #512420a85b0fd9d
] - lib: reduce overhead ofSafePromiseAllSettledReturnVoid
calls (Antoine du Hamel) #51243f4d7f0498e
] - lib: expose default prepareStackTrace (Chengzhong Wu) #508275c7a9c8d4a
] - lib: don't parse windows drive letters as schemes (华) #505809da6384f5a
] - lib: refactor to use validateFunction in diagnostics_channel (Deokjin Kim) #50955be3205ae24
] - lib: streamline process.binding() handling (Joyee Cheung) #50773f4987eb91e
] - lib,permission: handle buffer on fs.symlink (Rafael Gonzaga) #51212861e040b40
] - lib,src: extract sourceMappingURL from module (unbyte) #516908a082754e0
] - lib,src: replace toUSVString withtoWellFormed()
(Yagiz Nizipli) #473423badc1139c
] - (SEMVER-MINOR) lib,src,permission: port path.resolve to C++ (Rafael Gonzaga) #507584b3cc3ce18
] - loader: speed up line length calc used by moduleProvider (Mudit) #50969960d67c51f
] - meta: bump github/codeql-action from 3.23.2 to 3.24.6 (dependabot[bot]) #519421783b93af2
] - meta: bump actions/upload-artifact from 4.3.0 to 4.3.1 (dependabot[bot]) #519411db603db2f
] - meta: bump codecov/codecov-action from 4.0.1 to 4.1.0 (dependabot[bot]) #519402ddec64d5a
] - meta: bump actions/cache from 4.0.0 to 4.0.1 (dependabot[bot]) #5193992490421be
] - meta: bump actions/download-artifact from 4.1.1 to 4.1.3 (dependabot[bot]) #51938f3fa2b72b8
] - meta: bump actions/setup-node from 4.0.1 to 4.0.2 (dependabot[bot]) #51937a62b042e83
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #51726491f9f9902
] - meta: bump codecov/codecov-action from 3.1.4 to 4.0.1 (dependabot[bot]) #516482765077a47
] - meta: bump actions/download-artifact from 4.1.0 to 4.1.1 (dependabot[bot]) #51644152a07b854
] - meta: bump actions/upload-artifact from 4.0.0 to 4.3.0 (dependabot[bot]) #5164353826920fb
] - meta: bump step-security/harden-runner from 2.6.1 to 2.7.0 (dependabot[bot]) #516413d1dc9b030
] - meta: bump actions/cache from 3.3.2 to 4.0.0 (dependabot[bot]) #51640287bdf6bda
] - meta: bump github/codeql-action from 3.22.12 to 3.23.2 (dependabot[bot]) #5163990068fb0f1
] - meta: add .mailmap entry for lemire (Daniel Lemire) #51600f91786bd70
] - meta: mark security-wg codeowner for deps folder (Marco Ippolito) #51529e51221be8d
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #514684a8a012c6d
] - meta: move RaisinTen to emeritus and remove from strategic initiatives (Darshan Sen) #51411e9276bab3f
] - meta: add .temp and .lock tags to ignore (Rafael Gonzaga) #51343ae6fecbc8d
] - meta: bump actions/setup-python from 4.7.1 to 5.0.0 (dependabot[bot]) #51335f4be49a618
] - meta: bump actions/setup-node from 4.0.0 to 4.0.1 (dependabot[bot]) #51334e24aa7ced1
] - meta: bump github/codeql-action from 2.22.8 to 3.22.12 (dependabot[bot]) #51333287c2bcf56
] - meta: bump actions/stale from 8.0.0 to 9.0.0 (dependabot[bot]) #513321cad0dfaff
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #51329eef64b782e
] - meta: notify tsc on changes in SECURITY.md (Rafael Gonzaga) #5125995a880f728
] - meta: update artifact actions to v4 (Michaël Zasso) #5121959805f6879
] - meta: bump step-security/harden-runner from 2.6.0 to 2.6.1 (dependabot[bot]) #50999d74e0b97c3
] - meta: bump github/codeql-action from 2.22.5 to 2.22.8 (dependabot[bot]) #5099891cd9183d1
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #50931c621491aba
] - module: fix crash when built-in module export adefault
key (Antoine du Hamel) #5148143a8d3e984
] - module: fix--preserve-symlinks-main
(per4uk) #51312d8da197f86
] - module: move the CJS exports cache to internal/modules/cjs/loader (Joyee Cheung) #511575fc10ca4d6
] - module: load source maps incommonjs
translator (Hiroki Osame) #5103343e9f0bc65
] - module: documentparentURL
in register options (Hiroki Osame) #51039870ef5a73f
] - net: fix connect crash when call destroy in lookup handler (theanarkh) #51826caf71e05a6
] - net: fix example IPv4 in dns docs (Aras Abbasi) #5137758a636be0e
] - (SEMVER-MINOR) net: add connection attempt events (Paolo Insogna) #5104506a29f830a
] - node-api: make napi_get_buffer_info check if passed buffer is valid (Janrupf) #515710fb98438e4
] - node-api: move NAPI_EXPERIMENTAL definition to gyp file (Gabriel Schulhof) #51254242139fb98
] - node-api: optimize napi_set_property for perf (Mert Can Altın) #50282dc3d70c040
] - node-api: type tag external values without v8::Private (Chengzhong Wu) #511490ac070ccb7
] - node-api: segregate nogc APIs from rest via type system (Gabriel Schulhof) #50060de65cada70
] - node-api: introduce experimental feature flags (Gabriel Schulhof) #50991e192ba18cd
] - perf_hooks: performance milestone time origin timestamp improvement (IlyasShabi) #51713f94336f95a
] - repl: fixNO_COLORS
env var is ignored (Moshe Atlow) #51568e08649caa0
] - repl: fix prepareStackTrace frames array order (Chengzhong Wu) #5082707614072f1
] - sea: update stability index (Joyee Cheung) #51774eea0d74454
] - (SEMVER-MINOR) sea: support sea.getRawAsset() (Joyee Cheung) #50960db0efa3f40
] - (SEMVER-MINOR) sea: support embedding assets (Joyee Cheung) #509609b164c6eec
] - src: fix --disable-single-executable-application (Joyee Cheung) #51808306c1d35e5
] - src: simplify direct queries of env vars in C++ land (Joyee Cheung) #51829696063a47c
] - src: stop the profiler and the inspector before snapshot serialization (Joyee Cheung) #51815be40c8286c
] - src: simplify embedder entry point execution (Joyee Cheung) #5155790391ff256
] - src: compile code eagerly in snapshot builder (Joyee Cheung) #516723875fa1dc5
] - src: check empty before accessing string (Cheng Zhao) #51665a58c98ea85
] - (SEMVER-MINOR) src: print string content better in BlobDeserializer (Joyee Cheung) #5096062707a9d27
] - src: fix vm bug for configurable globalThis (F. Hinkelmann) #51602c3c0a3ee5c
] - (SEMVER-MINOR) src: support multi-line values for .env file (IlyasShabi) #51289dc8fe9ebf4
] - (SEMVER-MINOR) src: addprocess.loadEnvFile
andutil.parseEnv
(Yagiz Nizipli) #51476a5afad2a4d
] - src: terminate correctly double-quote in env variable (Marco Ippolito) #515102a921966c6
] - (SEMVER-MINOR) src: do not coerce dotenv paths (Tobias Nießen) #5142550ec55c268
] - src: refactorGetCreationContext
calls (Jungku Lee) #513672e65389922
] - src: do not read string out of bounds (Cheng Zhao) #51358a653531089
] - src: avoid shadowed string in fs_permission (Shelley Vohr) #51123c190a057ff
] - src: avoid draining platform tasks at FreeEnvironment (Chengzhong Wu) #5129000227674f5
] - src: add fast api for Histogram (James M Snell) #512964733c8e4df
] - src: refactorGetCreationContext
calls (Yagiz Nizipli) #51287d76e16bb47
] - src: enter isolate before destructing IsolateData (Ben Noordhuis) #511384ffdd37d2c
] - src: eliminate duplicate code in histogram.cc (James M Snell) #512632ce8b974a0
] - src: fix unix abstract socket path for trace event (theanarkh) #508589b25268cb8
] - src: use BignumPointer and use BN_clear_free (James M Snell) #50454a80f660343
] - src: implement FastByteLengthUtf8 with simdutf::utf8_length_from_latin1 (Daniel Lemire) #508400dee86f295
] - (SEMVER-MINOR) src: support configurable snapshot (Joyee Cheung) #5045390b5ed1d1d
] - src: implement countObjectsWithPrototype (Joyee Cheung) #505729365e129ed
] - src: register udp_wrap external references (Joyee Cheung) #50943b05d496b6c
] - src: register spawn_sync external references (Joyee Cheung) #50943642fb44982
] - src: register process_wrap external references (Joyee Cheung) #50943c7c9e81a1a
] - src: fix double free reported by coverity (Michael Dawson) #51046358793e28e
] - src: remove unused headers innode_file.cc
(Jungku Lee) #50927c705b73a74
] - src: implement --trace-promises (Joyee Cheung) #5089997aa67f006
] - src: fix dynamically linked zlib version (Richard Lau) #51007d6f46a44f2
] - src: make ModifyCodeGenerationFromStrings more robust (Joyee Cheung) #50763362135a1f9
] - src: disable uncaught exception abortion for ESM syntax detection (Yagiz Nizipli) #50987d82b0d4320
] - src: fix backtrace with tail noreturn abort (Chengzhong Wu) #508496df3e31bff
] - src: print MKSNAPSHOT debug logs to stderr (Joyee Cheung) #50759fd5efac176
] - (SEMVER-MINOR) src,permission: add --allow-addon flag (Rafael Gonzaga) #51183b616f6fa06
] - src,stream: improve WriteString (ywave620) #5115516d8cd5b22
] - stream: do not defer construction by one microtick (Matteo Collina) #520057931c3bbc8
] - stream: fix eventNames() to not return not defined events (IlyasShabi) #51331d0a6f3515d
] - stream: fix cloned webstreams not being unref correctly (tsctx) #515268750070a47
] - stream: fix fd is null when calling clearBuffer (kylo5aby) #50994ade6614067
] - (SEMVER-MINOR) stream: add support fordeflate-raw
format to webstreams compression (Damian Krzeminski) #50097905c48fc6e
] - test: add regression test for test_runner after hook (Colin Ihrig) #5199860f008b65e
] - test: reduce flakiness oftest-runner-output
(Antoine du Hamel) #519520ad88f6a5c
] - test: fix flaky http-chunk-extensions-limit test (Ethan Arrowood) #519433f85c7ac97
] - test: remove flaky designation (Luigi Pinca) #51736f37648ee5c
] - test: skip SEA tests when SEA generation fails (Joyee Cheung) #51887136b6a998b
] - test: fix unreliable assumption in js-native-api/test_cannot_run_js (Joyee Cheung) #51898d90594aefa
] - test: deflake test-http2-large-write-multiple-requests (Joyee Cheung) #51863a0b36e33d1
] - test: fix test-debugger-profile for coverage generation (Joyee Cheung) #51816dd0f164ca3
] - test: fix test-bootstrap-modules for coverage generation (Joyee Cheung) #51816e4c7d62496
] - test: ensure delay in recursive fs watch tests (Joyee Cheung) #51842963d7d7dea
] - test: fix test-child-process-fork-net (Joyee Cheung) #51841dd708d337e
] - test: split wasi tests (Joyee Cheung) #51836853b48d905
] - test: remove test-fs-stat-bigint flaky designation (Luigi Pinca) #51735fdc7d751de
] - test: skip test-http-correct-hostname on loong64 (Shi Pujin) #51663c33f860d2b
] - test: remove test-cli-node-options flaky designation (Luigi Pinca) #51716f528e965f6
] - test: remove test-domain-error-types flaky designation (Luigi Pinca) #517177e3ee828f1
] - test: fixinternet/test-inspector-help-page
(Richard Lau) #51693170278c25d
] - test: remove duplicate entry for flaky test (Luigi Pinca) #51654d0d5bd0e54
] - test: remove test-crypto-keygen flaky designation (Luigi Pinca) #51567bca6dcca0b
] - test: remove test-fs-rmdir-recursive flaky designation (Luigi Pinca) #51566af3f229d6b
] - test: remove common.expectsError calls for asserts (Paulo Chaves) #51504f6fcd200e6
] - test: mark test-http2-large-file as flaky (Michaël Zasso) #515491d8e65a230
] - test: use checkIfCollectableByCounting in SourceTextModule leak test (Joyee Cheung) #51512713afed6b0
] - test: remove test-file-write-stream4 flaky designation (Luigi Pinca) #51472292d0174df
] - test: add URL tests to fs-write (Rafael Gonzaga) #51352954e2f2f58
] - test: remove unneeded common.expectsError for asserts (Andrés Morelos) #51353f2dfe0fa80
] - test: add regression test for 51586 (Matteo Collina) #514916ee5f50789
] - test: fix flaky conditions for ppc64 SEA tests (Richard Lau) #5142206a6eef9a4
] - test: replace forEach() with for...of (Alexander Jones) #50608a98102a6de
] - test: replace forEach with for...of (Ospite Privilegiato) #50787e9080a94d3
] - test: replace foreach with for of (lucacapocci94-dev) #5079042b162b06d
] - test: replace forEach() with for...of (Jia) #50610cab7737f7e
] - test: fix inconsistency write size intest-fs-readfile-tostring-fail
(Jungku Lee) #5114115731b4b2f
] - test: replace forEach test-http-server-multiheaders2 (Marco Mac) #507949cedaa62fa
] - test: replace forEach with for-of in test-webcrypto-export-import-ec (Chiara Ricciardi) #512497f301e04be
] - test: move to for of loop in test-http-hostname-typechecking.js (Luca Del Puppo) #507826e62e649df
] - test: skip test-watch-mode-inspect on arm (Michael Dawson) #51210c3c2b2b041
] - test: replace forEach with for of in file test-trace-events-net.js (Ianna83) #5078955c423ba4f
] - test: replace forEach() with for...of in test/parallel/test-util-log.js (Edoardo Dusi) #507838ac05cf3c4
] - test: replace forEach with for of in test-trace-events-api.js (Andrea Pavone) #50784d10d39e8ba
] - test: replace forEach with for-of in test-v8-serders.js (Mattia Iannone) #50791576adc5e5b
] - test: add URL tests to fs-read in pm (Rafael Gonzaga) #51213996cef51b7
] - test: use tmpdir.refresh() in test-esm-loader-resolve-type.mjs (Luigi Pinca) #512068f2d982342
] - test: use tmpdir.refresh() in test-esm-json.mjs (Luigi Pinca) #51205efd6630143
] - test: fix flakiness in worker*.test-free-called (Jithil P Ponnan) #5101354a29ee506
] - test: deflake test-diagnostics-channel-memory-leak (Joyee Cheung) #505726319ea6183
] - test: test syncrhnous methods of child_process in snapshot (Joyee Cheung) #5094350df4aee2b
] - test: handle relative https redirect (Richard Lau) #511219f88f40cae
] - test: fix test runner colored output test (Moshe Atlow) #51064a1feae24cb
] - test: resolve path of embedtest binary correctly (Cheng Zhao) #50276a4f1805c92
] - test: escape cwd in regexp (Jérémy Lal) #509801c28db8116
] - test: replace forEach to for.. test-webcrypto-export-import-cfrg.js (Angelo Parziale) #50785a4f505213e
] - test: log more information in SEA tests (Joyee Cheung) #50759c91b817a5c
] - test: consolidate utf8 text fixtures in tests (Joyee Cheung) #5073226a06b093b
] - test: give more time to GC in test-shadow-realm-gc-* (Joyee Cheung) #50735e8f5735149
] - test: test surrogate pair filenames on windows (Mert Can Altın) #518001ab9ff46a5
] - test: mark test-wasi as flaky on Windows on ARM (Joyee Cheung) #518341c47da1453
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #5153391c8624608
] - test_runner: serialize 'expected' and 'actual' in isolation (Malthe Borch) #51851cea90dcfe3
] - test_runner: add ref methods to mocked timers (Marco Ippolito) #518099ff0df1793
] - test_runner: check if timeout was cleared by own callback (Ben Richeson) #5167334ecd1e36b
] - test_runner: fixed test object is incorrectly passed to setup() (Pulkit Gupta) #50982da17a2538e
] - test_runner: fixed to run after hook if before throws an error (Pulkit Gupta) #51062b8f0ea6f60
] - test_runner: fix infinite loop when files are undefined in test runner (Pulkit Gupta) #51047fe922f05e4
] - (SEMVER-MINOR) timers: export timers.promises (Marco Ippolito) #51246f4ac7baf85
] - tools: fix installing node with shared mode (Cheng Zhao) #51910f07605fa7b
] - tools: update eslint to 8.57.0 (Node.js GitHub Bot) #51867d16b235fca
] - tools: update lint-md-dependencies to rollup@4.12.0 (Node.js GitHub Bot) #51795d27e811a01
] - tools: fix missing fallthrough in js2c (Cheng Zhao) #518457eb69308da
] - tools: disable automated libuv updates (Rafael Gonzaga) #517751f15af425c
] - tools: update lint-md-dependencies to rollup@4.10.0 (Node.js GitHub Bot) #51720c7ae13e6bc
] - tools: update github_reporter to 1.6.0 (Node.js GitHub Bot) #516580fb079bd85
] - tools: runbuild-windows
workflow only on source changes (Antoine du Hamel) #51596c2538e31fa
] - tools: update lint-md-dependencies to rollup@4.9.6 (Node.js GitHub Bot) #51583e02dbf074b
] - tools: fix loong64 build (Shi Pujin) #51401ce49cb6656
] - tools: set normalizeTD text default to empty string (Marco Ippolito) #51543e8dc5ac552
] - tools: limit parallelism with ninja in V8 builds (Richard Lau) #5147397470b179b
] - tools: do not pass invalid flag to C compiler (Michaël Zasso) #5140959af1d7923
] - tools: update lint-md-dependencies to rollup@4.9.5 (Node.js GitHub Bot) #514606385c7ad57
] - tools: update inspector_protocol to83b1154
(Kohei Ueno) #513095235aaf299
] - tools: update github_reporter to 1.5.4 (Node.js GitHub Bot) #513954ce2ecb1ce
] - tools: fix version parsing in brotli update script (Richard Lau) #5137386102078f5
] - tools: update lint-md-dependencies to rollup@4.9.4 (Node.js GitHub Bot) #51396e658208159
] - tools: remove openssl v1 update script (Marco Ippolito) #513784372f6a5b8
] - tools: remove deprecated python api (Alex Yang) #497312b24059e53
] - tools: update lint-md-dependencies to rollup@4.9.2 (Node.js GitHub Bot) #513201da2e8d15e
] - tools: fix dep_updaters dir updates (Michaël Zasso) #51294b264dda7f2
] - tools: update inspector_protocol toc488ba2
(cola119) #51293fdb07d5418
] - tools: update inspector_protocol to9b4a4aa
(cola119) #512936863fb84a6
] - tools: update inspector_protocol to2f51e05
(cola119) #512936b85f5c6e0
] - tools: update inspector_protocol tod7b099b
(cola119) #51293cf029ca24f
] - tools: update inspector_protocol to912eb68
(cola119) #51293af119447f5
] - tools: update inspector_protocol to547c5b8
(cola119) #512935a72506823
] - tools: update inspector_protocol toca525fc
(cola119) #51293c7aa3976f9
] - tools: update lint-md-dependencies to rollup@4.9.1 (Node.js GitHub Bot) #512768e02d08a82
] - tools: check timezone current version (Marco Ippolito) #51178fa1e88775d
] - tools: update lint-md-dependencies to rollup@4.9.0 (Node.js GitHub Bot) #5119304c0bf9cc5
] - tools: update eslint to 8.56.0 (Node.js GitHub Bot) #51194e896cbd0d5
] - tools: update lint-md-dependencies to rollup@4.7.0 (Node.js GitHub Bot) #51106c7350c2083
] - tools: update doc to highlight.js@11.9.0 unified@11.0.4 (Node.js GitHub Bot) #5045900dfabf8fb
] - tools: update eslint to 8.55.0 (Node.js GitHub Bot) #51025f91d56157b
] - tools: update lint-md-dependencies to rollup@4.6.1 (Node.js GitHub Bot) #51022450163cf9b
] - tools: add triggers to update release links workflow (Moshe Atlow) #50974b1442024ea
] - tools: update lint-md-dependencies to rollup@4.5.2 (Node.js GitHub Bot) #509136fc6a62daf
] - tools: fix current version check (Marco Ippolito) #50951bc6bdda8b1
] - tools: fix update-icu.sh (Michaël Zasso) #51723a7a4cce75d
] - typings: lib/internal/vm.js (Geoffrey Booth) #501126375540507
] - typings: fix JSDoc ininternal/modules/esm/hooks
(Alex Yang) #508874bc8e98d7c
] - url: don't update URL immediately on update to URLSearchParams (Matt Cowley) #515202acbcbd8ad
] - url: throw error if argument length of revokeObjectURL is 0 (DylanTet) #50433c50134615e
] - (SEMVER-MINOR) util: add styleText API to text formatting (Rafael Gonzaga) #51850f79ac336ad
] - util: pass invalidSubtypeIndex instead of trimmedSubtype to error (Gaurish Sethia) #51264c3b89c310f
] - util: improve performance of function areSimilarFloatArrays (Liu Jia) #510405202995b48
] - vm: implement isContext() directly in JS land with private symbol (Joyee Cheung) #516850211a3d65f
] - (SEMVER-MINOR) vm: support using the default loader to handle dynamic import() (Joyee Cheung) #5124407fc077c5d
] - vm: use v8::DeserializeInternalFieldsCallback explicitly (Joyee Cheung) #509845183e3a4b1
] - watch: clarify that the fileName parameter can be null (Luigi Pinca) #5130563bf8a66df
] - watch: fix nullfileName
on windows systems (vnc5) #4989107da4e9b58
] - watch: fix infinite loop when passing --watch=true flag (Pulkit Gupta) #51160v20.11.1
: 2024-02-14, Version 20.11.1 'Iron' (LTS), @RafaelGSS prepared by @marco-ippolitoCompare Source
Notable changes
This is a security release.
Notable changes
Commits
7079c062bb
] - crypto: disable PKCS#1 padding for privateDecrypt (Michael Dawson) nodejs-private/node-private#525186a6e1ffb
] - deps: fix GHSA-f74f-cvh7-c6q6/CVE-2024-24806 (Santiago Gimeno) #51737686da19abb
] - deps: disable io_uring support in libuv by default (Tobias Nießen) nodejs-private/node-private#529f7b44bfbce
] - deps: update archs files for openssl-3.0.13+quic1 (Node.js GitHub Bot) #516147a30fecea2
] - deps: upgrade openssl sources to quictls/openssl-3.0.13+quic1 (Node.js GitHub Bot) #51614480fc169a8
] - fs: protect against modified Buffer internals in possiblyTransformPath (Tobias Nießen) nodejs-private/node-private#49777ac7c3153
] - http: add maximum chunk extension size (Paolo Insogna) nodejs-private/node-private#519ed7d149675
] - lib: use cache fs internals against path traversal (RafaelGSS) nodejs-private/node-private#51689bd5fc38f
] - lib: update undici to v5.28.3 (Matteo Collina) nodejs-private/node-private#539d01dd4291d
] - permission: fix wildcard when children > 1 (Rafael Gonzaga) #5120940ff37dfcc
] - src: fix HasOnly(capability) in node::credentials (Tobias Nießen) nodejs-private/node-private#5053f6addd590
] - src,deps: disable setuid() etc if io_uring enabled (Tobias Nießen) nodejs-private/node-private#529d6da413aa4
] - test,doc: clarify wildcard usage (RafaelGSS) nodejs-private/node-private#517c213910aea
] - zlib: pause stream if outgoing buffer is full (Matteo Collina) nodejs-private/node-private#541v20.11.0
: 2024-01-09, Version 20.11.0 'Iron' (LTS), @UlisesGasconCompare Source
Notable Changes
833190fe7c
] - crypto: update root certificates to NSS 3.95 (Node.js GitHub Bot) #50805a541b78bdb
] - doc: add MrJithil to collaborators (Jithil P Ponnan) #50666d4be8fad83
] - doc: add Ethan-Arrowood as a collaborator (Ethan Arrowood) #50393c1a196c897
] - (SEMVER-MINOR) esm: add import.meta.dirname and import.meta.filename (James Sumners) #48740aa3209b880
] - fs: add c++ fast path for writeFileSync utf8 (CanadaHonk) #498848e886a2fff
] - (SEMVER-MINOR) module: remove useCustomLoadersIfPresent flag (Chengzhong Wu) #4865521ab3c0f0b
] - (SEMVER-MINOR) module: bootstrap module loaders in shadow realm (Chengzhong Wu) #4865529d91b13e3
] - (SEMVER-MINOR) src: add--disable-warning
option (Ethan Arrowood) #5066111b3e470db
] - (SEMVER-MINOR) src: create per isolate proxy env template (Chengzhong Wu) #48655621c4d66c2
] - (SEMVER-MINOR) src: make process binding data weak (Chengzhong Wu) #48655139d6c8d3b
] - stream: use Array for Readable buffer (Robert Nagy) #503416206957e8d
] - stream: optimize creation (Robert Nagy) #50337e64378643d
] - (SEMVER-MINOR) test_runner: adds built in lcov reporter (Phil Nash) #500184a830c2d9d
] - (SEMVER-MINOR) test_runner: add Date to the supported mock APIs (Lucas Santos) #48638842dc01def
] - (SEMVER-MINOR) test_runner, cli: add --test-timeout flag (Shubham Pandey) #50443Commits
e40a559ab1
] - benchmark: update iterations in benchmark/util/splice-one.js (Liu Jia) #5069800f7a5d26f
] - benchmark: increase the iteration number to an appropriate value (Lei Shi) #50766be6ad3f375
] - benchmark: rewrite import.meta benchmark (Joyee Cheung) #506839857364129
] - benchmark: add misc/startup-cli-version benchmark (Joyee Cheung) #5068422d729e7f5
] - benchmark: remove punycode from require-builtins fixture (Joyee Cheung) #506894cf10a149a
] - benchmark: change iterations in benchmark/es/string-concatenations.js (Liu Jia) #5058515c2ed93a8
] - benchmark: add benchmarks for encodings (Aras Abbasi) #503488a896428ca
] - benchmark: add more cases to Readable.from (Raz Luvaton) #50351dbe6c5f354
] - benchmark: skip test-benchmark-os on IBMi (Michael Dawson) #50286179b4b6e62
] - benchmark: move permission-fs-read to permission-processhas-fs-read (Aki Hasegawa-Johnson) #4977032d65c001d
] - buffer: improve Buffer.equals performance (kylo5aby) #5062180ea83757e
] - build: add GN configurations for simdjson (Cheng Zhao) #50831904e645bcd
] - build: add configuration flag to enable Maglev (Keyhan Vakil) #50692019efa8a5a
] - build: fix GN configuration for deps/base64 (Cheng Zhao) #50696a645d5ac54
] - build: disable flag v8_scriptormodule_legacy_lifetime (Chengzhong Wu) #506168705058b09
] - build: add GN build files (Cheng Zhao) #476370a5e9c12cf
] - build: fix build with Python 3.12 (Luigi Pinca) #50582ff5713dd43
] - build: support Python 3.12 (Shi Pujin) #50209cfd50f229a
] - build: fix building when there is only python3 (Cheng Zhao) #48462833190fe7c
] - crypto: update root certificates to NSS 3.95 (Node.js GitHub Bot) #5080554c46dae9e
] - deps: update zlib to 1.2.13.1-motley-5daffc7 (Node.js GitHub Bot) #508030be84e5a28
] - deps: update undici to 5.27.2 (Node.js GitHub Bot) #50813ec67890824
] - deps: V8: cherry-pick0f9ebbc
(Chengzhong Wu) #50867bc2ebb972b
] - deps: V8: cherry-pick13192d6
(Levi Zim) #50552656135d70a
] - deps: update zlib to 1.2.13.1-motley-dfc48fc (Node.js GitHub Bot) #5045641ee4bcc5d
] - deps: update ada to 2.7.4 (Node.js GitHub Bot) #50815a40948b5c5
] - deps: update minimatch to 9.0.3 (Node.js GitHub Bot) #508067be1222c4a
] - deps: update simdutf to 4.0.4 (Node.js GitHub Bot) #5077268e7d49db6
] - deps: upgrade npm to 10.2.4 (npm team) #507513d82d38336
] - deps: escape Python strings correctly (Michaël Zasso) #50695d3870ac957
] - deps: update base64 to 0.5.1 (Node.js GitHub Bot) #506294b219b6ece
] - deps: update corepack to 0.23.0 (Node.js GitHub Bot) #505636c41b50922
] - deps: update nghttp2 to 1.58.0 (Node.js GitHub Bot) #504413beee0ae8f
] - deps: update acorn to 8.11.2 (Node.js GitHub Bot) #50460220916fa93
] - deps: update undici to 5.27.0 (Node.js GitHub Bot) #50463f9960b3545
] - deps: update googletest to116b7e5
(Node.js GitHub Bot) #50324d5c16f897a
] - dns: call handle.setServers() with a valid array (Luigi Pinca) #508111bd6537c97
] - doc: recommend supported Python versions (Luigi Pinca) #50407402e257520
] - doc: update notable changes in v21.1.0 (Joyee Cheung) #50388032535e270
] - doc: make theme consistent across api and other docs (Dima Demakov) #50877d53842683f
] - doc: add a section regardinginstanceof
inprimordials.md
(Antoine du Hamel) #50874fe315055a7
] - doc: update email to reflect affiliation (Yagiz Nizipli) #50856e14f661950
] - doc: shard not supported with watch mode (Pulkit Gupta) #50640b3d015de71
] - doc: get rid of unnecessaryeslint-skip
comments (Antoine du Hamel) #50829168cbf9cb9
] - doc: create deprecation code for isWebAssemblyCompiledModule (Marco Ippolito) #5048630baacba41
] - doc: add CanadaHonk to triagers (CanadaHonk) #50848e6e7cbceac
] - doc: fix typos in --allow-fs-* (Tobias Nießen) #50845e22ce9586f
] - doc: update Crypto API doc for x509.keyUsage (Daniel Meechan) #50603549d4422b7
] - doc: fix fs.writeFileSync return value documentation (Ryan Zimmerman) #507603c79e3cdba
] - doc: update print results(detail) inPerformanceEntry
(Jungku Lee) #50723aeaf96d06e
] - doc: fixBuffer.allocUnsafe
documentation (Mert Can Altın) #50686347e1dd06a
] - doc: run license-builder (github-actions[bot]) #50691a541b78bdb
] - doc: add MrJithil to collaborators (Jithil P Ponnan) #5066690f415dd61
] - doc: fix typo in fs.md (fwio) #50570e2388151ba
] - doc: add missing description of argument insubtle.encrypt
(Deokjin Kim) #5057839cc013465
] - doc: update pm documentation to include resource (Ranieri Innocenti Spada) #50601ba6d427c23
] - doc: correct attribution in v20.6.0 changelog (Jacob Smith) #505641b2dab8254
] - doc: update to alignconsole.table
row to the left (Jungku Lee) #505535d48ef7778
] - doc: underline links (Rich Trott) #504815e6057c9d2
] - doc: remove duplicate word (Gerhard Stöbich) #5047564bf2fd4ee
] - doc: fix typo inwebstreams.md
(André Santos) #50426cca55b8414
] - doc: add information about Node-API versions >=9 (Michael Dawson) #50168d4be8fad83
] - doc: add Ethan-Arrowood as a collaborator (Ethan Arrowood) #503930b311838f6
] - doc: fix TOC inreleases.md
(Bryce Seefieldt) #50372843d5f84ca
] - esm: fallback togetSource
whenload
returns nullishsource
(Antoine du Hamel) #508258d5469c84b
] - esm: do not callgetSource
when format iscommonjs
(Francesco Trotta) #50465b48cf314d3
] - esm: bypass CJS loader in default load under--default-type=module
(Antoine du Hamel) #50004c1a196c897
] - (SEMVER-MINOR) esm: add import.meta.dirname and import.meta.filename (James Sumners) #48740435f9c9276
] - fs: use default w flag for writeFileSync with utf8 encoding (Murilo Kakazu) #50990aa3209b880
] - fs: add c++ fast path for writeFileSync utf8 (CanadaHonk) #4988405e25e0230
] - fs: improve error perf of synclstat
+fstat
(CanadaHonk) #49868f94a24cb4b
] - fs: improve error performance forrmdirSync
(CanadaHonk) #49846cada22e2a4
] - fs: fix to not return for void function (Jungku Lee) #50769ba40b2e33e
] - fs: replace deprecatedpath._makeLong
in copyFile (CanadaHonk) #50844d1b6bd660a
] - fs: update param in jsdoc forreaddir
(Jungku Lee) #5044811412e863a
] - fs: do not throw error on cpSync internals (Yagiz Nizipli) #50185868a464c15
] - fs,url: moveFromNamespacedPath
tonode_url
(Yagiz Nizipli) #50090de7fe08c7b
] - fs,url: refactorFileURLToPath
method (Yagiz Nizipli) #50090186e6e0395
] - fs,url: moveFileURLToPath
to node_url (Yagiz Nizipli) #50090aea7fe54af
] - inspector: use private fields instead of symbols (Yagiz Nizipli) #5077648dbde71d8
] - lib: use primordials for navigator.userAgent (Aras Abbasi) #50467fa220cac87
] - lib: remove deprecated string methods (Jithil P Ponnan) #50592f1cf1c385f
] - lib: fix assert shows diff messages in ESM and CJS (Jithil P Ponnan) #506343844af288f
] - lib: make event static properties non writable and configurable (Muthukumar) #504250a0b416d6c
] - lib: avoid memory allocation on nodeprecation flag (Vinicius Lourenço) #50231e7551d5770
] - lib: align console.table row to the left (Jithil P Ponnan) #501350c85cebdf2
] - meta: clarify nomination process according to Node.js charter (Matteo Collina) #50834f4070dd8d4
] - meta: clarify recommendation for bug reproductions (Antoine du Hamel) #508822ddeead436
] - meta: move cjihrig to TSC regular member (Colin Ihrig) #5081634a789d9be
] - meta: add web-standards as WPTs owner (Filip Skokan) #5063640bbffa266
] - meta: bump github/codeql-action from 2.21.9 to 2.22.5 (dependabot[bot]) #50513c49553631d
] - meta: bump step-security/harden-runner from 2.5.1 to 2.6.0 (dependabot[bot]) #5051299df0138b0
] - meta: bump ossf/scorecard-action from 2.2.0 to 2.3.1 (dependabot[bot]) #505099db6227ac6
] - meta: fix spacing in collaborator list (Antoine du Hamel) #506412589a5a566
] - meta: bump actions/setup-python from 4.7.0 to 4.7.1 (dependabot[bot]) #505105a86661a95
] - meta: add crypto as crypto and webcrypto docs owner (Filip Skokan) #50579ac8d2b9cc2
] - meta: bump actions/setup-node from 3.8.1 to 4.0.0 (dependabot[bot]) #50514bee2c0cf11
] - meta: bump actions/checkout from 4.1.0 to 4.1.1 (dependabot[bot]) #5051191a0944e5f
] - meta: add ethan.arrowood@vercel.com to mailmap (Ethan Arrowood) #504918d3cf8c4ee
] - meta: add web-standards as web api visibility owner (Chengzhong Wu) #50418807c12de36
] - meta: mention other notable changes section (Rafael Gonzaga) #5030921ab3c0f0b
] - (SEMVER-MINOR) module: bootstrap module loaders in shadow realm (Chengzhong Wu) #486558e886a2fff
] - (SEMVER-MINOR) module: remove useCustomLoadersIfPresent flag (Chengzhong Wu) #4865577e8361213
] - module: execute--import
sequentially (Antoine du Hamel) #50474fffc4951ac
] - module: add application/json in accept header when fetching json module (Marco Ippolito) #50119f808e7a650
] - net: check pipe mode and path (theanarkh) #50770cf3a4c5b84
] - node-api: factor out common code into macros (Gabriel Schulhof) #50664a7d8f6b529
] - perf_hooks: implement performance.now() with fast API calls (Joyee Cheung) #50492076dc7540b
] - permission: do not create symlinks if target is relative (Tobias Nießen) #4915643160dcd2d
] - permission: mark const functions as such (Tobias Nießen) #507057a661d7ad9
] - permission: address coverity warning (Michael Dawson) #50215b2b4132c3e
] - src: iterate on import attributes array correctly (Michaël Zasso) #5070311b3e470db
] - (SEMVER-MINOR) src: create per isolate proxy env template (Chengzhong Wu) #48655d00412a083
] - (SEMVER-MINOR) src: create fs_dir per isolate properties (Chengzhong Wu) #4865514cc3b9b90
] - (SEMVER-MINOR) src: create worker per isolate properties (Chengzhong Wu) #48655621c4d66c2
] - (SEMVER-MINOR) src: make process binding data weak (Chengzhong Wu) #4865507a4e94e84
] - src: assert return value of BN_bn2binpad (Tobias Nießen) #50860158db2d61e
] - src: fix coverity warning (Michael Dawson) #5084694363bb3fd
] - src: fix compatility with upcoming V8 12.1 APIs (Cheng Zhao) #5070929d91b13e3
] - (SEMVER-MINOR) src: add--disable-warning
option (Ethan Arrowood) #50661f054c337f8
] - src: add IsolateScopes before using isolates (Keyhan Vakil) #50680d08eb382cd
] - src: avoid copying strings in FSPermission::Apply (Tobias Nießen) #506626620df1c05
] - src: remove erroneous default argument in RadixTree (Tobias Nießen) #50736436c3aef15
] - src: fix JSONParser leaking internal V8 scopes (Keyhan Vakil) #506886f46d31018
] - src: return error --env-file if file is not found (Ardi Nugraha) #505883d43fd359c
] - src: avoid silent coercion to signed/unsigned int (Tobias Nießen) #50663c253e39b56
] - src: handle errors from uv_pipe_connect2() (Deokjin Kim) #506573a9713bb5a
] - src: use v8::Isolate::TryGetCurrent() in DumpJavaScriptBacktrace() (Joyee Cheung) #5051894f8a925a8
] - src: print more information in C++ assertions (Joyee Cheung) #5024223f830616b
] - src: hide node::credentials::HasOnly outside unit (Tobias Nießen) #50450b7ecb0a390
] - src: readiterable entries may be empty (Matthew Aitken) #503984ef1d68715
] - src: implement structuredClone in native (Joyee Cheung) #503309346f15138
] - src: use find instead of char-by-char in FromFilePath() (Daniel Lemire) #502888414fb4d2a
] - src: add commit hash shorthand in zlib version (Jithil P Ponnan) #50158a878e3abb0
] - stream: fix enumerability of ReadableStream.from (Mattias Buelens) #5077995ed4ffc1e
] - stream: fix enumerability of ReadableStream.prototype.values (Mattias Buelens) #507794cf155ca0c
] - stream: add Symbol.toStringTag to Compression Streams (Filip Skokan) #507126012e3e781
] - stream: fix Writable.destroy performance regression (Robert Nagy) #50478dd5206820c
] - stream: pre-allocate _events (Robert Nagy) #50428829b82ed0f
] - stream: remove no longer relevant comment (Robert Nagy) #5044698ae1b4132
] - stream: use bit fields for construct/destroy (Robert Nagy) #5040808a0c6c56c
] - stream: improve from perf (Raz Luvaton) #5035959f7316b8f
] - stream: avoid calls to listenerCount (Robert Nagy) #503579d52430eb9
] - stream: readable use bitmap accessors (Robert Nagy) #50350139d6c8d3b
] - stream: use Array for Readable buffer (Robert Nagy) #503416206957e8d
] - stream: optimize creation (Robert Nagy) #50337f87921de3b
] - stream: refactor writable _write (Robert Nagy) #50198b338f3d3c2
] - stream: avoid getter for defaultEncoding (Robert Nagy) #502031862235a26
] - test: fix message v8 not normalising alphanumeric paths (Jithil P Ponnan) #507307c28a4ca8f
] - test: fix dns test case failures after c-ares update to 1.21.0+ (Brad House) #507434544593d31
] - test: replace forEach with for of (Conor Watson) #5059496143a3293
] - test: replace forEach to for at test-webcrypto-sign-verify-ecdsa.js (Alessandro Di Nisio) #50795107b5e63c5
] - test: replace foreach with for in test-https-simple.js (Shikha Mehta) #497939b2e5e9db4
] - test: add note about unresolved spec issue (Mattias Buelens) #50779edce637c1a
] - test: add note about readable streams with type owning (Mattias Buelens) #50779641044670b
] - test: replace forEach with for-of in test-url-relative (vitosorriso) #5078875ee78438c
] - test: replace forEach() with for ... of in test-tls-getprotocol.js (Steve Goode) #5060024f9d3fbeb
] - test: enable idlharness tests for encoding (Mattias Buelens) #50778a9d290956e
] - test: replace forEach in whatwg-encoding-custom-interop (Honza Machala) #506076584dd80f7
] - test: replace forEach() with for-loop (Jan) #50596be54a22869
] - test: improve test-bootstrap-modules.js (Joyee Cheung) #50708660e70e73b
] - test: skip parallel/test-macos-app-sandbox if disk space < 120MB (Joyee Cheung) #507645712c41122
] - test: replace foreach with for (Markus Muschol) #5059949e5f47b1c
] - test: test streambase has already has a consumer (Jithil P Ponnan) #48059bb7d764c8e
] - test: change forEach to for...of in path extname (Kyriakos Markakis) #506674d28ced079
] - test: replace forEach with for...of (Ryan Williams) #5061192a153ecde
] - test: migrate message v8 tests from Python to JS (Joshua LeMay) #50421a376284d8a
] - test: use destructuring for accessing setting values (Honza Jedlička) #506097b9b1fba27
] - test: replace forEach() with for .. of (Evgenia Blajer) #506059397b2da7e
] - test: replace forEach() with for ... of in test-readline-keys.js (William Liang) #506049043ba4cfb
] - test: replace forEach() with for ... of in test-http2-single-headers.js (spiritualized) #506069f911d31f6
] - test: replace forEach with for of (john-mcinall) #506028a5f36fe74
] - test: remove unused file (James Sumners) #505289950203340
] - test: replace forEach with for of (Kevin Kühnemund) #5059703ba28f102
] - test: replace forEach with for of (CorrWu) #49785ea61261b54
] - test: replace forEach with for [...] of (Gabriel Bota) #506154349790913
] - test: add WPT report test duration (Filip Skokan) #505747cacddfcc1
] - test: replace forEach() with for ... of loop in test-global.js (Kajol) #49772889f58d07f
] - test: skip test-diagnostics-channel-memory-leak.js (Joyee Cheung) #5032741644ee071
] - test: improveUV_THREADPOOL_SIZE
tests on.env
(Yagiz Nizipli) #492131db44b9a53
] - test: recognize wpt completion error (Chengzhong Wu) #50429ecfc951ddc
] - test: report error wpt test results (Chengzhong Wu) #50429deb0351d95
] - test: replace forEach() with for...of (Ram) #49794f885dfe5e3
] - test: replace forEach() with for...of in test-trace-events-http (Chand) #497959dc63c56db
] - test: replace forEach with for...of in test-fs-realpath-buffer-encoding (Niya Shiyas) #49804600d1260da
] - test: fix timeout of test-cpu-prof-dir-worker.js in LoongArch devices (Shi Pujin) #50363099f5cfa0a
] - test: fix vm assertion actual and expected order (Chengzhong Wu) #50371a31f9bfe01
] - test: v8: Add test-linux-perf-logger test suite (Luke Albao) #503526c59114947
] - test: ensure never settling promises are detected (Antoine du Hamel) #503189830ae4bf7
] - test_runner: add tests for various mock timer issues (Mika Fischer) #503842c72ed85fb
] - test_runner: pass abortSignal to test files (Moshe Atlow) #50630c33a84af11
] - test_runner: replace forEach with for of (Tom Haddad) #5059529c68a22bb
] - test_runner: output errors of suites (Moshe Atlow) #50361e64378643d
] - (SEMVER-MINOR) test_runner: adds built in lcov reporter (Phil Nash) #500184aaaff413b
] - test_runner: test return value of mocked promisified timers (Mika Fischer) #503314a830c2d9d
] - (SEMVER-MINOR) test_runner: add Date to the supported mock APIs (Lucas Santos) #48638842dc01def
] - (SEMVER-MINOR) test_runner, cli: add --test-timeout flag (Shubham Pandey) #50443613a9072b7
] - tls: fix order of setting cipher before setting cert and key (Kumar Rishav) #50186d905c61e16
] - tls: usevalidateFunction
foroptions.SNICallback
(Deokjin Kim) #50530c8d6dd58e7
] - tools: add macOS notarization verification step (Ulises Gascón) #50833c9bd0b0c0f
] - tools: use macOS keychain to notarize the releases (Ulises Gascón) #50715932a5d7b2c
] - tools: update eslint to 8.54.0 (Node.js GitHub Bot) #50809d7114d97be
] - tools: update lint-md-dependencies to rollup@4.5.0 (Node.js GitHub Bot) #5080793085cf844
] - tools: add workflow to update release links (Michaël Zasso) #5071066764c5d04
] - tools: recognize GN files in dep_updaters (Cheng Zhao) #506932a451e176a
] - tools: remove unused file (Ulises Gascon) #506228ce6403230
] - tools: change minimatch install strategy (Marco Ippolito) #5047697778e2e77
] - tools: update lint-md-dependencies to rollup@4.3.1 (Node.js GitHub Bot) #50675797f6a9ba8
] - tools: add macOS notarization stapler (Ulises Gascón) #506258fa1319352
] - tools: update eslint to 8.53.0 (Node.js GitHub Bot) #50559592f57970f
] - tools: update lint-md-dependencies to rollup@4.3.0 (Node.js GitHub Bot) #505562fd78fc39e
] - tools: compare ICU checksums before file changes (Michaël Zasso) #50522631d710fc4
] - tools: improve update acorn-walk script (Marco Ippolito) #5047333fd2af2ab
] - tools: update lint-md-dependencies to rollup@4.2.0 (Node.js GitHub Bot) #5049622b7a74838
] - tools: update gyp-next to v0.16.1 (Michaël Zasso) #50380f5ccab5005
] - tools: skip ruff on tools/gyp (Michaël Zasso) #50380408fd90508
] - tools: update lint-md-dependencies to rollup@4.1.5 unified@11.0.4 (Node.js GitHub Bot) #50461685f936ccd
] - tools: avoid npm install in deps installation (Marco Ippolito) #504137d43c5a094
] - Revert "tools: update doc dependencies" (Richard Lau) #504148fd67c2e3e
] - tools: update doc dependencies (Node.js GitHub Bot) #49988586becb507
] - tools: run coverage CI only on relevant files (Antoine du Hamel) #503492d06eea6c5
] - tools: update eslint to 8.52.0 (Node.js GitHub Bot) #503266a897baf16
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #50190e6e7f39b9e
] - util: improve performance of normalizeEncoding (kylo5aby) #507213b6b1afa47
] - v8,tools: expose necessary V8 defines (Cheng Zhao) #508202664012617
] - vm: allow dynamic import with a referrer realm (Chengzhong Wu) #50360c6c0a74b54
] - wasi: document security sandboxing status (Guy Bedford) #50396989814093e
] - win,tools: upgrade Windows signing to smctl (Stefan Stojanovic) #50956v20.10.0
: 2023-11-22, Version 20.10.0 'Iron' (LTS), @targosCompare Source
Notable Changes
--experimental-default-type
flag to flip module defaultsThe new flag
--experimental-default-type
can be used to flip the defaultmodule system used by Node.js. Input that is already explicitly defined as ES
modules or CommonJS, such as by a
package.json
"type"
field or.mjs
/.cjs
file extension or the
--input-type
flag, is unaffected. What is currentlyimplicitly CommonJS would instead be interpreted as ES modules under
--experimental-default-type=module
:String input provided via
--eval
or STDIN, if--input-type
is unspecified.Files ending in
.js
or with no extension, if there is nopackage.json
filepresent in the same folder or any parent folder.
Files ending in
.js
or with no extension, if the nearest parentpackage.json
field lacks atype
field; unless the folder is inside anode_modules
folder.In addition, extensionless files are interpreted as Wasm if
--experimental-wasm-modules
is passed and the file contains the "magic bytes"Wasm header.
Contributed by Geoffrey Booth in #49869.
Detect ESM syntax in ambiguous JavaScript
The new flag
--experimental-detect-module
can be used to automatically run ESmodules 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.
New
flush
option in file system functionsWhen writing to files, it is possible that data is not immediately flushed to
permanent storage. This allows subsequent read operations to see stale data.
This PR adds a
'flush'
option to thefs.writeFile
family of functions whichforces the data to be flushed at the end of a successful write operation.
Contributed by Colin Ihrig in #50009 and #50095.
Experimental WebSocket client
Adds a
--experimental-websocket
flag that adds aWebSocket
global, as standardized by WHATWG.
Contributed by Matthew Aitken in #49830.
vm: fix V8 compilation cache support for vm.Script
Previously repeated compilation of the same source code using
vm.Script
stopped hitting the V8 compilation cache after v16.x when support for
importModuleDynamically
was added tovm.Script
, resulting in a performanceregression that blocked users (in particular Jest users) from upgrading from
v16.x.
The recent fixes allow the compilation cache to be hit again
for
vm.Script
when--experimental-vm-modules
is not used even in thepresence of the
importModuleDynamically
option, so that users affected by theperformance regression can now upgrade. Ongoing work is also being done to
enable compilation cache support for
vm.CompileFunction
.Contributed by Joyee Cheung in #49950
and #50137.
Other notable changes
21453ae555
] - (SEMVER-MINOR) deps: update uvwasi to 0.0.19 (Node.js GitHub Bot) #49908ee65e44c31
] - esm: use import attributes instead of import assertions (Antoine du Hamel) #50140ffdc357167
] - (SEMVER-MINOR) stream: allow passing stream class tostream.compose
(Alex Yang) #501874861ad6431
] - stream: improve performance of readable stream reads (Raz Luvaton) #501734b27087b30
] - stream: optimize Writable (Robert Nagy) #50012709c6c0cab
] - (SEMVER-MINOR) test_runner, cli: add --test-concurrency flag (Colin Ihrig) #4999657efd5292c
] - (SEMVER-MINOR) vm: use import attributes instead of import assertions (Antoine du Hamel) #50141Commits
73757a5f42
] - benchmark: fix race condition on fs benchs (Vinicius Lourenço) #5003523269717bb
] - benchmark: add warmup to accessSync bench (Rafael Gonzaga) #5007388611d199a
] - benchmark: improved config for blob,file benchmark (Vinícius Lourenço) #49730b70757476c
] - benchmark: added new benchmarks for blob (Vinícius Lourenço) #49730458d9a82e3
] - buffer: remove unnecessary assignment in fromString (Tobias Nießen) #50199878c0b332e
] - build: fix IBM i build with Python 3.9 (Richard Lau) #48056773320e1de
] - crypto: ensure valid point on elliptic curve in SubtleCrypto.importKey (Filip Skokan) #50234edb0ffd7d4
] - crypto: use X509_ALGOR accessors instead of reaching into X509_ALGOR (David Benjamin) #500573f98c06dbb
] - crypto: account for disabled SharedArrayBuffer (Shelley Vohr) #5003455485ff1cc
] - crypto: return clear errors when loading invalid PFX data (Tim Perry) #4956668ec1e5eeb
] - deps: upgrade npm to 10.2.3 (npm team) #50531b00c11ad7c
] - deps: V8: cherry-pickd90d453
(Michaël Zasso) #50077e63aef91b4
] - deps: V8: cherry-pickf7d000a
(Luke Albao) #500774b243b553a
] - deps: V8: cherry-pick9721082
(Shi Pujin) #500779d3cdcbebf
] - deps: V8: cherry-pick840650f
(Michaël Zasso) #500770c40b513fd
] - deps: V8: cherry-picka1efa53
(Michaël Zasso) #5007768cddd79f7
] - deps: update archs files for openssl-3.0.12+quic1 (Node.js GitHub Bot) #504113308189180
] - deps: upgrade openssl sources to quictls/openssl-3.0.12+quic1 (Node.js GitHub Bot) #50411b61707e535
] - deps: update ada to 2.7.2 (Node.js GitHub Bot) #503381aecf0c17b
] - deps: update corepack to 0.22.0 (Node.js GitHub Bot) #50325f5924f174c
] - deps: update c-ares to 1.20.1 (Node.js GitHub Bot) #50082b705e19a95
] - deps: update c-ares to 1.20.0 (Node.js GitHub Bot) #50082f72cbb7e02
] - deps: V8: cherry-pick2590224
(Joyee Cheung) #501566547bd2493
] - deps: V8: cherry-pickea996ad
(Antoine du Hamel) #5018316fd730e95
] - deps: V8: cherry-picka0fd320
(Antoine du Hamel) #50183614c3620c3
] - deps: update corepack to 0.21.0 (Node.js GitHub Bot) #50088545aa74ae2
] - deps: update simdutf to 3.2.18 (Node.js GitHub Bot) #500919302806c0a
] - deps: update zlib to 1.2.13.1-motley-fef5869 (Node.js GitHub Bot) #5008503bf5c5d9a
] - deps: update googletest to2dd1c13
(Node.js GitHub Bot) #50081cd8e90690b
] - deps: update googletest toe47544a
(Node.js GitHub Bot) #4998240672cfe53
] - deps: update ada to 2.6.10 (Node.js GitHub Bot) #4998434c7eb0eb2
] - deps: fix call to undeclared functions 'ntohl' and 'htons' (MatteoBax) #4997903654b44b6
] - deps: update ada to 2.6.9 (Node.js GitHub Bot) #493404c740b1dd8
] - deps: update ada to 2.6.8 (Node.js GitHub Bot) #49340759cf5a760
] - deps: update ada to 2.6.7 (Node.js GitHub Bot) #4934031a4e9781a
] - deps: update ada to 2.6.5 (Node.js GitHub Bot) #493402ca867f2ab
] - deps: update ada to 2.6.3 (Node.js GitHub Bot) #4934021453ae555
] - (SEMVER-MINOR) deps: update uvwasi to 0.0.19 (Node.js GitHub Bot) #499087ca1228be8
] - deps: V8: cherry-pick8ec2651
(Abdirahim Musse) #498623cc41d253c
] - deps: upgrade npm to 10.2.0 (npm team) #5002761b4afb7dd
] - deps: update undici to 5.26.4 (Node.js GitHub Bot) #50274ea28738336
] - doc: add loong64 info into platform list (Shi Pujin) #5008600c12b7a20
] - doc: update release process LTS step (Richard Lau) #50299a9ba29ba10
] - doc: fix release process table of contents (Richard Lau) #502164b5033519e
] - doc: update apistream.compose
(Alex Yang) #50206d4659e2080
] - doc: add ReflectConstruct to known perf issues (Vinicius Lourenço) #50111ffa94612fd
] - doc: fix typo in dgram docs (Peter Johnson) #50211f37b577b14
] - doc: fix H4ad collaborator sort (Vinicius Lourenço) #50218c75264b1f9
] - doc: add H4ad to collaborators (Vinícius Lourenço) #502175025e24ac7
] - doc: update release-stewards with last sec-release (Rafael Gonzaga) #5017963379313d5
] - doc: add command to keep major branch sync (Rafael Gonzaga) #5010285de4b8254
] - doc: add loong64 to list of architectures (Shi Pujin) #50172ff8e1b860e
] - doc: update security release process (Michael Dawson) #5016633470d965c
] - doc: improve ccache explanation (Chengzhong Wu) #501337b97c44e2a
] - doc: move danielleadams to TSC non-voting member (Danielle Adams) #501423d03ca9f31
] - doc: fix description offs.readdir
recursive
option (RamdohokarAngha) #48902aab045ec4b
] - doc: mention files read before env setup (Rafael Gonzaga) #5007226a7608a24
] - doc: move permission model to Active Development (Rafael Gonzaga) #50068d7bbf7f2c4
] - doc: add command to get patch minors and majors (Rafael Gonzaga) #500679830165e34
] - doc: use precise promise terminology in fs (Benjamin Gruenbaum) #50029585cbb211d
] - doc: use precise terminology in test runner (Benjamin Gruenbaum) #500282862f07124
] - doc: clarify explaination text on how to run the example (Anshul Sinha) #39020fe47c8ad91
] - doc: reserve 119 for Electron 28 (David Sanders) #5002036ecd2c588
] - doc: update Collaborator pronouns (Tierney Cyren) #50005315d82a73e
] - doc: update link to Abstract Modules Records spec (Rich Trott) #49961f63a92bb6c
] - doc: updated building docs for windows (Claudio W) #49767ad17126501
] - doc: update CHANGELOG_V20 about vm fixes (Joyee Cheung) #4995124458e2ac3
] - doc: document dangerous symlink behavior (Tobias Nießen) #49154337a676d1f
] - doc: add main ARIA landmark to API docs (Rich Trott) #49882959ef7ac6b
] - doc: add navigation ARIA landmark to doc ToC (Rich Trott) #49882a60fbf2ab3
] - doc: mark Node.js 19 as End-of-Life (Richard Lau) #48283c255575699
] - errors: improve performance of determine-specific-type (Aras Abbasi) #49696e66991e6b2
] - errors: improve formatList in errors.js (Aras Abbasi) #49642c71e548b65
] - errors: improve performance of instantiation (Aras Abbasi) #496543b867e4256
] - esm: do not give wrong hints when detecting file format (Antoine du Hamel) #50314a589a1a905
] - (SEMVER-MINOR) esm: detect ESM syntax in ambiguous JavaScript (Geoffrey Booth) #50096c64490e9aa
] - esm: improve check for ESM syntax (Geoffrey Booth) #50127ee65e44c31
] - esm: use import attributes instead of import assertions (Antoine du Hamel) #501404de838fdeb
] - esm: bypass CommonJS loader under --default-type (Geoffrey Booth) #4998627e02b633d
] - esm: unflag extensionless javascript and wasm in module scope (Geoffrey Booth) #499741e762ddf63
] - esm: improvegetFormatOfExtensionlessFile
speed (Yagiz Nizipli) #49965112cc7f9f2
] - esm: improve JSDoc annotation of internal functions (Antoine du Hamel) #49959c48cd84188
] - esm: fix cache collision on JSON files using file: URL (Antoine du Hamel) #49887dc80ccef25
] - esm: --experimental-default-type flag to flip module defaults (Geoffrey Booth) #4986901039795a2
] - esm: require braces for modules code (Geoffrey Booth) #49657e49ebf8f9a
] - fs: improve error performance forreadSync
(Jungku Lee) #50033eb33f70260
] - fs: improve error performance forfsyncSync
(Jungku Lee) #498808d0edc6399
] - fs: improve error performance formkdirSync
(CanadaHonk) #4984736df27509e
] - fs: improve error performance ofrealpathSync
(Yagiz Nizipli) #499624242cb7d7f
] - fs: improve error performance oflchownSync
(Yagiz Nizipli) #4996289e7878e44
] - fs: improve error performance ofsymlinkSync
(Yagiz Nizipli) #49962af6a0611fe
] - fs: improve error performance ofreadlinkSync
(Yagiz Nizipli) #4996212cda31c52
] - fs: improve error performance ofmkdtempSync
(Yagiz Nizipli) #499629dba771acb
] - fs: improve error performance oflinkSync
(Yagiz Nizipli) #49962ea7902de13
] - fs: improve error performance ofchownSync
(Yagiz Nizipli) #4996239f31a38cf
] - fs: improve error performance ofrenameSync
(Yagiz Nizipli) #4996235164fa466
] - (SEMVER-MINOR) fs: add flush option to appendFile() functions (Colin Ihrig) #5009506aa4b9fe9
] - fs: improve error performance ofreaddirSync
(Yagiz Nizipli) #50131b5aecebcd6
] - fs: fixunlinkSync
typings (Yagiz Nizipli) #498596ddea07225
] - fs: improve error perf of syncchmod
+fchmod
(CanadaHonk) #49859841367078e
] - fs: improve error perf of sync*times
(CanadaHonk) #49864eb52f73e3e
] - fs: improve error performance of writevSync (IlyasShabi) #50038d1aa62f1f5
] - fs: add flush option to createWriteStream() (Colin Ihrig) #5009357eb06edff
] - fs: improve error performance forftruncateSync
(André Alves) #5003222e3eb659a
] - fs: add flush option to writeFile() functions (Colin Ihrig) #50009d7132d9214
] - fs: improve error performance forfdatasyncSync
(Jungku Lee) #49898bc2c0410d3
] - fs: throw errors from sync branches instead of separate implementations (Joyee Cheung) #49913f46bcf1749
] - http: refactor to make servername option normalization testable (Rongjian Zhang) #387331bfcf817af
] - http2: allow streams to complete gracefully after goaway (Michael Lumish) #502025c66ec9e66
] - inspector: simplify dispatchProtocolMessage (Daniel Lemire) #49780251ae1dd72
] - lib: improve performance of validateStringArray and validateBooleanArray (Aras Abbasi) #49756d9c791a508
] - lib: fix compileFunction throws range error for negative numbers (Jithil P Ponnan) #4985524cbc550c2
] - lib: reduce overhead of validateObject (Vinicius Lourenço) #49928b80e9497f3
] - lib: make fetch sync and return a Promise (Matthew Aitken) #49936d9eda6761b
] - lib: fixprimordials
typings (Sam Verschueren) #498953e0d47c1f4
] - lib: update params in jsdoc forHTTPRequestOptions
(Jungku Lee) #49872a01050dec4
] - (SEMVER-MINOR) lib: add WebSocket client (Matthew Aitken) #498305bca8feed2
] - lib,test: do not hardcode Buffer.kMaxLength (Michaël Zasso) #49876e8ebed7a24
] - meta: move Trott to TSC regular member (Rich Trott) #5029727e957cea8
] - meta: ping TSC for offboarding (Tobias Nießen) #50147fab39062d5
] - meta: bump actions/upload-artifact from 3.1.2 to 3.1.3 (dependabot[bot]) #5000046ec82496c
] - meta: bump actions/cache from 3.3.1 to 3.3.2 (dependabot[bot]) #50003a634fb431e
] - meta: bump github/codeql-action from 2.21.5 to 2.21.9 (dependabot[bot]) #50002c221f72911
] - meta: bump actions/checkout from 3.6.0 to 4.1.0 (dependabot[bot]) #50001d356e5e395
] - meta: update website team with new name (Rich Trott) #498832ff4e71452
] - module: move helpers out of cjs loader (Geoffrey Booth) #49912142ac3f82d
] - module, esm: jsdoc for modules files (Geoffrey Booth) #49523e2f0ef2a60
] - node-api: update headers for better wasm support (Toyo Li) #49037db2a07fcd6
] - node-api: run finalizers directly from GC (Vladimir Morozov) #42651c25716be8b
] - os: cache homedir, remove getCheckedFunction (Aras Abbasi) #50037e8f024b4db
] - perf_hooks: reduce overhead of new user timings (Vinicius Lourenço) #49914a517be0a5a
] - perf_hooks: reducing overhead of performance observer entry list (Vinicius Lourenço) #5000842e49ec381
] - perf_hooks: reduce overhead of new resource timings (Vinicius Lourenço) #49837c99e51ed1b
] - src: generate default snapshot with --predictable (Joyee Cheung) #4874947164e238f
] - src: fix TLSWrap lifetime bug in ALPN callback (Ben Noordhuis) #49635e1df69e73e
] - src: set port in node_options to uint16_t (Yagiz Nizipli) #491511eb2af29b4
] - src: name scoped lock (Mohammed Keyvanzadeh) #500105131fde655
] - src: use exact return value foruv_os_getenv
(Yagiz Nizipli) #49149ba169be5ca
] - src: move const variable innode_file.h
tonode_file.cc
(Jungku Lee) #496885a2351d3ab
] - src: remove unused variable (Michaël Zasso) #49665f2f993a32f
] - stream: simplify prefinish (Robert Nagy) #502046d7274e3ca
] - stream: reduce scope of readable bitmap details (Robert Nagy) #49963ffdc357167
] - (SEMVER-MINOR) stream: allow pass stream class tostream.compose
(Alex Yang) #501874861ad6431
] - stream: call helper function from push and unshift (Raz Luvaton) #50173e60b3ab31b
] - stream: use private symbol for bitmap state (Robert Nagy) #49993ecbfb23f6b
] - stream: lazy allocate back pressure buffer (Robert Nagy) #5001388c739bef4
] - stream: avoid unnecessary drain for sync stream (Robert Nagy) #500144b27087b30
] - stream: optimize Writable (Robert Nagy) #50012def55f80a1
] - stream: avoid tick in writable hot path (Robert Nagy) #4996635ec93115d
] - stream: writable state bitmap (Robert Nagy) #498996e0f0fafe4
] - test: use ppc and ppc64 to skip SEA tests on PowerPC (Joyee Cheung) #50828a528bbceca
] - test: mark SEA tests as flaky on PowerPC (Joyee Cheung) #507504e34f9a26e
] - test: relax version check with shared OpenSSL (Luigi Pinca) #5050541ca1132eb
] - test: fix crypto-dh error message for OpenSSL 3.x (Kerem Kat) #50395a6a05e8a88
] - test: fix testsuite against zlib version 1.3 (Dominique Leuenberger) #503648dd895e574
] - test: replace forEach with for..of in test-process-env (Niya Shiyas) #4982581886c66d1
] - test: replace forEach with for..of in test-http-url (Niya Shiyas) #498407d8a18b257
] - test: improve watch mode test (Moshe Atlow) #50319baa04b79ca
] - test: settest-watch-mode-inspect
as flaky (Yagiz Nizipli) #502593d9130bc2e
] - Revert "test: settest-esm-loader-resolve-type
as flaky" (Antoine du Hamel) #5031572626f9a35
] - test: replace forEach with for..of in test-http-perf_hooks.js (Niya Shiyas) #49818379a7255e8
] - test: replace forEach with for..of in test-net-isipv4.js (Niya Shiyas) #49822b55fcd75da
] - test: deflaketest-esm-loader-resolve-type
(Antoine du Hamel) #502730134af3eeb
] - test: replace forEach with for..of in test-http2-server (Niya Shiyas) #498198c15281d06
] - test: replace forEach with for..of in test-http2-client-destroy.js (Niya Shiyas) #49820c37a75a898
] - test: updateurl
web platform tests (Yagiz Nizipli) #50264ab5985d0e9
] - test: settest-emit-after-on-destroyed
as flaky (Yagiz Nizipli) #5024650181a19b8
] - test: set inspector async stack test as flaky (Yagiz Nizipli) #50244b9e0fed995
] - test: set test-worker-nearheaplimit-deadlock flaky (StefanStojanovic) #502772cfc4007d1
] - test: settest-cli-node-options
as flaky (Yagiz Nizipli) #50296788714b28f
] - test: reduce the number of requests and parsers (Luigi Pinca) #502400dce19c8f6
] - test: set crypto-timing test as flaky (Yagiz Nizipli) #502325d4b5ff1b8
] - test: settest-structuredclone-*
as flaky (Yagiz Nizipli) #502615c56081d67
] - test: deflaketest-loaders-workers-spawned
(Antoine du Hamel) #502513441e1982d
] - test: improve code coverage of diagnostics_channel (Jithil P Ponnan) #50053696ba93329
] - test: settest-esm-loader-resolve-type
as flaky (Yagiz Nizipli) #502268b260c5d6b
] - test: set inspector async hook test as flaky (Yagiz Nizipli) #50252f3296d25e8
] - test: skip test-benchmark-os.js on IBM i (Abdirahim Musse) #50208fefe17b02e
] - test: set parallel http server test as flaky (Yagiz Nizipli) #50227228c87f329
] - test: set test-worker-nearheaplimit-deadlock flaky (Stefan Stojanovic) #50238c2c2506eab
] - test: settest-runner-watch-mode
as flaky (Yagiz Nizipli) #5022116a07983d4
] - test: set sea snapshot tests as flaky (Yagiz Nizipli) #502237cd406a0b8
] - test: fix defect path traversal tests (Tobias Nießen) #501241cf3f8da32
] - test: replace forEach with for..of in test-net-isipv6.js (Niya Shiyas) #49823214997a99e
] - test: reduce number of repetition in test-heapdump-shadowrealm.js (Chengzhong Wu) #501049d836516e6
] - test: replace forEach with for..of in test-parse-args.mjs (Niya Shiyas) #49824fee8b24603
] - test: replace forEach() in test-net-perf_hooks with for of (Narcisa Codreanu) #498314c58b92ba8
] - test: change forEach to for...of (Tiffany Lastimosa) #4979901b01527d7
] - test: update skip for movedtest-wasm-web-api
(Richard Lau) #49958179e293103
] - Revert "test: mark test-runner-output as flaky" (Luigi Pinca) #49905829eb99afd
] - test: disambiguate AIX and IBM i (Richard Lau) #48056126407d438
] - test: deflake test-perf-hooks.js (Joyee Cheung) #49892393fd5b7c9
] - test: migrate message error tests from Python to JS (Yiyun Lei) #497215dfe4236f8
] - test: fix edge snapshot stack traces (Geoffrey Booth) #49659d164e537bf
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #5003955a03fedae
] - test_runner: add test location for FileTests (Colin Ihrig) #4999910b35cfb6e
] - test_runner: replace spurious if with else (Colin Ihrig) #4994327558c4314
] - test_runner: catch reporter errors (Moshe Atlow) #49646709c6c0cab
] - (SEMVER-MINOR) test_runner, cli: add --test-concurrency flag (Colin Ihrig) #4999664ef108dd9
] - test_runner,test: fix flaky test-runner-cli-concurrency.js (Colin Ihrig) #50108d2def152d9
] - tls: reduce TLS 'close' event listener warnings (Tim Perry) #50136294b650f5c
] - tls: handle cases where the raw socket is destroyed (Luigi Pinca) #4998052b5693949
] - tls: ciphers allow bang syntax (Chemi Atlow) #4971205ee35028b
] - tools: update comment inupdate-uncidi.sh
andacorn_version.h
(Jungku Lee) #5017535b160e6a3
] - tools: refactor checkimports.py (Mohammed Keyvanzadeh) #50011b959d36b77
] - tools: fix comments referencing dep_updaters scripts (Keksonoid) #50165bd5d5331b0
] - tools: remove no-return-await lint rule (翠 / green) #50118b9adf3d66e
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #500834978bdc4ec
] - tools: update eslint to 8.51.0 (Node.js GitHub Bot) #50084e323a367fd
] - tools: remove genv8constants.py (Ben Noordhuis) #500231cc6cbff26
] - tools: update eslint to 8.50.0 (Node.js GitHub Bot) #49989924231be2a
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #49983732b5661ea
] - tools: add navigation ARIA landmark to generated API ToC (Rich Trott) #49882353a14278e
] - tools: update github_reporter to 1.5.3 (Node.js GitHub Bot) #498770aaab45d7c
] - tools: improve macOS notarization process output readability (Ulises Gascón) #50389ad326033e2
] - tools: remove unusedversion
function (Ulises Gascón) #503902f32472544
] - tools: drop support for osx notarization with gon (Ulises Gascón) #502913b1c15aeb0
] - tools: use osx notarytool for future releases (Ulises Gascon) #487010ddb87ede3
] - typings: useSymbol.dispose
andSymbol.asyncDispose
in types (Niklas Mollenhauer) #50123bf5b2115a0
] - util: remove internal mime fns from benchmarks (Aras Abbasi) #50201ac02cdb0ad
] - util: lazy parse mime parameters (Aras Abbasi) #498899853fd96df
] - vm: reject in importModuleDynamically without --experimental-vm-modules (Joyee Cheung) #501373697c19c80
] - vm: use internal versions of compileFunction and Script (Joyee Cheung) #5013756bbc30a44
] - vm: unify host-defined option generation in vm.compileFunction (Joyee Cheung) #5013757efd5292c
] - (SEMVER-MINOR) vm: use import attributes instead of import assertions (Antoine du Hamel) #5014117581c2716
] - vm: use default HDO when importModuleDynamically is not set (Joyee Cheung) #4995065e18aa8e7
] - wasi: address coverity warning (Michael Dawson) #498665b695d6a8d
] - wasi: fix up wasi tests for ibmi (Michael Dawson) #49953b86e1f5cbd
] - (SEMVER-MINOR) wasi: updates required for latest uvwasi version (Michael Dawson) #49908b4d149b4d6
] - worker: handle detachedMessagePort
from a different context (Juan José) #49150f564ed4e05
] - zlib: fix discovery of cpu-features.h for android (MatteoBax) #49828v20.9.0
: 2023-10-24, Version 20.9.0 'Iron' (LTS), @richardlauCompare Source
Notable Changes
This release marks the transition of Node.js 20.x into Long Term Support (LTS)
with the codename 'Iron'. The 20.x release line now moves into "Active LTS"
and will remain so until October 2024. After that time, it will move into
"Maintenance" until end of life in April 2026.
Known issue
Collecting code coverage via the
NODE_V8_COVERAGE
environment variable maylead to a hang. This is not thought to be a regression in Node.js 20 (some
reports are on Node.js 18). For more information, including some potential
workarounds, see issue #49344.
v20.8.1
: 2023-10-13, Version 20.8.1 (Current), @RafaelGSSCompare Source
This is a security release.
Notable Changes
The following CVEs are fixed in this release:
nghttp2
Security Release (High)undici
Security Release (High)More detailed information on each of the vulnerabilities can be found in October 2023 Security Releases blog post.
Commits
c86883e844
] - deps: update nghttp2 to 1.57.0 (James M Snell) #501212860631359
] - deps: update undici to v5.26.3 (Matteo Collina) #50153cd37838bf8
] - lib: let deps requirenode
prefixed modules (Matthew Aitken) #50047f5c90b2951
] - module: fix code injection through export names (Tobias Nießen) nodejs-private/node-private#461fa5dae1944
] - permission: fix Uint8Array path traversal (Tobias Nießen) nodejs-private/node-private#456cd35275111
] - permission: improve path traversal protection (Tobias Nießen) nodejs-private/node-private#456a4cb7fc7c0
] - policy: use tamper-proof integrity check function (Tobias Nießen) nodejs-private/node-private#462v20.8.0
: 2023-09-28, Version 20.8.0 (Current), @ruyadornoCompare Source
Notable Changes
Stream performance improvements
Performance improvements to writable and readable streams, improving the creation and destruction by ±15% and reducing the memory overhead each stream takes in Node.js
Contributed by Benjamin Gruenbaum in #49745 and Raz Luvaton in #49834.
Performance improvements for readable webstream, improving readable stream async iterator consumption by ±140% and improving readable stream
pipeTo
consumption by ±60%Contributed by Raz Luvaton in #49662 and #49690.
Rework of memory management in
vm
APIs with theimportModuleDynamically
optionThis rework addressed a series of long-standing memory leaks and use-after-free issues in the following APIs that support
importModuleDynamically
:vm.Script
vm.compileFunction
vm.SyntheticModule
vm.SourceTextModule
This should enable affected users (in particular Jest users) to upgrade from older versions of Node.js.
Contributed by Joyee Cheung in #48510.
Other notable changes
32d4d29d02
] - deps: add v8::Object::SetInternalFieldForNodeCore() (Joyee Cheung) #498740e686d096b
] - doc: deprecatefs.F_OK
,fs.R_OK
,fs.W_OK
,fs.X_OK
(Livia Medeiros) #49683a5dd057540
] - doc: deprecateutil.toUSVString
(Yagiz Nizipli) #497257b6a73172f
] - doc: deprecate callingpromisify
on a function that returns a promise (Antoine du Hamel) #496471beefd5f16
] - esm: set all hooks as release candidate (Geoffrey Booth) #49597b0ce78a75b
] - module: fix the leak in SourceTextModule and ContextifySript (Joyee Cheung) #485104e578f8ab1
] - module: fix leak of vm.SyntheticModule (Joyee Cheung) #4851069e4218772
] - module: use symbol in WeakMap to manage host defined options (Joyee Cheung) #4851014ece0aa76
] - (SEMVER-MINOR) src: allow embedders to override NODE_MODULE_VERSION (Cheng Zhao) #492799fd67fbff0
] - stream: use bitmap in writable state (Raz Luvaton) #498340ccd4638ac
] - stream: use bitmap in readable state (Benjamin Gruenbaum) #497457c5e322346
] - stream: improve webstream readable async iterator performance (Raz Luvaton) #4966280b342cc38
] - (SEMVER-MINOR) test_runner: accepttestOnly
inrun
(Moshe Atlow) #4975317a05b141d
] - (SEMVER-MINOR) test_runner: add junit reporter (Moshe Atlow) #49614Commits
4879e3fbbe
] - benchmark: add a benchmark for read() of ReadableStreams (Debadree Chatterjee) #4962278a6c73157
] - benchmark: shorten pipe-to by reducing number of chunks (Raz Luvaton) #495774126a6e4c9
] - benchmark: fix webstream pipe-to (Raz Luvaton) #495526010a91825
] - bootstrap: do not expand argv1 for snapshots (Joyee Cheung) #495068480280c4b
] - bootstrap: only use the isolate snapshot when compiling code cache (Joyee Cheung) #49288b30754aa87
] - build: run embedtest using node executable (Joyee Cheung) #4950631db0b8e2b
] - build: add --write-snapshot-as-array-literals to configure.py (Joyee Cheung) #493126fcb51d3ba
] - debugger: useinternal/url.URL
instead ofurl.parse
(LiviaMedeiros) #4959032d4d29d02
] - deps: add v8::Object::SetInternalFieldForNodeCore() (Joyee Cheung) #49874ad37cadc3f
] - deps: V8: backportde9a5de
(Joyee Cheung) #49703cdd1c66222
] - deps: V8: cherry-pickb33bf2d
(Joyee Cheung) #4970361d18d6473
] - deps: update undici to 5.24.0 (Node.js GitHub Bot) #49559b8a4fef393
] - deps: remove pthread-fixes.c from uv.gyp (Ben Noordhuis) #497446c86c0683c
] - deps: update googletest tod1467f5
(Node.js GitHub Bot) #496761424404742
] - deps: update nghttp2 to 1.56.0 (Node.js GitHub Bot) #4958215b54ff95d
] - deps: update googletest to8a6feab
(Node.js GitHub Bot) #494632ceab877c2
] - deps: update corepack to 0.20.0 (Node.js GitHub Bot) #494644814872ddc
] - doc: fixDEP0176
number (LiviaMedeiros) #498580e686d096b
] - doc: deprecatefs.F_OK
,fs.R_OK
,fs.W_OK
,fs.X_OK
(Livia Medeiros) #496835877c403a2
] - doc: add mertcanaltin as a triager (mert.altin) #49826864fe56432
] - doc: addgit node backport
way to the backporting guide (Raz Luvaton) #49760e0f93492d5
] - doc: improve documentation about ICU data fallback (Joyee Cheung) #49666a5dd057540
] - doc: deprecateutil.toUSVString
(Yagiz Nizipli) #49725774c1cfd52
] - doc: add missing function call to example forutil.promisify
(Jungku Lee) #49719fe78a34845
] - doc: update output of example inmimeParams.set()
(Deokjin Kim) #497184175ea33bd
] - doc: add missedinspect
with numericSeparator to example (Deokjin Kim) #497173a88571972
] - doc: fix history comments (Antoine du Hamel) #49701db4ab1ccbb
] - doc: add missing history info forimport.meta.resolve
(Antoine du Hamel) #49700a304d1ee19
] - doc: link maintaining deps to pull-request.md (Marco Ippolito) #4971635294486ad
] - doc: fix print results inevents
(Jungku Lee) #495489f0b0e15c9
] - doc: alphabetize cli.md sections (Geoffrey Booth) #496687b6a73172f
] - doc: deprecate callingpromisify
on a function that returns a promise (Antoine du Hamel) #49647d316b32fff
] - doc: updatecorepack.md
to account for 0.20.0 changes (Antoine du Hamel) #49486c2eac7dc7c
] - doc: remove@anonrig
from performance initiative (Yagiz Nizipli) #496413d839fbf87
] - doc: mark Node.js 16 as End-of-Life (Richard Lau) #4965153fb5aead8
] - doc: save user preference for JS flavor (Vidar Eldøy) #49526e3594d5658
] - doc: update documentation for node:process warning (Shubham Pandey) #495178e033c3963
] - doc: rename possibly confusing variable and CSS class (Antoine du Hamel) #49536d0e0eb4bb3
] - doc: update outdated history info (Antoine du Hamel) #49530b4724e2e3a
] - doc: close a parenthesis (Sébastien Règne) #495250471c5798e
] - doc: cast GetInternalField() return type to v8::Value in addons.md (Joyee Cheung) #494399f8bea3dda
] - doc: fix documentation for input option in child_process (Ariel Weiss) #49481f3fea92f8a
] - doc: fix missing imports intest.run
code examples (Oshri Asulin) #49489e426b77b67
] - doc: fix documentation for fs.createWriteStream highWaterMark option (Mert Can Altın) #494562b119108ff
] - doc: updated releasers instructions for node.js website (Claudio W) #49427b9d4a80183
] - doc: editimport.meta.resolve
documentation (Antoine du Hamel) #49247f67433f666
] - doc,tools: switch to@node-core/utils
(Michaël Zasso) #49851142e256fc5
] - errors: improve classRegExp in errors.js (Uzlopak) #496436377f1bce2
] - errors: usedetermineSpecificType
in more error messages (Antoine du Hamel) #4958005f0fcb4c4
] - esm: identify parent importing a url with invalid host (Jacob Smith) #497368a6f5fb8f3
] - esm: fix return type ofimport.meta.resolve
(Antoine du Hamel) #49698a6140f1b8c
] - esm: update loaders warning (Geoffrey Booth) #49633521a9327e0
] - esm: fix support forURL
instances inregister
(Antoine du Hamel) #496553a9ea0925a
] - esm: clarify ERR_REQUIRE_ESM errors (Daniel Compton) #495211beefd5f16
] - esm: set all hooks as release candidate (Geoffrey Booth) #49597be48267888
] - esm: remove return value forModule.register
(Antoine du Hamel) #49529e74a075124
] - esm: refactor test-esm-loader-resolve-type (Geoffrey Booth) #4949317823b3533
] - esm: refactor test-esm-named-exports (Geoffrey Booth) #49493f34bd15ac1
] - esm: refactor mocking test (Geoffrey Booth) #49465ec323bbd99
] - fs: replaceSetMethodNoSideEffect
in node_file (CanadaHonk) #498576acf800123
] - fs: improve error performance forunlinkSync
(CanadaHonk) #4985631702c9403
] - fs: improvereadFileSync
with file descriptors (Yagiz Nizipli) #49691835f9fe7b9
] - fs: fix file descriptor validator (Yagiz Nizipli) #49752b618fe262f
] - fs: improve error performance ofopendirSync
(Yagiz Nizipli) #49705938471ef55
] - fs: improve error performance of sync methods (Yagiz Nizipli) #49593db3fc6d087
] - fs: fix readdir and opendir recursive with unknown file types (William Marlow) #496030f020ed22d
] - gyp: put cctest filenames in variables (Cheng Zhao) #491780ce1e94d12
] - lib: update encoding sets inWHATWG API
(Jungku Lee) #49610efd6815a7a
] - lib: fixinternalBinding
typings (Yagiz Nizipli) #497421287d5b74e
] - lib: allow byob reader for 'blob.stream()' (Debadree Chatterjee) #49713bbc710522d
] - lib: reset the cwd cache before execution (Maël Nison) #49684f62d649e4d
] - lib: use internalfileURLToPath
(Deokjin Kim) #49558e515046941
] - lib: use internalpathToFileURL
(Livia Medeiros) #4955300608e8070
] - lib: check SharedArrayBuffer availability in freeze_intrinsics.js (Milan Burda) #494828bfbe7079c
] - meta: fix linter error (Antoine du Hamel) #4975558f7a9e096
] - meta: add primordials strategic initiative (Benjamin Gruenbaum) #497065366027756
] - meta: bump github/codeql-action from 2.21.2 to 2.21.5 (dependabot[bot]) #49438fe26b74082
] - meta: bump rtCamp/action-slack-notify from 2.2.0 to 2.2.1 (dependabot[bot]) #49437b0ce78a75b
] - module: fix the leak in SourceTextModule and ContextifySript (Joyee Cheung) #485104e578f8ab1
] - module: fix leak of vm.SyntheticModule (Joyee Cheung) #4851069e4218772
] - module: use symbol in WeakMap to manage host defined options (Joyee Cheung) #4851096874e8fbc
] - node-api: enable uncaught exceptions policy by default (Chengzhong Wu) #49313b931aeadfd
] - perf_hooks: reduce overhead of new performance_entries (Vinicius Lourenço) #49803ad043bac31
] - process: add custom dir support for heapsnapshot-signal (Jithil P Ponnan) #478548a7c10194c
] - repl: don't accumulate excess indentation in .load (Daniel X Moore) #4946110a2adeed5
] - src: improve error message when ICU data cannot be initialized (Joyee Cheung) #49666ce37688bac
] - src: remove unnecessary todo (Rafael Gonzaga) #49227f611583b71
] - src: use SNAPSHOT_SERDES to log snapshot ser/deserialization (Joyee Cheung) #49637a597cb8457
] - src: port Pipe to uv_pipe_bind2, uv_pipe_connect2 (Geoff Goodman) #49667fb21062338
] - src: set --rehash-snapshot explicitly (Joyee Cheung) #4955614ece0aa76
] - (SEMVER-MINOR) src: allow embedders to override NODE_MODULE_VERSION (Cheng Zhao) #492794b5e23c71b
] - src: set ModuleWrap internal fields only once (Joyee Cheung) #493912d3f5c7cab
] - src: fix fs_type_to_name default value (Mustafa Ateş Uzun) #49239cfbcb1059c
] - src: fix comment on StreamResource (rogertyang) #4919339fb83ad16
] - src: do not rely on the internal field being default to undefined (Joyee Cheung) #494139fd67fbff0
] - stream: use bitmap in writable state (Raz Luvaton) #498340ccd4638ac
] - stream: use bitmap in readable state (Benjamin Gruenbaum) #49745b29d927010
] - stream: improve readable webstreampipeTo
(Raz Luvaton) #496907c5e322346
] - stream: improve webstream readable async iterator performance (Raz Luvaton) #49662be211ef818
] - test: deflake test-vm-contextified-script-leak (Joyee Cheung) #49710355f10dab2
] - test: use checkIfCollectable in vm leak tests (Joyee Cheung) #4967117cfc531aa
] - test: add checkIfCollectable to test/common/gc.js (Joyee Cheung) #49671e49a573752
] - test: add os setPriority, getPriority test coverage (Wael) #387715f02711522
] - test: deflake test-runner-output (Moshe Atlow) #49878cd9754d6a7
] - test: mark test-runner-output as flaky (Joyee Cheung) #498545ad00424dd
] - test: use mustSucceed instead of mustCall (SiddharthDevulapalli) #497883db9b40081
] - test: refactor test-readline-async-iterators into a benchmark (Shubham Pandey) #492372cc5ad7859
] - Revert "test: mark test-http-regr-gh-2928 as flaky" (Luigi Pinca) #49708e5185b053c
] - test: usefs.constants
forfs.access
constants (Livia Medeiros) #49685b9e5b43462
] - test: deflake test-http-regr-gh-2928 (Luigi Pinca) #495741fffda504e
] - test: fix argument computation in embedtest (Joyee Cheung) #495066e56f2db52
] - test: skip test-child-process-stdio-reuse-readable-stdio on Windows (Joyee Cheung) #49621ab3afb330d
] - test: mark test-runner-watch-mode as flaky (Joyee Cheung) #49627185d9b50db
] - test: deflake test-tls-socket-close (Luigi Pinca) #49575c70c74a9e6
] - test: show more info on failure in test-cli-syntax-require.js (Joyee Cheung) #49561ed7c6d1114
] - test: mark test-http-regr-gh-2928 as flaky (Joyee Cheung) #495653599eebab9
] - test: use spawnSyncAndExitWithoutError in sea tests (Joyee Cheung) #49543f79b153e89
] - test: use spawnSyncAndExitWithoutError in test/common/sea.js (Joyee Cheung) #49543c079c73769
] - test: use setImmediate() in test-heapdump-shadowrealm.js (Joyee Cheung) #49573667a92493c
] - test: skip test-child-process-pipe-dataflow.js on Windows (Joyee Cheung) #4956391af0a9a3c
] - Revert "test: ignore the copied entry_point.c" (Chengzhong Wu) #49515567afc71b8
] - test: avoid copying test source files (Chengzhong Wu) #49515ced25a976d
] - test: increase coverage ofModule.register
andinitialize
hook (Antoine du Hamel) #49532be02fbdb8a
] - test: isolateglobalPreload
tests (Geoffrey Booth) #49545f214428845
] - test: split test-crypto-dh to avoid timeout on slow machines in the CI (Joyee Cheung) #494923987094569
] - test: maketest-dotenv-node-options
locale-independent (Livia Medeiros) #4947034c1741792
] - test: add test for urlstrings usage innode:fs
(Livia Medeiros) #49471c3c6c4f007
] - test: make test-worker-prof more robust (Joyee Cheung) #49274843df1a4da
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #4971480b342cc38
] - (SEMVER-MINOR) test_runner: accepttestOnly
inrun
(Moshe Atlow) #4975376865515b9
] - test_runner: fix test runner watch mode when no positional arguments (Moshe Atlow) #4957817a05b141d
] - (SEMVER-MINOR) test_runner: add junit reporter (Moshe Atlow) #496145672e38457
] - test_runner: add jsdocs to mock.js (Caio Borghi) #49555b4d42a8f2b
] - test_runner: fix invalid timer call (Erick Wendel) #49477f755e6786b
] - test_runner: add jsdocs to MockTimers (Erick Wendel) #49476e7285d4bf0
] - test_runner: fix typescript coverage (Moshe Atlow) #4940607a2e29bf3
] - tools: support updating @reporters/github manually (Moshe Atlow) #498715ac6722031
] - tools: skip ruff on tools/node_modules (Moshe Atlow) #49838462228bd24
] - tools: fix uvwasi updater (Michael Dawson) #49682ff81bfb958
] - tools: update lint-md-dependencies to rollup@3.29.2 (Node.js GitHub Bot) #4967908ffc6344c
] - tools: restrict internal code from using publicurl
module (LiviaMedeiros) #49590728ebf6c97
] - tools: update eslint to 8.49.0 (Node.js GitHub Bot) #4958620d038ffb1
] - tools: update lint-md-dependencies to rollup@3.29.0 unified@11.0.3 (Node.js GitHub Bot) #49584210c15bd12
] - tools: allow passing absolute path of config.gypi in js2c (Cheng Zhao) #49162e341efe173
] - tools: configure never-stale label correctly (Michaël Zasso) #49498a8a8a498ce
] - tools: update doc dependencies (Node.js GitHub Bot) #49467ac06607f9e
] - typings: fix missing property inExportedHooks
(Antoine du Hamel) #49567097b59807a
] - url: improve invalid url performance (Yagiz Nizipli) #496927c2060cfac
] - util: addgetCwdSafe
internal util fn (João Lenon) #48434c23c60f545
] - zlib: disable CRC32 SIMD optimization (Luigi Pinca) #49511v20.7.0
: 2023-09-18, Version 20.7.0 (Current), @UlisesGasconCompare Source
Notable Changes
022f1b70c1
] - src: support multiple--env-file
declarations (Yagiz Nizipli) #495424a1d1cad61
] - crypto: update root certificates to NSS 3.93 (Node.js GitHub Bot) #49341a1a65f593c
] - deps: upgrade npm to 10.1.0 (npm team) #495706c2480cad9
] - (SEMVER-MINOR) deps: upgrade npm to 10.0.0 (npm team) #49423bef900e56b
] - doc: move and rename loaders section (Geoffrey Booth) #49261db4ce8a593
] - doc: add release key for Ulises Gascon (Ulises Gascón) #4919611c85ffa98
] - (SEMVER-MINOR) lib: add api to detect whether source-maps are enabled (翠 / green) #46391ec51e25ed7
] - src,permission: add multiple allow-fs-* flags (Carlos Espa) #49047efdc95fbc0
] - (SEMVER-MINOR) test_runner: expose location of tests (Colin Ihrig) #48975Commits
e84515594e
] - benchmark: usetmpdir.resolve()
(Livia Medeiros) #49137f37444e896
] - bootstrap: build code cache from deserialized isolate (Joyee Cheung) #49099af6dc1754d
] - bootstrap: do not generate code cache in an unfinalized isolate (Joyee Cheung) #49108cade5716df
] - build: add symlink tocompile_commands.json
file if needed (Juan José) #4926034a2590b05
] - build: expand when we run internet tests (Michael Dawson) #49218f637fd46ab
] - build: fix typolibray
->library
(configure.py) (michalbiesek) #49106ef3d8dd493
] - crypto: remove webcrypto EdDSA key checks and properties (Filip Skokan) #494084a1d1cad61
] - crypto: update root certificates to NSS 3.93 (Node.js GitHub Bot) #493417eb10a38ea
] - crypto: remove getDefaultEncoding() (Tobias Nießen) #49170772496c030
] - crypto: remove default encoding from DiffieHellman (Tobias Nießen) #49169c795083232
] - crypto: remove default encoding from Hash/Hmac (Tobias Nießen) #4916708197aa010
] - crypto: remove default encoding from sign/verify (Tobias Nießen) #49145a1a65f593c
] - deps: upgrade npm to 10.1.0 (npm team) #495706c2480cad9
] - (SEMVER-MINOR) deps: upgrade npm to 10.0.0 (npm team) #4942384195d9584
] - deps: add missing thread-common.c in uv.gyp (Santiago Gimeno) #494105b70b68b3d
] - deps: V8: cherry-pickeadaef5
(Adam Majer) #49401fe34d632e8
] - deps: update zlib to 1.2.13.1-motley-f5fd0ad (Node.js GitHub Bot) #49252db4ce8a593
] - doc: add release key for Ulises Gascon (Ulises Gascón) #49196e5f3a694cf
] - doc: fix node-api call example (Chengzhong Wu) #49395021345a724
] - doc: add news issue for Diagnostics WG (Michael Dawson) #49306f82347266b
] - doc: clarify policy expectations (Rafael Gonzaga) #4894773cfd9c895
] - doc: add print results for examples inStringDecoder
(Jungku Lee) #4932663ab591416
] - doc: update outdated reference to NIST SP 800-131A (Tobias Nießen) #49316935dfe2afd
] - doc: usecjs
as block code's type inMockTimers
(Deokjin Kim) #493097c0cd2fb87
] - doc: updateoptions.filter
description forfs.cp
(Shubham Pandey) #49289f72e79ea67
] - doc: add riscv64 to list of architectures (Stewart X Addison) #49284d19c710064
] - doc: avoid "not currently recommended" (Tobias Nießen) #49300ae656101c0
] - doc: update module hooks docs (Geoffrey Booth) #49265fefbdb92f2
] - doc: modify param description for end(),write() inStringDecoder
(Jungku Lee) #4928559e66a1ebe
] - doc: use NODE_API_SUPPORTED_VERSION_MAX in release doc (Cheng Zhao) #49268ac3b88449b
] - doc: fix typo instream.finished
documentation (Antoine du Hamel) #492717428ebf6c3
] - doc: update description forpercent_encode
sets inWHATWG API
(Jungku Lee) #49258bef900e56b
] - doc: move and rename loaders section (Geoffrey Booth) #49261a22e0d9696
] - doc: clarify use of Uint8Array for n-api (Fedor Indutny) #487421704f24cb9
] - doc: add signature formodule.register
(Geoffrey Booth) #492515a363bb01b
] - doc: caveat unavailability ofimport.meta.resolve
in custom loaders (Jacob Smith) #492428101f2b259
] - doc: use same name in the doc as in the code (Hyunjin Kim) #49216edf278d60d
] - doc: add notable-change label mention to PR template (Rafael Gonzaga) #491883df2251a6a
] - doc: add h1 summary to security release process (Rafael Gonzaga) #491129fcd99a744
] - doc: update to semver-minor releases by default (Rafael Gonzaga) #49175777931f499
] - doc: fix wording in napi_async_init (Tobias Nießen) #49180f45c8e10c0
] - doc,test: add known path resolution issue in permission model (Tobias Nießen) #49155a6cfea3f74
] - esm: align sync and async load implementations (Antoine du Hamel) #491529fac310b33
] - fs: add the options param description in openAsBlob() (Yeseul Lee) #4930892772a8175
] - fs: remove redundant code in readableWebStream() (Deokjin Kim) #4929888ba79b083
] - fs: make sure to write entire buffer (Robert Nagy) #4921111c85ffa98
] - (SEMVER-MINOR) lib: add api to detect whether source-maps are enabled (翠 / green) #46391c12711ebfe
] - lib: implement WeakReference on top of JS WeakRef (Joyee Cheung) #490539a0891f88d
] - meta: bump step-security/harden-runner from 2.5.0 to 2.5.1 (dependabot[bot]) #49435ae67f41ef1
] - meta: bump actions/checkout from 3.5.3 to 3.6.0 (dependabot[bot]) #4943671b4411fb2
] - meta: bump actions/setup-node from 3.7.0 to 3.8.1 (dependabot[bot]) #4943483b7d3a395
] - meta: remove modules team from CODEOWNERS (Benjamin Gruenbaum) #4941281ff68c45c
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #49264ab975233cc
] - meta: mention nodejs/tsc when changing GH templates (Rafael Gonzaga) #49189ceaa5494de
] - meta: add test/reporters to codeowners (Chemi Atlow) #49186de0a51b7cf
] - net: improve performance of isIPv4 and isIPv6 (Uzlopak) #495688d0913bf95
] - net: use asserts in JS Socket Stream to catch races in future (Tim Perry) #494002486836a7d
] - net: fix crash due to simultaneous close/shutdown on JS Stream Sockets (Tim Perry) #494007a808340cd
] - node-api: fix compiler warning in node_api.h (Michael Graeb) #4910330f26a99f4
] - permission: ensure to resolve path when calling mkdtemp (RafaelGSS) nodejs-private/node-private#4405051c75a5b
] - policy: fix path to URL conversion (Antoine du Hamel) #49133173aed4757
] - report: fix recent coverity warning (Michael Dawson) #48954d7ff78b442
] - sea: generate code cache with deserialized isolate (Joyee Cheung) #49226022f1b70c1
] - src: support multiple--env-file
declarations (Yagiz Nizipli) #49542154b1c2115
] - src: don't overwrite environment from .env file (Phil Nash) #49424dc4de1c69b
] - src: modify code for empty string (pluris) #49336701c46f967
] - src: remove unused PromiseWrap-related code (Joyee Cheung) #493354a094dc7af
] - src: rename IsAnyByteSource to IsAnyBufferSource (Tobias Nießen) #4934655d6649175
] - src: support snapshot deserialization in RAIIIsolate (Joyee Cheung) #49226dc092864ef
] - src: remove unused functionGetName()
in node_perf (Jungku Lee) #49244f2552a410e
] - src: use ARES_SUCCESS instead of 0 (Jungku Lee) #490484a9ae31519
] - src: add a condition if the argument ofDomainToUnicode
is empty (Jungku Lee) #49097f460362cdf
] - src: remove C++ WeakReference implementation (Joyee Cheung) #490532a35383b3e
] - src: use per-realm GetBindingData() wherever applicable (Joyee Cheung) #49007184bbddcf5
] - src: add per-realm GetBindingData() method (Joyee Cheung) #49007e9946885f9
] - src: serialize both BaseObject slots (Joyee Cheung) #48996ec51e25ed7
] - src,permission: add multiple allow-fs-* flags (Carlos Espa) #490478aac95de4b
] - stream: improve tee perf by reduceReflectConstruct
usages (Raz Luvaton) #495460eea7fd8fb
] - stream: use Buffer.from when constructor is a Buffer (Matthew Aitken) #49250b961d9bd52
] - stream: addhighWaterMark
for the map operator (Raz Luvaton) #49249ca1384166d
] - test: fix warning for comment in embedtest (Jungku Lee) #494162a35782809
] - test: simplify test-crypto-dh-group-setters (Tobias Nießen) #494046740f3c209
] - test: verify dynamic import call with absolute path strings (Chengzhong Wu) #492756ed47bd8fb
] - test: reduce length in crypto keygen tests (Joyee Cheung) #492214faa30c553
] - test: split JWK async elliptic curve keygen tests (Joyee Cheung) #49221e04a2603d8
] - test: split test-crypto-keygen.js (Joyee Cheung) #492210d23c1d4ce
] - test: rename test-crypto-modp1-error (Tobias Nießen) #4934848e41569e2
] - test: migrate message source map tests from Python to JS (Yiyun Lei) #49238a11e64e09c
] - test: fix compiler warning in NodeCryptoEnv (Tobias Nießen) #49206345543938f
] - test: handle EUNATCH (Abdirahim Musse) #48050e391f4b197
] - test: usetmpdir.resolve()
(Livia Medeiros) #49136910378f93f
] - test: reduce flakiness oftest-esm-loader-hooks
(Antoine du Hamel) #492484a85f70462
] - test: add spawnSyncAndExit() and spawnSyncAndExitWithoutError() (Joyee Cheung) #492009610008b79
] - test: make test-perf-hooks more robust and work with workers (Joyee Cheung) #49197dc8fff9a75
] - test: use gcUntil() in test-v8-serialize-leak (Joyee Cheung) #49168ca9f801332
] - test: make WeakReference tests robust (Joyee Cheung) #49053de103a4686
] - test: add test for effect of UV_THREADPOOL_SIZE (Tobias Nießen) #4916547d24f144b
] - test: use expectSyncExit{WithErrors} in snapshot tests (Joyee Cheung) #49020c441f5a097
] - test: add expectSyncExitWithoutError() and expectSyncExit() utils (Joyee Cheung) #490204d184b5251
] - test: remove --no-warnings flag in test_runner fixtures (Raz Luvaton) #4898925e967a90b
] - test: reorder test files fixtures for better understanding (Raz Luvaton) #48787fac56dbcc0
] - test,benchmark: usetmpdir.fileURL()
(Livia Medeiros) #4913836763fa532
] - test_runner: preserve original property descriptor (Erick Wendel) #4943340e9fcdbea
] - test_runner: add support for setImmediate (Erick Wendel) #4939723216f1935
] - test_runner: report covered lines, functions and branches to reporters (Phil Nash) #49320283f2806b1
] - test_runner: expose spec reporter as newable function (Chemi Atlow) #49184546ad5f770
] - test_runner: reland run global after() hook earlier (Colin Ihrig) #49116efdc95fbc0
] - (SEMVER-MINOR) test_runner: expose location of tests (Colin Ihrig) #489754bc0a8fe99
] - test_runner: fix global after not failing the tests (Raz Luvaton) #4891308738b2664
] - test_runner: fix timeout in *Each hook failing further tests (Raz Luvaton) #48925c2f1830f66
] - test_runner: cleanup test timeout abort listener (Raz Luvaton) #4891575333f38b2
] - test_runner: fix global before not called when no global test exists (Raz Luvaton) #48877b28b85adf8
] - tls: remove redundant code in onConnectSecure() (Deokjin Kim) #4945783fc4dccbc
] - tls: refactor to use validateFunction (Deokjin Kim) #494228949cc79dd
] - tls: ensure TLS Sockets are closed if the underlying wrap closes (Tim Perry) #493271df56e6f01
] - tools: update eslint to 8.48.0 (Node.js GitHub Bot) #49343ef50ec5b57
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #493429a8fb4fc34
] - tools: remove v8_dump_build_config action (Cheng Zhao) #4930191b2d4314b
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #49253b51946ebdd
] - tools: fix github reporter appended multiple times (Moshe Atlow) #49199ae40cb1612
] - url: validatepathToFileURL(path)
argument as string (LiviaMedeiros) #49161e787673dcf
] - url: handle unicode hostname if empty (Yagiz Nizipli) #493966ee74be87f
] - vm: store MicrotaskQueue in ContextifyContext directly (Joyee Cheung) #489820179c6dc8f
] - worker: protect against user mutating well-known prototypes (Antoine du Hamel) #49270v20.6.1
: 2023-09-08, Version 20.6.1 (Current), @ruyadorno and @RafaelGSSCompare Source
Commit
8acbe6d8e8
] - esm: fix loading of CJS modules from ESM (Antoine du Hamel) #49500Configuration
📅 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 these updates again.
This PR has been generated by Renovate Bot.
2c67cd440d
toce012db19a
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.