-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⬆️ Updates node to v22 - autoclosed #1822
Conversation
Thanks for opening an issue! Make sure you've followed CONTRIBUTING.md. |
Hello from PR HelperIs your PR ready for review and processing? Mark the PR ready by including If you still have work to do, even after marking this ready. Put the PR on hold by including |
Thanks for the PR! This section of the codebase is owner by https://github.com/AlexRogalskiy/ - if they write a comment saying "LGTM" then it will be merged. |
5b11940
to
760d8af
Compare
760d8af
to
01617a5
Compare
01617a5
to
a40b928
Compare
a40b928
to
8af5e1f
Compare
8af5e1f
to
0c2d041
Compare
0c2d041
to
268aa19
Compare
268aa19
to
a3a9660
Compare
a3a9660
to
9091259
Compare
9091259
to
3af0357
Compare
3af0357
to
0fafd8a
Compare
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
0fafd8a
to
c8d32ef
Compare
This PR contains the following updates:
14.16.0
->22.8.0
Release Notes
nodejs/node (node)
v22.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:
$ node --experimental-test-coverage --test-coverage-lines=80 --test-coverage-branches=60 example.js
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) #54442v20.17.0
Compare Source
v20.16.0
Compare Source
v20.15.1
Compare Source
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 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
Compare Source
v20.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
Compare Source
v20.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
Compare Source
v20.12.0
Compare Source
v20.11.1
Compare Source
v20.11.0
Compare Source
v20.10.0
Compare Source
v20.9.0
Compare Source
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) [#49662](httpsConfiguration
📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Europe/Moscow, 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 was generated by Mend Renovate. View the repository job log.