This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
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:
18.7.0
->18.8.0
Release Notes
nodejs/node
v18.8.0
Compare Source
Notable changes
bootstrap: implement run-time user-land snapshots via --build-snapshot and --snapshot-blob
This patch introduces
--build-snapshot
and--snapshot-blob
options for creating and using user land snapshots.To generate a snapshot using snapshot.js as an entry point and write the snapshot blob to snapshot.blob:
To restore application state from snapshot.blob, with index.js as the entry point script for the deserialized application:
Users can also use the
v8.startupSnapshot
API to specify an entry point at snapshot building time, thus avoiding the need of an additional entry script at deserialization time:Contributed by Joyee Cheung in #38905
Other notable changes
npm query
command--trace-atomics-wait
(Keyhan Vakil) #44093tlsClientError
(Daeyeon Jeong) #44021Commits
0e20072e32
] - assert: addgetCalls
andreset
to callTracker (Moshe Atlow) #44191126fbbab74
] - assert: add assert.Snapshot (Moshe Atlow) #4409587d7845b4f
] - bootstrap: fixup Error.stackTraceLimit for user-land snapshot (Joyee Cheung) #44203597a5171ee
] - (SEMVER-MINOR) bootstrap: clean up warning setup during serialization (Joyee Cheung) #389053561514ff5
] - (SEMVER-MINOR) bootstrap: implement --snapshot-blob and --build-snapshot (Joyee Cheung) #38905123b2d6795
] - bootstrap: turn on FunctionCodeHandling::kKeep in the snapshot builder (Joyee Cheung) #44104e7d101fbd4
] - bootstrap: support more builtins in the embedded code cache (Joyee Cheung) #440182ae2828040
] - build: enable pointer authentication for branch protection on arm64 (Jeremiah Gowdy) #43200fecec4d3ba
] - build: add workflow to label flaky-test platform (Rafael Gonzaga) #44042c975c4f674
] - build: optimized and fixed building configuration to Android (BuShe) #44016ec1b31e6ad
] - build: allow test-internet on forks if not scheduled (Rich Trott) #44073ea48c5673b
] - build: skip test-internet run on forks (Rich Trott) #440541c0d66e927
] - (SEMVER-MINOR) crypto: allow zero-length IKM in HKDF and in webcrypto PBKDF2 (Filip Skokan) #4420107d90c8a71
] - (SEMVER-MINOR) crypto: allow zero-length secret KeyObject (Filip Skokan) #44201ac2b10e0c7
] - crypto: fix webcrypto deriveBits validations (Filip Skokan) #441734c902be5a5
] - crypto: fix webcrypto EC key namedCurve validation errors (Filip Skokan) #4417281e1ec4f6f
] - crypto: fix webcrypto generateKey() AES key length validation error (Filip Skokan) #44170ad8ef3a56c
] - crypto: fix webcrypto operation errors to be OperationError (Filip Skokan) #44171c270b9a0aa
] - deps: update corepack to 0.13.0 (Node.js GitHub Bot) #44318bce8041d67
] - deps: upgrade npm to 8.18.0 (npm team) #44263a26997263b
] - deps: update corepack to 0.12.3 (Node.js GitHub Bot) #44229b1590bbca2
] - deps: upgrade npm to 8.17.0 (npm team) #44205818271c1c3
] - deps: update undici to 5.8.2 (Node.js GitHub Bot) #44187d09bc5402d
] - deps: update undici to 5.8.1 (Node.js GitHub Bot) #44158a92d90b482
] - deps: update corepack to 0.12.2 (Node.js GitHub Bot) #4415952a516a281
] - deps: V8: cherry-pick9861ce1
(Milad Fa) #44115763b956f07
] - deps: remove unnecessary file (Brian White) #44133194587e767
] - deps: upgrade npm to 8.16.0 (npm team) #44119116dcccc79
] - deps: upgrade base64 todc6a41c
(Brian White) #44032b7aaf3d4ca
] - deps: upgrade npm to 8.15.1 (npm team) #44013a0c57837c4
] - deps: cherry-pick00704f5
from V8 upstream (Keyhan Vakil) #4392119557ad6a4
] - dgram: add dgram send queue info (theanarkh) #44149a93371205b
] - doc: fix optionality of callback arg of checkPrime (Tobias Nießen) #44311d3f3bf602d
] - doc: fix typo (Hana) #442627a567875b0
] - doc: add TypeScript execution requirements (Michael Dawson) #44030e8916fa758
] - doc: add cola119 to collaborators (cola119) #442488c1fe86026
] - doc: fix added version for readable.closed/destroyed (Matthew Peveler) #44033f39a0514d3
] - doc: improved building doc for Android (BuShe) #441664d26cb9bb2
] - doc: add MoLow to collaborators (Moshe Atlow) #442146bff14b6f1
] - doc: update tags in adding-new-napi-api.md (Chengzhong Wu) #44190721639a1d4
] - doc: fix typo in diagnostics_channel (Evan Lucas) #441990fffc24caa
] - doc: add Retry CI in collaborator guide (Livia Medeiros) #44130fb11643e31
] - doc: add performance note to--enable-source-maps
docs (Saurabh Daware) #43817cb7a9e78fd
] - doc: remove unused code in call tracker example (Colin Ihrig) #441278c26daff7c
] - doc: add theanarkh to collaborators (theanarkh) #4413146f8fb8e53
] - doc: clarify tls.tlsSocket.getCipher().version (Adam Majer) #4408602236032f0
] - doc: update repository list in onboarding doc (Rich Trott) #4408958f2739e32
] - doc: add Erick Wendel to collaborators (Erick Wendel) #44088fe83d514b2
] - doc: update collaborator email (Ruy Adorno) #4404476011dd7f7
] - doc: copyedittest.md
(Antoine du Hamel) #440611d6029aa3d
] - doc: add kvakil to triagers (Keyhan Vakil) #439967f7a0eb2f5
] - doc: clarify part of onboarding guide regarding adding to teams (Darshan Sen) #440242ae5d853a7
] - doc: fix code examples incrypto.md
(Antoine du Hamel) #440531b9537b6a5
] - doc: claim ABI version for Electron 21 (Keeley Hammond) #44034d23dfa4dcb
] - doc: remove old reference from crypto/README.md (Tobias Nießen) #44012222ecd6e14
] - doc: add missing env vars to man page (cola119) #43492374b77619b
] - doc: list supported MODP groups explicitly (Tobias Nießen) #4398672a9ecf94f
] - doc: fix typo in packages.md (Dominic Saadi) #440051b328305f0
] - doc: fix typos intest.md
(Antoine du Hamel) #439977af55dbc40
] - doc: add missing test runner option (Moshe Atlow) #43989e8441a2864
] - doc,report: document special filenames (Chengzhong Wu) #44257da7bc5acdf
] - doc,worker: deprecate--trace-atomics-wait
(Keyhan Vakil) #4409337a9d7a754
] - errors: refactor to use optional chaining (SindreXie) #44184a6dccc969f
] - esm: do not bind loader hook functions (Antoine du Hamel) #441225e9c197d85
] - esm: fix loader hooks accepting too many arguments (Jacob Smith) #44109e072c3aa70
] - esm: move package config helpers (Geoffrey Booth) #43967d57178cdfc
] - events: use bitset to save memory (Basit Chonka) #437004ec3f671af
] - fs: add encoding parameter to benchmarks (Yagiz Nizipli) #44278851264ca90
] - http: add max for http keepalive (theanarkh) #44217340ca4d8fe
] - http: fix error message when specifying headerTimeout for createServer (Nick Sia) #44163c340344641
] - http: trace http request / response (theanarkh) #44102a2cd8b316c
] - (SEMVER-MINOR) http: make idle http parser count configurable (theanarkh) #439745dc39a10bd
] - http: reuse socket only when it is drained (ywave620) #439028c2d19b2d6
] - http: do not leak error listeners (Paolo Insogna) #435871a44fbc19e
] - lib: add diagnostics channel and perf hooks detail (Danielle Adams) #439848cfc8b0e7b
] - lib: refactor to avoid prototype pollution (Antoine du Hamel) #4347404007f2f51
] - lib: fix diagnostics channel (theanarkh) #44154c02bbdd921
] - lib: pass env variables to child process on z/OS (alexcfyung) #42255617ea4af1c
] - lib: add missing env vars to --help (cola119) #4349294912bb09c
] - lib: addPromise
methods toavoid-prototype-pollution
lint rule (Antoine du Hamel) #438498977a87504
] - meta: update AUTHORS (Node.js GitHub Bot) #44321f7be92fe86
] - meta: updateweb streams
in label-pr-config (Daeyeon Jeong) #442352c72ded880
] - meta: update AUTHORS (Node.js GitHub Bot) #44231c59dc7a4c1
] - meta: update AUTHORS (Node.js GitHub Bot) #44161e0efd9af50
] - meta: add codeowner for src/node_snapshot* (Chengzhong Wu) #44113a996f53c78
] - meta: update AUTHORS (Node.js GitHub Bot) #44065697dbfb174
] - meta: shorten PowerShell snippet for bug-report template (NicoNekoru) #4401105802c2877
] - module: protect against prototype mutation (Antoine du Hamel) #440071b3fcf765f
] - (SEMVER-MINOR) net: create diagnostics channels lazily (Joyee Cheung) #38905aa7c053926
] - net: remove unused callback (theanarkh) #44204b6b632c09c
] - (SEMVER-MINOR) net: add local family (theanarkh) #43975c3d87564d4
] - net, dns: socket should handle its output as input (Adam Majer) #440833ba75b341b
] - (SEMVER-MINOR) net,tls: pass a valid socket ontlsClientError
(Daeyeon Jeong) #440210e38fba552
] - perf_hooks: add resourcetiming buffer limit (Chengzhong Wu) #44220b9fd240f63
] - perf_hooks: fix gc elapsed time (theanarkh) #440588cf64998e2
] - report: print javascript stack on fatal error (Chengzhong Wu) #44242c842ab36b6
] - report: skip report if uncaught exception is handled (Chengzhong Wu) #44208ab73cc8706
] - src: disambiguate terms used to refer to builtins and addons (Joyee Cheung) #44135e9d19ac64c
] - src: use imported namespaces innode_contextify.cc
(Juan José) #442993dadc95cd2
] - src: refactor to avoid using a moved object (Tobias Nießen) #442693765c6335b
] - src: extract common context embedder tag checks (Chengzhong Wu) #44258d2dce59729
] - src: avoid copying BaseObjectPtrs in loop (Tobias Nießen) #442709614907104
] - src: remove usage on ScriptCompiler::CompileFunctionInContext (Chengzhong Wu) #441984e1ffd932e
] - src: fix --heapsnapshot-near-heap-limit error hint (Chengzhong Wu) #44216960a20928f
] - src: prevent copying ArrayBufferViewContents (Keyhan Vakil) #440914755ad5495
] - src: remove usages of GetBackingStore in crypto (Keyhan Vakil) #44079a2022e5aff
] - src: remove unowned usages of GetBackingStore (Keyhan Vakil) #440808e1b7e2b8f
] - src: remove usages of GetBackingStore in node-api (Keyhan Vakil) #44075cddf3eda28
] - src: remove usages of GetBackingStore in modules (Keyhan Vakil) #44076a54e4d4170
] - src: remove usages of GetBackingStore in WASI (Keyhan Vakil) #4407738cdb1f9b6
] - src: remove usages of GetBackingStore in startup (Keyhan Vakil) #44078c4783e37d7
] - src: nest namespace report in namespace node (Chengzhong Wu) #4406904bcdf63a0
] - src: use a typed array internally for process._exiting (Darshan Sen) #43883b90b8abdd5
] - src: fix bug in GetErrorSource() (Tobias Nießen) #44019728e18e025
] - src: fix to use replacement character (Kohei Ueno) #43999cc6e0fc8ff
] - src: improve SPKAC::ExportChallenge() (Tobias Nießen) #440029763e2fba9
] - src: fix typo in src/README.md (Anna Henningsen) #44009460397709b
] - src: remove unnecessary cast in crypto_sig.cc (Tobias Nießen) #4400168ee8e9089
] - src: split property helpers from node::Environment (Chengzhong Wu) #440569990dc7d18
] - src,buffer: remove unused chars_written parameter (Keyhan Vakil) #44092ecf82186e0
] - src,fs: refactor duplicated code in fs.readdir (Daeyeon Jeong) #43204ee6412a992
] - src,lib: print prinstine source when source map source not found (Chengzhong Wu) #440524249276783
] - (SEMVER-MINOR) src,lib: print source map error source on demand (Chengzhong Wu) #438751dabdbf05c
] - src,test: fix typos (SADIK KUZU) #44110a3ac445198
] - stream: fixisDetachedBuffer
validations (Daeyeon Jeong) #44114c079abe017
] - stream: improve views validation onBYOBRequest
(Daeyeon Jeong) #441552f904bc8bf
] - stream: update TextEncoderStream to align the latest spec (Kohei Ueno) #4410140b817cfb9
] - (SEMVER-MINOR) test: test snapshotting TypeScript compiler (Joyee Cheung) #38905d4189ab609
] - (SEMVER-MINOR) test: add UMD module test with marked (Joyee Cheung) #38905514e5162d2
] - test: deflake test-diagnostics-channel-net (Keyhan Vakil) #44144a2707d0f48
] - test: add coverage for invalid RSA-PSS digests (Tobias Nießen) #442717b6126a59a
] - test: update Web Streams WPT (Daeyeon Jeong) #44234a02492f96c
] - test: move "errors" test to "parallel" (Michaël Zasso) #44233b4224dd192
] - test: reduce http-server-request-timeouts-mixed flakiness (Nick Sia) #44169f5e2f6c362
] - test: remove cjs loader from stack traces (Geoffrey Booth) #44197e37314497a
] - test: add filesystem check totest-fs-stat-date.mjs
(Livia Medeiros) #441749755b1f979
] - test: mark connection leak test flaky on IBM i (Richard Lau) #44215beaf5f5776
] - test: usemustSucceed
instead ofmustCall
withassert.ifError
(MURAKAMI Masahiko) #4419611f74e72a7
] - test: update WPT runner (Filip Skokan) #43455b2a15b6275
] - test: update wpt url status (Kohei Ueno) #441756b84451d70
] - test: update wasm/jsapi web platform tests (Yagiz Nizipli) #44100537d52fa0f
] - test: update hr-time web platform tests (Yagiz Nizipli) #4410079445cb215
] - test: update console web platform tests (Yagiz Nizipli) #4410070267a0eeb
] - test: move tests with many workers to sequential (Keyhan Vakil) #4413986a7fb0c8a
] - test: deflake gc-http-client tests by restricting number of requests (Nick Sia) #44146e17117dfda
] - test: move test-vm-break-on-sigint to sequential (Keyhan Vakil) #44140e5113fab05
] - test: remove test-http-client-response-timeout flaky designation (Luigi Pinca) #44145f1b5f933d7
] - test: s390x z15 accelerated zlib fixes (Adam Majer) #4411786bbd5e61a
] - test: tune down parallelism for some flaky tests (Keyhan Vakil) #4409040e2ca7f66
] - test: fixinternet/test-inspector-help-page
(Daeyeon Jeong) #44025b19564b9d2
] - test: refactor ESM tests to improve performance (Jacob Smith) #43784d964b308ae
] - test: remove test-gc-http-client-timeout from flaky list (Feng Yu) #439712cab7bb791
] - test: reduce loop times for preventing test from timeout (theanarkh) #439819244d6d416
] - test: fix test-cluster-concurrent-disconnect (Daeyeon Jeong) #439613c8037a9fa
] - test: change misleading variable name (Tobias Nießen) #4399082164344e2
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #44223c0b160c842
] - test_runner: fix test runner hooks failure stack (Moshe Atlow) #442848ed39397d5
] - test_runner: refactor to use more primordials (Antoine du Hamel) #44062d8749c3b87
] - test_runner: verbous error when entire test tree is canceled (Moshe Atlow) #440600d007471fa
] - test_runner: empty pending tests queue post running (Moshe Atlow) #44059c3fa82f007
] - test_runner: add before/after/each hooks (Moshe Atlow) #4373050c854bbfe
] - test_runner: fix top leveldescribe
queuing (Moshe Atlow) #4399804fdc3e1fa
] - test_runner: graceful termination on--test
only (Moshe Atlow) #4397751a0310398
] - test_runner: validateconcurrency
option (Antoine du Hamel) #43976ecf7b0720a
] - tls: use logical OR operator (Mohammed Keyvanzadeh) #44236f7c1b838ba
] - tools: update lint-md-dependencies to [email protected] (Node.js GitHub Bot) #4432036b39db74d
] - tools: update ESLint to 8.22.0 (Luigi Pinca) #4424387f75a27fb
] - tools: update lint-md-dependencies to [email protected] (Node.js GitHub Bot) #44244a3cc8ce959
] - tools: update lint-md-dependencies to [email protected] (Node.js GitHub Bot) #44230873941a43e
] - tools: update eslint to 8.21.0 (Node.js GitHub Bot) #441626be7e6d136
] - tools: update lint-md-dependencies to @rollup/plugin-commonjs@22.0.2 (Node.js GitHub Bot) #44160b252f389d7
] - tools: update undici CPE in vuln checking script (Facundo Tuesca) #441283eacf25789
] - tools: update lint-md-dependencies to [email protected] (Node.js GitHub Bot) #440641175d9036a
] - tools: add verbose flag to find-inactive-collaborators (Rich Trott) #439642cf3ce83d8
] - trace_events: add example (theanarkh) #432532efce0fe5b
] - typings: add JSDoc forinternal/validators
(Yagiz Nizipli) #44181Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 Mend Renovate. View repository job log here.