console
console copied to clipboard
NO-JIRA: chore(deps): update node.js to v20
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| node | final | major | 10 -> 20 |
Release Notes
nodejs/node (node)
v20.17.0: 2024-08-21, Version 20.17.0 'Iron' (LTS), @marco-ippolito
module: support require()ing synchronous ESM graphs
This release adds require() support for synchronous ESM graphs under
the flag --experimental-require-module.
If --experimental-require-module is enabled, and the ECMAScript
module being loaded by require() meets the following requirements:
- Explicitly marked as an ES module with a "type": "module" field in the closest package.json or a .mjs extension.
- Fully synchronous (contains no top-level await).
require() will load the requested module as an ES Module, and return
the module name space object. In this case it is similar to dynamic
import() but is run synchronously and returns the name space object
directly.
Contributed by Joyee Cheung in #51977
path: add matchesGlob method
Glob 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:
const [ sideA, sideB ] = duplexPair();
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) #54054 - [
ae30674991] - meta: add jake to collaborators (jakecastelli) #54004 - [
4a3ecbfc9b] - (SEMVER-MINOR) stream: implementminoption forReadableStreamBYOBReader.read(Mattias Buelens) #50888
Commits
- [
b3a2726cbc] - assert: use isError instead of instanceof in innerOk (Pietro Marchini) #53980 - [
c7e4c3daf4] - benchmark: add cpSync benchmark (Yagiz Nizipli) #53612 - [
a52de8c5ff] - bootstrap: print--helpmessage usingconsole.log(Jacob Hummer) #51463 - [
61b90e7c5e] - build: update gcovr to 7.2 and codecov config (Benjamin E. Coe) #54019 - [
a9c04eaa27] - build: ensure v8_pointer_compression_sandbox is enabled on 64bit (Shelley Vohr) #53884 - [
342a663d7a] - build: trigger coverage ci when updating codecov (Yagiz Nizipli) #53929 - [
5727b4d129] - build: update codecov coverage build count (Yagiz Nizipli) #53929 - [
977af25870] - build: disable test-asan workflow (Michaël Zasso) #53844 - [
04798fb104] - build: fix build warning of c-ares under GN build (Cheng) #53750 - [
5ec5e78574] - build: fix mac build error of c-ares under GN (Cheng) #53687 - [
3d8721f0a4] - build: add version-specific library path for AIX (Richard Lau) #53585 - [
ffb0bd344d] - build, tools: drop leading/fromr2dir(Richard Lau) #53951 - [
a2d74f4c31] - build,tools: simplify upload of shasum signatures (Michaël Zasso) #53892 - [
993bb3b6e7] - child_process: fix incomplete prototype pollution hardening (Liran Tal) #53781 - [
137a2e5766] - cli: document--inspectport0behavior (Aviv Keller) #53782 - [
820e6e1737] - cli: updatenode.1to reflect Atom's sunset (Aviv Keller) #53734 - [
fa0e8d7b3b] - crypto: avoid std::function (Tobias Nießen) #53683 - [
460240c368] - crypto: make deriveBits length parameter optional and nullable (Filip Skokan) #53601 - [
ceb1d5e00a] - crypto: avoid taking ownership of OpenSSL objects (Tobias Nießen) #53460 - [
44268c27eb] - deps: update corepack to 0.29.3 (Node.js GitHub Bot) #54072 - [
496975ece0] - deps: update c-ares to v1.32.3 (Node.js GitHub Bot) #54020 - [
5eea419349] - deps: update c-ares to v1.32.2 (Node.js GitHub Bot) #53865 - [
8c8e3688c5] - deps: update googletest to4b21f1a(Node.js GitHub Bot) #53842 - [
78f6b34c77] - deps: update minimatch to 10.0.1 (Node.js GitHub Bot) #53841 - [
398f7acca3] - deps: update corepack to 0.29.2 (Node.js GitHub Bot) #53838 - [
fa8f99d90b] - deps: update simdutf to 5.3.0 (Node.js GitHub Bot) #53837 - [
a19b28336b] - deps: update ada to 2.9.0 (Node.js GitHub Bot) #53748 - [
2f66c7e707] - deps: upgrade npm to 10.8.2 (npm team) #53799 - [
2a2620e7c0] - deps: update googletest to34ad51b(Node.js GitHub Bot) #53157 - [
c01ce60ce7] - deps: update googletest to305e5a2(Node.js GitHub Bot) #53157 - [
832328ea01] - deps: update c-ares to v1.32.1 (Node.js GitHub Bot) #53753 - [
878e9a4ae7] - deps: update minimatch to 9.0.5 (Node.js GitHub Bot) #53646 - [
4647e6b5c5] - deps: update c-ares to v1.32.0 (Node.js GitHub Bot) #53722 - [
30310bf887] - doc: move numCPUs require to top of file in cluster CJS example (Alfredo González) #53932 - [
36170eddca] - doc: update security-release process to automated one (Rafael Gonzaga) #53877 - [
55f5e76ba7] - doc: fix typo in technical-priorities.md (YoonSoo_Shin) #54094 - [
1c0ccc0ca8] - doc: fix typo in diagnostic tooling support tiers document (Taejin Kim) #54058 - [
6a5120ff0f] - doc: move GeoffreyBooth to TSC regular member (Geoffrey Booth) #54047 - [
ead05aad2a] - doc: fix typo in recognizing-contributors (Marco Ippolito) #53990 - [
25e59aebac] - doc: update boxstarter README (Aviv Keller) #53785 - [
a3183fb927] - doc: add info about prefix-only modules tomodule.builtinModules(Grigory) #53954 - [
89599e025f] - doc: removescroll-behavior: smooth;(Cloyd Lau) #53942 - [
139c62e40c] - doc: move --test-coverage-{ex,in}clude to proper location (Colin Ihrig) #53926 - [
233aba90ea] - doc: updateapi_assetsREADME for new files (Aviv Keller) #53676 - [
44a1cbe98a] - doc: add MattiasBuelens to collaborators (Mattias Buelens) #53895 - [
f5280ddbc5] - doc: fix casing of GitHub handle for two collaborators (Antoine du Hamel) #53857 - [
9224e3eef1] - doc: update release-post nodejs.org script (Rafael Gonzaga) #53762 - [
f87eed8de4] - doc: move MylesBorins to emeritus (Myles Borins) #53760 - [
32ac80ae8d] - doc: add Rafael to the last security release (Rafael Gonzaga) #53769 - [
e71aa7e98b] - doc: use mock.callCount() in examples (Sébastien Règne) #53754 - [
f64db24312] - doc: clarify authenticity of plaintexts in update (Tobias Nießen) #53784 - [
51e736ac83] - doc: add option to have support me link (Michael Dawson) #53312 - [
9804731d0f] - doc: updatescroll-padding-topto 4rem (Cloyd Lau) #53662 - [
229f7f8b8a] - doc: mention v8.setFlagsFromString to pm (Rafael Gonzaga) #53731 - [
98d59aa929] - doc: remove the last <pre> tag (Claudio W) #53741 - [
60ee41df08] - doc: exclude voting and regular TSC from spotlight (Michael Dawson) #53694 - [
c3536cfa99] - doc: fix releases guide for recent Git versions (Michaël Zasso) #53709 - [
3b632e1871] - doc: requirenode:processin assert doc examples (Alfredo González) #53702 - [
754090c110] - doc: add additional explanation to the wildcard section in permissions (jakecastelli) #53664 - [
4346de7267] - doc: mark NODE_MODULE_VERSION for Node.js 22.0.0 (Michaël Zasso) #53650 - [
758178bd72] - doc: include node.module_timer on available categories (Vinicius Lourenço) #53638 - [
e0d213df2b] - doc: fix module customization hook examples (Elliot Goodrich) #53637 - [
43ac5a2441] - doc: fix doc for correct usage with plan & TestContext (Emil Tayeb) #53615 - [
5076f0d292] - doc: remove some news issues that are no longer (Michael Dawson) #53608 - [
c997dbef34] - doc: add issue for news from ambassadors (Michael Dawson) #53607 - [
16d55f1d25] - doc: add esm example for os (Leonardo Peixoto) #53604 - [
156fc536f2] - doc: clarify usage of coverage reporters (Eliphaz Bouye) #53523 - [
f8f247bc99] - doc: document addition testing options (Aviv Keller) #53569 - [
73860aca56] - doc: clarify that fs.exists() may return false for existing symlink (Tobias Nießen) #53566 - [
59c5c5c73e] - doc: note http.closeAllConnections excludes upgraded sockets (Rob Hogan) #53560 - [
1cd3c8eb27] - doc: fix typo (EhsanKhaki) #53397 - [
3c5e593e2a] - doc, meta: add PTAL to glossary (Aviv Keller) #53770 - [
f336e61257] - doc, test: tracing channel hasSubscribers getter (Thomas Hunter II) #52908 - [
4187b81439] - doc, typings: events.once accepts symbol event type (René) #53542 - [
3cdf94d403] - doc,tty: add documentation for ReadStream and WriteStream (jakecastelli) #53567 - [
5d03f6fab7] - esm: move hooks test with others (Geoffrey Booth) #53558 - [
490f15a99b] - fs: ensure consistency for mkdtemp in both fs and fs/promises (YieldRay) #53776 - [
8e64c02b19] - (SEMVER-MINOR) http: add diagnostics channelhttp.client.request.error(Kohei Ueno) #54054 - [
0d70c79ebf] - lib: optimize copyError with ObjectAssign in primordials (HEESEUNG) #53999 - [
a4ff2ac0f0] - lib: improve cluster/primary code (Ehsan Khakifirooz) #53756 - [
c667fbd988] - lib: improve error message when index not found on cjs (Vinicius Lourenço) #53859 - [
51ba566171] - lib: decorate async stack trace in source maps (Chengzhong Wu) #53860 - [
d012dd3d29] - lib: remove path.resolve from permissions.js (Rafael Gonzaga) #53729 - [
1e9ff50446] - lib: add toJSON to PerformanceMeasure (theanarkh) #53603 - [
3a2d8bffa5] - lib: convert WeakMaps in cjs loader with private symbol properties (Chengzhong Wu) #52095 - [
e326342bd7] - meta: addsqliteto js subsystems (Alex Yang) #53911 - [
bfabfb4d17] - meta: move tsc member to emeritus (Michael Dawson) #54029 - [
ae30674991] - meta: add jake to collaborators (jakecastelli) #54004 - [
6ca0cfc602] - meta: remove license for hljs (Aviv Keller) #53970 - [
e6ba121e83] - meta: make more bug-report information required (Aviv Keller) #53718 - [
1864cddd0c] - meta: store actions secrets in environment (Aviv Keller) #53930 - [
c0b24e5071] - meta: move anonrig to tsc voting members (Yagiz Nizipli) #53888 - [
e60b089f7f] - meta: remove redudant logging from dep updaters (Aviv Keller) #53783 - [
bff6995ec3] - meta: change email address of anonrig (Yagiz Nizipli) #53829 - [
c2bb46020a] - meta: addnode_sqlite.cto PR label config (Aviv Keller) #53797 - [
b8d2bbc6d6] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #53758 - [
0ad4b7c1f7] - meta: use HTML entities in commit-queue comment (Aviv Keller) #53744 - [
aa0c5c25d1] - meta: move regular TSC member to emeritus (Michael Dawson) #53693 - [
a5f5b4550b] - meta: bump codecov/codecov-action from 4.4.1 to 4.5.0 (dependabot[bot]) #53675 - [
f84e215c90] - meta: bump mozilla-actions/sccache-action from 0.0.4 to 0.0.5 (dependabot[bot]) #53674 - [
d5a9c249d3] - meta: bump github/codeql-action from 3.25.7 to 3.25.11 (dependabot[bot]) #53673 - [
39d6c780c8] - meta: bump actions/checkout from 4.1.6 to 4.1.7 (dependabot[bot]) #53672 - [
bb6fe38a34] - meta: bump peter-evans/create-pull-request from 6.0.5 to 6.1.0 (dependabot[bot]) #53671 - [
5dcdfb5e6b] - meta: bump step-security/harden-runner from 2.8.0 to 2.8.1 (dependabot[bot]) #53670 - [
44d901a1c9] - meta: move member from TSC regular to emeriti (Michael Dawson) #53599 - [
0c91186afa] - meta: warnings bypass deprecation cycle (Benjamin Gruenbaum) #53513 - [
bcd08bef60] - meta: prevent constant references to issues in versioning (Aviv Keller) #53564 - [
7625dc4927] - module: fix submodules loaded by require() and import() (Joyee Cheung) #52487 - [
6c4f4772e3] - module: tidy code and comments (Jacob Smith) #52437 - [
51b88faeac] - module: disallow CJS <-> ESM edges in a cycle from require(esm) (Joyee Cheung) #52264 - [
4dae68ced4] - module: centralize SourceTextModule compilation for builtin loader (Joyee Cheung) #52291 - [
cad46afc07] - (SEMVER-MINOR) module: support require()ing synchronous ESM graphs (Joyee Cheung) #51977 - [
ac58c829a1] - node-api: add property keys benchmark (Chengzhong Wu) #54012 - [
e6a4104bd1] - node-api: rename nogc to basic (Gabriel Schulhof) #53830 - [
57b8b8e18e] - (SEMVER-MINOR) path: addmatchesGlobmethod (Aviv Keller) #52881 - [
bf6aa53299] - process: unify experimental warning messages (Aviv Keller) #53704 - [
2a3ae16e62] - src: expose LookupAndCompile with parameters (Shelley Vohr) #53886 - [
0109f9c961] - src: simplify AESCipherTraits::AdditionalConfig (Tobias Nießen) #53890 - [
6bafe8a457] - src: fix -Wshadow warning (Shelley Vohr) #53885 - [
4c36d6c47a] - src: fix slice of slice of file-backed Blob (Josh Lee) #53972 - [
848c2d59fb] - src: cache invariant code motion (Rafael Gonzaga) #53879 - [
acaf5dd1cd] - src: avoid strcmp in ImportJWKAsymmetricKey (Tobias Nießen) #53813 - [
b71250aaf9] - src: replace ToLocalChecked uses with ToLocal in node-file (James M Snell) #53869 - [
aff9a5339a] - src: fix env-file flag to ignore spaces before quotes (Mohit Malhotra) #53786 - [
e352a4ef27] - src: update outdated references to spec sections (Tobias Nießen) #53832 - [
1a4da22a60] - src: use Maybe<void> in ManagedEVPPKey (Tobias Nießen) #53811 - [
0c24b91bd2] - src: fix error handling in ExportJWKAsymmetricKey (Tobias Nießen) #53767 - [
81cd84c716] - src: use Maybe<void> in node::crypto::error (Tobias Nießen) #53766 - [
8135f3616d] - src: fix typo in node.h (Daeyeon Jeong) #53759 - [
e6d735a997] - src: document the Node.js context embedder data (Joyee Cheung) #53611 - [
584beaa2ed] - src: zero-initialize data that are copied into the snapshot (Joyee Cheung) #53563 - [
ef5dabd8c6] - src: fix Worker termination when '--inspect-brk' is passed (Daeyeon Jeong) #53724 - [
62f4f6f48e] - src: remove ArrayBufferAllocator::Reallocate override (Shu-yu Guo) #52910 - [
a6dd8643fa] - src: reduce unnecessary serialization of CLI options in C++ (Joyee Cheung) #52451 - [
31fdb881cf] - src,lib: expose getCategoryEnabledBuffer to use on node.http (Vinicius Lourenço) #53602 - [
2eea8502e1] - src,test: further cleanup references to osx (Daniel Bayley) #53820 - [
7c21bb99a5] - (SEMVER-MINOR) stream: expose DuplexPair API (Austin Wright) #34111 - [
56299f7309] - stream: improve inspector ergonomics (Benjamin Gruenbaum) #53800 - [
9b82b15230] - stream: update ongoing promise in async iterator return() method (Mattias Buelens) #52657 - [
4a3ecbfc9b] - (SEMVER-MINOR) stream: implementminoption forReadableStreamBYOBReader.read(Mattias Buelens) #50888 - [
bd996bf694] - test: do not swallow uncaughtException errors in exit code tests (Meghan Denny) #54039 - [
77761af077] - test: move shared module totest/common(Rich Trott) #54042 - [
bec88ce138] - test: skip sea tests with more accurate available disk space estimation (Chengzhong Wu) #53996 - [
9a98ad47cd] - test: remove unnecessary console log (KAYYY) #53812 - [
364d09cf0a] - test: add comments and rename test for timer robustness (Rich Trott) #54008 - [
5c5093dc0a] - test: add test for one arg timers to increase coverage (Carlos Espa) #54007 - [
43ede1ae0b] - test: mark 'test/parallel/test-sqlite.js' as flaky (Colin Ihrig) #54031 - [
0ad783cb42] - test: mark test-pipe-file-to-http as flaky (jakecastelli) #53751 - [
f2b4fd3544] - test: compare paths on Windows without considering case (Early Riser) #53993 - [
2e69e5f4d2] - test: skip sea tests in large debug builds (Chengzhong Wu) #53918 - [
56c26fe6e5] - test: skip --title check on IBM i (Abdirahim Musse) #53952 - [
6d0b8ded00] - test: reduce flakiness oftest-assert-esm-cjs-message-verify(Antoine du Hamel) #53967 - [
edb75aebd7] - test: usePYTHONexecutable from env inassertSnapshot(Antoine du Hamel) #53938 - [
be94e470a6] - test: deflake test-blob-file-backed (Luigi Pinca) #53920 - [
c2b0dcd165] - test: un-set inspector-async-hook-setup-at-inspect-brk as flaky (Abdirahim Musse) #53692 - [
6dc18981ac] - test: use python3 instead of python in pummel test (Mathis Wiehl) #53057 - [
662bf524e1] - test: do not assume cwd in snapshot tests (Antoine du Hamel) #53146 - [
a07526702a] - test: fix OpenSSL version checks (Richard Lau) #53503 - [
2b70018d11] - test: refactor, add assertion to http-request-end (jakecastelli) #53411 - [
c0262c1561] - test_runner: switched to internal readline interface (Emil Tayeb) #54000 - [
fb7342246c] - test_runner: do not throw on mocked clearTimeout() (Aksinya Bykova) #54005 - [
367f9e77f3] - test_runner: cleanup global event listeners after run (Eddie Abbondanzio) #53878 - [
206c668ee7] - test_runner: remove plan option from run() (Colin Ihrig) #53834 - [
8660d481e5] - tls: add setKeyCert() to tls.Socket (Brian White) #53636 - [
9c5beabd83] - tools: fixSLACK_TITLEin invalid commit workflow (Antoine du Hamel) #53912 - [
4dedf2aead] - tools: update lint-md-dependencies (Node.js GitHub Bot) #53840 - [
642d5c5d30] - tools: use v8_features.json to populate config.gypi (Cheng) #53749 - [
031206544d] - tools: update lint-md-dependencies to [email protected] (Node.js GitHub Bot) #53555 - [
8404421ea6] - tools: replace reference to NodeMainInstance with SnapshotBuilder (codediverdev) #53544 - [
2d8490fed5] - typings: addfs_dirtypes (Yagiz Nizipli) #53631 - [
325eae0b3f] - url: fix typo (KAYYY) #53827 - [
7fc45f5e3f] - url: reduce unnecessary string copies (Yagiz Nizipli) #53628 - [
1d961facf1] - url: add missing documentation forURL.parse()(Yagiz Nizipli) #53733 - [
ce877c6d0f] - util: fix crashing when emitting new Buffer() deprecation warning #53075 (Aras Abbasi) #53089 - [
d6d04279ca] - worker: allow copied NODE_OPTIONS in the env setting (Joyee Cheung) #53596
v20.16.0: 2024-07-24, Version 20.16.0 'Iron' (LTS), @marco-ippolito
process: add process.getBuiltinModule(id)
process.getBuiltinModule(id) provides a way to load built-in modules
in 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 or
having to use dynamic import() which either turns the module into
an asynchronous module, or turns a synchronous API into an asynchronous one.
if (globalThis.process?.getBuiltinModule) {
// Run in Node.js, use the Node.js fs module.
const fs = globalThis.process.getBuiltinModule('fs');
// If `require()` is needed to load user-modules, use createRequire()
const module = globalThis.process.getBuiltinModule('module');
const require = module.createRequire(import.meta.url);
const foo = require('foo');
}
If id specifies a built-in module available in the current Node.js process,
process.getBuiltinModule(id) method returns the corresponding built-in
module. If id does not correspond to any built-in module, undefined
is returned.
process.getBuiltinModule(id) accepts built-in module IDs that are recognized
by module.isBuiltin(id).
The references returned by process.getBuiltinModule(id) always point to
the built-in module corresponding to id even if users modify
require.cache so that require(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 for https.request(), tls.createSecureContext(), and tls.createServer(); the privateKeyEngine and privateKeyIdentifier for tls.createSecureContext(); and crypto.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 receiving Debugger.setAsyncCallStackDepth with depth 0.
Contributed by Joyee Cheung in #53473
Other Notable Changes
- [
09e2191432] - (SEMVER-MINOR) buffer: add .bytes() method to Blob (Matthew Aitken) #53221 - [
394e00f41c] - (SEMVER-MINOR) doc: add context.assert docs (Colin Ihrig) #53169 - [
a8601efa5e] - (SEMVER-MINOR) doc: improve explanation about built-in modules (Joyee Cheung) #52762 - [
5e76c258f7] - doc: add StefanStojanovic to collaborators (StefanStojanovic) #53118 - [
5e694026f1] - doc: add Marco Ippolito to TSC (Rafael Gonzaga) #53008 - [
f3ba1eb72f] - (SEMVER-MINOR) net: add new net.server.listen tracing channel (Paolo Insogna) #53136 - [
2bcce3255b] - (SEMVER-MINOR) src,permission: --allow-wasi & prevent WASI exec (Rafael Gonzaga) #53124 - [
a03a4c7bdd] - (SEMVER-MINOR) test_runner: add context.fullName (Colin Ihrig) #53169 - [
69b828f5a5] - (SEMVER-MINOR) util: support--no-for argument with boolean type for parseArgs (Zhenwei Jin) #53107
Commits
- [
76fd0ea92e] - assert,util: correct comparison when both contain same reference (Daniel Lemire) #53431 - [
65308b6692] - benchmark: fix api restriction for the permission category (Ryan Tsien) #51528 - [
1e2bc2c2d0] - benchmark: fix napi/ref addon (Michaël Zasso) #53233 - [
09e2191432] - (SEMVER-MINOR) buffer: add .bytes() method to Blob (Matthew Aitken) #53221 - [
e1951a4804] - build: fix spacing before NINJA_ARGS (jakecastelli) #53181 - [
76f3bb3460] - build: generate binlog in out directories (Chengzhong Wu) #53325 - [
eded0c187b] - build: support python 3.13 (Chengzhong Wu) #53190 - [
1e57c67fdb] - build: update ruff to v0.4.5 (Yagiz Nizipli) #53180 - [
28e71ede63] - build: add--skip-teststotest-ci-jstarget (Antoine du Hamel) #53105 - [
bb06778a65] - build: fix building embedtest in GN build (Cheng) #53145 - [
117ff5f139] - build: use broader detection for 'help' (Aviv Keller) #53045 - [
9aa896e7f5] - build: fix -j propagation to ninja (Tobias Nießen) #53088 - [
acdbc78955] - build: exit on unsupported host OS for Android (Mohammed Keyvanzadeh) #52882 - [
bf3d94478e] - build: fix--enable-d8builds (Richard Lau) #53106 - [
99da7d7237] - build: set "clang" in config.gypi in GN build (Cheng) #53004 - [
9446278f03] - crypto: improve GetECGroupBits signature (Tobias Nießen) #53364 - [
dc2a4af68d] - crypto: fix propagation of "memory limit exceeded" (Tobias Nießen) #53300 - [
c5174f5e60] - deps: update c-ares to v1.31.0 (Node.js GitHub Bot) #53554 - [
28e932dc7a] - deps: update undici to 6.19.2 (Node.js GitHub Bot) #53468 - [
e4f9c663c4] - deps: update undici to 6.19.1 (Node.js GitHub Bot) #53468 - [
171dc50fdc] - deps: update undici to 6.19.1 (Node.js GitHub Bot) #53468 - [
6bb6a9100d] - deps: update undici to 6.19.0 (Node.js GitHub Bot) #53468 - [
815d71b4cd] - deps: update acorn-walk to 8.3.3 (Node.js GitHub Bot) #53466 - [
8b5f1d765a] - deps: update zlib to 1.3.0.1-motley-209717d (Node.js GitHub Bot) #53156 - [
fc73da6f50] - deps: update c-ares to v1.30.0 (Node.js GitHub Bot) #53416 - [
a6b803abd6] - deps: update undici to 6.18.2 (Node.js GitHub Bot) #53255 - [
0f235535bb] - deps: update ada to 2.8.0 (Node.js GitHub Bot) #53254 - [
63407269a8] - deps: update corepack to 0.28.2 (Node.js GitHub Bot) #53253 - [
7a126e8773] - deps: update c-ares to 1.29.0 (Node.js GitHub Bot) #53155 - [
0c8fcceefa] - deps: upgrade npm to 10.8.1 (npm team) #53207 - [
23866979f2] - deps: update undici to 6.18.1 (Node.js GitHub Bot) #53073 - [
4987a00142] - deps: update undici to 6.18.0 (Node.js GitHub Bot) #53073 - [
af226d0d9c] - deps: update undici to 6.17.0 (Node.js GitHub Bot) #53034 - [
c9c6bf8bfb] - deps: update undici to 6.16.1 (Node.js GitHub Bot) #52948 - [
b32b62d590] - deps: update undici to 6.15.0 (Matthew Aitken) #52763 - [
6e6641bea2] - deps: update googletest to33af80a(Node.js GitHub Bot) #53053 - [
aa96fbe03e] - deps: update zlib to 1.3.0.1-motley-4f653ff (Node.js GitHub Bot) #53052 - [
ba3310ded5] - deps: upgrade npm to 10.8.0 (npm team) #53014 - [
8537a2aecf] - doc: recommend not using libuv node-api function (Michael Dawson) #53521 - [
c13600f0db] - doc: add additional guidance for PRs to deps (Michael Dawson) #53499 - [
7c3edd952e] - doc: only apply content-visibility on all.html (Filip Skokan) #53510 - [
ac5be14ed8] - doc: update the description of the return type for options.filter (Zhenwei Jin) #52742 - [
cac300e351] - doc: remove first timer badge (Aviv Keller) #53338 - [
feb61459fd] - doc: add Buffer.from(string) to functions that use buffer pool (Christian Bates-White) #52801 - [
9e0a6e938b] - doc: add initial text for ambassadors program (Michael Dawson) #52857 - [
55ac53cb0b] - doc: define more cases for stream event emissions (Aviv Keller) #53317 - [
7128e0f9c9] - doc: remove mentions of policy model from security info (Aviv Keller) #53249 - [
3e290433df] - doc: fix mistakes in the moduleloadhook api (István Donkó) #53349 - [
3445c08144] - doc: doc-only deprecate OpenSSL engine-based APIs (Richard Lau) #53329 - [
a3e8cda019] - doc: mark --heap-prof and related flags stable (Joyee Cheung) #53343 - [
0b9daaae4d] - doc: mark --cpu-prof and related flags stable (Joyee Cheung) #53343 - [
daf91834f6] - doc: remove IRC from man page (Tobias Nießen) #53344 - [
4246c8fa31] - doc: fix broken link instatic-analysis.md(Richard Lau) #53345 - [
955b98a0e4] - doc: remove cases for keys not containing "*" in PATTERN_KEY_COMPARE (Maarten Zuidhoorn) #53215 - [
7832b1815f] - doc: add err param to fs.cp callback (Feng Yu) #53234 - [
01533df87f] - doc: adderrparam to fs.copyFile callback (Feng Yu) #53234 - [
b081bc7d5e] - doc: reserve 128 for Electron 32 (Keeley Hammond) #53203 - [
6b8460b560] - doc: add note to ninjia build for macOS using -jn flag (jakecastelli) #53187 - [
394e00f41c] - (SEMVER-MINOR) doc: add context.assert docs (Colin Ihrig) #53169 - [
c143d61d0e] - doc: include ESM import for HTTP (Aviv Keller) #53165 - [
a8601efa5e] - (SEMVER-MINOR) doc: improve explanation about built-in modules (Joyee Cheung) #52762 - [
560392de3d] - doc: fix minor grammar and style issues in SECURITY.md (Rich Trott) #53168 - [
9f8e34323d] - doc: mention pm is not enforced when using fd (Rafael Gonzaga) #53125 - [
3ac775b015] - doc: fix format inesm.md(Pop Moore) #53170 - [
41b08bdcf7] - doc: fix wrong variable name in example oftimers.tick()(Deokjin Kim) #53147 - [
698ea7aa5a] - doc: fix wrong function name in example ofcontext.plan()(Deokjin Kim) #53140 - [
a99359d79d] - doc: add note for windows users and symlinks (Aviv Keller) #53117 - [
61ec2af292] - doc: move all TLS-PSK documentation to its section (Alba Mendez) #35717 - [
5e76c258f7] - doc: add StefanStojanovic to collaborators (StefanStojanovic) #53118 - [
1dc406ba62] - doc: improve ninja build for --built-in-modules-path (jakecastelli) #53007 - [
2854585662] - doc: avoid hiding by navigation bar in anchor jumping (Cloyd Lau) #45131 - [
3f432f829f] - doc: remove unavailable youtube link in pull requests (Deokjin Kim) #52982 - [
5e694026f1] - doc: add Marco Ippolito to TSC (Rafael Gonzaga) #53008 - [
231e44043e] - doc: add missing supported timer values intimers.enable()(Deokjin Kim) #52969 - [
b8944f6938] - doc, http: addrejectNonStandardBodyWritesoption, clear its behaviour (jakecastelli) #53396 - [
0354584738] - doc, meta: organize contributing to Node-API guide (Aviv Keller) #53243 - [
9ae3719c4e] - doc, meta: use markdown rather than HTML in CONTRIBUTING.md (Aviv Keller) #53235 - [
621e073c96] - fs: do not crash if the watched file is removed while setting up watch (Matteo Collina) #53452 - [
f00ee1c377] - fs: fix cp dir/non-dir mismatch error messages (Mathis Wiehl) #53150 - [[
655b960418](https:/
Configuration
📅 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.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot.
Hi @red-hat-konflux[bot]. Thanks for your PR.
I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
/ok-to-test /assign @jhadvig
We build and test the demo plugin in CI, correct? I'd assume CI is enough to verify that this change is good?
/retest
@red-hat-konflux[bot]: This pull request explicitly references no jira issue.
In response to this:
This PR contains the following updates:
Package Type Update Change node final major 10->20
Release Notes
nodejs/node (node)
v20.17.0: 2024-08-21, Version 20.17.0 'Iron' (LTS), @marco-ippolitomodule: support require()ing synchronous ESM graphs
This release adds
require()support for synchronous ESM graphs under the flag--experimental-require-module.If
--experimental-require-moduleis enabled, and the ECMAScript module being loaded byrequire()meets the following requirements:
- Explicitly marked as an ES module with a "type": "module" field in the closest package.json or a .mjs extension.
- Fully synchronous (contains no top-level await).
require()will load the requested module as an ES Module, and return the module name space object. In this case it is similar to dynamicimport()but is run synchronously and returns the name space object directly.Contributed by Joyee Cheung in #51977
path: add
matchesGlobmethodGlob 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
duplexPairreturns an array with two items, each being aDuplexstream connected to the other side:const [ sideA, sideB ] = duplexPair();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) #54054- [
ae30674991] - meta: add jake to collaborators (jakecastelli) #54004- [
4a3ecbfc9b] - (SEMVER-MINOR) stream: implementminoption forReadableStreamBYOBReader.read(Mattias Buelens) #50888Commits
- [
b3a2726cbc] - assert: use isError instead of instanceof in innerOk (Pietro Marchini) #53980- [
c7e4c3daf4] - benchmark: add cpSync benchmark (Yagiz Nizipli) #53612- [
a52de8c5ff] - bootstrap: print--helpmessage usingconsole.log(Jacob Hummer) #51463- [
61b90e7c5e] - build: update gcovr to 7.2 and codecov config (Benjamin E. Coe) #54019- [
a9c04eaa27] - build: ensure v8_pointer_compression_sandbox is enabled on 64bit (Shelley Vohr) #53884- [
342a663d7a] - build: trigger coverage ci when updating codecov (Yagiz Nizipli) #53929- [
5727b4d129] - build: update codecov coverage build count (Yagiz Nizipli) #53929- [
977af25870] - build: disable test-asan workflow (Michaël Zasso) #53844- [
04798fb104] - build: fix build warning of c-ares under GN build (Cheng) #53750- [
5ec5e78574] - build: fix mac build error of c-ares under GN (Cheng) #53687- [
3d8721f0a4] - build: add version-specific library path for AIX (Richard Lau) #53585- [
ffb0bd344d] - build, tools: drop leading/fromr2dir(Richard Lau) #53951- [
a2d74f4c31] - build,tools: simplify upload of shasum signatures (Michaël Zasso) #53892- [
993bb3b6e7] - child_process: fix incomplete prototype pollution hardening (Liran Tal) #53781- [
137a2e5766] - cli: document--inspectport0behavior (Aviv Keller) #53782- [
820e6e1737] - cli: updatenode.1to reflect Atom's sunset (Aviv Keller) #53734- [
fa0e8d7b3b] - crypto: avoid std::function (Tobias Nießen) #53683- [
460240c368] - crypto: make deriveBits length parameter optional and nullable (Filip Skokan) #53601- [
ceb1d5e00a] - crypto: avoid taking ownership of OpenSSL objects (Tobias Nießen) #53460- [
44268c27eb] - deps: update corepack to 0.29.3 (Node.js GitHub Bot) #54072- [
496975ece0] - deps: update c-ares to v1.32.3 (Node.js GitHub Bot) #54020- [
5eea419349] - deps: update c-ares to v1.32.2 (Node.js GitHub Bot) #53865- [
8c8e3688c5] - deps: update googletest to4b21f1a(Node.js GitHub Bot) #53842- [
78f6b34c77] - deps: update minimatch to 10.0.1 (Node.js GitHub Bot) #53841- [
398f7acca3] - deps: update corepack to 0.29.2 (Node.js GitHub Bot) #53838- [
fa8f99d90b] - deps: update simdutf to 5.3.0 (Node.js GitHub Bot) #53837- [
a19b28336b] - deps: update ada to 2.9.0 (Node.js GitHub Bot) #53748- [
2f66c7e707] - deps: upgrade npm to 10.8.2 (npm team) #53799- [
2a2620e7c0] - deps: update googletest to34ad51b(Node.js GitHub Bot) #53157- [
c01ce60ce7] - deps: update googletest to305e5a2(Node.js GitHub Bot) #53157- [
832328ea01] - deps: update c-ares to v1.32.1 (Node.js GitHub Bot) #53753- [
878e9a4ae7] - deps: update minimatch to 9.0.5 (Node.js GitHub Bot) #53646- [
4647e6b5c5] - deps: update c-ares to v1.32.0 (Node.js GitHub Bot) #53722- [
30310bf887] - doc: move numCPUs require to top of file in cluster CJS example (Alfredo González) #53932- [
36170eddca] - doc: update security-release process to automated one (Rafael Gonzaga) #53877- [
55f5e76ba7] - doc: fix typo in technical-priorities.md (YoonSoo_Shin) #54094- [
1c0ccc0ca8] - doc: fix typo in diagnostic tooling support tiers document (Taejin Kim) #54058- [
6a5120ff0f] - doc: move GeoffreyBooth to TSC regular member (Geoffrey Booth) #54047- [
ead05aad2a] - doc: fix typo in recognizing-contributors (Marco Ippolito) #53990- [
25e59aebac] - doc: update boxstarter README (Aviv Keller) #53785- [
a3183fb927] - doc: add info about prefix-only modules tomodule.builtinModules(Grigory) #53954- [
89599e025f] - doc: removescroll-behavior: smooth;(Cloyd Lau) #53942- [
139c62e40c] - doc: move --test-coverage-{ex,in}clude to proper location (Colin Ihrig) #53926- [
233aba90ea] - doc: updateapi_assetsREADME for new files (Aviv Keller) #53676- [
44a1cbe98a] - doc: add MattiasBuelens to collaborators (Mattias Buelens) #53895- [
f5280ddbc5] - doc: fix casing of GitHub handle for two collaborators (Antoine du Hamel) #53857- [
9224e3eef1] - doc: update release-post nodejs.org script (Rafael Gonzaga) #53762- [
f87eed8de4] - doc: move MylesBorins to emeritus (Myles Borins) #53760- [
32ac80ae8d] - doc: add Rafael to the last security release (Rafael Gonzaga) #53769- [
e71aa7e98b] - doc: use mock.callCount() in examples (Sébastien Règne) #53754- [
f64db24312] - doc: clarify authenticity of plaintexts in update (Tobias Nießen) #53784- [
51e736ac83] - doc: add option to have support me link (Michael Dawson) #53312- [
9804731d0f] - doc: updatescroll-padding-topto 4rem (Cloyd Lau) #53662- [
229f7f8b8a] - doc: mention v8.setFlagsFromString to pm (Rafael Gonzaga) #53731- [
98d59aa929] - doc: remove the last <pre> tag (Claudio W) #53741- [
60ee41df08] - doc: exclude voting and regular TSC from spotlight (Michael Dawson) #53694- [
c3536cfa99] - doc: fix releases guide for recent Git versions (Michaël Zasso) #53709- [
3b632e1871] - doc: requirenode:processin assert doc examples (Alfredo González) #53702- [
754090c110] - doc: add additional explanation to the wildcard section in permissions (jakecastelli) #53664- [
4346de7267] - doc: mark NODE_MODULE_VERSION for Node.js 22.0.0 (Michaël Zasso) #53650- [
758178bd72] - doc: include node.module_timer on available categories (Vinicius Lourenço) #53638- [
e0d213df2b] - doc: fix module customization hook examples (Elliot Goodrich) #53637- [
43ac5a2441] - doc: fix doc for correct usage with plan & TestContext (Emil Tayeb) #53615- [
5076f0d292] - doc: remove some news issues that are no longer (Michael Dawson) #53608- [
c997dbef34] - doc: add issue for news from ambassadors (Michael Dawson) #53607- [
16d55f1d25] - doc: add esm example for os (Leonardo Peixoto) #53604- [
156fc536f2] - doc: clarify usage of coverage reporters (Eliphaz Bouye) #53523- [
f8f247bc99] - doc: document addition testing options (Aviv Keller) #53569- [
73860aca56] - doc: clarify that fs.exists() may return false for existing symlink (Tobias Nießen) #53566- [
59c5c5c73e] - doc: note http.closeAllConnections excludes upgraded sockets (Rob Hogan) #53560- [
1cd3c8eb27] - doc: fix typo (EhsanKhaki) #53397- [
3c5e593e2a] - doc, meta: add PTAL to glossary (Aviv Keller) #53770- [
f336e61257] - doc, test: tracing channel hasSubscribers getter (Thomas Hunter II) #52908- [
4187b81439] - doc, typings: events.once accepts symbol event type (René) #53542- [
3cdf94d403] - doc,tty: add documentation for ReadStream and WriteStream (jakecastelli) #53567- [
5d03f6fab7] - esm: move hooks test with others (Geoffrey Booth) #53558- [
490f15a99b] - fs: ensure consistency for mkdtemp in both fs and fs/promises (YieldRay) #53776- [
8e64c02b19] - (SEMVER-MINOR) http: add diagnostics channelhttp.client.request.error(Kohei Ueno) #54054- [
0d70c79ebf] - lib: optimize copyError with ObjectAssign in primordials (HEESEUNG) #53999- [
a4ff2ac0f0] - lib: improve cluster/primary code (Ehsan Khakifirooz) #53756- [
c667fbd988] - lib: improve error message when index not found on cjs (Vinicius Lourenço) #53859- [
51ba566171] - lib: decorate async stack trace in source maps (Chengzhong Wu) #53860- [
d012dd3d29] - lib: remove path.resolve from permissions.js (Rafael Gonzaga) #53729- [
1e9ff50446] - lib: add toJSON to PerformanceMeasure (theanarkh) #53603- [
3a2d8bffa5] - lib: convert WeakMaps in cjs loader with private symbol properties (Chengzhong Wu) #52095- [
e326342bd7] - meta: addsqliteto js subsystems (Alex Yang) #53911- [
bfabfb4d17] - meta: move tsc member to emeritus (Michael Dawson) #54029- [
ae30674991] - meta: add jake to collaborators (jakecastelli) #54004- [
6ca0cfc602] - meta: remove license for hljs (Aviv Keller) #53970- [
e6ba121e83] - meta: make more bug-report information required (Aviv Keller) #53718- [
1864cddd0c] - meta: store actions secrets in environment (Aviv Keller) #53930- [
c0b24e5071] - meta: move anonrig to tsc voting members (Yagiz Nizipli) #53888- [
e60b089f7f] - meta: remove redudant logging from dep updaters (Aviv Keller) #53783- [
bff6995ec3] - meta: change email address of anonrig (Yagiz Nizipli) #53829- [
c2bb46020a] - meta: addnode_sqlite.cto PR label config (Aviv Keller) #53797- [
b8d2bbc6d6] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #53758- [
0ad4b7c1f7] - meta: use HTML entities in commit-queue comment (Aviv Keller) #53744- [
aa0c5c25d1] - meta: move regular TSC member to emeritus (Michael Dawson) #53693- [
a5f5b4550b] - meta: bump codecov/codecov-action from 4.4.1 to 4.5.0 (dependabot[bot]) #53675- [
f84e215c90] - meta: bump mozilla-actions/sccache-action from 0.0.4 to 0.0.5 (dependabot[bot]) #53674- [
d5a9c249d3] - meta: bump github/codeql-action from 3.25.7 to 3.25.11 (dependabot[bot]) #53673- [
39d6c780c8] - meta: bump actions/checkout from 4.1.6 to 4.1.7 (dependabot[bot]) #53672- [
bb6fe38a34] - meta: bump peter-evans/create-pull-request from 6.0.5 to 6.1.0 (dependabot[bot]) #53671- [
5dcdfb5e6b] - meta: bump step-security/harden-runner from 2.8.0 to 2.8.1 (dependabot[bot]) #53670- [
44d901a1c9] - meta: move member from TSC regular to emeriti (Michael Dawson) #53599- [
0c91186afa] - meta: warnings bypass deprecation cycle (Benjamin Gruenbaum) #53513- [
bcd08bef60] - meta: prevent constant references to issues in versioning (Aviv Keller) #53564- [
7625dc4927] - module: fix submodules loaded by require() and import() (Joyee Cheung) #52487- [
6c4f4772e3] - module: tidy code and comments (Jacob Smith) #52437- [
51b88faeac] - module: disallow CJS <-> ESM edges in a cycle from require(esm) (Joyee Cheung) #52264- [
4dae68ced4] - module: centralize SourceTextModule compilation for builtin loader (Joyee Cheung) #52291- [
cad46afc07] - (SEMVER-MINOR) module: support require()ing synchronous ESM graphs (Joyee Cheung) #51977- [
ac58c829a1] - node-api: add property keys benchmark (Chengzhong Wu) #54012- [
e6a4104bd1] - node-api: rename nogc to basic (Gabriel Schulhof) #53830- [
57b8b8e18e] - (SEMVER-MINOR) path: addmatchesGlobmethod (Aviv Keller) #52881- [
bf6aa53299] - process: unify experimental warning messages (Aviv Keller) #53704- [
2a3ae16e62] - src: expose LookupAndCompile with parameters (Shelley Vohr) #53886- [
0109f9c961] - src: simplify AESCipherTraits::AdditionalConfig (Tobias Nießen) #53890- [
6bafe8a457] - src: fix -Wshadow warning (Shelley Vohr) #53885- [
4c36d6c47a] - src: fix slice of slice of file-backed Blob (Josh Lee) #53972- [
848c2d59fb] - src: cache invariant code motion (Rafael Gonzaga) #53879- [
acaf5dd1cd] - src: avoid strcmp in ImportJWKAsymmetricKey (Tobias Nießen) #53813- [
b71250aaf9] - src: replace ToLocalChecked uses with ToLocal in node-file (James M Snell) #53869- [
aff9a5339a] - src: fix env-file flag to ignore spaces before quotes (Mohit Malhotra) #53786- [
e352a4ef27] - src: update outdated references to spec sections (Tobias Nießen) #53832- [
1a4da22a60] - src: use Maybe<void> in ManagedEVPPKey (Tobias Nießen) #53811- [
0c24b91bd2] - src: fix error handling in ExportJWKAsymmetricKey (Tobias Nießen) #53767- [
81cd84c716] - src: use Maybe<void> in node::crypto::error (Tobias Nießen) #53766- [
8135f3616d] - src: fix typo in node.h (Daeyeon Jeong) #53759- [
e6d735a997] - src: document the Node.js context embedder data (Joyee Cheung) #53611- [
584beaa2ed] - src: zero-initialize data that are copied into the snapshot (Joyee Cheung) #53563- [
ef5dabd8c6] - src: fix Worker termination when '--inspect-brk' is passed (Daeyeon Jeong) #53724- [
62f4f6f48e] - src: remove ArrayBufferAllocator::Reallocate override (Shu-yu Guo) #52910- [
a6dd8643fa] - src: reduce unnecessary serialization of CLI options in C++ (Joyee Cheung) #52451- [
31fdb881cf] - src,lib: expose getCategoryEnabledBuffer to use on node.http (Vinicius Lourenço) #53602- [
2eea8502e1] - src,test: further cleanup references to osx (Daniel Bayley) #53820- [
7c21bb99a5] - (SEMVER-MINOR) stream: expose DuplexPair API (Austin Wright) #34111- [
56299f7309] - stream: improve inspector ergonomics (Benjamin Gruenbaum) #53800- [
9b82b15230] - stream: update ongoing promise in async iterator return() method (Mattias Buelens) #52657- [
4a3ecbfc9b] - (SEMVER-MINOR) stream: implementminoption forReadableStreamBYOBReader.read(Mattias Buelens) #50888- [
bd996bf694] - test: do not swallow uncaughtException errors in exit code tests (Meghan Denny) #54039- [
77761af077] - test: move shared module totest/common(Rich Trott) #54042- [
bec88ce138] - test: skip sea tests with more accurate available disk space estimation (Chengzhong Wu) #53996- [
9a98ad47cd] - test: remove unnecessary console log (KAYYY) #53812- [
364d09cf0a] - test: add comments and rename test for timer robustness (Rich Trott) #54008- [
5c5093dc0a] - test: add test for one arg timers to increase coverage (Carlos Espa) #54007- [
43ede1ae0b] - test: mark 'test/parallel/test-sqlite.js' as flaky (Colin Ihrig) #54031- [
0ad783cb42] - test: mark test-pipe-file-to-http as flaky (jakecastelli) #53751- [
f2b4fd3544] - test: compare paths on Windows without considering case (Early Riser) #53993- [
2e69e5f4d2] - test: skip sea tests in large debug builds (Chengzhong Wu) #53918- [
56c26fe6e5] - test: skip --title check on IBM i (Abdirahim Musse) #53952- [
6d0b8ded00] - test: reduce flakiness oftest-assert-esm-cjs-message-verify(Antoine du Hamel) #53967- [
edb75aebd7] - test: usePYTHONexecutable from env inassertSnapshot(Antoine du Hamel) #53938- [
be94e470a6] - test: deflake test-blob-file-backed (Luigi Pinca) #53920- [
c2b0dcd165] - test: un-set inspector-async-hook-setup-at-inspect-brk as flaky (Abdirahim Musse) #53692- [
6dc18981ac] - test: use python3 instead of python in pummel test (Mathis Wiehl) #53057- [
662bf524e1] - test: do not assume cwd in snapshot tests (Antoine du Hamel) #53146- [
a07526702a] - test: fix OpenSSL version checks (Richard Lau) #53503- [
2b70018d11] - test: refactor, add assertion to http-request-end (jakecastelli) #53411- [
c0262c1561] - test_runner: switched to internal readline interface (Emil Tayeb) #54000- [
fb7342246c] - test_runner: do not throw on mocked clearTimeout() (Aksinya Bykova) #54005- [
367f9e77f3] - test_runner: cleanup global event listeners after run (Eddie Abbondanzio) #53878- [
206c668ee7] - test_runner: remove plan option from run() (Colin Ihrig) #53834- [
8660d481e5] - tls: add setKeyCert() to tls.Socket (Brian White) #53636- [
9c5beabd83] - tools: fixSLACK_TITLEin invalid commit workflow (Antoine du Hamel) #53912- [
4dedf2aead] - tools: update lint-md-dependencies (Node.js GitHub Bot) #53840- [
642d5c5d30] - tools: use v8_features.json to populate config.gypi (Cheng) #53749- [
031206544d] - tools: update lint-md-dependencies to [email protected] (Node.js GitHub Bot) #53555- [
8404421ea6] - tools: replace reference to NodeMainInstance with SnapshotBuilder (codediverdev) #53544- [
2d8490fed5] - typings: addfs_dirtypes (Yagiz Nizipli) #53631- [
325eae0b3f] - url: fix typo (KAYYY) #53827- [
7fc45f5e3f] - url: reduce unnecessary string copies (Yagiz Nizipli) #53628- [
1d961facf1] - url: add missing documentation forURL.parse()(Yagiz Nizipli) #53733- [
ce877c6d0f] - util: fix crashing when emitting new Buffer() deprecation warning #53075 (Aras Abbasi) #53089- [
d6d04279ca] - worker: allow copied NODE_OPTIONS in the env setting (Joyee Cheung) #53596
v20.16.0: 2024-07-24, Version 20.16.0 'Iron' (LTS), @marco-ippolitoprocess: add process.getBuiltinModule(id)
process.getBuiltinModule(id)provides a way to load built-in modules in 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 byimportin a non-Node.js environment or having to use dynamicimport()which either turns the module into an asynchronous module, or turns a synchronous API into an asynchronous one.if (globalThis.process?.getBuiltinModule) { // Run in Node.js, use the Node.js fs module. const fs = globalThis.process.getBuiltinModule('fs'); // If `require()` is needed to load user-modules, use createRequire() const module = globalThis.process.getBuiltinModule('module'); const require = module.createRequire(import.meta.url); const foo = require('foo'); }If
idspecifies a built-in module available in the current Node.js process,process.getBuiltinModule(id)method returns the corresponding built-in module. Ifiddoes not correspond to any built-in module,undefinedis returned.
process.getBuiltinModule(id)accepts built-in module IDs that are recognized bymodule.isBuiltin(id).The references returned by
process.getBuiltinModule(id)always point to the built-in module corresponding toideven if users modifyrequire.cacheso 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
clientCertEngineoption forhttps.request(),tls.createSecureContext(), andtls.createServer(); theprivateKeyEngineandprivateKeyIdentifierfortls.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.setAsyncCallStackDepthwas 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.setAsyncCallStackDepthwith depth 0.Contributed by Joyee Cheung in #53473
Other Notable Changes
- [
09e2191432] - (SEMVER-MINOR) buffer: add .bytes() method to Blob (Matthew Aitken) #53221- [
394e00f41c] - (SEMVER-MINOR) doc: add context.assert docs (Colin Ihrig) #53169- [
a8601efa5e] - (SEMVER-MINOR) doc: improve explanation about built-in modules (Joyee Cheung) #52762- [
5e76c258f7] - doc: add StefanStojanovic to collaborators (StefanStojanovic) #53118- [
5e694026f1] - doc: add Marco Ippolito to TSC (Rafael Gonzaga) #53008- [
f3ba1eb72f] - (SEMVER-MINOR) net: add new net.server.listen tracing channel (Paolo Insogna) #53136- [
2bcce3255b] - (SEMVER-MINOR) src,permission: --allow-wasi & prevent WASI exec (Rafael Gonzaga) #53124- [
a03a4c7bdd] - (SEMVER-MINOR) test_runner: add context.fullName (Colin Ihrig) #53169- [
69b828f5a5] - (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) #53431- [
65308b6692] - benchmark: fix api restriction for the permission category (Ryan Tsien) #51528- [
1e2bc2c2d0] - benchmark: fix napi/ref addon (Michaël Zasso) #53233- [
09e2191432] - (SEMVER-MINOR) buffer: add .bytes() method to Blob (Matthew Aitken) #53221- [
e1951a4804] - build: fix spacing before NINJA_ARGS (jakecastelli) #53181- [
76f3bb3460] - build: generate binlog in out directories (Chengzhong Wu) #53325- [
eded0c187b] - build: support python 3.13 (Chengzhong Wu) #53190- [
1e57c67fdb] - build: update ruff to v0.4.5 (Yagiz Nizipli) #53180- [
28e71ede63] - build: add--skip-teststotest-ci-jstarget (Antoine du Hamel) #53105- [
bb06778a65] - build: fix building embedtest in GN build (Cheng) #53145- [
117ff5f139] - build: use broader detection for 'help' (Aviv Keller) #53045- [
9aa896e7f5] - build: fix -j propagation to ninja (Tobias Nießen) #53088- [
acdbc78955] - build: exit on unsupported host OS for Android (Mohammed Keyvanzadeh) #52882- [
bf3d94478e] - build: fix--enable-d8builds (Richard Lau) #53106- [
99da7d7237] - build: set "clang" in config.gypi in GN build (Cheng) #53004- [
9446278f03] - crypto: improve GetECGroupBits signature (Tobias Nießen) #53364- [
dc2a4af68d] - crypto: fix propagation of "memory limit exceeded" (Tobias Nießen) #53300- [
c5174f5e60] - deps: update c-ares to v1.31.0 (Node.js GitHub Bot) #53554- [
28e932dc7a] - deps: update undici to 6.19.2 (Node.js GitHub Bot) #53468- [
e4f9c663c4] - deps: update undici to 6.19.1 (Node.js GitHub Bot) #53468- [
171dc50fdc] - deps: update undici to 6.19.1 (Node.js GitHub Bot) #53468- [
6bb6a9100d] - deps: update undici to 6.19.0 (Node.js GitHub Bot) #53468- [
815d71b4cd] - deps: update acorn-walk to 8.3.3 (Node.js GitHub Bot) #53466- [
8b5f1d765a] - deps: update zlib to 1.3.0.1-motley-209717d (Node.js GitHub Bot) #53156- [
fc73da6f50] - deps: update c-ares to v1.30.0 (Node.js GitHub Bot) #53416- [
a6b803abd6] - deps: update undici to 6.18.2 (Node.js GitHub Bot) #53255- [
0f235535bb] - deps: update ada to 2.8.0 (Node.js GitHub Bot) #53254- [
63407269a8] - deps: update corepack to 0.28.2 (Node.js GitHub Bot) #53253- [
7a126e8773] - deps: update c-ares to 1.29.0 (Node.js GitHub Bot) #53155- [
0c8fcceefa] - deps: upgrade npm to 10.8.1 (npm team) #53207- [
23866979f2] - deps: update undici to 6.18.1 (Node.js GitHub Bot) #53073- [
4987a00142] - deps: update undici to 6.18.0 (Node.js GitHub Bot) #53073- [
af226d0d9c] - deps: update undici to 6.17.0 (Node.js GitHub Bot) #53034- [
c9c6bf8bfb] - deps: update undici to 6.16.1 (Node.js GitHub Bot) #52948- [
b32b62d590] - deps: update undici to 6.15.0 (Matthew Aitken) #52763- [
6e6641bea2] - deps: update googletest to33af80a(Node.js GitHub Bot) #53053- [
aa96fbe03e] - deps: update zlib to 1.3.0.1-motley-4f653ff (Node.js GitHub Bot) #53052- [
ba3310ded5] - deps: upgrade npm to 10.8.0 (npm team) #53014- [
8537a2aecf] - doc: recommend not using libuv node-api function (Michael Dawson) #53521- [
c13600f0db] - doc: add additional guidance for PRs to deps (Michael Dawson) #53499- [
7c3edd952e] - doc: only apply content-visibility on all.html (Filip Skokan) #53510- [
ac5be14ed8] - doc: update the description of the return type for options.filter (Zhenwei Jin) #52742- [
cac300e351] - doc: remove first timer badge (Aviv Keller) #53338- [
feb61459fd] - doc: add Buffer.from(string) to functions that use buffer pool (Christian Bates-White) #52801- [
9e0a6e938b] - doc: add initial text for ambassadors program (Michael Dawson) #52857- [
55ac53cb0b] - doc: define more cases for stream event emissions (Aviv Keller) #53317- [
7128e0f9c9] - doc: remove mentions of policy model from security info (Aviv Keller) #53249- [
3e290433df] - doc: fix mistakes in the moduleloadhook api (István Donkó) #53349- [
3445c08144] - doc: doc-only deprecate OpenSSL engine-based APIs (Richard Lau) #53329- [
a3e8cda019] - doc: mark --heap-prof and related flags stable (Joyee Cheung) #53343- [
0b9daaae4d] - doc: mark --cpu-prof and related flags stable (Joyee Cheung) #53343- [
daf91834f6] - doc: remove IRC from man page (Tobias Nießen) #53344- [
4246c8fa31] - doc: fix broken link instatic-analysis.md(Richard Lau) #53345- [
955b98a0e4] - doc: remove cases for keys not containing "*" in PATTERN_KEY_COMPARE (Maarten Zuidhoorn) #53215- [
7832b1815f] - doc: add err param to fs.cp callback (Feng Yu) #53234- [
01533df87f] - doc: adderrparam to fs.copyFile callback (Feng Yu) #53234- [
b081bc7d5e] - doc: reserve 128 for Electron 32 (Keeley Hammond) #53203- [
6b8460b560] - doc: add note to ninjia build for macOS using -jn flag (jakecastelli) #53187- [
394e00f41c] - (SEMVER-MINOR) doc: add context.assert docs (Colin Ihrig) #53169- [
c143d61d0e] - doc: include ESM import for HTTP (Aviv Keller) #53165- [
a8601efa5e] - (SEMVER-MINOR) doc: improve explanation about built-in modules (Joyee Cheung) #52762- [
560392de3d] - doc: fix minor grammar and style issues in SECURITY.md (Rich Trott) #53168- [
9f8e34323d] - doc: mention pm is not enforced when using fd (Rafael Gonzaga) #53125- [
3ac775b015] - doc: fix format inesm.md(Pop Moore) #53170- [
41b08bdcf7] - doc: fix wrong variable name in example oftimers.tick()(Deokjin Kim) #53147- [
698ea7aa5a] - doc: fix wrong function name in example ofcontext.plan()(Deokjin Kim) #53140- [
a99359d79d] - doc: add note for windows users and symlinks (Aviv Keller) #53117- [
61ec2af292] - doc: move all TLS-PSK documentation to its section (Alba Mendez) #35717- [
5e76c258f7] - doc: add StefanStojanovic to collaborators (StefanStojanovic) #53118- [
1dc406ba62] - doc: improve ninja build for --built-in-modules-path (jakecastelli) #53007- [
2854585662] - doc: avoid hiding by navigation bar in anchor jumping (Cloyd Lau) #45131- [
3f432f829f] - doc: remove unavailable youtube link in pull requests (Deokjin Kim) #52982- [
5e694026f1] - doc: add Marco Ippolito to TSC (Rafael Gonzaga) #53008- [
231e44043e] - doc: add missing supported timer values intimers.enable()(Deokjin Kim) #52969- [
b8944f6938] - doc, http: addrejectNonStandardBodyWritesoption, clear its behaviour (jakecastelli) #53396- [
0354584738] - doc, meta: organize contributing to Node-API guide (Aviv Keller) #53243- [
9ae3719c4e] - doc, meta: use markdown rather than HTML in CONTRIBUTING.md (Aviv Keller) #53235- [
621e073c96] - fs: do not crash if the watched file is removed while setting up watch (Matteo Collina) #53452- [
f00ee1c377] - fs: fix cp dir/non-dir mismatch error messages (Mathis Wiehl) #53150- [[
655b960418](https:/
Configuration
📅 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.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: logonoff, red-hat-konflux[bot], spadgett
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [spadgett]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
/lifecycle stale
/remove-lifecycle stale
@jhadvig @TheRealJon @vojtechszocs Any concerns with this? It looks like it's only affecting the Dockerfile for the demo plugin. Is that the Dockerfile used to build the demo plugin image in CI, or do we need to test this manually?
Is that the Dockerfile used to build the demo plugin image in CI, or do we need to test this manually?
I believe it is.
@red-hat-konflux[bot]: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
| Test name | Commit | Details | Required | Rerun command |
|---|---|---|---|---|
| ci/prow/okd-scos-images | 27914057405f98105e8651aee928aef345cc76f0 | link | true | /test okd-scos-images |
| ci/prow/images | 27914057405f98105e8651aee928aef345cc76f0 | link | true | /test images |
| ci/prow/e2e-gcp-console | 27914057405f98105e8651aee928aef345cc76f0 | link | true | /test e2e-gcp-console |
Full PR test history. Your PR dashboard.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.
/close
superseded by https://github.com/openshift/console/pull/14841
@logonoff: Closed this PR.
In response to this:
/close
superseded by https://github.com/openshift/console/pull/14841
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.