nodejs/node
 Watch   
 Star   
 Fork   
2 days ago
node

2024-12-19, Version 23.5.0 (Current), @aduh95

Notable Changes

WebCryptoAPI Ed25519 and X25519 algorithms are now stable

Following the merge of Curve25519 into the Web Cryptography API Editor's Draft the Ed25519 and X25519 algorithm identifiers are now stable and will no longer emit an ExperimentalWarning upon use.

Contributed by Filip Skokan in #56142.

On-thread hooks are back

This release introduces module.registerHooks() for registering module loader customization hooks that are run for all modules loaded by require(), import and functions returned by createRequire() in the same thread, which makes them easier for CJS monkey-patchers to migrate to.

import assert from 'node:assert';
import { registerHooks, createRequire } from 'node:module';
import { writeFileSync } from 'node:fs';

writeFileSync('./bar.js', 'export const id = 123;', 'utf8');

registerHooks({
  resolve(specifier, context, nextResolve) {
    const replaced = specifier.replace('foo', 'bar');
    return nextResolve(replaced, context);
  },
  load(url, context, nextLoad) {
    const result = nextLoad(url, context);
    return {
      ...result,
      source: result.source.toString().replace('123', '456'),
    };
  },
});

// Checks that it works with require.
const require = createRequire(import.meta.url);
const required = require('./foo.js');  // Redirected by resolve hook to bar.js
assert.strictEqual(required.id, 456);  // Replaced by load hook to 456

// Checks that it works with import.
const imported = await import('./foo.js');  // Redirected by resolve hook to bar.js
assert.strictEqual(imported.id, 456);  // Replaced by load hook to 456

This complements the module.register() hooks - the new hooks fit better internally and cover all corners in the module graph; whereas module.register() previously could not cover require() while it was on-thread, and still cannot cover createRequire() after being moved off-thread.

They are also run in the same thread as the modules being loaded and where the hooks are registered, which means they are easier to debug (no more console.log() getting lost) and do not have the many deadlock issues haunting the module.register() hooks. The new API also takes functions directly so that it's easier for intermediate loader packages to take user options from files that the hooks can't be aware of, like many existing CJS monkey-patchers do.

Contributed by Joyee Cheung in #55698.

Other notable changes

  • [59cae91465] - (SEMVER-MINOR) dgram: support blocklist in udp (theanarkh) #56087
  • [72f79b44ed] - doc: stabilize util.styleText (Rafael Gonzaga) #56265
  • [b5a2c0777d] - (SEMVER-MINOR) module: add prefix-only modules to module.builtinModules (Jordan Harband) #56185
  • [9863d27566] - (SEMVER-MINOR) module: only emit require(esm) warning under --trace-require-module (Joyee Cheung) #56194
  • [8e780bc5ae] - (SEMVER-MINOR) module: use synchronous hooks for preparsing in import(cjs) (Joyee Cheung) #55698
  • [65bc8e847f] - (SEMVER-MINOR) report: fix typos in report keys and bump the version (Yuan-Ming Hsu) #56068
  • [0ab36e1937] - (SEMVER-MINOR) sqlite: aggregate constants in a single property (Edigleysson Silva (Edy)) #56213
  • [efcc5d90c5] - (SEMVER-MINOR) src,lib: stabilize permission model (Rafael Gonzaga) #56201

Commits

  • [2314e4916e] - assert: make Maps be partially compared in partialDeepStrictEqual (Giovanni Bucci) #56195
  • [cfbdff7b45] - assert: make partialDeepStrictEqual work with ArrayBuffers (Giovanni Bucci) #56098
  • [f264dd6d20] - buffer: document concat zero-fill (Duncan) #55562
  • [4831b87d83] - build: set DESTCPU correctly for 'make binary' on loongarch64 (吴小白) #56271
  • [1497bb405e] - build: fix missing fp16 dependency in d8 builds (Joyee Cheung) #56266
  • [445c8c7489] - build: add major release action (Rafael Gonzaga) #56199
  • [f4faedfa69] - build: fix C string encoding for PRODUCT_DIR_ABS (Anna Henningsen) #56111
  • [6f49c8006c] - build: use variable for simdutf path (Shelley Vohr) #56196
  • [fcaa2c82a6] - build: fix GN build on macOS (Joyee Cheung) #56141
  • [08e5309f4f] - Revert "build: avoid compiling with VS v17.12" (Gerhard Stöbich) #56151
  • [c2fb38cfdf] - crypto: graduate WebCryptoAPI Ed25519 and X25519 algorithms as stable (Filip Skokan) #56142
  • [8658833884] - deps: update nghttp3 to 1.6.0 (Node.js GitHub Bot) #56258
  • [7c941d4610] - deps: update simdutf to 5.6.4 (Node.js GitHub Bot) #56255
  • [4e9113eada] - deps: update libuv to 1.49.2 (Luigi Pinca) #56224
  • [db6aba12e4] - deps: update c-ares to v1.34.4 (Node.js GitHub Bot) #56256
  • [25bb462bc2] - deps: define V8_PRESERVE_MOST as no-op on Windows (Stefan Stojanovic) #56238
  • [54308c51bb] - deps: update sqlite to 3.47.2 (Node.js GitHub Bot) #56178
  • [59cae91465] - (SEMVER-MINOR) dgram: support blocklist in udp (theanarkh) #56087
  • [52c18e605e] - doc: fix color contrast issue in light mode (Rich Trott) #56272
  • [72f79b44ed] - doc: stabilize util.styleText (Rafael Gonzaga) #56265
  • [0d08756d0c] - doc: clarify util.aborted resource usage (Kunal Kumar) #55780
  • [f94f21080b] - doc: add esm examples to node:repl (Alfredo González) #55432
  • [7a10ef88d9] - doc: add esm examples to node:readline (Alfredo González) #55335
  • [cc7a7c391b] - doc: fix 'which' to 'that' and add commas (Selveter Senitro) #56216
  • [c5b086250e] - doc: fix winget config path (Alex Yang) #56233
  • [71c38a24d4] - doc: add esm examples to node:tls (Alfredo González) #56229
  • [394fffbbde] - doc: add esm examples to node:perf_hooks (Alfredo González) #55257
  • [7b2a6ee61e] - doc: sea.getRawAsset(key) always returns an ArrayBuffer (沈鸿飞) #56206
  • [8092dcf27e] - doc: update announce documentation for releases (Rafael Gonzaga) #56200
  • [2974667815] - doc: update blog link to /vulnerability (Rafael Gonzaga) #56198
  • [f3b3ff85e0] - doc: call out import.meta is only supported in ES modules (Anton Kastritskii) #56186
  • [a9e67280e7] - doc: add ambassador message - benefits of Node.js (Michael Dawson) #56085
  • [e4922ab15f] - doc: fix incorrect link to style guide (Yuan-Ming Hsu) #56181
  • [114a3e5a05] - doc: fix c++ addon hello world sample (Edigleysson Silva (Edy)) #56172
  • [f1c2d2f65e] - doc: update blog release-post link (Ruy Adorno) #56123
  • [d48b5224c0] - doc: fix module.md headings (Chengzhong Wu) #56131
  • [4cc0493a0b] - fs: make mutating options in Callback readdir() not affect results (LiviaMedeiros) #56057
  • [8d485f1c09] - fs: make mutating options in Promises readdir() not affect results (LiviaMedeiros) #56057
  • [595851b5ed] - fs,win: fix readdir for named pipe (Hüseyin Açacak) #56110
  • [075b36b7b4] - http: add setDefaultHeaders option to http.request (Tim Perry) #56112
  • [febd969c46] - http2: remove duplicate codeblock (Vitaly Aminev) #55915
  • [b0ebd23e52] - http2: support ALPNCallback option (ZYSzys) #56187
  • [f10239fde7] - lib: remove redundant global regexps (Gürgün Dayıoğlu) #56182
  • [fd55d3cbdd] - lib: clean up persisted signals when they are settled (Edigleysson Silva (Edy)) #56001
  • [889094fdbc] - lib: handle Float16Array in node:v8 serdes (Bartek Iwańczuk) #55996
  • [5aec513207] - lib: disable default memory leak warning for AbortSignal (Lenz Weber-Tronic) #55816
  • [b5a2c0777d] - (SEMVER-MINOR) module: add prefix-only modules to module.builtinModules (Jordan Harband) #56185
  • [9863d27566] - (SEMVER-MINOR) module: only emit require(esm) warning under --trace-require-module (Joyee Cheung) #56194
  • [5665e86da6] - module: prevent main thread exiting before esm worker ends (Shima Ryuhei) #56183
  • [8e780bc5ae] - (SEMVER-MINOR) module: use synchronous hooks for preparsing in import(cjs) (Joyee Cheung) #55698
  • [e5bb6c2303] - (SEMVER-MINOR) module: implement module.registerHooks() (Joyee Cheung) #55698
  • [f883bedceb] - node-api: allow napi_delete_reference in finalizers (Chengzhong Wu) #55620
  • [65bc8e847f] - (SEMVER-MINOR) report: fix typos in report keys and bump the version (Yuan-Ming Hsu) #56068
  • [a6f0cfa468] - sea: only assert snapshot main function for main threads (Joyee Cheung) #56120
  • [0ab36e1937] - (SEMVER-MINOR) sqlite: aggregate constants in a single property (Edigleysson Silva (Edy)) #56213
  • [4745798225] - sqlite: add support for custom functions (Colin Ihrig) #55985
  • [53cc0cc744] - sqlite: support db.loadExtension (Alex Yang) #53900
  • [3968599702] - src: fix outdated js2c.cc references (Chengzhong Wu) #56133
  • [efcc5d90c5] - (SEMVER-MINOR) src,lib: stabilize permission model (Rafael Gonzaga) #56201
  • [a4a83613cb] - stream: commit pull-into descriptors after filling from queue (Mattias Buelens) #56072
  • [3298ef4891] - test: remove test-sqlite-statement-sync flaky designation (Luigi Pinca) #56051
  • [1d8cc6179d] - test: use --permission over --experimental-permission (Rafael Gonzaga) #56239
  • [5d252b7a67] - test: remove exludes for sea tests on PPC (Michael Dawson) #56217
  • [8288f57724] - test: fix test-abortsignal-drop-settled-signals flakiness (Edigleysson Silva (Edy)) #56197
  • [683cc15796] - test: move localizationd data from test-icu-env to external file (Livia Medeiros) #55618
  • [a0c4a5f122] - test: update WPT for url to 6fa3fe8a92 (Node.js GitHub Bot) #56136
  • [a0e3926285] - test: remove hasOpenSSL3x utils (Antoine du Hamel) #56164
  • [041a49094e] - test: update streams wpt (Mattias Buelens) #56072
  • [ea9a675f56] - test_runner: exclude test files from coverage by default (Pietro Marchini) #56060
  • [118cd9998f] - tools: fix node: enforcement for docs (Antoine du Hamel) #56284
  • [c4c56daae8] - tools: update github_reporter to 1.7.2 (Node.js GitHub Bot) #56205
  • [78743b1533] - tools: add REPLACEME check to workflow (Mert Can Altin) #56251
  • [002ee71d9b] - tools: use github.actor instead of bot username for release proposals (Antoine du Hamel) #56232
  • [d25d16efeb] - Revert "tools: disable automated libuv updates" (Luigi Pinca) #56223
  • [b395e0c8c9] - tools: update gyp-next to 0.19.1 (Anna Henningsen) #56111
  • [a5aaf31c50] - tools: fix release proposal linter to support more than 1 folk preparing (Antoine du Hamel) #56203
  • [fa667d609e] - tools: remove has_absl_stringify from gyp file (Michaël Zasso) #56157
  • [65b541e70e] - tools: enable linter for tools/icu/** (Livia Medeiros) #56176
  • [28a4b6ff58] - tools: use commit title as PR title when creating release proposal (Antoine du Hamel) #56165
  • [e20eef659f] - tools: update gyp-next to 0.19.0 (Node.js GitHub Bot) #56158
  • [efcc829085] - tools: bump the eslint group in /tools/eslint with 4 updates (dependabot[bot]) #56099
  • [5620b2be8a] - tools: improve release proposal PR opening (Antoine du Hamel) #56161
  • [3e17a8e78e] - util: harden more built-in classes against prototype pollution (Antoine du Hamel) #56225
  • [13815417c7] - util: fix Latin1 decoding to return string output (Mert Can Altin) #56222
  • [77397c5013] - util: do not rely on mutable Object and Function' constructor prop (Antoine du Hamel) #56188
  • [84f98e0a74] - v8,tools: expose experimental wasm revectorize feature (Yolanda-Chen) #54896
  • [8325fa5c04] - worker: fix crash when a worker joins after exit (Stephen Belanger) #56191
11 days ago
node

2024-12-10, Version 23.4.0 (Current), @aduh95 prepared by @targos

Notable Changes

Introducing experimental assert.partialDeepStrictEqual

Sometimes, when writing test, we want to validate that some specific properties are present, and the mere presence of additional keys are not exactly relevant for that specific test. For this use case, we can now use assert.partialDeepStrictEqual, which should be familiar to those already using assert.deepStrictEqual, with the main difference that it does not require all properties in the actual parameter to be present in the expected parameter.

Here are a few examples of usage:

assert.partialDeepStrictEqual(
  { a: 1, b: 2, c: 3 },
  { a: 1, b: 2 },
);

assert.partialDeepStrictEqual(
  [1, 2, 3, 4],
  [2, 3],
);

assert.partialDeepStrictEqual(
  { a: { b: { c: 1, d: 2 } }, e: 3 },
  { a: { b: { c: 1 } } },
);

assert.partialDeepStrictEqual(
  { a: { b: { c: 1, d: 2 } }, e: 3 },
  { a: { b: { c: 1 } } },
);

assert.partialDeepStrictEqual(
  new Set([{ a: 1 }, { b: 1 }]),
  new Set([{ a: 1 }]),
);

assert.partialDeepStrictEqual(
  { a: new Set([{ a: 1 }, { b: 1 }]), b: new Map(), c: [1, 2, 3] },
  { a: new Set([{ a: 1 }]), c: [2] },
);

Contributed by Giovanni Bucci in #54630.

Implement --trace-env and --trace-env-[js|native]-stack

This release introduces --trace-env, --trace-env-js-stack and --trace-env-native-stack CLI options that print information about any access to environment variables done in the current Node.js instance to stderr. Currently in the logs, only the names of the environment variables being accessed are printed, while the values are not printed to avoid leaking sensitive information. To print the stack trace of the access, use --trace-env-js-stack and/or --trace-env-native-stack.

Contributed by Joyee Cheung in #55604.

Other notable changes

  • [59d6891872] - doc: add LJHarb to collaborators (Jordan Harband) #56132
  • [565b04a7be] - (SEMVER-MINOR) net: add BlockList.isBlockList(value) (James M Snell) #56078
  • [c9698ed6a4] - (SEMVER-MINOR) net: support blockList in net.connect (theanarkh) #56075
  • [30d604180d] - (SEMVER-MINOR) net: support blockList in net.Server (theanarkh) #56079
  • [9fba5e1df1] - (SEMVER-MINOR) net: add SocketAddress.parse (James M Snell) #56076
  • [4cdb03201e] - (SEMVER-MINOR) process: deprecate features.{ipv6,uv} and features.tls_* (René) #55545
  • [efb9f05f59] - (SEMVER-MINOR) sqlite: unflag node:sqlite module (Colin Ihrig) #55890
  • [d777d4a52d] - (SEMVER-MINOR) sqlite: add StatementSync.prototype.iterate method (tpoisseau) #54213

Commits

  • [5b0ce376a2] - assert: optimize partial comparison of two Sets (Antoine du Hamel) #55970
  • [a4f57f0293] - (SEMVER-MINOR) assert: add partialDeepStrictEqual (Giovanni Bucci) #54630
  • [1b81a7d003] - build: allow overriding clang usage (Shelley Vohr) #56016
  • [39c901307f] - build: remove defaults for create-release-proposal (Rafael Gonzaga) #56042
  • [7133c0459f] - build: avoid compiling with VS v17.12 (Stefan Stojanovic) #55930
  • [ce53f1689f] - build: set node_arch to target_cpu in GN (Shelley Vohr) #55967
  • [2023b09d27] - build: add create release proposal action (Rafael Gonzaga) #55690
  • [26ec99634c] - build: use variable for crypto dep path (Shelley Vohr) #55928
  • [f48e289580] - build: fix GN build for sqlite (Cheng) #55912
  • [fffabca6b8] - build: compile bundled simdutf conditionally (Jakub Jirutka) #55886
  • [d8eb83c5c5] - build: compile bundled simdjson conditionally (Jakub Jirutka) #55886
  • [83e02dc482] - build: compile bundled ada conditionally (Jakub Jirutka) #55886
  • [816d37a187] - (SEMVER-MINOR) cli: implement --trace-env and --trace-env-[js|native]-stack (Joyee Cheung) #55604
  • [53c0f2f186] - crypto: ensure CryptoKey usages and algorithm are cached objects (Filip Skokan) #56108
  • [93d36bf1c8] - crypto: allow non-multiple of 8 in SubtleCrypto.deriveBits (Filip Skokan) #55296
  • [8680b8030c] - deps: update ngtcp2 to 1.9.1 (Node.js GitHub Bot) #56095
  • [78a2a6ca1e] - deps: upgrade npm to 10.9.2 (npm team) #56135
  • [52dfe5af4b] - deps: update sqlite to 3.47.1 (Node.js GitHub Bot) #56094
  • [3852b5c8d1] - deps: update zlib to 1.3.0.1-motley-82a5fec (Node.js GitHub Bot) #55980
  • [f99f95f62f] - deps: update corepack to 0.30.0 (Node.js GitHub Bot) #55977
  • [96e846de89] - deps: update ngtcp2 to 1.9.0 (Node.js GitHub Bot) #55975
  • [d180a8aedb] - deps: update simdutf to 5.6.3 (Node.js GitHub Bot) #55973
  • [288416a764] - deps: upgrade npm to 10.9.1 (npm team) #55951
  • [cf3f7ac512] - deps: update zlib to 1.3.0.1-motley-7e2e4d7 (Node.js GitHub Bot) #54432
  • [7768b3d054] - deps: update simdjson to 3.10.1 (Node.js GitHub Bot) #54678
  • [9c6103833b] - deps: update simdutf to 5.6.2 (Node.js GitHub Bot) #55889
  • [7b133d6220] - dgram: check udp buffer size to avoid fd leak (theanarkh) #56084
  • [e4529b8179] - doc: add report version and history section (Chengzhong Wu) #56130
  • [718625a03a] - doc: mention -a flag for the release script (Ruy Adorno) #56124
  • [59d6891872] - doc: add LJHarb to collaborators (Jordan Harband) #56132
  • [d7ed32404a] - doc: add create-release-action to process (Rafael Gonzaga) #55993
  • [3b4ef93371] - doc: rename file to advocacy-ambassador-program.md (Tobias Nießen) #56046
  • [59e4087d5e] - doc: add added tag and fix typo sqlite.md (Bart Louwers) #56012
  • [a1b26608ae] - doc: remove unused import from sample code (Blended Bram) #55570
  • [498f44ad73] - doc: add FAQ to releases section (Rafael Gonzaga) #55992
  • [d48348afaa] - doc: move history entry to class description (Luigi Pinca) #55991
  • [96926ce13c] - doc: add history entry for textEncoder.encodeInto() (Luigi Pinca) #55990
  • [e92d51d511] - doc: improve GN build documentation a bit (Shelley Vohr) #55968
  • [6be3824d6f] - doc: fix deprecation codes (Filip Skokan) #56018
  • [fa2b35d28d] - doc: remove confusing and outdated sentence (Luigi Pinca) #55988
  • [baed2763df] - doc: deprecate passing invalid types in fs.existsSync (Carlos Espa) #55892
  • [a3f7db6b6d] - doc: add doc for PerformanceObserver.takeRecords() (skyclouds2001) #55786
  • [770572423b] - doc: add vetted courses to the ambassador benefits (Matteo Collina) #55934
  • [98f8f4a8a9] - doc: order node:crypto APIs alphabetically (Julian Gassner) #55831
  • [1e0decb44c] - doc: doc how to add message for promotion (Michael Dawson) #55843
  • [ff48c29724] - doc: add esm example for zlib (Leonardo Peixoto) #55946
  • [ccc5a6d552] - doc: document approach for building wasm in deps (Michael Dawson) #55940
  • [c8bb8a6ac5] - doc: fix Node.js 23 column in CHANGELOG.md (Richard Lau) #55935
  • [9d078802ad] - doc: remove RedYetiDev from triagers team (Aviv Keller) #55947
  • [5a2a757119] - doc: add esm examples to node:timers (Alfredo González) #55857
  • [f711a48e15] - doc: fix relative path mention in --allow-fs (Rafael Gonzaga) #55791
  • [219f5f2627] - doc: include git node release --promote to steps (Rafael Gonzaga) #55835
  • [f9d25ed3e4] - doc: add history entry for import assertion removal (Antoine du Hamel) #55883
  • [efb9f05f59] - (SEMVER-MINOR) doc,lib,src,test: unflag sqlite module (Colin Ihrig) #55890
  • [a37e5fe5f8] - fs: lazily load ReadFileContext (Gürgün Dayıoğlu) #55998
  • [9289374248] - http2: fix memory leak caused by premature listener removing (ywave620) #55966
  • [49af1c33ac] - lib: add validation for options in compileFunction (Taejin Kim) #56023
  • [8faf91846b] - lib: fix fs.readdir recursive async (Rafael Gonzaga) #56041
  • [a2382303d7] - lib: refactor code to improve readability (Pietro Marchini) #55995
  • [30f26ba254] - lib: avoid excluding symlinks in recursive fs.readdir with filetypes (Juan José) #55714
  • [9b272ae339] - meta: bump github/codeql-action from 3.27.0 to 3.27.5 (dependabot[bot]) #56103
  • [fb0e6ca68b] - meta: bump actions/checkout from 4.1.7 to 4.2.2 (dependabot[bot]) #56102
  • [0ab611513c] - meta: bump step-security/harden-runner from 2.10.1 to 2.10.2 (dependabot[bot]) #56101
  • [ff4839b8ab] - meta: bump actions/setup-node from 4.0.3 to 4.1.0 (dependabot[bot]) #56100
  • [f262207356] - meta: add releasers as CODEOWNERS to proposal action (Rafael Gonzaga) #56043
  • [b6005b3fac] - module: mark evaluation rejection in require(esm) as handled (Joyee Cheung) #56122
  • [b8ab5332a9] - module: remove --experimental-default-type (Geoffrey Booth) #56092
  • [4be5047030] - module: do not warn when require(esm) comes from node_modules (Joyee Cheung) #55960
  • [c9698ed6a4] - (SEMVER-MINOR) net: support blocklist in net.connect (theanarkh) #56075
  • [9fba5e1df1] - (SEMVER-MINOR) net: add SocketAddress.parse (James M Snell) #56076
  • [565b04a7be] - (SEMVER-MINOR) net: add net.BlockList.isBlockList(value) (James M Snell) #56078
  • [30d604180d] - (SEMVER-MINOR) net: support blocklist for net.Server (theanarkh) #56079
  • [4cdb03201e] - (SEMVER-MINOR) process: deprecate features.{ipv6,uv} and features.tls_* (René) #55545
  • [d09e57b26d] - quic: update more QUIC implementation (James M Snell) #55986
  • [1fb30d6e86] - quic: multiple updates to quic impl (James M Snell) #55971
  • [9e4f7aa808] - sqlite: deps include sqlite3ext.h (Alex Yang) #56010
  • [d777d4a52d] - (SEMVER-MINOR) sqlite: add StatementSync.prototype.iterate method (tpoisseau) #54213
  • [66451bb9ba] - src: use spaceship operator in SocketAddress (James M Snell) #56059
  • [ad9ebe417a] - src: add missing qualifiers to env.cc (Yagiz Nizipli) #56062
  • [56c4da240d] - src: use std::string_view for process emit fns (Yagiz Nizipli) #56086
  • [26ab8e9823] - src: remove dead code in async_wrap (Gerhard Stöbich) #56065
  • [4dea44e468] - src: avoid copy on getV8FastApiCallCount (Yagiz Nizipli) #56081
  • [b778a4fe46] - src: fix check fd (theanarkh) #56000
  • [971f5f54df] - src: safely remove the last line from dotenv (Shima Ryuhei) #55982
  • [497a9aea1c] - src: fix kill signal on Windows (Hüseyin Açacak) #55514
  • [8a935489f9] - src,build: add no user defined deduction guides of CTAD check (Chengzhong Wu) #56071
  • [5edb8d5919] - test: remove test-fs-utimes flaky designation (Luigi Pinca) #56052
  • [046e642a80] - test: ensure cli.md is in alphabetical order (Antoine du Hamel) #56025
  • [da354f46cd] - test: update WPT for WebCryptoAPI to 3e3374efde (Node.js GitHub Bot) #56093
  • [9486c7ce4c] - test: update WPT for WebCryptoAPI to 76dfa54e5d (Node.js GitHub Bot) #56093
  • [a8809fc0f5] - test: move test-worker-arraybuffer-zerofill to parallel (Luigi Pinca) #56053
  • [6194435b9e] - test: update WPT for url to 67880a4eb83ca9aa732eec4b35a1971ff5bf37ff (Node.js GitHub Bot) #55999
  • [f7567d46d8] - test: make HTTP/1.0 connection test more robust (Arne Keller) #55959
  • [c157e026fc] - test: convert readdir test to use test runner (Thomas Chetwin) #55750
  • [29362ce673] - test: make x509 crypto tests work with BoringSSL (Shelley Vohr) #55927
  • [493e16c852] - test: fix determining lower priority (Livia Medeiros) #55908
  • [99858ceb9f] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55997
  • [7c3a4d4bcd] - test_runner: refactor Promise chain in run() (Colin Ihrig) #55958
  • [95e8c4ef6c] - test_runner: refactor build Promise in Suite() (Colin Ihrig) #55958
  • [c048865199] - test_runner: simplify hook running logic (Colin Ihrig) #55963
  • [8197815fe8] - test_runner: mark snapshot testing as stable (Colin Ihrig) #55897
  • [8a5d8c7669] - test_runner: mark context.plan() as stable (Colin Ihrig) #55895
  • [790a2ca3b7] - tools: update create-release-proposal workflow (Antoine du Hamel) #56054
  • [98ce4652e2] - tools: fix update-undici script (Michaël Zasso) #56069
  • [d6a6c8ace1] - tools: allow dispatch of tools.yml from forks (Antoine du Hamel) #56008
  • [cc96fce5eb] - tools: fix nghttp3 updater script (Antoine du Hamel) #56007
  • [2cd939cb95] - tools: filter release keys to reduce interactivity (Antoine du Hamel) #55950
  • [4b3919f1be] - tools: update WPT updater (Antoine du Hamel) #56003
  • [54c46b8464] - tools: add WPT updater for specific subsystems (Mert Can Altin) #54460
  • [32b1681b7f] - tools: use tokenless Codecov uploads (Michaël Zasso) #55943
  • [475141e370] - tools: add linter for release commit proposals (Antoine du Hamel) #55923
  • [d093820f64] - tools: lint js in doc/**/*.md (Livia Medeiros) #55904
  • [72eb710f0f] - tools: fix riscv64 build failed (Lu Yahan) #52888
  • [882b70c83f] - tools: bump cross-spawn from 7.0.3 to 7.0.5 in /tools/eslint (dependabot[bot]) #55894
  • [9eccd7dba9] - util: add fast path for Latin1 decoding (Mert Can Altin) #55275
18 days ago
node

2024-12-03, Version 22.12.0 'Jod' (LTS), @ruyadorno

Notable Changes

require(esm) is now enabled by default

Support for loading native ES modules using require() had been available on v20.x and v22.x under the command line flag --experimental-require-module, and available by default on v23.x. In this release, it is now no longer behind a flag on v22.x.

This feature is still experimental, and we are looking for user feedback to make more final tweaks before fully stabilizing it. For this reason, on v23.x, when the Node.js instance encounters a native ES module in require() for the first time, it will emit an experimental warning unless require() comes from a path that contains node_modules. If there happens to be any regressions caused by this feature, users can report it to the Node.js issue tracker. Meanwhile this feature can also be disabled using --no-experimental-require-module as a workaround.

With this feature enabled, Node.js will no longer throw ERR_REQUIRE_ESM if require() is used to load a ES module. It can, however, throw ERR_REQUIRE_ASYNC_MODULE if the ES module being loaded or its dependencies contain top-level await. When the ES module is loaded successfully by require(), the returned object will either be a ES module namespace object similar to what's returned by import(), or what gets exported as "module.exports" in the ES module.

Users can check process.features.require_module to see whether require(esm) is enabled in the current Node.js instance. For packages, the "module-sync" exports condition can be used as a way to detect require(esm) support in the current Node.js instance and allow both require() and import to load the same native ES module. See the documentation for more details about this feature.

Contributed by Joyee Cheung in #55085

Added resizable ArrayBuffer support in Buffer

When a Buffer is created using a resizable ArrayBuffer, the Buffer length will now correctly change as the underlying ArrayBuffer size is changed.

const ab = new ArrayBuffer(10, { maxByteLength: 20 });
const buffer = Buffer.from(ab);
console.log(buffer.byteLength); 10
ab.resize(15);
console.log(buffer.byteLength); 15
ab.resize(5);
console.log(buffer.byteLength); 5

Contributed by James Snell in #55377

Update root certificates to NSS 3.104

This is the version of NSS that shipped in Firefox 131.0 on 2024-10-01.

Certificates added:

  • FIRMAPROFESIONAL CA ROOT-A WEB
  • TWCA CYBER Root CA
  • SecureSign Root CA12
  • SecureSign Root CA14
  • SecureSign Root CA15

Contributed by Richard Lau in #55681

Other Notable Changes

  • [4920869935] - (SEMVER-MINOR) assert: make assertion_error use Myers diff algorithm (Giovanni Bucci) #54862
  • [ccffd3b819] - doc: enforce strict policy to semver-major releases (Rafael Gonzaga) #55732
  • [acc6806900] - doc: add jazelly to collaborators (Jason Zhang) #55531
  • [88d91e8bc2] - esm: mark import attributes and JSON module as stable (Nicolò Ribaudo) #55333
  • [98bfc7dce5] - (SEMVER-MINOR) http: add diagnostic channel http.client.request.created (Marco Ippolito) #55586
  • [337f61fb25] - (SEMVER-MINOR) lib: add UV_UDP_REUSEPORT for udp (theanarkh) #55403
  • [1628c48ad6] - (SEMVER-MINOR) net: add UV_TCP_REUSEPORT for tcp (theanarkh) #55408
  • [457e73f4c9] - (SEMVER-MINOR) sqlite: add support for SQLite Session Extension (Bart Louwers) #54181

Commits

  • [f6885e1c68] - assert: fix the string length check for printing the simple diff (Giovanni Bucci) #55474
  • [907484f04d] - assert: fix deepEqual always return true on URL (Xuguang Mei) #50853
  • [301844e249] - assert: differentiate cases where cause is undefined or missing (Antoine du Hamel) #55738
  • [89ccd3e3f4] - assert: fix deepStrictEqual on errors when cause is not undefined (Edigleysson Silva (Edy)) #55406
  • [4920869935] - (SEMVER-MINOR) assert: make assertion_error use Myers diff algorithm (Giovanni Bucci) #54862
  • [c67aec368e] - benchmark: add test-reporters (Aviv Keller) #55757
  • [49774cc2c0] - benchmark: add test_runner/mock-fn (Aviv Keller) #55771
  • [4caaeb47b2] - benchmark: add nodeTiming.uvmetricsinfo bench (RafaelGSS) #55614
  • [cac58564a1] - benchmark: add --runs support to run.js (Rafael Gonzaga) #55158
  • [5c3ee886fc] - benchmark: adjust byte size for buffer-copy (Rafael Gonzaga) #55295
  • [6023e1bdb2] - (SEMVER-MINOR) buffer: make Buffer work with resizable ArrayBuffer (James M Snell) #55377
  • [a6c00c2204] - build: add create release proposal action (Rafael Gonzaga) #55690
  • [b4e413933b] - build: implement node_use_amaro flag in GN build (Cheng) #55798
  • [d1db202d4a] - build: apply cpp linting and formatting to ncrypto (Aviv Keller) #55362
  • [8c670496da] - build: use rclone instead of aws CLI (Michaël Zasso) #55617
  • [827e2065bd] - build: stop pre-compiling lint-md (Aviv Keller) #55266
  • [c3ca978d9c] - build: fix building with system icu 76 (Michael Cho) #55563
  • [23e3287bbe] - build: fix GN arg used in generate_config_gypi.py (Shelley Vohr) #55530
  • [2b561abb0d] - build: fix GN build for sqlite and nghttp2 (Shelley Vohr) #55529
  • [7008f29d79] - build: fix GN build for cares/uv deps (Cheng) #55477
  • [6ee94a394f] - build: fix uninstall script for AIX 7.1 (Cloorc) #55438
  • [edbbd4a374] - build: conditionally compile bundled sqlite (Richard Lau) #55409
  • [3d8e3a657c] - build: tidy up cares.gyp (Richard Lau) #55445
  • [f0c12e8fcb] - build: synchronize list of c-ares source files (Richard Lau) #55445
  • [8daa8a62f8] - build: fix path concatenation (Mohammed Keyvanzadeh) #55387
  • [12faf0466e] - build: fix make errors that occur in Makefile (minkyu_kim) #55287
  • [a21be0294d] - build,win: enable pch for clang-cl (Stefan Stojanovic) #55249
  • [7ed058cd00] - cli: add --heap-prof flag available to NODE_OPTIONS (Juan José) #54259
  • [c26b1bfe6a] - crypto: allow length=0 for HKDF and PBKDF2 in SubtleCrypto.deriveBits (Filip Skokan) #55866
  • [a1201d0392] - crypto: update root certificates to NSS 3.104 (Richard Lau) #55681
  • [20483aab7a] - crypto: fix RSA_PKCS1_PADDING error message (Richard Lau) #55629
  • [d345662d50] - crypto: include openssl/rand.h explicitly (Shelley Vohr) #55425
  • [166ab3209d] - deps: update simdutf to 5.6.1 (Node.js GitHub Bot) #55850
  • [934979e12e] - deps: update undici to 6.21.0 (Node.js GitHub Bot) #55851
  • [af77f66424] - deps: update c-ares to v1.34.3 (Node.js GitHub Bot) #55803
  • [948a88d2f4] - deps: update icu to 76.1 (Node.js GitHub Bot) #55551
  • [fa4c58a983] - deps: update acorn to 8.14.0 (Node.js GitHub Bot) #55699
  • [c91155f22e] - deps: update sqlite to 3.47.0 (Node.js GitHub Bot) #55557
  • [d1cb7af95c] - deps: update amaro to 0.2.0 (Node.js GitHub Bot) #55601
  • [655e5600cb] - deps: update nghttp2 to 1.64.0 (Node.js GitHub Bot) #55559
  • [992450c469] - deps: update acorn to 8.13.0 (Node.js GitHub Bot) #55558
  • [abd2bd4f64] - deps: update undici to 6.20.1 (Node.js GitHub Bot) #55503
  • [7dc2c2edad] - deps: update googletest to df1544b (Node.js GitHub Bot) #55465
  • [fa9329c024] - deps: update c-ares to v1.34.2 (Node.js GitHub Bot) #55463
  • [41a2bcd335] - deps: update ada to 2.9.1 (Node.js GitHub Bot) #54679
  • [a3b793defd] - deps: update simdutf to 5.6.0 (Node.js GitHub Bot) #55379
  • [551b8f897d] - deps: update c-ares to v1.34.1 (Node.js GitHub Bot) #55369
  • [26861eaf4e] - Revert "deps: disable io_uring support in libuv by default" (Santiago Gimeno) #55114
  • [41c50bc15e] - deps: update libuv to 1.49.1 (Santiago Gimeno) #55114
  • [26fcc04084] - deps: update amaro to 0.1.9 (Node.js GitHub Bot) #55348
  • [0ee6715921] - diagnostics_channel: fix unsubscribe during publish (simon-id) #55116
  • [bf68733e7f] - dns: stop using deprecated ares_query (Aviv Keller) #55430
  • [ef6707eb9b] - dns: honor the order option (Luigi Pinca) #55392
  • [0f3810f3e5] - doc: add added tag and fix typo sqlite.md (Bart Louwers) #56012
  • [d1bd0ef1b7] - doc: remove non-working example (Antoine du Hamel) #55856
  • [824ac650ed] - doc: add node:sqlite to mandatory node: prefix list (翠 / green) #55846
  • [b3ea42d887] - doc: add -S flag release preparation example (Antoine du Hamel) #55836
  • [0bd5d8b9d9] - doc: clarify UV_THREADPOOL_SIZE env var usage (Preveen P) #55832
  • [27b0236a99] - doc: add notable-change mention to sec release (Rafael Gonzaga) #55830
  • [476075bada] - doc: fix history info for URL.prototype.toJSON (Antoine du Hamel) #55818
  • [2743b7b1d3] - doc: correct max-semi-space-size statement (Joe Bowbeer) #55812
  • [3013870093] - doc: update unflag info of import.meta.resolve (skyclouds2001) #55810
  • [27bcd103e7] - doc: run license-builder (github-actions[bot]) #55813
  • [72d4b30ead] - doc: clarify triager role (Gireesh Punathil) #55775
  • [a30defe9dd] - doc: clarify removal of experimental API does not require a deprecation (Antoine du Hamel) #55746
  • [ccffd3b819] - doc: enforce strict policy to semver-major releases (Rafael Gonzaga) #55732
  • [b6d2a4e816] - doc: add path aliases typescript doc (Carlos Espa) #55766
  • [a435affa11] - doc: add esm example in path.md (Aviv Keller) #55745
  • [91443c2711] - doc: consistent use of word child process (Gireesh Punathil) #55654
  • [83fb0079d4] - doc: clarity to available addon options (Preveen P) #55715
  • [6ca851457a] - doc: update --max-semi-space-size description (Joe Bowbeer) #55495
  • [e17fffc0ff] - doc: broken PerformanceObserver code sample (Dom Harrington) #54227
  • [8bd5777f0f] - doc: add write flag when open file as the demo code's intention (robberfree) #54626
  • [f1e0e0ba55] - doc: remove mention of ECDH-ES in crypto.diffieHellman (Filip Skokan) #55611
  • [1d60b7ec97] - doc: improve c++ embedder API doc (Gireesh Punathil) #55597
  • [bbf51d7000] - doc: capitalize "MIT License" (Aviv Keller) #55575
  • [0e69f6d123] - doc: add suggested tsconfig for type stripping (Marco Ippolito) #55534
  • [67beb37f50] - doc: add esm examples to node:string_decoder (Alfredo González) #55507
  • [acc6806900] - doc: add jazelly to collaborators (Jason Zhang) #55531
  • [a6b3ed54ae] - doc: changed the command used to verify SHASUMS256 (adriancuadrado) #55420
  • [0ad7ca4f1d] - doc: move dual package shipping docs to separate repo (Joyee Cheung) #55444
  • [e99a98ddfd] - doc: add note about stdio streams in child_process (Ederin (Ed) Igharoro) #55322
  • [20302851a9] - doc: add isBigIntObject to documentation (leviscar) #55450
  • [50d983e80b] - doc: remove outdated remarks about highWaterMark in fs (Ian Kerins) #55462
  • [07c2fb2045] - doc: move Danielle Adams key to old gpg keys (RafaelGSS) #55399
  • [41b045170d] - doc: move Bryan English key to old gpg keys (RafaelGSS) #55399
  • [13724dcc20] - doc: move Beth Griggs keys to old gpg keys (RafaelGSS) #55399
  • [0230fb1ead] - doc: spell out condition restrictions (Jan Martin) #55187
  • [66e41f044d] - doc: add instructions for WinGet build (Hüseyin Açacak) #55356
  • [23d89da3f1] - doc: add missing return values in buffer docs (Karl Horky) #55273
  • [6e7b33a0ef] - doc: fix ambasador markdown list (Rafael Gonzaga) #55361
  • [d8c552a060] - doc: edit onboarding guide to clarify when mailmap addition is needed (Antoine du Hamel) #55334
  • [c7f82ec978] - doc: fix the return type of outgoingMessage.setHeaders() (Jimmy Leung) #55290
  • [f1b9791694] - doc: update require(ESM) history and stability status (Antoine du Hamel) #55199
  • [9ffd2dd43b] - doc: consolidate history table of CustomEvent (Edigleysson Silva (Edy)) #55758
  • [64fb9e6516] - doc: add history entries for JSON modules stabilization (Antoine du Hamel) #55855
  • [ae2ae2fef1] - esm: fix import.meta.resolve crash (Marco Ippolito) #55777
  • [15dd43dd6e] - esm: add a fallback when importer in not a file (Antoine du Hamel) #55471
  • [aed758d270] - esm: fix inconsistency with importAssertion in resolve hook (Wei Zhu) #55365
  • [88d91e8bc2] - esm: mark import attributes and JSON module as stable (Nicolò Ribaudo) #55333
  • [a2c8de7fba] - events: add hasEventListener util for validate (Sunghoon) #55230
  • [4f84cdc8a2] - events: optimize EventTarget.addEventListener (Robert Nagy) #55312
  • [c17601557b] - fs: prevent unwanted dependencyOwners removal (Carlos Espa) #55565
  • [4dd609c685] - fs: fix bufferSize option for opendir recursive (Ethan Arrowood) #55744
  • [d695bd4c4f] - fs: pass correct path to DirentFromStats during glob (Aviv Keller) #55071
  • [5357338b8e] - fs: use wstring on Windows paths (jazelly) #55171
  • [0a7f301a36] - http: add diagnostic channel http.server.response.created (Marco Ippolito) #55622
  • [98bfc7dce5] - (SEMVER-MINOR) http: add diagnostic channel http.client.request.created (Marco Ippolito) #55586
  • [d2430ee363] - http2: fix client async storage persistence (Orgad Shaneh) #55460
  • [753cbede2a] - lib: remove startsWith/endsWith primordials for char checks (Gürgün Dayıoğlu) #55407
  • [6e3e99c81e] - lib: prefer logical assignment (Aviv Keller) #55044
  • [03902ebb74] - lib: replace createDeferredPromise util with Promise.withResolvers (Yagiz Nizipli) #54836
  • [ee17fcd6f3] - lib: prefer symbol to number in webidl type function (Antoine du Hamel) #55737
  • [18f0f07e92] - lib: implement webidl dictionary converter and use it in structuredClone (Jason Zhang) #55489
  • [bcead24e24] - lib: prefer number to string in webidl type function (Jason Zhang) #55489
  • [d48c5da039] - lib: convert transfer sequence to array in js (Jason Zhang) #55317
  • [cefce4cbb0] - lib: remove unnecessary optional chaining (Gürgün Dayıoğlu) #55728
  • [f2561fdeec] - lib: use Promise.withResolvers() in timers (Yagiz Nizipli) #55720
  • [337f61fb25] - (SEMVER-MINOR) lib: add UV_UDP_REUSEPORT for udp (theanarkh) #55403
  • [4f89059f63] - lib: add flag to drop connection when running in cluster mode (theanarkh) #54927
  • [29f7325e73] - lib: test_runner#mock:timers respeced timeout_max behaviour (BadKey) #55375
  • [68bcec64b8] - lib: remove settled dependant signals when they are GCed (Edigleysson Silva (Edy)) #55354
  • [3f8a5d8a28] - meta: bump actions/setup-python from 5.2.0 to 5.3.0 (dependabot[bot]) #55688
  • [644ad5d60d] - meta: bump actions/setup-node from 4.0.4 to 4.1.0 (dependabot[bot]) #55687
  • [334fa69c31] - meta: bump rtCamp/action-slack-notify from 2.3.0 to 2.3.2 (dependabot[bot]) #55686
  • [fb3fa8bee2] - meta: bump actions/upload-artifact from 4.4.0 to 4.4.3 (dependabot[bot]) #55685
  • [1aca3a8289] - meta: bump actions/cache from 4.0.2 to 4.1.2 (dependabot[bot]) #55684
  • [a6c73eb9c2] - meta: bump actions/checkout from 4.2.0 to 4.2.2 (dependabot[bot]) #55683
  • [06445bc4e3] - meta: bump github/codeql-action from 3.26.10 to 3.27.0 (dependabot[bot]) #55682
  • [37bafce2d8] - meta: make review-wanted message minimal (Aviv Keller) #55607
  • [4cca54b161] - meta: show PR/issue title on review-wanted (Aviv Keller) #55606
  • [68decbf935] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #55381
  • [07fc40d823] - meta: assign CODEOWNERS for /deps/ncrypto/* (Filip Skokan) #55426
  • [139e8f1579] - meta: change color to blue notify review-wanted (Rafael Gonzaga) #55423
  • [c0614dc92c] - meta: bump codecov/codecov-action from 4.5.0 to 4.6.0 (dependabot[bot]) #55222
  • [47b6c6748b] - meta: bump github/codeql-action from 3.26.6 to 3.26.10 (dependabot[bot]) #55221
  • [6c836aa97e] - meta: bump step-security/harden-runner from 2.9.1 to 2.10.1 (dependabot[bot]) #55220
  • [c81c818a21] - module: throw ERR_NO_TYPESCRIPT when compiled without amaro (Marco Ippolito) #55332
  • [d6d1479fcc] - module: simplify --inspect-brk handling (Joyee Cheung) #55679
  • [91fdec3a52] - module: fix error thrown from require(esm) hitting TLA repeatedly (Joyee Cheung) #55520
  • [cb527a925d] - module: do not warn when require(esm) comes from node_modules (Joyee Cheung) #55960
  • [16119f206f] - module: trim off internal stack frames for require(esm) warnings (Joyee Cheung) #55496
  • [28b5b9a57d] - module: allow ESM that failed to be required to be re-imported (Joyee Cheung) #55502
  • [6ac3400960] - module: include module information in require(esm) warning (Joyee Cheung) #55397
  • [fcdd6167d8] - module: check --experimental-require-module separately from detection (Joyee Cheung) #55250
  • [d8c34ced43] - module: use kNodeModulesRE to detect node_modules (Joyee Cheung) #55243
  • [545c069eb5] - module: support 'module.exports' interop export in require(esm) (Guy Bedford) #54563
  • [58d6871c45] - (SEMVER-MINOR) module: unflag --experimental-require-module (Joyee Cheung) #55085
  • [1628c48ad6] - (SEMVER-MINOR) net: add UV_TCP_REUSEPORT for tcp (theanarkh) #55408
  • [a5590083cd] - node-api: add napi_create_buffer_from_arraybuffer method (Mert Can Altin) #54505
  • [21ec855feb] - os: improve path check with direct index access (Mert Can Altin) #55434
  • [1fdaa15226] - report: fix network queries in getReport libuv with exclude-network (Adrien Foulon) #55602
  • [457e73f4c9] - (SEMVER-MINOR) sqlite: add support for SQLite Session Extension (Bart Louwers) #54181
  • [428701a6d8] - sqlite: improve error handling using MaybeLocal (Tobias Nießen) #55571
  • [4e5878536a] - sqlite: add readOnly option (Tobias Nießen) #55567
  • [8c35ad12de] - sqlite: refactor open options (Tobias Nießen) #55442
  • [c3c403040a] - sqlite: cache column names in stmt.all() (Fedor Indutny) #55373
  • [6858f7a4d3] - src: use env strings to create sqlite results (Michaël Zasso) #55785
  • [db01eaf318] - src: improve node:os userInfo performance (Yagiz Nizipli) #55719
  • [383d28489d] - src: provide workaround for container-overflow (Daniel Lemire) #55591
  • [3477b6b4a5] - src: move more key related stuff to ncrypto (James M Snell) #55368
  • [38c047e38f] - src: refactor ECDHBitsJob signature (Filip Skokan) #55610
  • [acbb62902a] - src: fix dns crash when failed to create NodeAresTask (theanarkh) #55521
  • [547cab9433] - src: use NewFromUtf8Literal in NODE_DEFINE_CONSTANT (Charles Kerr) #55581
  • [231fe7b953] - src: do not run IsWindowsBatchFile on non-windows (Yagiz Nizipli) #55560
  • [bde374ee6a] - src: remove icu based ToASCII and ToUnicode (Yagiz Nizipli) #55156
  • [6ad23e74be] - src: fix winapi_strerror error string (Hüseyin Açacak) #55207
  • [63bc40550b] - src: remove uv__node_patch_is_using_io_uring (Santiago Gimeno) #55114
  • [2af72a7671] - src: implement IsInsideNodeModules() in C++ (Joyee Cheung) #55286
  • [e14fb2defb] - src,lib: optimize nodeTiming.uvMetricsInfo (RafaelGSS) #55614
  • [e14dba3ee5] - src,lib: introduce util.getSystemErrorMessage(err) (Juan José) #54075
  • [8f59c41d52] - stream: propagate AbortSignal reason (Marvin ROGER) #55473
  • [7acb96362c] - test: increase coverage of pathToFileURL (Antoine du Hamel) #55493
  • [5861135ddb] - test: improve test coverage for child process message sending (Juan José) #55710
  • [554d4ace2f] - test: ensure that test priority is not higher than current priority (Livia Medeiros) #55739
  • [b0ce62a9bd] - test: add buffer to fs_permission tests (Rafael Gonzaga) #55734
  • [9d9ad81d54] - test: improve test coverage for ServerResponse (Juan José) #55711
  • [273f84e01c] - test: update performance-timeline wpt (RedYetiDev) #55197
  • [89c9c46185] - test: ignore unrelated events in FW watch tests (Carlos Espa) #55605
  • [fc69080669] - test: refactor some esm tests (Antoine du Hamel) #55472
  • [a80c166733] - test: split up test-runner-mock-timers test (Julian Gassner) #55506
  • [8c2fc11f7c] - test: remove unneeded listeners (Luigi Pinca) #55486
  • [1c5872dbde] - test: avoid apply() calls with large amount of elements (Livia Medeiros) #55501
  • [2194eb4909] - test: increase test coverage for http.OutgoingMessage.appendHeader() (Juan José) #55467
  • [ad7e81379a] - test: make test-node-output-v8-warning more flexible (Shelley Vohr) #55401
  • [6aeeaa719b] - test: fix addons and node-api test assumptions (Antoine du Hamel) #55441
  • [73ab14fd8f] - test: update wpt test for webmessaging/broadcastchannel (devstone) #55205
  • [ded1b68d10] - test: deflake test-cluster-shared-handle-bind-privileged-port (Aviv Keller) #55378
  • [0e873c3031] - test: update console wpt (Aviv Keller) #55192
  • [832300533b] - test: remove duplicate tests (Luigi Pinca) #55393
  • [310a734c1b] - test: update test_util.cc for coverage (minkyu_kim) #55291
  • [254badd480] - test: update compression wpt (Aviv Keller) #55191
  • [c52a808ac9] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55703
  • [445d117b67] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55512
  • [cd0d748ede] - test,crypto: make crypto tests work with BoringSSL (Shelley Vohr) #55491
  • [8bac7c27c8] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55427
  • [363e7d5a76] - test_runner: error on mocking an already mocked date (Aviv Keller) #55858
  • [f41d329e98] - test_runner: add support for scheduler.wait on mock timers (Erick Wendel) #55244
  • [b9200c33ae] - test_runner: require --enable-source-maps for sourcemap coverage (Aviv Keller) #55359
  • [f11d93d8ef] - tools: enforce ordering of error codes in errors.md (Antoine du Hamel) #55324
  • [85ca31a90a] - tools: bump @eslint/plugin-kit from 0.2.0 to 0.2.3 in /tools/eslint (dependabot[bot]) #55875
  • [506aac567b] - tools: fix exclude labels for commit-queue (Richard Lau) #55809
  • [14ffac9995] - tools: make commit-queue check blocked label (Marco Ippolito) #55781
  • [eb22ec87e6] - tools: remove non-existent file from eslint config (Aviv Keller) #55772
  • [5844565fb2] - tools: fix c-ares updater script for Node.js 18 (Richard Lau) #55717
  • [0a79ebd257] - tools: update ESLint to 9.14.0 (dependabot[bot]) #55689
  • [12543d560a] - tools: use util.parseArgs in lint-md (Aviv Keller) #55694
  • [d95aa244c2] - tools: fix root certificate updater (Richard Lau) #55681
  • [3626891f8e] - tools: compact jq output in daily-wpt-fyi.yml action (Filip Skokan) #55695
  • [02c902e68a] - tools: run daily WPT.fyi report on all supported releases (Filip Skokan) #55619
  • [456b02351b] - tools: lint README lists more strictly (Antoine du Hamel) #55625
  • [83a5983c7d] - tools: update lint-md-dependencies (Node.js GitHub Bot) #55470
  • [72b4a8df6a] - tools: update gyp-next to 0.18.3 (Node.js GitHub Bot) #55464
  • [6b6e6a5590] - tools: add script to synch c-ares source lists (Richard Lau) #55445
  • [a6c444291b] - tools: fix typos (Nathan Baulch) #55061
  • [d5e915ba5d] - tools: add polyfilled option to prefer-primordials rule (Antoine du Hamel) #55318
  • [c8e7f767b7] - typings: add missing type of ArrayBufferPrototypeGetByteLength (Wuli Zuo) #55439
  • [6317f77942] - url: refactor pathToFileURL to native (Antoine du Hamel) #55476
  • [5418d40256] - url: handle "unsafe" characters properly in pathToFileURL (Antoine du Hamel) #54545
  • [fce8c32c19] - util: do not mark experimental feature as deprecated (Antoine du Hamel) #55740
  • [940d22ffe1] - (SEMVER-MINOR) util: fix util.getCallSites plurality (Chengzhong Wu) #55626
  • [42ac0c2af3] - util: do not catch on circular @@toStringTag errors (Aviv Keller) #55544
2024-11-21 06:52:49
node

2024-11-20, Version 23.3.0 (Current), @RafaelGSS

Notable Changes

  • [5767b76c30] - doc: enforce strict policy to semver-major releases (Rafael Gonzaga) #55732
  • [ccb69bb8d5] - (SEMVER-MINOR) src: add cli option to preserve env vars on dr (Rafael Gonzaga) #55697
  • [d4e792643d] - (SEMVER-MINOR) util: add sourcemap support to getCallSites (Marco Ippolito) #55589
  • [00e092bb4b] - (SEMVER-MINOR) util: fix util.getCallSites plurality (Chengzhong Wu) #55626

Commits

  • [9862912d41] - assert: differentiate cases where cause is undefined or missing (Antoine du Hamel) #55738
  • [32e5bbca95] - benchmark: add test-reporters (Aviv Keller) #55757
  • [c2103354e6] - benchmark: add test_runner/mock-fn (Aviv Keller) #55771
  • [472d55e3e4] - build: implement node_use_amaro flag in GN build (Cheng) #55798
  • [77735674eb] - build: use glob for dependencies of out/Makefile (Richard Lau) #55789
  • [bba7323d51] - build: apply cpp linting and formatting to ncrypto (Aviv Keller) #55362
  • [e0c222525e] - crypto: allow length=0 for HKDF and PBKDF2 in SubtleCrypto.deriveBits (Filip Skokan) #55866
  • [cad557ec53] - deps: update simdutf to 5.6.1 (Node.js GitHub Bot) #55850
  • [dc8aca3692] - deps: update undici to 6.21.0 (Node.js GitHub Bot) #55851
  • [e0db9ede4f] - deps: update c-ares to v1.34.3 (Node.js GitHub Bot) #55803
  • [e147935144] - deps: update icu to 76.1 (Node.js GitHub Bot) #55551
  • [e0ef65b8d5] - doc: remove non-working example (Antoine du Hamel) #55856
  • [ec953bca09] - doc: add node:sqlite to mandatory node: prefix list (翠 / green) #55846
  • [1b863b96d5] - doc: add -S flag release preparation example (Antoine du Hamel) #55836
  • [a8311847d1] - doc: clarify UV_THREADPOOL_SIZE env var usage (Preveen P) #55832
  • [787e51e603] - doc: add notable-change mention to sec release (Rafael Gonzaga) #55830
  • [e56265cc18] - doc: fix history info for URL.prototype.toJSON (Antoine du Hamel) #55818
  • [c5afdaf5cb] - doc: correct max-semi-space-size statement (Joe Bowbeer) #55812
  • [65ffb2cae3] - doc: update unflag info of import.meta.resolve (skyclouds2001) #55810
  • [9aeb671677] - doc: run license-builder (github-actions[bot]) #55813
  • [df5ea1a5b3] - doc: clarify triager role (Gireesh Punathil) #55775
  • [aa12de0f03] - doc: sort --report-exclude alphabetically (Rafael Gonzaga) #55788
  • [8576ca9897] - doc: clarify removal of experimental API does not require a deprecation (Antoine du Hamel) #55746
  • [5767b76c30] - doc: enforce strict policy to semver-major releases (Rafael Gonzaga) #55732
  • [1f2fcf1dc8] - doc: add history entries for JSON modules stabilization (Antoine du Hamel) #55855
  • [83ba688d8f] - esm: fix import.meta.resolve crash (Marco Ippolito) #55777
  • [bdb6d12e7a] - events: add hasEventListener util for validate (Sunghoon) #55230
  • [d41cb49516] - fs: prevent unwanted dependencyOwners removal (Carlos Espa) #55565
  • [db0d648d8f] - fs: fix bufferSize option for opendir recursive (Ethan Arrowood) #55744
  • [693fda0802] - lib: remove unused file fetch_module (Michaël Zasso) #55880
  • [156873303a] - lib: prefer symbol to number in webidl type function (Antoine du Hamel) #55737
  • [cfe28b161a] - lib: remove unnecessary optional chaining (Gürgün Dayıoğlu) #55728
  • [bbb8f5914d] - lib: use Promise.withResolvers() in timers (Yagiz Nizipli) #55720
  • [11e1bdd409] - module: tidy code string concat → string templates (Jacob Smith) #55820
  • [9c99255468] - permission: ignore internalModuleStat on module loading (Rafael Gonzaga) #55797
  • [5a437c446f] - report: fix network queries in getReport libuv with exclude-network (Adrien Foulon) #55602
  • [bcbba723de] - sqlite: add support for SQLite Session Extension (Bart Louwers) #54181
  • [49d55228de] - src: use env strings to create sqlite results (Michaël Zasso) #55785
  • [58d7a6ec10] - Revert "src: migrate String::Value to String::ValueView" (Michaël Zasso) #55828
  • [16786a6df8] - src: improve node:os userInfo performance (Yagiz Nizipli) #55719
  • [ccb69bb8d5] - (SEMVER-MINOR) src: add cli option to preserve env vars on dr (Rafael Gonzaga) #55697
  • [770670c52c] - test: fix permission fixtures lint (Rafael Gonzaga) #55819
  • [84c47478d0] - test: improve test coverage for child process message sending (Juan José) #55710
  • [e1f54e2527] - test: ensure that test priority is not higher than current priority (Livia Medeiros) #55739
  • [e1b42e7637] - test: add buffer to fs_permission tests (Rafael Gonzaga) #55734
  • [d1ad43e9ae] - test: improve test coverage for ServerResponse (Juan José) #55711
  • [034505e037] - test_runner: error on mocking an already mocked date (Aviv Keller) #55858
  • [44324aa7e9] - tools: bump @eslint/plugin-kit from 0.2.0 to 0.2.3 in /tools/eslint (dependabot[bot]) #55875
  • [3cfacd3fbb] - tools: fix exclude labels for commit-queue (Richard Lau) #55809
  • [8111a7655d] - tools: make commit-queue check blocked label (Marco Ippolito) #55781
  • [419ea068fb] - tools: remove non-existent file from eslint config (Aviv Keller) #55772
  • [7814669377] - tools: fix c-ares updater script for Node.js 18 (Richard Lau) #55717
  • [3a9733cc4f] - util: do not mark experimental feature as deprecated (Antoine du Hamel) #55740
  • [d4e792643d] - (SEMVER-MINOR) util: add sourcemap support to getCallSites (Marco Ippolito) #55589
  • [00e092bb4b] - (SEMVER-MINOR) util: fix util.getCallSites plurality (Chengzhong Wu) #55626
2024-11-20 22:22:24
node

2024-11-20, Version 20.18.1 'Iron' (LTS), @marco-ippolito

Notable Changes

Commits

  • [085c3441fe] - assert: show the diff when deep comparing data with a custom message (Giovanni) #54759
  • [01f0b0e7b4] - benchmark: adjust config for deepEqual object (Rafael Gonzaga) #55254
  • [a45537269b] - benchmark: rewrite detect-esm-syntax benchmark (Joyee Cheung) #55238
  • [1a0d8ef64f] - benchmark: add no-warnings to process.has bench (Rafael Gonzaga) #55159
  • [2be5d611ce] - benchmark: create benchmark for typescript (Marco Ippolito) #54904
  • [a2aa4fa477] - benchmark: include ascii to fs/readfile (Rafael Gonzaga) #54988
  • [09849105fe] - benchmark: add dotenv benchmark (Aviv Keller) #54278
  • [6b3c24dbad] - buffer: fix out of range for toString (Jason Zhang) #54553
  • [f25a5b6dc4] - build: use rclone instead of aws CLI (Michaël Zasso) #55617
  • [0bbeb605de] - build: fix notify-on-review-wanted action (Rafael Gonzaga) #55304
  • [5b35836732] - build: include .nycrc in coverage workflows (Wuli Zuo) #55210
  • [f38d1e90e0] - build: notify via slack when review-wanted (Rafael Gonzaga) #55102
  • [0b985ec4bb] - build: remove -v flag to reduce noise (iwuliz) #55025
  • [09f75b27a1] - build: display free disk space after build in the test-macOS workflow (iwuliz) #55025
  • [f25760c4a2] - build: add the option to generate compile_commands.json in vcbuild.bat (Segev Finer) #52279
  • [746e78c4f3] - Revert "build: upgrade clang-format to v18" (Chengzhong Wu) #54994
  • [67834ee646] - build: print Running XYZ linter... for py and yml (Aviv Keller) #54386
  • [ae34e276a2] - build: pin doc workflow to Node.js 20 (Richard Lau) #55755
  • [d0e871a706] - build,win: add winget config to set up env (Hüseyin Açacak) #54729
  • [93ac799b6b] - cli: fix spacing for port range error (Aviv Keller) #54495
  • [3ba2e7bf97] - Revert "console: colorize console error and warn" (Aviv Keller) #54677
  • [2f678ea53b] - crypto: ensure invalid SubtleCrypto JWK data import results in DataError (Filip Skokan) #55041
  • [5d28d98542] - deps: update undici to 6.20.0 (Node.js GitHub Bot) #55329
  • [0c7f2fc421] - deps: update archs files for openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184
  • [da15e7edf5] - deps: upgrade openssl sources to quictls/openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184
  • [381f1f9d08] - deps: update archs files for openssl-3.0.14+quic1 (Node.js GitHub Bot) #54336
  • [48d643f78a] - deps: upgrade openssl sources to quictls/openssl-3.0.14+quic1 (Node.js GitHub Bot) #54336
  • [7b1796803b] - deps: update timezone to 2024b (Node.js GitHub Bot) #55056
  • [8f1956c588] - deps: update acorn-walk to 8.3.4 (Node.js GitHub Bot) #54950
  • [20501a7350] - deps: update corepack to 0.29.4 (Node.js GitHub Bot) #54845
  • [0f81eafecc] - doc: fix Markdown linter (Antoine du Hamel) #55344
  • [df713f0a98] - Revert "doc: update test context.assert" (Antoine du Hamel) #55344
  • [fd6fc61d2c] - doc: add pmarchini to collaborators (Pietro Marchini) #55331
  • [b963db9ee2] - doc: fix events.once() example using AbortSignal (Ivo Janssen) #55144
  • [50b13bfb12] - doc: add onboarding details for ambassador program (Marco Ippolito) #55284
  • [27564b7811] - doc: fix initial default value of autoSelectFamily (Ihor Rohovets) #55245
  • [9e7be23aa5] - doc: tweak onboarding instructions (Michael Dawson) #55212
  • [f412a029c3] - doc: update test context.assert (Pietro Marchini) #55186
  • [2f7828debb] - doc: fix unordered error anchors (Antoine du Hamel) #55242
  • [d08e4c235b] - doc: mention addons to experimental permission (Rafael Gonzaga) #55166
  • [d65c2458dc] - doc: use correct dash in stability status (Antoine du Hamel) #55200
  • [d9839c16cf] - doc: fix link in test/README.md (Livia Medeiros) #55165
  • [1ad659afa4] - doc: add esm examples to node:net (Alfredo González) #55134
  • [81ad69d50f] - doc: move the YAML changes element (sendoru) #55112
  • [7a51a161be] - doc: fix the require resolve algorithm in modules.md (chirsz) #55117
  • [80edcdf899] - doc: update style guide (Aviv Keller) #53223
  • [388c754dd2] - doc: add missing : to run()'s globPatterns (Aviv Keller) #55135
  • [94302b6a76] - doc: add abmusse to collaborators (Abdirahim Musse) #55086
  • [27ff2da964] - doc: add note about --expose-internals (Aviv Keller) #52861
  • [df6dc753b7] - doc: remove parseREPLKeyword from REPL documentation (Aviv Keller) #54749
  • [4baa5c4d10] - doc: change backporting guide with updated info (Aviv Keller) #53746
  • [9947fc112f] - doc: add missing definitions to internal-api.md (Aviv Keller) #53303
  • [a4586f0e94] - doc: update documentation for externalizing deps (Michael Dawson) #54792
  • [70504f8522] - doc: update require(ESM) history and stability status (Antoine du Hamel) #55199
  • [9d0041ac40] - doc: add release key for aduh95 (Antoine du Hamel) #55349
  • [0c1666a52a] - events: allow null/undefined eventInitDict (Matthew Aitken) #54643
  • [453df77f99] - events: return currentTarget when dispatching (Matthew Aitken) #54642
  • [0decaab9db] - fs: acknowledge signal option in filehandle.createReadStream() (Livia Medeiros) #55148
  • [00a2fc7166] - lib: move Symbol[Async]Dispose polyfills to internal/util (Antoine du Hamel) #54853
  • [8e6b606ac4] - lib: remove lib/internal/idna.js (Yagiz Nizipli) #55050
  • [c96e5cb664] - lib: the REPL should survive deletion of Array.prototype methods (Jordan Harband) #31457
  • [748ed2e559] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #55300
  • [8b8d35f015] - meta: bump mozilla-actions/sccache-action from 0.0.5 to 0.0.6 (dependabot[bot]) #55225
  • [d3441ff0c8] - meta: bump actions/checkout from 4.1.7 to 4.2.0 (dependabot[bot]) #55224
  • [1c20908558] - meta: bump actions/setup-node from 4.0.3 to 4.0.4 (dependabot[bot]) #55223
  • [8a529abd69] - meta: bump peter-evans/create-pull-request from 7.0.1 to 7.0.5 (dependabot[bot]) #55219
  • [9053d210ab] - meta: add mailmap entry for abmusse (Abdirahim Musse) #55182
  • [db2496c125] - meta: add more information about nightly releases (Aviv Keller) #55084
  • [d2ce003b2f] - meta: add linux to OS labels in collaborator guide (Aviv Keller) #54986
  • [37b0bea247] - meta: remove never-used workflow trigger (Aviv Keller) #54983
  • [ae27e2dcd7] - meta: add links to alternative issue trackers (Aviv Keller) #54401
  • [6e5d524b0f] - module: remove duplicated import (Aviv Keller) #54942
  • [3a682cca03] - path: remove repetitive conditional operator in posix.resolve (Wiyeong Seo) #54835
  • [ac1cb8dfdb] - perf_hooks: add missing type argument to getEntriesByName (Luke Taher) #54767
  • [85b3edc83b] - repl: catch \v and \r in new-line detection (Aviv Keller) #54512
  • [df1f04999e] - src: decode native error messages as UTF-8 (Joyee Cheung) #55024
  • [86d718177a] - src: update clang-tidy and focus on modernization (Yagiz Nizipli) #53757
  • [7d01b6a9c5] - src: cleanup per env handles directly without a list (Chengzhong Wu) #54993
  • [a730cdb622] - src: remove duplicate code setting AF_INET (He Yang) #54939
  • [f10d9ad283] - stream: treat null asyncIterator as undefined (Jason Zhang) #55119
  • [6027084245] - test: make test-loaders-workers-spawned less flaky (Antoine du Hamel) #55172
  • [66a87d19bd] - test: update multiple assert tests to use node:test (James M Snell) #54585
  • [5105188c47] - test: update wpt test for encoding (devstone) #55151
  • [81bcec0b82] - test: deflake test/pummel/test-timers.js (jakecastelli) #55098
  • [82c402265a] - test: deflake test-http-remove-header-stays-removed (Luigi Pinca) #55004
  • [78021701ed] - test: fix test-tls-junk-closes-server (Michael Dawson) #55089
  • [c908b8a2d8] - test: fix more tests that fail when path contains a space (Antoine du Hamel) #55088
  • [afc1628e73] - test: fix assertSnapshot when path contains a quote (Antoine du Hamel) #55087
  • [7c88739b83] - test: fix some tests when path contains % (Antoine du Hamel) #55082
  • [eb4d468671] - Revert "test: mark test-fs-watch-non-recursive flaky on Windows" (Luigi Pinca) #55079
  • [bc7b5249d4] - test: make test-runner-assert more robust (Aviv Keller) #55036
  • [6c2a1386f7] - test: update tls test to support OpenSSL32 (Michael Dawson) #55030
  • [96406610fa] - test: fix test-vm-context-dont-contextify when path contains a space (Antoine du Hamel) #55026
  • [39a80eed4f] - test: adjust tls-set-ciphers for OpenSSL32 (Michael Dawson) #55016
  • [bd8fd4fceb] - test: add util.stripVTControlCharacters test (RedYetiDev) #54865
  • [333b5a02d0] - test: improve coverage for timer promises schedular (Aviv Keller) #53370
  • [f48992f433] - test: remove unused common utilities (RedYetiDev) #54825
  • [93a098c56d] - test: deflake test-http-header-overflow (Luigi Pinca) #54978
  • [f849cf677d] - test: fix soucre to source (Aviv Keller) #55038
  • [1a007ea814] - test: add asserts to validate test assumptions (Michael Dawson) #54997
  • [6f53c096f8] - test: move test-http-max-sockets to parallel (Luigi Pinca) #54977
  • [aba9dc775e] - test: remove test-http-max-sockets flaky designation (Luigi Pinca) #54976
  • [ee5624bffe] - test: adjust key sizes to support OpenSSL32 (Michael Dawson) #54972
  • [5c11a61140] - test: update test to support OpenSSL32 (Michael Dawson) #54968
  • [62f21470e4] - test: update DOM events web platform tests (Matthew Aitken) #54642
  • [426851705c] - test_runner: assert entry is a valid object (Edigleysson Silva (Edy)) #55231
  • [b1cad519d7] - test_runner: use test: symbol on second print of parent test (RedYetiDev) #54956
  • [63c8f3d436] - test_runner: replace ansi clear with ansi reset (Pietro Marchini) #55013
  • [0b3fb344f7] - tools: add polyfilled option to prefer-primordials rule (Antoine du Hamel) #55318
  • [8981309bd9] - tools: make choco install script more readable (Aviv Keller) #54002
  • [7310abeae1] - tools: bump Rollup from 4.18.1 to 4.22.4 for lint-md (dependabot[bot]) #55093
  • [083311e8af] - tools: remove redudant code from eslint require rule (Aviv Keller) #54892
  • [ae4b2aece1] - tools: update error message for ICU in license-builder (Aviv Keller) #54742
  • [3ebd31684d] - tools: update github_reporter to 1.7.1 (Node.js GitHub Bot) #54951
  • [397be8a10e] - tty: fix links for terminal colors (Aviv Keller) #54596
  • [a3c2ef9e98] - util: update ansi regex (Aviv Keller) #54865
  • [efdccc88a2] - watch: preserve output when gracefully restarted (Théo LUDWIG) #54323
  • [226836c5ac] - worker: throw InvalidStateError in postMessage after close (devstone) #55206
  • [f39ff4d14b] - worker: handle --input-type more consistently (Antoine du Hamel) #54979
  • [30383ffb9a] - zlib: throw brotli initialization error from c++ (Yagiz Nizipli) #54698
2024-11-13 05:33:51
node

2024-11-12, Version 18.20.5 'Hydrogen' (LTS), @aduh95

Notable Changes

  • [ac37e554a5] - esm: mark import attributes and JSON module as stable (Nicolò Ribaudo) #55333

Commits

  • [c2e6a8f215] - benchmark: fix napi/ref addon (Michaël Zasso) #53233
  • [4c2e07aaac] - build: pin doc workflow to Node.js 20 (Richard Lau) #55755
  • [6ba4ebd060] - build: fix build with Python 3.12 (Luigi Pinca) #50582
  • [c50f01399e] - crypto: ensure invalid SubtleCrypto JWK data import results in DataError (Filip Skokan) #55041
  • [5c46782137] - crypto: make deriveBits length parameter optional and nullable (Filip Skokan) #53601
  • [6e7274fa53] - crypto: reject dh,x25519,x448 in {Sign,Verify}Final (Huáng Jùnliàng) #53774
  • [d2442044db] - crypto: reject Ed25519/Ed448 in Sign/Verify prototypes (Filip Skokan) #52340
  • [93670de499] - deps: upgrade npm to 10.8.2 (npm team) #53799
  • [8531c95587] - deps: upgrade npm to 10.8.1 (npm team) #53207
  • [fd9933ea0f] - deps: upgrade npm to 10.8.0 (npm team) #53014
  • [03852495d7] - deps: update simdutf to 5.6.0 (Node.js GitHub Bot) #55379
  • [3597be4146] - deps: update simdutf to 5.5.0 (Node.js GitHub Bot) #54434
  • [52d2c03738] - deps: update simdutf to 5.3.4 (Node.js GitHub Bot) #54312
  • [dd882ac483] - deps: update simdutf to 5.3.1 (Node.js GitHub Bot) #54196
  • [5fb8e1b428] - deps: update simdutf to 5.3.0 (Node.js GitHub Bot) #53837
  • [c952fd886d] - deps: update simdutf to 5.2.8 (Node.js GitHub Bot) #52727
  • [a1ae050ed5] - deps: update simdutf to 5.2.6 (Node.js GitHub Bot) #52727
  • [96ec48da7f] - deps: update brotli to 1.1.0 (Node.js GitHub Bot) #50804
  • [11242bcfb4] - deps: update zlib to 1.3.0.1-motley-71660e1 (Node.js GitHub Bot) #53464
  • [64f98a9869] - deps: update zlib to 1.3.0.1-motley-c2469fd (Node.js GitHub Bot) #53464
  • [4b815550e0] - deps: update zlib to 1.3.0.1-motley-68e57e6 (Node.js GitHub Bot) #53464
  • [f6b2f68ce7] - deps: update zlib to 1.3.0.1-motley-8b7eff8 (Node.js GitHub Bot) #53464
  • [e151ebef86] - deps: update zlib to 1.3.0.1-motley-e432200 (Node.js GitHub Bot) #53464
  • [637a306e02] - deps: update zlib to 1.3.0.1-motley-887bb57 (Node.js GitHub Bot) #53464
  • [569a739569] - deps: update zlib to 1.3.0.1-motley-209717d (Node.js GitHub Bot) #53156
  • [033f1e2ba5] - deps: update zlib to 1.3.0.1-motley-4f653ff (Node.js GitHub Bot) #53052
  • [aaa857fc01] - deps: update ada to 2.8.0 (Node.js GitHub Bot) #53254
  • [d577321877] - deps: update acorn to 8.13.0 (Node.js GitHub Bot) #55558
  • [55b3c8a41f] - deps: update acorn-walk to 8.3.4 (Node.js GitHub Bot) #54950
  • [50a9456f1e] - deps: update acorn-walk to 8.3.3 (Node.js GitHub Bot) #53466
  • [f56cfe776b] - deps: update acorn to 8.12.1 (Node.js GitHub Bot) #53465
  • [fce3ab686d] - deps: update archs files for openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184
  • [46c782486e] - deps: upgrade openssl sources to quictls/openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184
  • [4a18581dc3] - deps: update corepack to 0.29.4 (Node.js GitHub Bot) #54845
  • [67e98831ab] - deps: update archs files for openssl-3.0.14+quic1 (Node.js GitHub Bot) #54336
  • [c60c6630af] - deps: upgrade openssl sources to quictls/openssl-3.0.14+quic1 (Node.js GitHub Bot) #54336
  • [935a506377] - deps: update corepack to 0.29.3 (Node.js GitHub Bot) #54072
  • [dbdfdd0226] - deps: update corepack to 0.29.2 (Node.js GitHub Bot) #53838
  • [395ee44608] - deps: update corepack to 0.28.2 (Node.js GitHub Bot) #53253
  • [6ba8bc0618] - deps: update c-ares to 1.29.0 (Node.js GitHub Bot) #53155
  • [81c3260cd2] - deps: update corepack to 0.28.1 (Node.js GitHub Bot) #52946
  • [e4739e9aa6] - doc: only apply content-visibility on all.html (Filip Skokan) #53510
  • [4d2ac5d98f] - doc: move release key for Myles Borins (Richard Lau) #54059
  • [1c4decc998] - doc: add release key for aduh95 (Antoine du Hamel) #55349
  • [a4f6f0918f] - doc: add names next to release key bash commands (Aviv Keller) #52878
  • [c679348f83] - errors: use determineSpecificType in more error messages (Antoine du Hamel) #49580
  • [3059262185] - esm: fix broken assertion in legacyMainResolve (Antoine du Hamel) #55708
  • [ac37e554a5] - esm: mark import attributes and JSON module as stable (Nicolò Ribaudo) #55333
  • [84b0ead758] - esm: fix hook name in error message (Bruce MacNaughton) #50466
  • [0092358d00] - http: handle multi-value content-disposition header (Arsalan Ahmad) #50977
  • [d814fe935c] - src: account for OpenSSL unexpected version (Shelley Vohr) #54038
  • [6615fe5db1] - src: fix dynamically linked OpenSSL version (Richard Lau) #53456
  • [d6114cb2e2] - test: fix test when compiled without engine support (Richard Lau) #53232
  • [ac3a39051c] - test: fix test-tls-junk-closes-server (Michael Dawson) #55089
  • [c8520ff7d2] - test: fix OpenSSL version checks (Richard Lau) #53503
  • [9824827937] - test: update tls test to support OpenSSL32 (Michael Dawson) #55030
  • [1a4d497936] - test: adjust tls-set-ciphers for OpenSSL32 (Michael Dawson) #55016
  • [341496a5a2] - test: add asserts to validate test assumptions (Michael Dawson) #54997
  • [37a2f7eaa4] - test: adjust key sizes to support OpenSSL32 (Michael Dawson) #54972
  • [75ff0cdf66] - test: update test to support OpenSSL32 (Michael Dawson) #54968
  • [b097d85dfe] - test: adjust test-tls-junk-server for OpenSSL32 (Michael Dawson) #54926
  • [e9997388a6] - test: adjust tls test for OpenSSL32 (Michael Dawson) #54909
  • [c7de027adb] - test: fix test test-tls-dhe for OpenSSL32 (Michael Dawson) #54903
  • [68156cbae1] - test: fix test-tls-client-mindhsize for OpenSSL32 (Michael Dawson) #54739
  • [d5b73e5683] - test: increase key size for ca2-cert.pem (Michael Dawson) #54599
  • [5316314755] - test: update TLS test for OpenSSL 3.2 (Richard Lau) #54612
  • [a1f0c87859] - test: fix test-tls-client-auth test for OpenSSL32 (Michael Dawson) #54610
  • [e9e3306426] - test: use assert.{s,deepS}trictEqual() (Sonny) #54208
  • [1320fb9475] - test: update TLS trace tests for OpenSSL >= 3.2 (Richard Lau) #53229
  • [cc3cdf7cc0] - test: check against run-time OpenSSL version (Richard Lau) #53456
  • [fc43c6803e] - test: update TLS tests for OpenSSL 3.2 (Richard Lau) #53384
  • [627d3993f0] - test: fix unreliable assumption in js-native-api/test_cannot_run_js (Joyee Cheung) #51898
  • [9f521f456e] - test: update tests for OpenSSL 3.0.14 (Richard Lau) #53373
  • [0fb652eba9] - tools: update gyp-next to v0.16.1 (Michaël Zasso) #50380
  • [fa72b2c2de] - tools: skip ruff on tools/gyp (Michaël Zasso) #50380
2024-11-12 04:21:20
node

2024-11-11, Version 23.2.0 (Current), @aduh95

Notable Changes

Update root certificates to NSS 3.104

This is the version of NSS that shipped in Firefox 131.0 on 2024-10-01.

Certificates added:

  • FIRMAPROFESIONAL CA ROOT-A WEB
  • TWCA CYBER Root CA
  • SecureSign Root CA12
  • SecureSign Root CA14
  • SecureSign Root CA15

Other notable changes

  • [fa61dced44] - doc: move typescript support to active development (Marco Ippolito) #55536
  • [9dcca5441b] - doc: add jazelly to collaborators (Jason Zhang) #55531
  • [f628fc43cb] - (SEMVER-MINOR) fs: make dirent.path writable (Antoine du Hamel) #55547
  • [25b1422337] - (SEMVER-MINOR) http: add diagnostic channel http.client.request.created (Marco Ippolito) #55586
  • [adda37f00c] - (SEMVER-MINOR) module: add findPackageJSON util (Jacob Smith) #55412
  • [69dd1e13c3] - (SEMVER-MINOR) module: add module.stripTypeScriptTypes (Marco Ippolito) #55282

Commits

  • [9dbb255efb] - assert: fix deepStrictEqual on errors when cause is not undefined (Edigleysson Silva (Edy)) #55406
  • [7af76ef0b3] - assert: fix the string length check for printing the simple diff (Giovanni Bucci) #55474
  • [34483a299b] - benchmark: add nodeTiming.uvmetricsinfo bench (RafaelGSS) #55614
  • [b79e4835ab] - build: use rclone instead of aws CLI (Michaël Zasso) #55617
  • [7ab1f46b8a] - build: stop pre-compiling lint-md (Aviv Keller) #55266
  • [4887214e23] - build: fix building with system icu 76 (Michael Cho) #55563
  • [f8df27aa5a] - build: fix GN arg used in generate_config_gypi.py (Shelley Vohr) #55530
  • [bb78904548] - build: fix GN build for sqlite and nghttp2 (Shelley Vohr) #55529
  • [535f1b0d4c] - crypto: update root certificates to NSS 3.104 (Richard Lau) #55681
  • [9b351b0749] - crypto: fix RSA_PKCS1_PADDING error message (Richard Lau) #55629
  • [4b192daac0] - deps: update acorn to 8.14.0 (Node.js GitHub Bot) #55699
  • [dfb764cbc6] - deps: update sqlite to 3.47.0 (Node.js GitHub Bot) #55557
  • [3477492588] - deps: update amaro to 0.2.0 (Node.js GitHub Bot) #55601
  • [3a1d490535] - deps: update nghttp2 to 1.64.0 (Node.js GitHub Bot) #55559
  • [50552fdc92] - deps: update acorn to 8.13.0 (Node.js GitHub Bot) #55558
  • [1b82013f06] - deps: update undici to 6.20.1 (Node.js GitHub Bot) #55503
  • [09060045b1] - dns: stop using deprecated ares_query (Aviv Keller) #55430
  • [2d0914f337] - doc: consolidate history table of CustomEvent (Edigleysson Silva) #55758
  • [cbe09b579f] - doc: add path aliases typescript doc (Carlos Espa) #55766
  • [89aa83842a] - doc: add esm example in path.md (Aviv Keller) #55745
  • [ee12431298] - doc: consistent use of word child process (Gireesh Punathil) #55654
  • [20cb52d1d8] - doc: clarity to available addon options (Preveen P) #55715
  • [bffbaa13a2] - doc: update --max-semi-space-size description (Joe Bowbeer) #55495
  • [505ff199b6] - doc: broken PerformanceObserver code sample (Dom Harrington) #54227
  • [b8ca9d89f4] - doc: add write flag when open file as the demo code's intention (robberfree) #54626
  • [6662752b62] - doc: add a note on console stream behavior (Gireesh Punathil) #55616
  • [9743fa44ed] - doc: remove mention of ECDH-ES in crypto.diffieHellman (Filip Skokan) #55611
  • [5de2567644] - doc: improve c++ embedder API doc (Gireesh Punathil) #55597
  • [f355054ec7] - doc: capitalize "MIT License" (Aviv Keller) #55575
  • [fa61dced44] - doc: move typescript support to active development (Marco Ippolito) #55536
  • [f77bf65059] - doc: add suggested tsconfig for type stripping (Marco Ippolito) #55534
  • [f00ad27132] - doc: add esm examples to node:string_decoder (Alfredo González) #55507
  • [9dcca5441b] - doc: add jazelly to collaborators (Jason Zhang) #55531
  • [f628fc43cb] - (SEMVER-MINOR) fs: make dirent.path writable (Antoine du Hamel) #55547
  • [dd9b6833c7] - Revert "fs,win: fix bug in paths with trailing slashes" (Rod Vagg) #55527
  • [8d0526f1f4] - http: add diagnostic channel http.server.response.created (Marco Ippolito) #55622
  • [25b1422337] - (SEMVER-MINOR) http: add diagnostic channel http.client.request.created (Marco Ippolito) #55586
  • [f92f20b930] - http: don't emit error after destroy (Robert Nagy) #55457
  • [137aa5c9f6] - http2: fix client async storage persistence (Orgad Shaneh) #55460
  • [d1965f9f5b] - lib: implement webidl dictionary converter and use it in structuredClone (Jason Zhang) #55489
  • [bf552fa3cc] - lib: prefer number to string in webidl type function (Jason Zhang) #55489
  • [7bfd295416] - meta: bump actions/setup-python from 5.2.0 to 5.3.0 (dependabot[bot]) #55688
  • [21e3b7b2f4] - meta: bump actions/setup-node from 4.0.4 to 4.1.0 (dependabot[bot]) #55687
  • [2ae8d3b2ff] - meta: bump rtCamp/action-slack-notify from 2.3.0 to 2.3.2 (dependabot[bot]) #55686
  • [42e6c47086] - meta: bump actions/upload-artifact from 4.4.0 to 4.4.3 (dependabot[bot]) #55685
  • [9042e9acc9] - meta: bump actions/cache from 4.0.2 to 4.1.2 (dependabot[bot]) #55684
  • [5c2e4729cc] - meta: bump actions/checkout from 4.2.0 to 4.2.2 (dependabot[bot]) #55683
  • [d79c8bf7a1] - meta: bump github/codeql-action from 3.26.10 to 3.27.0 (dependabot[bot]) #55682
  • [d0ea9815f6] - meta: make review-wanted message minimal (Aviv Keller) #55607
  • [b1ca7ab0a1] - meta: show PR/issue title on review-wanted (Aviv Keller) #55606
  • [19b1edfc5c] - module: simplify --inspect-brk handling (Joyee Cheung) #55679
  • [869e88c6a8] - module: simplify findPackageJSON implementation (Antoine du Hamel) #55543
  • [56c46ab686] - module: unify TypeScript and .mjs handling in CommonJS (Joyee Cheung) #55590
  • [d3be3da6f8] - module: fix error thrown from require(esm) hitting TLA repeatedly (Joyee Cheung) #55520
  • [b3971bbf13] - module: trim off internal stack frames for require(esm) warnings (Joyee Cheung) #55496
  • [a9e08cfe6d] - module: allow ESM that failed to be required to be re-imported (Joyee Cheung) #55502
  • [adda37f00c] - (SEMVER-MINOR) module: add findPackageJSON util (Jacob Smith) #55412
  • [69dd1e13c3] - (SEMVER-MINOR) module: add module.stripTypeScriptTypes (Marco Ippolito) #55282
  • [6ab59c81b6] - os: improve path check with direct index access (Mert Can Altin) #55434
  • [038ac01d26] - path,win: fix bug in resolve and normalize (Hüseyin Açacak) #55623
  • [7aa250afda] - sqlite: improve error handling using MaybeLocal (Tobias Nießen) #55571
  • [2ec4ae7c16] - sqlite: add readOnly option (Tobias Nießen) #55567
  • [88c7f5b489] - sqlite: refactor open options (Tobias Nießen) #55442
  • [7853462a61] - src: provide workaround for container-overflow (Daniel Lemire) #55591
  • [0302efe4b2] - src: move more key related stuff to ncrypto (James M Snell) #55368
  • [d26dedf41d] - src: refactor ECDHBitsJob signature (Filip Skokan) #55610
  • [4c34891454] - src: fix dns crash when failed to create NodeAresTask (theanarkh) #55521
  • [467618418a] - src: use NewFromUtf8Literal in NODE_DEFINE_CONSTANT (Charles Kerr) #55581
  • [016baaebbe] - src: do not run IsWindowsBatchFile on non-windows (Yagiz Nizipli) #55560
  • [efa142c108] - src: migrate String::Value to String::ValueView (Aviv Keller) #55458
  • [cfa4d960c8] - src,lib: optimize nodeTiming.uvMetricsInfo (RafaelGSS) #55614
  • [19da4de475] - test: update performance-timeline wpt (RedYetiDev) #55197
  • [10b68ed975] - test: ignore unrelated events in FW watch tests (Carlos Espa) #55605
  • [7d93c0c3ae] - test: refactor some esm tests (Antoine du Hamel) #55472
  • [815e2524a6] - test: split up test-runner-mock-timers test (Julian Gassner) #55506
  • [6aa797de4e] - test: remove unneeded listeners (Luigi Pinca) #55486
  • [649d767a40] - test: increase coverage of pathToFileURL (Antoine du Hamel) #55493
  • [71cc20a3a5] - test: avoid apply() calls with large amount of elements (Livia Medeiros) #55501
  • [2d19614020] - test: increase test coverage for http.OutgoingMessage.appendHeader() (Juan José) #55467
  • [aebf676569] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55703
  • [53a7d8e75b] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55512
  • [0ea74f3d02] - test,crypto: make crypto tests work with BoringSSL (Shelley Vohr) #55491
  • [3234dc6100] - test_runner: pass options directly to TestCoverage (Aviv Keller) #55578
  • [15028dd073] - tools: update ESLint to 9.14.0 (dependabot[bot]) #55689
  • [961cbc9c0f] - tools: use util.parseArgs in lint-md (Aviv Keller) #55694
  • [8fc962f1af] - tools: fix root certificate updater (Richard Lau) #55681
  • [d0b2d6be84] - tools: compact jq output in daily-wpt-fyi.yml action (Filip Skokan) #55695
  • [cba05cda38] - tools: run daily WPT.fyi report on all supported releases (Filip Skokan) #55619
  • [7ce7eab324] - tools: lint README lists more strictly (Antoine du Hamel) #55625
  • [c2fcda45ca] - typings: fix ModulesBinding types (Antoine du Hamel) #55549
  • [2b9928561d] - url: refactor pathToFileURL to native (Antoine du Hamel) #55476
  • [4129bc72e2] - util: do not catch on circular @@toStringTag errors (Aviv Keller) #55544
2024-10-29 21:05:49
node

2024-10-29, Version 22.11.0 'Jod' (LTS), @richardlau

Notable Changes

This release marks the transition of Node.js 22.x into Long Term Support (LTS) with the codename 'Jod'. The 22.x release line now moves into "Active LTS" and will remain so until October 2025. After that time, it will move into "Maintenance" until end of life in April 2027.

Other than updating metadata, such as the process.release object, to reflect that the release is LTS, no further changes from Node.js 22.10.0 are included.

OpenSSL 3.x

Official binaries for Node.js 22.x currently include OpenSSL 3.0.x (more specifically, the quictls OpenSSL fork). OpenSSL 3.0.x is the currently designated long term support version that is scheduled to be supported until 7th September 2026, which is within the expected lifetime of Node.js 22.x. We are expecting upstream OpenSSL to announce a successor long term support version prior to that date and since OpenSSL now follows a semantic versioning-like versioning scheme we expect to be able to update to the next long term supported version of OpenSSL during the lifetime of Node.js 22.x.

2024-10-25 05:25:19
node

2024-10-24, Version 23.1.0 (Current), @aduh95

Notable Changes

Buffer now work with resizable ArrayBuffer

When a Buffer is created using a resizable ArrayBuffer, the Buffer length will now correctly change as the underlying ArrayBuffer size is changed.

const ab = new ArrayBuffer(10, { maxByteLength: 20 });
const buffer = Buffer.from(ab);
console.log(buffer.byteLength); 10
ab.resize(15);
console.log(buffer.byteLength); 15
ab.resize(5);
console.log(buffer.byteLength); 5

Contributed by James M Snell in #55377.

MockTimers test runner API is now stable

MockTimers, introduced in April 2023, has just reached stable status. This API provides comprehensive support for mocking Date and all major timers in Node.js, including setTimeout, setInterval, and setImmediate, both from the node:timers, node:timers/promises modules and global objects. After months of refinement, developers can now fully rely on MockTimers for testing time-based operations with confidence, ensuring better control over asynchronous behavior in their Node.js applications.

Example usage with initial Date object as time set:

import { mock } from 'node:test';
mock.timers.enable({ apis: ['Date'], now: new Date('1970-01-01') });

Contributed by Erick Wendel in #55398.

JSON modules and import attributes are now stable

The two proposals reached stage 4 of the TC39 process, at the October 2024 meeting. The Node.js implementation already matches exactly the semantics required by the proposals.

Contributed by Nicolò Ribaudo by #55333.

Other Notable Changes

  • [4ba31b7f20] - (SEMVER-MINOR) assert: make assertion_error use Myers diff algorithm (Giovanni Bucci) #54862
  • [dcbc5fbe65] - (SEMVER-MINOR) lib: add UV_UDP_REUSEPORT for udp (theanarkh) #55403
  • [ec867ac7ce] - (SEMVER-MINOR) net: add UV_TCP_REUSEPORT for tcp (theanarkh) #55408

Commits

  • [4ba31b7f20] - (SEMVER-MINOR) assert: make assertion_error use Myers diff algorithm (Giovanni Bucci) #54862
  • [fe667bea28] - assert: fix deepEqual always return true on URL (Xuguang Mei) #50853
  • [aca03d9083] - benchmark: add --runs support to run.js (Rafael Gonzaga) #55158
  • [c5abf50692] - benchmark: adjust byte size for buffer-copy (Rafael Gonzaga) #55295
  • [d3618b2334] - benchmark: adjust config for deepEqual object (Rafael Gonzaga) #55254
  • [c05582da3d] - (SEMVER-MINOR) buffer: make Buffer work with resizable ArrayBuffer (James M Snell) #55377
  • [194bb0fca5] - build: fix GN build for cares/uv deps (Cheng) #55477
  • [8eb5359592] - build: fix uninstall script for AIX 7.1 (Cloorc) #55438
  • [32f7d5ad1c] - build: conditionally compile bundled sqlite (Richard Lau) #55409
  • [2147e496e7] - build: tidy up cares.gyp (Richard Lau) #55445
  • [2beae50c77] - build: synchronize list of c-ares source files (Richard Lau) #55445
  • [f48d30eb9f] - build: fix path concatenation (Mohammed Keyvanzadeh) #55387
  • [d42522eec5] - build: fix make errors that occur in Makefile (minkyu_kim) #55287
  • [52da293471] - cli: add --heap-prof flag available to NODE_OPTIONS (Juan José) #54259
  • [adead26815] - crypto: include openssl/rand.h explicitly (Shelley Vohr) #55425
  • [df2f1adf9e] - deps: V8: cherry-pick f915fa4c9f41 (Chengzhong Wu) #55484
  • [bfc10a975f] - deps: update googletest to df1544b (Node.js GitHub Bot) #55465
  • [45ef1809bd] - deps: update c-ares to v1.34.2 (Node.js GitHub Bot) #55463
  • [c2b5ebfeca] - deps: update ada to 2.9.1 (Node.js GitHub Bot) #54679
  • [903863cafa] - deps: update simdutf to 5.6.0 (Node.js GitHub Bot) #55379
  • [008fb5f7f4] - deps: patch V8 to 12.9.202.28 (Node.js GitHub Bot) #55371
  • [8b282228ae] - deps: update c-ares to v1.34.1 (Node.js GitHub Bot) #55369
  • [54d55f2337] - Revert "deps: disable io_uring support in libuv by default" (Santiago Gimeno) #55114
  • [bfb3c621c4] - deps: update libuv to 1.49.1 (Santiago Gimeno) #55114
  • [055d2b8919] - deps: update amaro to 0.1.9 (Node.js GitHub Bot) #55348
  • [c028d21b44] - diagnostics_channel: fix unsubscribe during publish (simon-id) #55116
  • [b4b6ddb777] - dns: honor the order option (Luigi Pinca) #55392
  • [37352cef7f] - doc: changed the command used to verify SHASUMS256 (adriancuadrado) #55420
  • [66bcf4c065] - doc: move dual package shipping docs to separate repo (Joyee Cheung) #55444
  • [04b41bda03] - doc: add note about stdio streams in child_process (Ederin (Ed) Igharoro) #55322
  • [689d3a3e41] - doc: add isBigIntObject to documentation (leviscar) #55450
  • [784c825a27] - doc: remove outdated remarks about highWaterMark in fs (Ian Kerins) #55462
  • [1ec25e8573] - doc: move Danielle Adams key to old gpg keys (RafaelGSS) #55399
  • [7d5bb097eb] - doc: move Bryan English key to old gpg keys (RafaelGSS) #55399
  • [2967471f67] - doc: move Beth Griggs keys to old gpg keys (RafaelGSS) #55399
  • [0be3a7505f] - doc: add changelog for mocktimers (Erick Wendel) #55398
  • [e15f779794] - doc: spell out condition restrictions (Jan Martin) #55187
  • [c3f2216a7d] - doc: add instructions for WinGet build (Hüseyin Açacak) #55356
  • [bdc2c3bb94] - doc: add missing return values in buffer docs (Karl Horky) #55273
  • [41f68f59af] - doc: fix ambasador markdown list (Rafael Gonzaga) #55361
  • [bbd5318729] - esm: add a fallback when importer in not a file (Antoine du Hamel) #55471
  • [22d77773fd] - esm: fix inconsistency with importAssertion in resolve hook (Wei Zhu) #55365
  • [48bb87b059] - esm: mark import attributes and JSON module as stable (Nicolò Ribaudo) #55333
  • [8ceefebaf2] - events: optimize EventTarget.addEventListener (Robert Nagy) #55312
  • [45f960cab6] - fs: pass correct path to DirentFromStats during glob (Aviv Keller) #55071
  • [d9494a7641] - fs: use wstring on Windows paths (jazelly) #55171
  • [0f1d13e359] - lib: ensure FORCE_COLOR forces color output in non-TTY environments (Pietro Marchini) #55404
  • [dcbc5fbe65] - (SEMVER-MINOR) lib: add UV_UDP_REUSEPORT for udp (theanarkh) #55403
  • [714f272423] - lib: remove startsWith/endsWith primordials for char checks (Gürgün Dayıoğlu) #55407
  • [4e5c90bb41] - lib: replace createDeferredPromise util with Promise.withResolvers (Yagiz Nizipli) #54836
  • [db18aca47a] - lib: add flag to drop connection when running in cluster mode (theanarkh) #54927
  • [dd848f2d1e] - lib: test_runner#mock:timers respeced timeout_max behaviour (BadKey) #55375
  • [a9473bb8e3] - lib: remove settled dependant signals when they are GCed (Edigleysson Silva (Edy)) #55354
  • [07ad987aa1] - lib: convert transfer sequence to array in js (Jason Zhang) #55317
  • [d54d3b24c3] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #55381
  • [12d709bd27] - meta: assign CODEOWNERS for /deps/ncrypto/* (Filip Skokan) #55426
  • [0130780eec] - meta: change color to blue notify review-wanted (Rafael Gonzaga) #55423
  • [335a507027] - meta: bump codecov/codecov-action from 4.5.0 to 4.6.0 (dependabot[bot]) #55222
  • [5ffc721d09] - meta: bump github/codeql-action from 3.26.6 to 3.26.10 (dependabot[bot]) #55221
  • [d9fde2c45b] - meta: bump step-security/harden-runner from 2.9.1 to 2.10.1 (dependabot[bot]) #55220
  • [2c960a212e] - module: include module information in require(esm) warning (Joyee Cheung) #55397
  • [a12dbf03d9] - module: simplify ts under node_modules check (Marco Ippolito) #55440
  • [ec867ac7ce] - (SEMVER-MINOR) net: add UV_TCP_REUSEPORT for tcp (theanarkh) #55408
  • [9e320279a2] - Revert "path: fix bugs and inconsistencies" (Aviv Keller) #55414
  • [1ce8928db3] - sqlite: cache column names in stmt.all() (Fedor Indutny) #55373
  • [cc775d314a] - src: switch from Get/SetPrototype to Get/SetPrototypeV2 (Aviv Keller) #55453
  • [89c96ade53] - src: remove icu based ToASCII and ToUnicode (Yagiz Nizipli) #55156
  • [57dbbf8402] - src: fix winapi_strerror error string (Hüseyin Açacak) #55207
  • [a490bb8745] - src: remove uv__node_patch_is_using_io_uring (Santiago Gimeno) #55114
  • [0da1632937] - src,lib: introduce util.getSystemErrorMessage(err) (Juan José) #54075
  • [6764273127] - stream: propagate AbortSignal reason (Marvin ROGER) #55473
  • [4dc2791cdd] - test: add repl preview timeout test (Chengzhong Wu) #55484
  • [8634e054d4] - test: make test-node-output-v8-warning more flexible (Shelley Vohr) #55401
  • [6c8564b55d] - test: fix addons and node-api test assumptions (Antoine du Hamel) #55441
  • [94e863cdb7] - test: update wpt test for webmessaging/broadcastchannel (devstone) #55205
  • [c10c6715cd] - test: deflake test-cluster-shared-handle-bind-privileged-port (Aviv Keller) #55378
  • [6f7379a048] - test: fix invalid file: URL in test-fs-path-dir (Antoine du Hamel) #55454
  • [dd5a08d022] - test: update console wpt (Aviv Keller) #55192
  • [9b7b4a6b25] - test: remove duplicate tests (Luigi Pinca) #55393
  • [eb2fab3da1] - test: update test_util.cc for coverage (minkyu_kim) #55291
  • [59923d137e] - test: update compression wpt (Aviv Keller) #55191
  • [1b63a822ac] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55427
  • [97c6448f63] - test_runner: mark mockTimers as stable (Erick Wendel) #55398
  • [69ee56aacd] - test_runner: add support for scheduler.wait on mock timers (Erick Wendel) #55244
  • [d9f0407cf6] - test_runner: require --enable-source-maps for sourcemap coverage (Aviv Keller) #55359
  • [2ac2c5a7e7] - tools: update lint-md-dependencies (Node.js GitHub Bot) #55470
  • [10f6b90f7d] - tools: update gyp-next to 0.18.3 (Node.js GitHub Bot) #55464
  • [65936a8bb6] - tools: add script to synch c-ares source lists (Richard Lau) #55445
  • [1da4168486] - tools: add polyfilled option to prefer-primordials rule (Antoine du Hamel) #55318
  • [3b2b3a8df2] - tools: fix typos (Nathan Baulch) #55061
  • [736c085a5d] - typings: add missing type of ArrayBufferPrototypeGetByteLength (Wuli Zuo) #55439
  • [7b3e38b855] - url: handle "unsafe" characters properly in pathToFileURL (Antoine du Hamel) #54545
2024-10-17 06:28:19
node

2024-10-16, Version 22.10.0 (Current), @aduh95

Notable Changes

New "module-sync" exports condition

This release introduces a "module-sync" exports condition that's enabled when require(esm) is enabled, so packages can supply a synchronous ES module to the Node.js module loader, no matter if it's being required or imported. This is similar to the "module" condition that bundlers have been using to support require(esm) in Node.js, and allows dual-package authors to opt into ESM-first only on newer versions of Node.js that supports require(esm) to avoid the dual-package hazard.

{
  "type": "module",
  "exports": {
    "node": {
      // On new version of Node.js, both require() and import get
      // the ESM version
      "module-sync": "./index.js",
      // On older version of Node.js, where "module-sync" and require(esm) are
      // not supported, use the CJS version to avoid dual-package hazard.
      // When package authors think it's time to drop support for older versions of
      // Node.js, they can remove the exports conditions and just use "main": "index.js".
      "default": "./dist/index.cjs"
    },
    // On any other environment, use the ESM version.
    "default": "./index.js"
  }
}

Or if the package is only meant to be run on Node.js and wants to fallback to CJS on older versions that don't have require(esm):

{
  "type": "module",
  "exports": {
    // On new version of Node.js, both require() and import get the ESM version
    "module-sync": "./index.js",
    // On older version of Node.js, where "module-sync" and require(esm) are
    // not supported, use the CJS version to avoid dual-package hazard.
    // When package authors think it's time to drop support for older versions of
    // Node.js, they can remove the exports conditions and just use "main": "index.js".
    "default": "./dist/index.cjs"
  }
}

For package authors: this only serves as a feature-detection mechanism for packages that wish to support both CJS and ESM users during the period when some active Node.js LTS versions support require(esm) while some older ones don't. When all active Node.js LTS lines support require(esm), packages can simplify their distributions by bumping the major version, dropping their CJS exports, and removing the module-sync exports condition (with only main or default targetting the ESM exports). If the package needs to support both bundlers and being run unbundled on Node.js during the transition period, use both module-sync and module and point them to the same ESM file. If the package already doesn't want to support older versions of Node.js that doesn't support require(esm), don't use this export condition.

For bundlers/tools: they should avoid implementing this stop-gap condition. Most existing bundlers implement the de-facto bundler standard module exports condition, and that should be enough to support users who want to bundle ESM from CJS consumers. Users who want both bundlers and Node.js to recognize the ESM exports can use both module/module-sync conditions during the transition period, and can drop module-sync+module when they no longer need to support older versions of Node.js. If tools do want to support this condition, it's recommended to make the resolution rules in the graph pointed by this condition match the Node.js native ESM rules to avoid divergence.

We ended up implementing a condition with a different name instead of reusing "module", because existing code in the ecosystem using the "module" condition sometimes also expect the module resolution for these ESM files to work in CJS style, which is supported by bundlers, but the native Node.js loader has intentionally made ESM resolution different from CJS resolution (e.g. forbidding import './noext' or import './directory'), so it would be breaking to implement a "module" condition without implementing the forbidden ESM resolution rules. For now, this just implements a new condition as semver-minor so it can be backported to older LTS.

Contributed by Joyee Cheung in #54648.

node --run is now stable

This CLI flag runs a specified command from a package.json's "scripts" object.

For the following package.json:

{
  "scripts": {
    "test": "node --test-reporter junit --test ./test"
  }
}

You can run node --run test and that would start the test suite.

Contributed by Yagiz Nizipli in #53763.

Other notable changes

  • [f0b441230a] - (SEMVER-MINOR) crypto: add KeyObject.prototype.toCryptoKey (Filip Skokan) #55262
  • [349d2ed07b] - (SEMVER-MINOR) crypto: add Date fields for validTo and validFrom (Andrew Moon) #54159
  • [bebc95ed58] - doc: add abmusse to collaborators (Abdirahim Musse) #55086
  • [914db60159] - (SEMVER-MINOR) http2: expose nghttp2_option_set_stream_reset_rate_limit as an option (Maël Nison) #54875
  • [f7c3b03759] - (SEMVER-MINOR) lib: propagate aborted state to dependent signals before firing events (jazelly) #54826
  • [32261fc98a] - (SEMVER-MINOR) module: support loading entrypoint as url (RedYetiDev) #54933
  • [06957ff355] - (SEMVER-MINOR) module: implement flushCompileCache() (Joyee Cheung) #54971
  • [2dcf70c347] - (SEMVER-MINOR) module: throw when invalid argument is passed to enableCompileCache() (Joyee Cheung) #54971
  • [f9b19d7c44] - (SEMVER-MINOR) module: write compile cache to temporary file and then rename it (Joyee Cheung) #54971
  • [e95163b170] - (SEMVER-MINOR) process: add process.features.require_module (Joyee Cheung) #55241
  • [4050f68e5d] - (SEMVER-MINOR) process: add process.features.typescript (Aviv Keller) #54295
  • [86f7cb802d] - (SEMVER-MINOR) test_runner: support custom arguments in run() (Aviv Keller) #55126
  • [b62f2f8259] - (SEMVER-MINOR) test_runner: add 'test:summary' event (Colin Ihrig) #54851
  • [d7c708aec5] - (SEMVER-MINOR) test_runner: add support for coverage via run() (Chemi Atlow) #53937
  • [5fda4a1498] - (SEMVER-MINOR) worker: add markAsUncloneable api (Jason Zhang) #55234

Commits

  • [e3619510c8] - assert: show the diff when deep comparing data with a custom message (Giovanni) #54759
  • [39c7a9e70c] - benchmark: adjust config for deepEqual object (Rafael Gonzaga) #55254
  • [263526d5d0] - benchmark: rewrite detect-esm-syntax benchmark (Joyee Cheung) #55238
  • [cd0795fb00] - benchmark: add no-warnings to process.has bench (Rafael Gonzaga) #55159
  • [4352d9cc31] - benchmark: create benchmark for typescript (Marco Ippolito) #54904
  • [452bc9b48d] - benchmark: add webstorage benchmark (jakecastelli) #55040
  • [d4d5ba3a9b] - benchmark: include ascii to fs/readfile (Rafael Gonzaga) #54988
  • [23b628db65] - benchmark: add dotenv benchmark (Aviv Keller) #54278
  • [b1ebb0d8ca] - buffer: coerce extrema to int in blob.slice (Antoine du Hamel) #55141
  • [3a6e72483f] - buffer: extract Blob's .arrayBuffer() & webidl changes (Matthew Aitken) #53372
  • [d109f1c4ff] - buffer: use simdutf convert_latin1_to_utf8_safe (Robert Nagy) #54798
  • [77f8a3f9c2] - build: fix notify-on-review-wanted action (Rafael Gonzaga) #55304
  • [0d93b1ed0c] - build: fix not valid json in coverage (jakecastelli) #55179
  • [f89664d890] - build: include .nycrc in coverage workflows (Wuli Zuo) #55210
  • [d7a9df6417] - build: notify via slack when review-wanted (Rafael Gonzaga) #55102
  • [68822cc861] - build: add more information to Makefile help (Aviv Keller) #53381
  • [f3ca9c669b] - build: update ruff and add lint-py-fix (Aviv Keller) #54410
  • [d99ae548d7] - build: remove -v flag to reduce noise (iwuliz) #55025
  • [d3dfbe7ff9] - build: display free disk space after build in the test-macOS workflow (iwuliz) #55025
  • [3077f6a5b7] - build: support up to python 3.13 in android-configure (Aviv Keller) #54529
  • [a929c71281] - build: add the option to generate compile_commands.json in vcbuild.bat (Segev Finer) #52279
  • [a81f368b99] - build: fix eslint makefile target (Aviv Keller) #54999
  • [c8b7a645ae] - Revert "build: upgrade clang-format to v18" (Chengzhong Wu) #54994
  • [7861ca5dc3] - build: print Running XYZ linter... for py and yml (Aviv Keller) #54386
  • [aaea3944e5] - build,win: add winget config to set up env (Hüseyin Açacak) #54729
  • [30d47220bb] - build,win: float VS 17.11 compilation patch (Stefan Stojanovic) #54970
  • [048a1ab350] - cli: ensure --run has proper pwd (Yagiz Nizipli) #54949
  • [a97841ee10] - cli: fix spacing for port range error (Aviv Keller) #54495
  • [1dcc5eedff] - Revert "console: colorize console error and warn" (Aviv Keller) #54677
  • [f0b441230a] - (SEMVER-MINOR) crypto: add KeyObject.prototype.toCryptoKey (Filip Skokan) #55262
  • [d3f8c35320] - crypto: ensure invalid SubtleCrypto JWK data import results in DataError (Filip Skokan) #55041
  • [349d2ed07b] - (SEMVER-MINOR) crypto: add Date fields for validTo and validFrom (Andrew Moon) #54159
  • [34ca36a397] - deps: update undici to 6.20.0 (Node.js GitHub Bot) #55329
  • [f703652e84] - deps: upgrade npm to 10.9.0 (npm team) #55255
  • [b533a51856] - deps: V8: backport 0d5d6e71bbb0 (Yagiz Nizipli) #55115
  • [2f65b3fd07] - deps: V8: partially cherry-pick 8953e49478 (Ben Noordhuis) #55274
  • [bb9f77d53a] - deps: update archs files for openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184
  • [63d51c82fe] - deps: upgrade openssl sources to quictls/openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184
  • [29e6484f3c] - deps: update archs files for openssl-3.0.14+quic1 (Node.js GitHub Bot) #54336
  • [283927ec88] - deps: upgrade openssl sources to quictls/openssl-3.0.14+quic1 (Node.js GitHub Bot) #54336
  • [b0636a1e88] - deps: update timezone to 2024b (Node.js GitHub Bot) #55056
  • [173464d76f] - deps: update acorn-walk to 8.3.4 (Node.js GitHub Bot) #54950
  • [0d4536543b] - deps: update corepack to 0.29.4 (Node.js GitHub Bot) #54845
  • [1de5512383] - deps: V8: cherry-pick 217457d0a560 (Michaël Zasso) #54883
  • [1921d7a37c] - doc: add release key for aduh95 (Antoine du Hamel) #55349
  • [d8e42be1b2] - doc: move ERR_INVALID_PERFORMANCE_MARK to legacy errors (Antoine du Hamel) #55247
  • [5ea8aa183c] - doc: fix Markdown linter (Antoine du Hamel) #55344
  • [873588888d] - Revert "doc: update test context.assert" (Antoine du Hamel) #55344
  • [707e7cc702] - doc: add pmarchini to collaborators (Pietro Marchini) #55331
  • [b03272b9a1] - doc: fix events.once() example using AbortSignal (Ivo Janssen) #55144
  • [85b765953d] - doc: add onboarding details for ambassador program (Marco Ippolito) #55284
  • [5d41b8a8b0] - doc: update require(ESM) history and stability status (Antoine du Hamel) #55199
  • [195df659e9] - doc: move ERR_NAPI_TSFN_START/STOP_IDLE_LOOP to legacy errors (Antoine du Hamel) #55248
  • [8eae0d3f3c] - doc: fix initial default value of autoSelectFamily (Ihor Rohovets) #55245
  • [297cb0da5a] - doc: tweak onboarding instructions (Michael Dawson) #55212
  • [7ddbfe8c2b] - doc: update test context.assert (Pietro Marchini) #55186
  • [8a57550d20] - doc: fix unordered error anchors (Antoine du Hamel) #55242
  • [286ea4ed3d] - doc: mention addons to experimental permission (Rafael Gonzaga) #55166
  • [7c9ceabf38] - doc: use correct dash in stability status (Antoine du Hamel) #55200
  • [781ffd8ba1] - doc: fix link in test/README.md (Livia Medeiros) #55165
  • [61b9ed3bf2] - doc: add esm examples to node:net (Alfredo González) #55134
  • [bb3499038d] - doc: remove outdated https import reference (Edigleysson Silva (Edy)) #55111
  • [6cc49518c7] - doc: move the YAML changes element (sendoru) #55112
  • [b12b4a23e4] - doc: remove random horizontal separators in process.md (Antoine du Hamel) #55149
  • [7186ede388] - doc: put --env-file-if-exists=config right under --env-file=config (Edigleysson Silva (Edy)) #55131
  • [8ad0dfff10] - doc: fix the require resolve algorithm in modules.md (chirsz) #55117
  • [fd40f0873f] - doc: update style guide (Aviv Keller) #53223
  • [12c9d9780f] - doc: add missing : to run()'s globPatterns (Aviv Keller) #55135
  • [73b05cfb04] - doc: correct cleanup option in stream.(promises.)finished (René) #55043
  • [bebc95ed58] - doc: add abmusse to collaborators (Abdirahim Musse) #55086
  • [a97c80c6ae] - doc: add note about --expose-internals (Aviv Keller) #52861
  • [89aeae63bd] - doc: remove parseREPLKeyword from REPL documentation (Aviv Keller) #54749
  • [b3e0490b8b] - doc: add missing EventSource docs to globals (Matthew Aitken) #55022
  • [516c775fa5] - doc: cover --experimental-test-module-mocks flag (Jonathan Sharpe) #55021
  • [4244f1a269] - doc: add more details for localStorage and sessionStorage (Batuhan Tomo) #53881
  • [39a728c2e3] - doc: change backporting guide with updated info (Aviv Keller) #53746
  • [3a5fe95ad7] - doc: add missing definitions to internal-api.md (Aviv Keller) #53303
  • [f2d74a26a3] - doc: fix history of process.features (Antoine du Hamel) #54982
  • [29866ca438] - doc: fix typo callsite.lineNumber (Rafael Gonzaga) #54969
  • [c1d73abd29] - doc: update documentation for externalizing deps (Michael Dawson) #54792
  • [eca9668231] - doc: add documentation for process.features (Marco Ippolito) #54897
  • [0fb446e207] - esm: do not interpret "main" as a URL (Antoine du Hamel) #55003
  • [be2fe4b249] - events: allow null/undefined eventInitDict (Matthew Aitken) #54643
  • [cb47e169a0] - events: return currentTarget when dispatching (Matthew Aitken) #54642
  • [dbfae3fe14] - fs: acknowledge signal option in filehandle.createReadStream() (Livia Medeiros) #55148
  • [1c94725c07] - fs: check subdir correctly in cpSync (Jason Zhang) #55033
  • [79ffefab2a] - fs: convert to u8 string for filesystem path (Jason Zhang) #54653
  • [914db60159] - (SEMVER-MINOR) http2: expose nghttp2_option_set_stream_reset_rate_limit as an option (Maël Nison) #54875
  • [08b5e6c794] - lib: fix module print timing when specifier includes " (Antoine du Hamel) #55150
  • [bf7d7aef4b] - lib: fix typos (Nathan Baulch) #55065
  • [d803355d92] - lib: prefer optional chaining (Aviv Keller) #55045
  • [d4873bcd6d] - lib: remove lib/internal/idna.js (Yagiz Nizipli) #55050
  • [f7c3b03759] - (SEMVER-MINOR) lib: propagate aborted state to dependent signals before firing events (jazelly) #54826
  • [397ae418db] - lib: the REPL should survive deletion of Array.prototype methods (Jordan Harband) #31457
  • [566179c9ec] - lib, tools: remove duplicate requires (Aviv Keller) #54987
  • [c9a1bbbef2] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #55300
  • [d7b73bbd1d] - meta: bump mozilla-actions/sccache-action from 0.0.5 to 0.0.6 (dependabot[bot]) #55225
  • [0f4269faa9] - meta: bump actions/checkout from 4.1.7 to 4.2.0 (dependabot[bot]) #55224
  • [33be1990d8] - meta: bump actions/setup-node from 4.0.3 to 4.0.4 (dependabot[bot]) #55223
  • [f5b4ae5bf8] - meta: bump peter-evans/create-pull-request from 7.0.1 to 7.0.5 (dependabot[bot]) #55219
  • [1985d9016e] - meta: add mailmap entry for abmusse (Abdirahim Musse) #55182
  • [93b215d5e6] - meta: add more information about nightly releases (Aviv Keller) #55084
  • [aeae5973c3] - meta: add linux to OS labels in collaborator guide (Aviv Keller) #54986
  • [4fb2c3baa8] - meta: remove never-used workflow trigger (Aviv Keller) #54983
  • [e1f36d0da8] - meta: remove unneeded ignore rules from ruff (Aviv Keller) #54360
  • [ce0d0c1ec8] - meta: remove build-windows.yml (Aviv Keller) #54662
  • [ca67c97f33] - meta: add links to alternative issue trackers (Aviv Keller) #54401
  • [6fcac73738] - module: wrap swc error in ERR_INVALID_TYPESCRIPT_SYNTAX (Marco Ippolito) #55316
  • [0412ac8bf3] - module: add internal type def for flushCompileCache (Jacob Smith) #55226
  • [32261fc98a] - (SEMVER-MINOR) module: support loading entrypoint as url (RedYetiDev) #54933
  • [111261e245] - (SEMVER-MINOR) module: implement the "module-sync" exports condition (Joyee Cheung) #54648
  • [b6fc9adf5b] - module: remove duplicated import (Aviv Keller) #54942
  • [06957ff355] - (SEMVER-MINOR) module: implement flushCompileCache() (Joyee Cheung) #54971
  • [2dcf70c347] - (SEMVER-MINOR) module: throw when invalid argument is passed to enableCompileCache() (Joyee Cheung) #54971
  • [f9b19d7c44] - (SEMVER-MINOR) module: write compile cache to temporary file and then rename it (Joyee Cheung) #54971
  • [1d169764db] - module: report unfinished TLA in ambiguous modules (Antoine du Hamel) #54980
  • [c89c93496d] - module: refator ESM loader for adding future synchronous hooks (Joyee Cheung) #54769
  • [108cef22e6] - module: remove bogus assertion in CJS entrypoint handling with --import (Joyee Cheung) #54592
  • [67ecb10c78] - module: fix discrepancy between .ts and .js (Marco Ippolito) #54461
  • [3300d5990f] - os: use const with early return for path (Trivikram Kamat) #54959
  • [90cce6ec7c] - path: remove repetitive conditional operator in posix.resolve (Wiyeong Seo) #54835
  • [cbfc980f89] - perf_hooks: add missing type argument to getEntriesByName (Luke Taher) #54767
  • [e95163b170] - (SEMVER-MINOR) process: add process.features.require_module (Joyee Cheung) #55241
  • [0655d3a384] - process: fix process.features.typescript when Amaro is unavailable (Antoine du Hamel) #55323
  • [4050f68e5d] - (SEMVER-MINOR) process: add process.features.typescript (Aviv Keller) #54295
  • [75073c50ae] - quic: start adding in the internal quic js api (James M Snell) #53256
  • [538b1eb5b0] - repl: catch \v and \r in new-line detection (Aviv Keller) #54512
  • [57a9d3f15e] - sqlite: disable DQS misfeature by default (Tobias Nießen) #55297
  • [c126543374] - sqlite: make sourceSQL and expandedSQL string-valued properties (Tobias Nießen) #54721
  • [67f5f46c56] - sqlite: enable foreign key constraints by default (Tobias Nießen) #54777
  • [09999491bf] - src: handle errors correctly in webstorage (Michaël Zasso) #54544
  • [295c17c4ea] - src: make minor tweaks to quic c++ for c++20 (James M Snell) #53256
  • [b1d47d06f9] - src: apply getCallSite optimization (RafaelGSS) #55174
  • [d6bcc44829] - src: modernize likely/unlikely hints (Yagiz Nizipli) #55155
  • [1af5ad61ca] - src: fixup Error.stackTraceLimit during snapshot building (Joyee Cheung) #55121
  • [b229083235] - src: parse --stack-trace-limit and use it in --trace-* flags (Joyee Cheung) #55121
  • [942ad54e08] - src: move more key handling to ncrypto (James M Snell) #55108
  • [0bb5584288] - src: add receiver to fast api callback methods (Carlos Espa) #54408
  • [706e9611f0] - src: fix typos (Nathan Baulch) #55064
  • [a96d5d1bcc] - src: move more stuff over to use Maybe<void> (James M Snell) #54831
  • [ee0a98b5a2] - src: decode native error messages as UTF-8 (Joyee Cheung) #55024
  • [1fc8edecf8] - src: update clang-tidy and focus on modernization (Yagiz Nizipli) #53757
  • [3a1485a1a3] - src: move evp stuff to ncrypto (James M Snell) #54911
  • [9ae80e1e4d] - src: revert filesystem::path changes (Yagiz Nizipli) #55015
  • [465d05018a] - src: mark node --run as stable (Yagiz Nizipli) #53763
  • [ef546c872c] - src: cleanup per env handles directly without a list (Chengzhong Wu) #54993
  • [0876f78411] - src: add unistd.h import if node posix credentials is defined (Jonas) #54528
  • [284db53866] - src: remove duplicate code setting AF_INET (He Yang) #54939
  • [f332c4c4fc] - src: use Maybe<void> where bool isn't needed (Michaël Zasso) #54575
  • [c7ed2ff920] - stream: handle undefined chunks correctly in decode stream (devstone) #55153
  • [a9675a0cbc] - stream: treat null asyncIterator as undefined (Jason Zhang) #55119
  • [bf69ae1406] - stream: set stream prototype to closest transferable superclass (Jason Zhang) #55067
  • [3273707a3a] - test: fix tests when Amaro is unavailable (Richard Lau) #55320
  • [ff3cc3b2ab] - test: use more informative errors in test-runner-cli (Antoine du Hamel) #55321
  • [17d2f9de6d] - test: make test-loaders-workers-spawned less flaky (Antoine du Hamel) #55172
  • [1b1104e69b] - test: add resource to internal module stat test (RafaelGSS) #55157
  • [b36f8c2146] - test: update multiple assert tests to use node:test (James M Snell) #54585
  • [1b30f7fdd6] - test: move coverage source map tests to new file (Aviv Keller) #55123
  • [ce67e7b5b3] - test: adding more tests for strip-types (Kevin Toshihiro Uehara) #54929
  • [a57c8ba3ef] - test: update wpt test for encoding (devstone) #55151
  • [65fbe94d45] - test: add escapePOSIXShell util (Antoine du Hamel) #55125
  • [cc8838252e] - test: remove unnecessary await in test-watch-mode (Wuli) #55142
  • [9aeba48bf0] - test: fix typos (Nathan Baulch) #55063
  • [0999b5e493] - test: remove duplicated test descriptions (Christos Koutsiaris) #54140
  • [e99d4a4cb8] - test: deflake test/pummel/test-timers.js (jakecastelli) #55098
  • [fb8470afd7] - test: deflake test-http-remove-header-stays-removed (Luigi Pinca) #55004
  • [e879c5edf2] - test: fix test-tls-junk-closes-server (Michael Dawson) #55089
  • [b885f0583c] - test: fix more tests that fail when path contains a space (Antoine du Hamel) #55088
  • [85f1187942] - test: fix assertSnapshot when path contains a quote (Antoine du Hamel) #55087
  • [fdae57f1e1] - test: fix some tests when path contains % (Antoine du Hamel) #55082
  • [36c9ea8912] - Revert "test: mark test-fs-watch-non-recursive flaky on Windows" (Luigi Pinca) #55079
  • [80da5993cc] - test: remove interval and give more time to unsync (Pietro Marchini) #55006
  • [93c23e74b3] - test: deflake test-inspector-strip-types (Luigi Pinca) #55058
  • [43bbca2c08] - test: make test-runner-assert more robust (Aviv Keller) #55036
  • [268f1ec08f] - test: update tls test to support OpenSSL32 (Michael Dawson) #55030
  • [a50dd21423] - test: do not assume process.execPath contains no spaces (Antoine du Hamel) #55028
  • [c56e324cb8] - test: fix test-vm-context-dont-contextify when path contains a space (Antoine du Hamel) #55026
  • [6d42e44264] - test: adjust tls-set-ciphers for OpenSSL32 (Michael Dawson) #55016
  • [22e601a76c] - test: add util.stripVTControlCharacters test (RedYetiDev) #54865
  • [a6796696d7] - test: improve coverage for timer promises schedular (Aviv Keller) #53370
  • [9506f77b3e] - test: remove getCallSite from common (RedYetiDev) #54947
  • [20d3a806ea] - test: remove unused common utilities (RedYetiDev) #54825
  • [341b6d9b94] - test: deflake test-http-header-overflow (Luigi Pinca) #54978
  • [1e53c10853] - test: fix soucre to source (Aviv Keller) #55038
  • [6843ca7e0d] - test: add asserts to validate test assumptions (Michael Dawson) #54997
  • [98ff615c5e] - test: add runner watch mode isolation tests (Pietro Marchini) #54888
  • [327a8f7b59] - test: fix invalid wasm test (Aviv Keller) #54935
  • [5b012f544c] - test: move test-http-max-sockets to parallel (Luigi Pinca) #54977
  • [22b413910e] - test: remove test-http-max-sockets flaky designation (Luigi Pinca) #54976
  • [62b8640550] - test: refactor test-whatwg-webstreams-encoding to be shorter (David Dong) #54569
  • [1f11d68173] - test: adjust key sizes to support OpenSSL32 (Michael Dawson) #54972
  • [90a87ca8f7] - test: update test to support OpenSSL32 (Michael Dawson) #54968
  • [9b7834536a] - test: update DOM events web platform tests (Matthew Aitken) #54642
  • [1c001550a2] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55029
  • [800f7c44ed] - test_runner: throw on invalid source map (Aviv Keller) #55055
  • [0f7e3f017f] - test_runner: assert entry is a valid object (Edigleysson Silva (Edy)) #55231
  • [c308862d2e] - test_runner: avoid spread operator on arrays (Antoine du Hamel) #55143
  • [12401972b7] - test_runner: support typescript files in default glob (Aviv Keller) #55081
  • [19cfa3140f] - test_runner: close and flush destinations on forced exit (Colin Ihrig) #55099
  • [86f7cb802d] - (SEMVER-MINOR) test_runner: support custom arguments in run() (Aviv Keller) #55126
  • [7eaeba499a] - test_runner: fix mocking modules with quote in their URL (Antoine du Hamel) #55083
  • [8818c6c88a] - test_runner: report error on missing sourcemap source (Aviv Keller) #55037
  • [b62f2f8259] - (SEMVER-MINOR) test_runner: add 'test:summary' event (Colin Ihrig) #54851
  • [449dad0db0] - test_runner: use test: symbol on second print of parent test (RedYetiDev) #54956
  • [4b962a78c7] - test_runner: replace ansi clear with ansi reset (Pietro Marchini) #55013
  • [d7c708aec5] - (SEMVER-MINOR) test_runner: add support for coverage via run() (Chemi Atlow) #53937
  • [93c6c90219] - test_runner: support typescript module mocking (Marco Ippolito) #54878
  • [1daec9a63f] - test_runner: avoid coverage report partial file names (Pietro Marchini) #54379
  • [d51e5a8667] - tools: enforce errors to not be documented in legacy section (Aviv Keller) #55218
  • [6a7d201b80] - tools: update gyp-next to 0.18.2 (Node.js GitHub Bot) #55160
  • [c988e7e2e5] - tools: bump the eslint group in /tools/eslint with 4 updates (dependabot[bot]) #55227
  • [7982d3d4ed] - tools: only check teams on the default branch (Antoine du Hamel) #55124
  • [60a35eddb0] - tools: make choco install script more readable (Aviv Keller) #54002
  • [b7b1fa6dd3] - tools: bump Rollup from 4.18.1 to 4.22.4 for lint-md (dependabot[bot]) #55093
  • [3304bf387f] - tools: unlock versions of irrelevant DB deps (Michaël Zasso) #55042
  • [65c376a819] - tools: remove redudant code from eslint require rule (Aviv Keller) #54892
  • [295f684b69] - tools: update error message for ICU in license-builder (Aviv Keller) #54742
  • [ce4b6e403d] - tools: refactor js2c.cc to use c++20 (Yagiz Nizipli) #54849
  • [31f0ef6ea3] - tools: bump the eslint group in /tools/eslint with 7 updates (dependabot[bot]) #54821
  • [676d0a09a0] - tools: update github_reporter to 1.7.1 (Node.js GitHub Bot) #54951
  • [0f01f38aea] - tty: fix links for terminal colors (Aviv Keller) #54596
  • [d264639f5f] - util: update ansi regex (Aviv Keller) #54865
  • [ea7aaf37bf] - v8: out of bounds copy (Robert Nagy) #55261
  • [fa695facf5] - watch: preserve output when gracefully restarted (Théo LUDWIG) #54323
  • [5fda4a1498] - (SEMVER-MINOR) worker: add markAsUncloneable api (Jason Zhang) #55234
  • [d65334c454] - worker: throw InvalidStateError in postMessage after close (devstone) #55206
  • [fc90d7c63a] - worker: handle --input-type more consistently (Antoine du Hamel) #54979
  • [a9fa2da870] - zlib: throw brotli initialization error from c++ (Yagiz Nizipli) #54698
  • [9abd1c7288] - zlib: remove prototype primordials usage (Yagiz Nizipli) #54695