chore(deps): update node.js to v20.18.0 #64
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
renovate-bot
renovate-security
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mCaptcha/pow_sha256-polyfill#64
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/node-20.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.15.1
->20.18.0
Release Notes
nodejs/node (node)
v20.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) #53101Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
chore(deps): update node.js to v20.16.0to chore(deps): update node docker tag to v20.16.0chore(deps): update node docker tag to v20.16.0to chore(deps): update node.js to v20.16.0chore(deps): update node.js to v20.16.0to chore(deps): update node.js to v20.17.0d3e0d610c9
to3a20ba1661
chore(deps): update node.js to v20.17.0to chore(deps): update node.js to v20.18.03a20ba1661
to091e01535c
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.