Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
20.14.0
->20.15.0
Release Notes
nodejs/node (node)
v20.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 [email protected] (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) #52692Configuration
📅 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 is behind base branch, 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 Mend Renovate. View repository job log here.