Skip to content

Latest commit

 

History

History
1663 lines (1501 loc) · 252 KB

CHANGELOG_V17.md

File metadata and controls

1663 lines (1501 loc) · 252 KB

Node.js 17 ChangeLog

Current
17.9.1
17.9.0
17.8.0
17.7.2
17.7.1
17.7.0
17.6.0
17.5.0
17.4.0
17.3.1
17.3.0
17.2.0
17.1.0
17.0.1
17.0.0

2022-06-01, Version 17.9.1 (Current), @ruyadorno

Notable Changes

  • Upgrade npm to 8.11.0

Update to OpenSSL 3.0.3

This update can be treated as a security release as the issues addressed in OpenSSL 3.0.3 slightly affect Node.js 17. See https://nodejs.org/en/blog/vulnerability/openssl-fixes-in-regular-releases-may2022/ for more information on how the May 2022 OpenSSL releases affect other Node.js release lines.

Commits

2022-04-07, Version 17.9.0 (Current), @BethGriggs prepared by @juanarbol

Notable Changes

  • [7124f91cbf] - (SEMVER-MINOR) crypto: make authTagLength optional for CC20P1305 (Tobias Nießen) #42427
  • [30dc6dd3fb] - deps: update undici to 4.16.0 (Node.js GitHub Bot) #42414
  • [f0fc2744a5] - doc: add @meixg to collaborators (Xuguang Mei) #42576

Commits

  • [bb71433334] - async_hooks: remove destroyed symbol on Promises (Gerhard Stöbich) #42402
  • [b48a6cb3f9] - bootstrap: reset process._exit and process.exitCode in pre-execution (Joyee Cheung) #42466
  • [b89f038537] - bootstrap: run inspector and event loop in snapshot builder (Joyee Cheung) #42466
  • [177558600e] - bootstrap: make I/O streams work with user-land snapshot (Joyee Cheung) #42466
  • [e3683cb34d] - bootstrap: refresh options in pre-execution (Joyee Cheung) #42466
  • [d302d2f0d2] - bootstrap: use SnapshotData to pass snapshot data around (Joyee Cheung) #42360
  • [eb3dfc00f0] - buffer: improve Blob constructor error message when passing a string (Xuguang Mei) #42338
  • [f45d5537c1] - buffer: fix atob input validation (Antoine du Hamel) #42539
  • [fb6a5ba8d7] - build: remove precompiled header and debug information for host builds (Niyas Sait) #42538
  • [1f7d2e800c] - build: windows/arm64 native compilation support (Niyas Sait) #42408
  • [d9a1d7866c] - build: consolidate JS and md linting GitHub Actions (Rich Trott) #42572
  • [ecb5be845d] - build: set stale action back to running nightly (Michael Dawson) #42549
  • [f9fb7f6d96] - build: add --node-snapshot-main configure option (Joyee Cheung) #42466
  • [c6808f088b] - build: bump actions/checkout (Eliaz Bobadilla) #42460
  • [9a54acb7c6] - child_process: add env contents types in JSDoc (Rich Trott) #42494
  • [a2f07380ea] - crypto: do not add undefined hash in webcrypto normalizeAlgorithm (Filip Skokan) #42559
  • [9b4bd7d031] - crypto: cleanup webcrypto jwk code (Filip Skokan) #42562
  • [541a1328b0] - crypto: fix webcrypto derive key lengths (Filip Skokan) #42542
  • [7124f91cbf] - (SEMVER-MINOR) crypto: make authTagLength optional for CC20P1305 (Tobias Nießen) #42427
  • [30dc6dd3fb] - deps: update undici to 4.16.0 (Node.js GitHub Bot) #42414
  • [6e56924274] - doc: simplify Http2Stream encoding text (Rich Trott) #42597
  • [261672b1da] - doc: remove obsolete stream API selection text (Rich Trott) #42586
  • [beffed1880] - doc: remove faulty justification for 128-bit AES (Tobias Nießen) #42578
  • [71f4a39086] - doc: fix documentation of FileHandle.prototype.appendFile (Antoine du Hamel) #42588
  • [c83ea22f7c] - doc: change "OCSP Request" to "OCSP request" (Tobias Nießen) #42582
  • [71ab0dea35] - doc: aes webcrypto unwrap is not a node-specific extensions (Filip Skokan) #42561
  • [1c614184da] - doc: simplify recommendations in process.md (Rich Trott) #42556
  • [c036800ddc] - doc: clarify recommendations in stream.md (Rich Trott) #42555
  • [dcf0abf8c7] - doc: simplify recommendation in webcrypto.md (Rich Trott) #42554
  • [8333fa063b] - doc: update DEP0102 text (Rich Trott) #42553
  • [8b08bff682] - doc: remove util.promisify() content in readline.md (Rich Trott) #42552
  • [94492424ba] - doc: add introduction sentence for CJS (Antoine du Hamel) #42491
  • [f0fc2744a5] - doc: add @meixg to collaborators (Xuguang Mei) #42576
  • [d935fef594] - doc: consolidate CI sections (Rich Trott) #42534
  • [fd45df314b] - doc: document breaking change in http.IncomingMessage 'close' event (Paolo Insogna) #42521
  • [53584fa750] - doc: remove extraneous comma (Rich Trott) #42548
  • [b819af6509] - doc: guide towards x509.fingerprint256 (Tobias Nießen) #42516
  • [f2355e41ed] - doc: fix internal link in collaborator-guide.md (Daeyeon Jeong) #42551
  • [ffc6776996] - doc: add suggestion for OpenSSL only sec releases (Michael Dawson) #42456
  • [1454c0297d] - doc: fix comment text in async_hooks example (Rich Trott) #42499
  • [b9ab9867f4] - doc: add stability class to legacy status description (Daniel Roe) #42525
  • [6c13988d53] - doc: suggest checkHost in checkServerIdentity docs (Tobias Nießen) #42495
  • [28665a9dd6] - doc: update security release onboarding (Joe Sepi) #42333
  • [d335addf0c] - doc: fix question promise API example (Xuguang Mei) #42465
  • [7cf9febcb4] - doc: remove comma splice in events.md (Rich Trott) #42484
  • [3c3684d9f1] - doc: clarify napi_finalize behavior (Alba Mendez) #42461
  • [334cc1936b] - doc: expand history for conditional exports changes in v12 (Greg Poole) #42339
  • [fb146f9eaf] - doc: change comma-splice to two sentences (Rich Trott) #42455
  • [ce4b823946] - doc: add link to section (Rich Trott) #42428
  • [5869275479] - doc: fix typo in async_context.md (Anupama Codippily) #42444
  • [48bd9fa2c7] - doc: add trace_gc to diagnostic tooling support document (Tony Gorez) #42346
  • [00f693b6b1] - doc: make header smaller and dropdown click-driven when JS is on (Paolo Insogna) #42165
  • [abbb23620a] - doc: standardize typography for _semantic versioning_ (Rich Trott) #42401
  • [e763e575c6] - doc: unify import order in CCM example (Tobias Nießen) #42394
  • [10d638a735] - doc: update property name (Rich Trott) #42398
  • [5589a448b7] - doc,test: clarify ChaCha20-Poly1305 usage (Tobias Nießen) #42323
  • [902776e674] - esm: emit experimental warnings in common place (Jacob Smith) #42314
  • [8009cb0a78] - fs: fix write methods param validation and docs (Livia Medeiros) #42631
  • [a9dc3a92d9] - lib: prepare files for no-var lint rule (Rich Trott) #42573
  • [3306fee824] - lib: source maps filter null prefix (Fabian Cook) #42522
  • [3bac969655] - lib: improve the coverage of the validator (mawaregetsuka) #42443
  • [b74de21cc3] - lib: update JSDoc for linting (Rich Trott) #42489
  • [7766bf954f] - meta: update .mailmap and AUTHORS (Rich Trott) #42602
  • [93ffc5535a] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #42500
  • [256509056d] - meta: update AUTHORS (Node.js GitHub Bot) #42585
  • [41c2a32390] - meta: update AUTHORS (Node.js GitHub Bot) #42488
  • [b71a8107c0] - net,dns: trace tcp connection and dns by perf_hooks (theanarkh) #42390
  • [f9f3b6e45d] - node-api: format Node-API related code (Vladimir Morozov) #42396
  • [0bd9d9e24f] - os: avoid unnecessary usage of var (Mohammed Keyvanzadeh) #42563
  • [e798e26dfd] - src: add proper mutexes for accessing FIPS state (Anna Henningsen) #42278
  • [a1fe0d2222] - src: fix typo in InspectorIoDelegate constructor (Kohei Ueno) #42520
  • [0c54f3637b] - src: remove unnecessary static qualifier in crypto_dh.cc (Darshan Sen) #42492
  • [2e6a66d7d7] - src: address 3 useless call coverity warnings (Michael Dawson) #42426
  • [ce9d840079] - src: properly report exceptions from AddressToJS() (Darshan Sen) #42054
  • [c6a558c61b] - src: suppress false coverity warning (Michael Dawson) #42284
  • [878148c266] - src: refactor IsSupportedAuthenticatedMode (Tobias Nießen) #42368
  • [970483ffd3] - src,crypto: handle empty maybe correctly in crypto_dh.cc (Darshan Sen) #42492
  • [a348f8ac1a] - src,crypto: remove uses of AllocatedBuffer from crypto_dh.cc (Darshan Sen) #42492
  • [fb25ba435c] - test: improve lib/internal/readline/promises.js coverage (MURAKAMI Masahiko) #42420
  • [4cbb1ea910] - test: remove hack for atob and btoa WPT tests (Antoine du Hamel) #42540
  • [f41a4780d5] - test: pass data into napi_create_external (Joyee Cheung) #42532
  • [90554572b5] - test: improve FileHandle.prototype.write coverage (Antoine du Hamel) #42541
  • [797994e4c0] - test: add test for exception handlings in debugger (Kohei Ueno) #42327
  • [8c9b5e9a36] - test: fix typo in common/wpt.js (Ikko Ashimine) #42567
  • [2f682091cd] - test: fix typos in test/parallel (Daeyeon Jeong) #42502
  • [52d1c8d6d9] - test: add trace-gc flag test (Tony Gorez) #42471
  • [19c933c79a] - test,fs: add fs.rm() tests for .git directories (Darshan Sen) #42410
  • [d64c4fb94d] - tools: enable no-var ESLint rule for lib (Rich Trott) #42573
  • [a9f2636d12] - tools: fixed bug causing JSON format to be broken (mawaregetsuka) #41565
  • [bff9cae16a] - tools: update GHA actions version (Antoine du Hamel) #42498
  • [c6bfb225cd] - tools: update eslint to 8.12.0 (Node.js GitHub Bot) #42489
  • [464e57ffc7] - tools: update lint-md-dependencies to [email protected] (Node.js GitHub Bot) #42487
  • [13dd8e73df] - tools: refloat 7 Node.js patches to cpplint.py (Rich Trott) #42416
  • [3a1b0e5b87] - tools: bump cpplint to 1.6.0 (Rich Trott) #42416
  • [9344a06d9c] - tools: fix skip PR if CI is still running (Xuguang Mei) #42377

2022-03-22, Version 17.8.0 (Current), @bengl

Notable Changes

Commits

2022-03-17, Version 17.7.2 (Current), @richardlau

This is a security release.

Notable Changes

Update to OpenSSL 3.0.2, which addresses the following vulnerability:

Commits

  • [55e293e05f] - deps: update archs files for quictls/openssl-3.0.2+quic (Hassaan Pasha) #42356
  • [b8d090603d] - deps: upgrade openssl sources to quictls/openssl-3.0.2+quic (Hassaan Pasha) #42356
  • [c8b6d92af0] - test: fix tests affected by OpenSSL update (Michael Dawson) #42356
  • [457e31ea09] - test: renew certificates for specific test (Luigi Pinca) #42342

2022-03-10, Version 17.7.1 (Current), @BethGriggs prepared by @sxa

Notable Changes

Fixed regression in url.resolve()

This release fixes an issue introduced in Node.js v17.7.0 with some URLs that contain @. This issue affected yarn 1. This version reverts the change that introduced the regression.

Commits

  • [96a9e00fb3] - url: revert fix url.parse() for @hostname (Antoine du Hamel) #42280

2022-03-09, Version 17.7.0 (Current), @BethGriggs prepared by @sxa

Notable Changes

  • [2b354223d4] - (SEMVER-MINOR) crypto: add KeyObject.prototype.equals method (Filip Skokan) #42093
  • [a2926c477a] - (SEMVER-MINOR) net: add new options to net.Socket and net.Server (Paolo Insogna) #41310
  • [86248f1178] - (SEMVER-MINOR) src: allow preventing InitializeInspector in env (Shelley Vohr) #35025
  • [a4969d5c37] - doc: add release key for Bryan English (Bryan English) #42102

Dependency Updates

New Collaborators

  • [3df001fa93] - doc: add JakobJingleheimer to collaborators list (Jacob Smith) #42185
  • [0ce00ca5e1] - doc: move bnoordhuis back to collaborators (Ben Noordhuis) #42064

Commits

  • [d05758f79f] - buffer: improve blob read performance (Xuguang Mei) #42117
  • [0bbb44741b] - build: drop shortened URL from lint-commit-message (Richard Lau) #42168
  • [4e9fac6539] - build: fix usage of input in feature action (Michael Dawson) #42150
  • [853cbd99b8] - build: increase max ops for stale feature action (Michael Dawson) #42130
  • [3fc3f521d6] - build: add corepack to the auto-updated dependencies (Maël Nison) #42090
  • [ec4c0de6d1] - build: last test of the stale feature action (Michael Dawson) #42085
  • [03ebca86d9] - build: update feature close action for testing (Michael Dawson) #42082
  • [c9ea6a9261] - crypto: validate this value for webcrypto.getRandomValues (Antoine du Hamel) #41760
  • [2b354223d4] - (SEMVER-MINOR) crypto: add KeyObject.prototype.equals method (Filip Skokan) #42093
  • [288f627c46] - crypto: clarify require("crypto").getRandomValues is Node.js specific (Antoine du Hamel) #41782
  • [0b8efea182] - deps: update nghttp2 to 1.47.0 (Yash Ladha) #42127
  • [ccacf99e5c] - deps: upgrade npm to 8.5.2 (npm team) #42122
  • [1359f60338] - deps: V8: cherry-pick 77d515484864 (Lu Yahan) #42067
  • [769e2a486f] - deps: V8: cherry-pick b66334313c8b (Lu Yahan) #42067
  • [fc7d429516] - doc: update stale feature messages (Michael Dawson) #42217
  • [6183749861] - doc: remove erroneous comma in cluster explainer (Tobias Nießen) #42238
  • [555da9b658] - doc: remove "considered" for clarity (Rich Trott) #42218
  • [05c3ff5e76] - doc: clarify that some modules don't work when compiled without ssl (Antoine du Hamel) #42198
  • [a6c1abf7e1] - doc: add note about nghttp2 hd pair size (Rafael Silva) #42172
  • [04d2c74c8a] - doc: use parenthesis instead of em dash (Antoine du Hamel) #42202
  • [6a74fa91bb] - doc: add next-10 to strategic initiatives (Michael Dawson) #42167
  • [ee027391e7] - doc: add missing single-quotes to http.OutgoingMessage (Juan José Arboleda) #42162
  • [84859c4029] - doc: fix typos (apeltop) #42146
  • [3df001fa93] - doc: add JakobJingleheimer to collaborators list (Jacob Smith) #42185
  • [ce86fc3006] - doc: remove reference to obsolete security program (Rich Trott) #42144
  • [5d010bcde2] - doc: remove repeated a word (apeltop) #42138
  • [a32ec983c6] - doc: make building with ninja more discoverable (Balakrishna Avulapati) #41840
  • [26fe61b6ad] - doc: document change to IncomingMessage.headers enumerability (Arnold Zokas) #42095
  • [eb622a0761] - doc: add meixg to triagers (Xuguang Mei) #42066
  • [bd04fc89da] - doc: clarify persistent ref behavior (Michael Dawson) #42035
  • [0ce00ca5e1] - doc: move bnoordhuis back to collaborators (Ben Noordhuis) #42064
  • [8b531dadb1] - doc: clarify supported versus enabled TLS ciphers (Tobias Nießen) #42063
  • [3789d668f7] - doc: add missing api entries on performance (legendecas) #42018
  • [a4969d5c37] - doc: add release key for Bryan English (Bryan English) #42102
  • [8b94ea6e1c] - doc,tools: improve navigability of API docs (Paolo Insogna) #41404
  • [2e1231b831] - errors: do not access .stack in debug (Benjamin Coe) #42096
  • [8dd4878850] - esm: fix base URL for network imports (Bradley Farias) #42131
  • [2bc136d3cb] - esm: fix relative imports for https (Bradley Farias) #42119
  • [576c1aea8e] - fs: adjust default length for fs.readSync and fsPromises/read (Livia Medeiros) #42128
  • [041373696f] - http: add default argument for Agent.prototype.getName (小菜) #41906
  • [1de80872e8] - http2: add edge case to GOAWAY request (Rafael Silva) #42190
  • [9bc7a954fd] - http2: close stream and session on frameError (Rafael Silva) #42147
  • [384872fdbd] - lib: clean after the cancel algorithm throw error (Chen Gang) #41366
  • [f7ea75fd0a] - lib: add legacy built-in functions to primordials (Antoine du Hamel) #42049
  • [7f1c83e674] - loader: fix esm resolve for symlink file (Xuguang Mei) #42197
  • [5b23e67ad5] - meta: update AUTHORS (Node.js GitHub Bot) #42227
  • [cad7dde9af] - meta: update AUTHORS (Node.js GitHub Bot) #42142
  • [7ed2c19cbb] - meta: correct link to feature request document (Simen Bekkhus) #42092
  • [e0448da9a9] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #42068
  • [e3347dbaa8] - meta: remove collaborator (Rich Trott) #42073
  • [96510b3411] - module: prefer async/await in https imports (Benjamin Gruenbaum) #41950
  • [a2926c477a] - (SEMVER-MINOR) net: add new options to net.Socket and net.Server (Paolo Insogna) #41310
  • [f107f8bf40] - node-api: fix typo in node_api.cc (Austin Kelleher) #42110
  • [c72c3f4bb1] - perf_hooks: do not return all entries with getEntriesBy[Name|Type] (Xuguang Mei) #42104
  • [7c49785348] - process: fix named report export (madflow) #41861
  • [d6b1a4a235] - repl: remove preview when press escape (meixg) #42053
  • [98b1be0ec2] - src: return proper URLs from node_api_get_module_file_name (Anna Henningsen) #41758
  • [0abc20b6cf] - src: skip revoke_data_object if uuid is not found (Xuguang Mei) #42212
  • [ce409279d8] - src: remove dead code in AddFingerprintDigest (Tobias Nießen) #42145
  • [4c9f2b5d83] - src: combine GetCurveASN1Name and GetCurveNistName (Tobias Nießen) #42118
  • [f0558d88fb] - src: simplify TLSWrap::SetSession (Tobias Nießen) #42087
  • [97f5ceda84] - src: prefer bool over int in crypto_common (Tobias Nießen) #42097
  • [382ffdade0] - src: simplify arg type of AddFingerprintDigest (Tobias Nießen) #42101
  • [07de4ed641] - src: do not ignore return value of BIO_reset (Tobias Nießen) #42103
  • [3366618ce2] - src: simplify GetExponentString (Tobias Nießen) #42121
  • [86248f1178] - (SEMVER-MINOR) src: allow preventing InitializeInspector in env (Shelley Vohr) #35025
  • [06e5c0ee39] - stream: use .chunk when calling adapters's writev (Xuguang Mei) #42161
  • [53338fe65c] - stream: allow returning null from pipeline tail (Robert Nagy) #42078
  • [8431fb90dc] - stream: port more test262 tests (Benjamin Gruenbaum) #41974
  • [0be3c61ae9] - test: cover 32-bit sizes in generatePrime (Tobias Nießen) #42207
  • [ceb47d13ff] - test: fix test-process-env-tz.js by using RegExp (Khaidi Chu) #42113
  • [f21fbeec2e] - test: update V8 trace events test expectations (Nikolaos Papaspyrou) #42120
  • [d0f68a398e] - test: deflake test-common-expect-warning (Luigi Pinca) #42046
  • [482b2205b2] - test: validate EventEmitterAsyncResource methods throw on invalid this (Yoshiki Kurihara) #42041
  • [99301469ed] - test: increase Fibonacci argument to 40 (Rich Trott) #42055
  • [c01134ed27] - tools: update lint-md-dependencies to [email protected] (Node.js GitHub Bot) #42226
  • [41b6d9e95a] - tools: update lint-md rollup dependencies (Node.js GitHub Bot) #42141
  • [28f636422e] - tools: update eslint to 8.10.0 (Node.js GitHub Bot) #42143
  • [9aeda47d9c] - url: fix url.parse() for @hostname (Rich Trott) #42136
  • [ecb5980e2f] - url, src: modify one special_back_slash (Khaidi Chu) #42112

2022-02-22, Version 17.6.0 (Current), @BethGriggs prepared by @bengl

Notable Changes

  • [6b88595142] - doc: deprecate notice for process methods (Yash Ladha) #41587
  • [77462b6083] - stream: revert map spec compliance (Benjamin Gruenbaum) #41931
  • [b968d89fc9] - build: remove broken x32 arch support (Ben Noordhuis) #41905
  • [ba639d052b] - (SEMVER-MINOR) esm: support https remotely and http locally under flag (Bradley Farias) #36328
  • [214d17650b] - (SEMVER-MINOR) fs: support copy of relative links with cp and cpSync (Marcos Bjoerkelund) #41819
  • [ec0d623bd7] - (SEMVER-MINOR) lib: add FormData global when fetch is enabled (Michaël Zasso) #41956
  • [3243701997] - (SEMVER-MINOR) readline: bind keystroke ctrl+6 to redo (Ray) #41662
  • [5796c3a7ea] - process: deprecate multipleResolves (Benjamin Gruenbaum) #41872
    • Documentation-only.

Dependency Updates

New Collaborators

Commits

  • [c673953f6d] - build: cancel running CI jobs when a PR is updated (Michaël Zasso) #42017
  • [782506c099] - build: increase operations and test tag (Michael Dawson) #42038
  • [d3e6ad1ed5] - build: allow manual run of feature request action (Michael Dawson) #42037
  • [69d7736e08] - build: add action to close stale feature requests (Michael Dawson) #41981
  • [1315f1eb25] - build: prevent concurrent CI and CQ workflow runs (Michaël Zasso) #42016
  • [1e8e8bc22b] - build: use zoslib_include_dir provided by node-gyp (alexcfyung) #41713
  • [4e2e2cb821] - build: move tool updates workflow runtime a day later (Rich Trott) #41982
  • [cd04ed1382] - build: extend yamllint configuration (Mestery) #41756
  • [b968d89fc9] - build: remove broken x32 arch support (Ben Noordhuis) #41905
  • [2b1dabfb16] - build: revert fast-track changes (Filip Skokan) #41892
  • [182e6b9ee9] - build: improve consistency between workflows (Mestery) #41791
  • [f4cb72600d] - build,tools: change the quotes in YAML (Mestery) #41756
  • [24b0a563a4] - child_process: kHideConsoleWindows for spawnSync (Raymond Zhao) #41412
  • [c41e402c06] - cluster: respect listen backlog set by workers (Elad Nava) #41623
  • [84b1e4fba7] - crypto: check result of BIO_new in X509ToObject (Tobias Nießen) #41979
  • [946ac96817] - crypto: rename X509_NAME_FLAGS (Tobias Nießen) #42001
  • [60682917dd] - (SEMVER-MINOR) crypto: expose Web Crypto API on the global scope (Antoine du Hamel) #41938
  • [0fff4d2314] - crypto: do not advertise unsupported algorithms (Brian White) #41864
  • [67f1ebf9b4] - debugger: add debugger alias for exec(expr) (Xuguang Mei) #41907
  • [1eac0a1677] - debugger: remove duplicate setPauseOnException call (Balakrishna Avulapati) #41838
  • [d1ef43f2aa] - deps: upgrade npm to 8.5.1 (npm-robot) #42039
  • [09c17481f6] - deps: update undici to 3e267ece5f (Michaël Zasso) #41955
  • [0a6f0b416f] - deps: upgrade npm to 8.5.0 (npm-robot) #41925
  • [fea682ca94] - doc: fix typo in http2 endAfterHeaders description (Alexandru Comanescu) #42060
  • [9c618ad729] - doc: make minor fixes to contributing guides (T-O-R-U-S) #41966
  • [60bbacdd91] - doc: use openpgp.org for keyserver examples (Nick Schonning) #39227
  • [2e252b3c95] - doc: adjust a/an word usage (Derek Wolpert) #41915
  • [c7d590c66e] - doc: remove extra <td> (Ray) #42006
  • [06f225c6a6] - doc: capitalize valgrind (T•Ø•R•Ü•S) #41986
  • [6195de506a] - doc: fix deprecation number (Antoine du Hamel) #41990
  • [90d90e3868] - doc: add marsonya to collaborators (Akhil Marsonya) #41991
  • [6b88595142] - doc: deprecate notice for process methods (Yash Ladha) #41587
  • [d34ee45134] - doc: fix bug in readable.unshift code example (Xuguang Mei) #41944
  • [8748b1e61d] - doc: add missing buffer in the stream/consumers import example (Mestery) #41961
  • [cb9dba034a] - doc: fix typo in readableStream.locked description (Tobias Nießen) #41923
  • [43a5161cee] - doc: fix wrong indent in stream documentation (Xuguang Mei) #41943
  • [dca2692ae3] - doc: emphasize security warning in vm module doc (Rich Trott) #41916
  • [b0e8ccb84c] - doc: clarify tls.Server 'connection' event documentation (Austin Cheney) #41917
  • [6a7b0160df] - doc: improve scrollbar appearance in dark mode (Aaron Xie) #41890
  • [aa684a78fe] - doc: replace text with paths in toggle SVGs (Brian White) #41885
  • [fc9d4e96c1] - doc: edit process.config deprecation text (Rich Trott) #41889
  • [0de611f53a] - doc: add joesepi to collaborators (Joe Sepi) #41914
  • [ba5cb89134] - doc: remove unneeded ellipsis in header (Rich Trott) #41888
  • [291fe631dd] - doc: fix webstream close reject state state doc (Benjamin Gruenbaum) #41860
  • [c0f4289c65] - esm: improve fetch_module test coverage and remove hack (Antoine du Hamel) #41947
  • [a95f7a0c25] - esm: remove erroneous context.parentURL property passed to load hook (Jacob Smith) #41975
  • [66c9565f99] - esm: fix typo in fetch_module (Michael Scovetta) #41924
  • [ba639d052b] - (SEMVER-MINOR) esm: support https remotely and http locally under flag (Bradley Farias) #36328
  • [0660ba3cd0] - events: set default handler value (Benjamin Gruenbaum) #41970
  • [5a807c5927] - fs: fix default length parameter for fs.read (wbt) #40349
  • [214d17650b] - (SEMVER-MINOR) fs: support copy of relative links with cp and cpSync (Marcos Bjoerkelund) #41819
  • [be5143b3f5] - fs: fix cb/sync writev empty array behavior (Benjamin Gruenbaum) #41932
  • [b4db004855] - fs: fix writev empty array error behavior (Benjamin Gruenbaum) #41919
  • [528c585b2b] - fs: refactor to use ES2020 syntax (小菜) #41903
  • [ec0d623bd7] - (SEMVER-MINOR) lib: add FormData global when fetch is enabled (Michaël Zasso) #41956
  • [c3b0e72d01] - lib: stop installing webcrypto if no_browser_globals is true (Mestery) #41971
  • [ae36276148] - lib: allow respondWithNewView on byob auto allocated streams (Sean Quinlan) #41887
  • [68ec8d5824] - lib: stop installing fetch if no_browser_globals is true (Darshan Sen) #41969
  • [f9bfdc3a65] - lib: restrict usage of fetch related globals in core internals (Antoine du Hamel) #41957
  • [3a121345e7] - lib: move kEnumerableProperty to internal/util (Mestery) #41877
  • [fa3a9135ad] - lib: add internal genericNodeError() function (Rich Trott) #41879
  • [1e698e65a7] - meta: update AUTHORS (Node.js GitHub Bot) #42058
  • [f51b55dae4] - meta: use plain emojis instead of escape sequences (Mestery) #41989
  • [3d998112be] - meta: update AUTHORS and .mailmap (Rich Trott) #41953
  • [391f4e5c25] - perf_hooks: use arrays to store EntryBuffers (Xuguang Mei) #42032
  • [5796c3a7ea] - process: deprecate multipleResolves (Benjamin Gruenbaum) #41872
  • [3243701997] - (SEMVER-MINOR) readline: bind keystroke ctrl+6 to redo (Ray) #41662
  • [c766159e68] - repl: #41690 REPL gives wrong autocomplete on literals (Xuguang Mei) #41883
  • [f80cae8be5] - src: merge ToJsSet into ToV8Value (Anna Henningsen) #41757
  • [e2a74d2e04] - src: remove separate definitions for static constexpr members (Anna Henningsen) #41755
  • [d91a956419] - src: use const reference instead of pointer in URL::SerializeURL (Anna Henningsen) #41759
  • [0330e2d796] - src: reserve string allocation space early in URL::SerializeURL (Anna Henningsen) #41759
  • [364ec5ba8b] - src: fix query/fragment serialization in URL::SerializeURL (Anna Henningsen) #41759
  • [6076291168] - src: don't print interface if sin6_scope_id is 0 (Santiago Gimeno) #41547
  • [43c12f4962] - src,buffer: evaluate THROW_AND_RETURN_IF_OOB() expression only once (Darshan Sen) #41945
  • [b8cbb83222] - stream: add more forEach tests (Benjamin Gruenbaum) #41937
  • [f5d7339b25] - stream: add more filter tests (Benjamin Gruenbaum) #41936
  • [77462b6083] - stream: revert map spec compliance (Benjamin Gruenbaum) #41931
  • [3e38506d1b] - stream: avoid usage of deprecated APIs (Mohammed Keyvanzadeh) #41871
  • [5195479919] - stream: refactor to use more validators (Mohammed Keyvanzadeh) #41871
  • [07463b3374] - stream: use standard for loop instead of for..of (Mohammed Keyvanzadeh) #41871
  • [d9008915fe] - test: remove test-stdout-close-catch flaky designation (Rich Trott) #42045
  • [fe66d2b98c] - test: check that fetch globals are disabled by default (Michaël Zasso) #42015
  • [bcf53a89f7] - test: improve vm test coverage (Yoshiki Kurihara) #41847
  • [9825ceddeb] - test: run webmessaging/broadcastchannel WPT (Ben Noordhuis) #41962
  • [f8e302c813] - test: fix names of tests marked flaky on IBM i (Richard Lau) #41984
  • [ab73bde8c1] - test: fix typographical error (Rich Trott) #41983
  • [520dcbc9f5] - test: fix intl tests on small-icu builds (Antoine du Hamel) #41939
  • [83b913cb90] - test: improve code coverage for streams/duplexify (Erick Wendel) #41862
  • [dc14bd85ee] - test: remove lint rule for setTimeout() arguments (Rich Trott) #41901
  • [76f0f1c06d] - test: move test-crypto-engine to addon (Michael Dawson) #41830
  • [b1505a1250] - tls: avoid throw in onerror for bad TLSSocket obj (Valters Jansons) #41523
  • [2cdbf0304b] - tools: update lint-md-dependencies to [email protected] (Node.js GitHub Bot) #42057
  • [6742625126] - tools: enable es2022 env in ESLint config (Michaël Zasso) #42043
  • [896ccc13ce] - tools: add console to the list of restricted globals (Antoine du Hamel) #42012
  • [1b4ee6cfd9] - tools: lint deprecation codes (Antoine du Hamel) #41992
  • [e895e6422f] - tools: fix bugs in prefer-primordials linter rule (Antoine du Hamel) #42010
  • [47bb7dd52c] - tools: add timers functions to the list of restricted globals (Antoine du Hamel) #42013
  • [afeed46578] - tools: reduce list of globals in ESLint config (Rich Trott) #41996
  • [2e905a63d8] - tools: update remark-preset-lint-node to 3.3.1 (Rich Trott) #41999
  • [35832feb6e] - tools: update ESLint to 8.9.0 (Luigi Pinca) #41973
  • [06117c084e] - tools: update lint-md-dependencies to [email protected] (Node.js GitHub Bot) #41941
  • [f30b5e3a6d] - tools: fix typo in prefer-primordials.js (Ikko Ashimine) #41891
  • [cfafb45c2b] - tools,lib: remove global and Intl from the list of globals (Antoine du Hamel) #42014
  • [ba35b6ccd1] - worker: fix typo in debug statement (Antoine du Hamel) #42011

2022-02-10, Version 17.5.0 (Current), @ruyadorno

Notable Changes

Add fetch API

Adds experimental support to the fetch API. This adds a --experimental-fetch flag that installs the fetch, Request, Reponse and Headers globals.

Add stream methods

  • [1ae648567a] - (SEMVER-MINOR) stream: add iterator helper find (linkgoron) #41849
  • [62e1a68077] - (SEMVER-MINOR) stream: add toArray (Benjamin Gruenbaum) #41553
  • [da11b95988] - (SEMVER-MINOR) stream: add forEach method (Benjamin Gruenbaum) #41445
  • [34684a1c89] - (SEMVER-MINOR) stream: support some and every (Benjamin Gruenbaum) #41573

Other Notable Changes

Commits

2022-01-18, Version 17.4.0 (Current), @targos

Notable Changes

  • [ef6f98c2e3] - (SEMVER-MINOR) child_process: add support for URL to cp.fork (Antoine du Hamel) #41225
  • [d62fe315c2] - (SEMVER-MINOR) crypto: alias webcrypto.subtle and webcrypto.getRandomValues on crypto (James M Snell) #41266
  • [fcb37e9ce5] - doc: add Mesteery to collaborators (Mestery) #41543
  • [4079fc42b7] - (SEMVER-MINOR) events: graduate capturerejections to supported (James M Snell) #41267
  • [fe21607901] - (SEMVER-MINOR) events: add EventEmitterAsyncResource to core (James M Snell) #41246
  • [6d8eb6ace6] - (SEMVER-MINOR) loader: return package format from defaultResolve if known (Gabriel Bota) #40980
  • [27c619140a] - (SEMVER-MINOR) perf_hooks: multiple fixes for Histogram (James M Snell) #41153
  • [09c25bb224] - (SEMVER-MINOR) stream: add filter method to readable (Benjamin Gruenbaum, Robert Nagy) #41354
  • [1150963217] - (SEMVER-MINOR) stream: add isReadable helper (Robert Nagy) #41199
  • [9f5a873965] - (SEMVER-MINOR) stream: add map method to Readable (Benjamin Gruenbaum, Robert Nagy) #40815

Commits

  • [314102b14d] - async_hooks: add missing initialization (Michael Dawson) #41288
  • [56345a3f63] - async_hooks: fix AsyncLocalStorage in unhandledRejection cases (Bradley Farias) #41202
  • [fa84353952] - benchmark: simplify http benchmarker regular expression (Rich Trott) #38206
  • [88d760c559] - benchmark: fix benchmark/run.js handling of --set (Rich Trott) #41334
  • [dcf1ea0a3f] - benchmark,test: use Object.hasOwn() where applicable (Rich Trott) #41229
  • [4958c800da] - build: fix npm version detection (Michaël Zasso) #41575
  • [e8538c3751] - build: fix node build failures in WSL Ubuntu (MrJithil) #41476
  • [3d88ea195e] - build: fix workflow access to git history (Rich Trott) #41472
  • [b0f0ad1004] - build: start build on z/OS (alexcfyung) #41273
  • [80a3766ac7] - build: use list for mutable retval rather than tuple (Rich Trott) #41372
  • [afe1e00509] - build: remove Python 2 workaround (Rich Trott) #41357
  • [011c5f6498] - build: improve readability of texts in workflows (Mestery) #40988
  • [2233f31069] - build,tools,win: trim unused VCBUILD_PYTHON_LOCATION variable (David Sanders) #41235
  • [d9465ae614] - child_process: queue pending messages (Erick Wendel) #41221
  • [ed41fd110d] - child_process: revise argument processing (Rich Trott) #41280
  • [ef6f98c2e3] - (SEMVER-MINOR) child_process: add support for URL to cp.fork (Antoine du Hamel) #41225
  • [d62fe315c2] - (SEMVER-MINOR) crypto: alias webcrypto.subtle and webcrypto.getRandomValues on crypto (James M Snell) #41266
  • [8ea56a9606] - crypto: fix error capture when loading engine (Tobias Nießen) #41187
  • [f5b8aee1a1] - deps: upgrade npm to 8.3.1 (npm-robot) #41503
  • [af3acecd7e] - deps: V8: cherry-pick 3b6b21f595f6 (Michaël Zasso) #41457
  • [02ca5d7c7c] - deps: upgrade to libuv 1.43.0 (Colin Ihrig) #41398
  • [48e4780fd7] - doc: remove statement about client private keys (Tobias Nießen) #41505
  • [ba7160e815] - doc: fix typo in onboarding.md (Antoine du Hamel) #41544
  • [fcb37e9ce5] - doc: add Mesteery to collaborators (Mestery) #41543
  • [abbfed8789] - doc: add missing word in readable.read() text (Rich Trott) #41524
  • [712dfdc11f] - doc: add missing YAML tag in esm.md (Antoine du Hamel) #41516
  • [f443a4e8fa] - doc: expand fs.access() mode parameter docs (Colin Ihrig) #41484
  • [5c0c459976] - doc: correct checkHost behavior with wildcards etc (Tobias Nießen) #41468
  • [c632241440] - doc: remove extraneous colon in legacy subject (Tobias Nießen) #41477
  • [b7b0631b10] - doc: remove SameValue comparison reference (Rich Trott) #41460
  • [524103d6bf] - doc: update mailmap entries for mhdawson (Michael Dawson) #41437
  • [62aa190c01] - doc: add guidance on order vulns are listed in (Michael Dawson) #41429
  • [d721a758b2] - doc: update output in inspector examples (David Sanders) #41390
  • [60025bde16] - doc: add note regarding unfinished TLA (Antoine du Hamel) #41434
  • [10bdb5969e] - doc: add reference for === operator in assert.md (Rich Trott) #41442
  • [edc6a7af42] - doc: clarify uncaughtException origin for ESM (Antoine du Hamel) #41339
  • [4a369d03b4] - doc: revise HTTPRequestOptions text (Rich Trott) #41407
  • [f43bfe2e16] - doc: add reference for == and != operators (Rich Trott) #41413
  • [d3111bf0cc] - doc: add @RaisinTen to the TSC (Michael Dawson) #41419
  • [e6bed4e972] - doc: update Abstract Equality Comparison text in assert.md (Rich Trott) #41375
  • [19db19bb80] - doc: fix example commands for REPLACEME updates (Richard Lau) #41269
  • [16c0bea91d] - doc: document that require.main may be undefined (Antoine du Hamel) #41384
  • [014d4836ec] - doc: clarify entry point behavior when using loader hooks (Antoine du Hamel) #41304
  • [6460b1b32d] - doc: clarify require behavior with non .js extensions (Antoine du Hamel) #41345
  • [0d18a8c232] - doc: revise frozen-intrinsics text (Rich Trott) #41342
  • [c267bb2192] - doc: fix example description for worker_threads (Dmitry Petrov) #41341
  • [ffe17a84f2] - doc: make pull-request guide default branch agnostic (Antoine du Hamel) #41299
  • [5cfc547997] - doc: fix sync comment in observer snippet (Eric Jacobson) #41262
  • [3a80104b29] - doc: remove section about amending commits in PR guide (Thiago Santos) #41287
  • [23f97ec04e] - doc: remove legacy in-page links in v8.md (Rich Trott) #41291
  • [e819685cec] - doc: include stack trace difference in ES modules (Marcos Bérgamo) #41157
  • [dac8407944] - doc: fix example in node-api docs (Michael Dawson) #41264
  • [29563abd85] - doc: add usage recommendation for writable._destroy (Rafael Gonzaga) #41040
  • [e27e8272f7] - doc: make function signature comply with JSDoc comment (Rich Trott) #41242
  • [d83a02994c] - doc: align maxHeaderSize default with current value (Gil Pedersen) #41183
  • [730e25d7dd] - doc: add unhandledRejection to strict mode (Colin Ihrig) #41194
  • [74742c3618] - doc: adding estimated execution time (mawaregetsuka) #41142
  • [34ef5a7d4d] - doc: fix syntax error in nested conditions example (Mateusz Burzyński) #41205
  • [c9a4603913] - esm: make process.exit() default to exit code 0 (Gang Chen) #41388
  • [8a94ca7a69] - esm: refactor esm tests out of test/message (Geoffrey Booth) #41352
  • [5ebe086ea6] - esm: reconcile JSDoc vs. actual parameter name (Rich Trott) #41238
  • [9fe304b8e8] - events: clarify JSDoc entries (Rich Trott) #41311
  • [4079fc42b7] - (SEMVER-MINOR) events: graduate capturerejections to supported (James M Snell) #41267
  • [e3a0a9cb3a] - events: add jsdoc details for Event and EventTarget (James M Snell) #41274
  • [fe21607901] - (SEMVER-MINOR) events: add EventEmitterAsyncResource to core (James M Snell) #41246
  • [d4a6f2caf1] - fs: use async directory processing in cp() (Colin Ihrig) #41351
  • [0951bd94db] - fs: correct param names in JSDoc comments (Rich Trott) #41237
  • [1d75436a1c] - http: remove duplicate code (Shaw) #39239
  • [0aacd4926d] - http2: handle existing socket data when creating HTTP/2 server sessions (Tim Perry) #41185
  • [24fbbf2747] - lib: remove spurious JSDoc entry (Rich Trott) #41240
  • [e457ec05d6] - lib: fix checking syntax of esm module (Qingyu Deng) #41198
  • [f176124e8b] - lib,tools: remove empty lines between JSDoc tags (Rich Trott) #41147
  • [68fd2ac999] - loader: fix package resolution for edge case (Gabriel Bota) #41218
  • [6d8eb6ace6] - (SEMVER-MINOR) loader: return package format from defaultResolve if known (Gabriel Bota) #40980
  • [a6146c7e27] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #41456
  • [07353e9b8b] - meta: update AUTHORS (Node.js GitHub Bot) #41475
  • [e1ff4521d7] - meta: correct my name in AUTHORS (Jacob Smith) #41444
  • [da1d5d6563] - meta: update AUTHORS (Node.js GitHub Bot) #41449
  • [0f9afa58d5] - meta: add required fields in issue templates (Rich Trott) #41378
  • [da04408075] - meta: update AUTHORS (Node.js GitHub Bot) #41374
  • [1f6c4e819b] - meta: replace API docs issue template with form (Rich Trott) #41348
  • [253c3e5488] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #41336
  • [3e188cacc2] - meta: replace feature request template with form (Rich Trott) #41317
  • [e339220511] - meta: update AUTHORS (Node.js GitHub Bot) #41322
  • [d0d595f8f2] - meta: update node-api team name (Richard Lau) #41268
  • [a53fa2010b] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #41248
  • [edefb41ec1] - meta: update AUTHORS (Node.js GitHub Bot) #41234
  • [6da7909797] - meta: remove community-committee from CODEOWNERS (Rich Trott) #41169
  • [5fe011a24d] - node-api: add missing initialization of last error (Michael Dawson) #41290
  • [27c619140a] - (SEMVER-MINOR) perf_hooks: multiple fixes for Histogram (James M Snell) #41153
  • [e60187d8ab] - policy: add missing JSDoc @param entry (Rich Trott) #41239
  • [ec9071f55d] - src: use std::optional for Worker thread id (Anna Henningsen) #41453
  • [6aec92f959] - src: gracefully handle errors in GetX509NameObject (Tobias Nießen) #41490
  • [7ac126b75c] - src: fix out-of-bounds check of serialization indices (JoostK) #41452
  • [93b3664b9a] - src: do IWYU for some STL includes (David Sanders) #41236
  • [337ebfcd53] - src: split out async stack corruption detection from inline fn (Anna Henningsen) #41331
  • [250e197a62] - src: store native async execution resources as v8::Local (Anna Henningsen) #41331
  • [6187e81a8e] - src: guard slightly costly check in MakeCallback more strongly (Anna Henningsen) #41331
  • [51d86fe6a0] - stream: remove always-false condition check (Rich Trott) #41488
  • [b08138f367] - stream: fix error-path function call (Rich Trott) #41433
  • [d79f8c2987] - stream: remove unused function argument (Rich Trott) #41403
  • [09c25bb224] - (SEMVER-MINOR) stream: add filter method to readable (Benjamin Gruenbaum) #41354
  • [1150963217] - (SEMVER-MINOR) stream: add isReadable helper (Robert Nagy) #41199
  • [9f5a873965] - (SEMVER-MINOR) stream: add map method to Readable (Benjamin Gruenbaum) #40815
  • [3dc65646c8] - stream: fix enqueue race condition on esm modules (Rafael Gonzaga) #40901
  • [09f2fd36a4] - test: improve test coverage of dns/promises (Yoshiki Kurihara) #41425
  • [106ef0cef4] - test: remove broken wiki link from test/common doc (Yoshiki Kurihara) #41426
  • [9d8d7c63cb] - test: do not OR F_OK in fs.access() test (Colin Ihrig) #41484
  • [3e2154deda] - test: mark test-performance-eventloopdelay flaky (Michael Dawson) #41409
  • [e808ee68d0] - test: mark test-repl-sigint-nested-eval as flaky (Michael Dawson) #41302
  • [f97f6c585d] - test: use spawnSync() full name in test-stdio-pipe-stderr (Rich Trott) #41332
  • [75c565bf18] - test: improve expectWarning error message (Rich Trott) #41326
  • [c136d597f0] - test: use spawnSync() full name (Rich Trott) #41327
  • [b2a87f770d] - test: add comments explaining _setSimultaneousAccepts deprecation tests (Yoshiki Kurihara) #41307
  • [fac0871102] - test: mark test-worker-take-heapsnapshot flaky (Michael Dawson) #41253
  • [90617b9303] - test: mark wpt/test-user-timing test flaky (Michael Dawson) #41203
  • [8f08328a01] - test: correct param name in JSDoc comment (Rich Trott) #41241
  • [367ab2a55e] - test: mark test-crypto-keygen slow on windows (Michael Dawson) #41207
  • [f067876338] - test: improve test coverage of dns/promises (Yoshiki Kurihara) #41133
  • [2e92f6f5d9] - timers: use ref counts to count timers (Darshan Sen) #41231
  • [3c8b25bec8] - tls: use optional chaining to simplify checks (Antoine du Hamel) #41337
  • [a11ff31bca] - tls: permit null as a pfx value (CallMeLaNN) #41170
  • [5129b7c802] - tools: fix small not-quite-a-bug in find-inactive-tsc.mjs (Rich Trott) #41469
  • [258ee4ba64] - tools: enable ESLint recommended configuration (Rich Trott) #41463
  • [090a674a81] - tools: enable ESLint no-constant-condition rule (Rich Trott) #41463
  • [1f4369a106] - tools: enable ESLint require-yield rule (Rich Trott) #41463
  • [8090ce7a6c] - tools: enable ESLint no-sparse-arrays rule (Rich Trott) #41463
  • [afa4f37faf] - tools: enable ESLint no-loss-of-precision rule (Rich Trott) #41463
  • [ec337b2019] - tools: replace for loop with map() (Rich Trott) #41451
  • [c91ac205a5] - tools: use GITHUB_ACTIONS env var in inactivity scripts (Rich Trott) #41422
  • [4a57d476a8] - tools: replace while+exec() with matchAll() (Rich Trott) #41406
  • [583f8d969a] - tools: fix argv bug in find-inactive-tsc.mjs (Rich Trott) #41394
  • [dcada80f30] - tools: remove conditional assignment in custom ESLint rule (Rich Trott) #41325
  • [e15e1cb030] - tools: update lint-md-dependencies to @rollup/[email protected] (Node.js GitHub Bot) #41369
  • [07683021b7] - tools: update doc to [email protected] (Node.js GitHub Bot) #41367
  • [bd8b95a5e8] - tools: remove last of error-masking in commit-queue.sh (Rich Trott) #41356
  • [9284d24df6] - tools: update eslint to 8.6.0 (Node.js GitHub Bot) #41368
  • [5fc886f68e] - tools: do not mask errors on multiple commit retrieval (Rich Trott) #41340
  • [0ca7cda962] - tools: enable jsdoc/check-param-names lint rule (Rich Trott) #41311
  • [75ff8e6505] - tools: improve section tag additions in HTML doc generator (Rich Trott) #41318
  • [9c4124706e] - tools: simplify commit-queue.sh merge command (Rich Trott) #41314
  • [137c814848] - tools: update lint-md-dependencies to [email protected] (Node.js GitHub Bot) #41315
  • [58da5d9b43] - tools: use Object.hasOwn() in alljson.mjs (Rich Trott) #41306
  • [c12cbf2020] - tools: avoid generating duplicate id attributes (Rich Trott) #41291
  • [80a114d1b7] - tools: be intentional about masking possible error in start-ci.sh (Rich Trott) #41284
  • [198528426d] - tools: use {N} for spaces in regex (Rich Trott) #41295
  • [46b364a684] - tools: consolidate update-authors.js logic (Rich Trott) #41255
  • [c546cef4bc] - tools: update doc dependency mdast-util-gfm-table to 1.0.2 (Rich Trott) #41260
  • [60c059e4bc] - tools: make license-builder.sh comply with shellcheck 0.8.0 (Rich Trott) #41258
  • [62e28f19f7] - tools: use arrow function for callback in lint-sh.js (Rich Trott) #41256
  • [e2df381da9] - tools: add double-quotes to make-v8.sh (Rich Trott) #41257
  • [dae2e5fffa] - tools: enable prefer-object-has-own lint rule (Rich Trott) #41245
  • [aa7d14768d] - tools: update eslint to 8.5.0 (Node.js GitHub Bot) #41228
  • [0c14e7e7c8] - tools: enable jsdoc/tag-lines ESLint rule (Rich Trott) #41147
  • [c486da1715] - tools: update lint-md-dependencies to @rollup/[email protected] (Node.js GitHub Bot) #41227
  • [82f492bbb0] - tools: fix CQ and auto-start-ci jobs (Antoine du Hamel) #41230
  • [c44185ca37] - tools: fix GitHub Actions status when CQ is empty (Antoine du Hamel) #41193
  • [800640adf9] - tools,benchmark,lib,test: enable no-case-declarations lint rule (Rich Trott) #41385
  • [4518fdda24] - tools,lib,test: enable ESLint no-regex-spaces rule (Rich Trott) #41463
  • [c8e8fc0ecb] - typings: add types for symbol and accessor properties on primordials (ExE Boss) #40992
  • [d733b56101] - typings: add JSDoc for string_decoder (Qingyu Deng) #38229
  • [01ad8debd3] - url,lib: pass urlsearchparams-constructor.any.js (Khaidi Chu) #41197
  • [5ed8a1c017] - util: do not reduce to a single line if not appropriate using inspect (Ruben Bridgewater) #41083
  • [ab5e94c832] - util: display a present-but-undefined error cause (Jordan Harband) #41247

2022-01-10, Version 17.3.1 (Current), @BethGriggs

This is a security release.

Notable changes

Improper handling of URI Subject Alternative Names (Medium)(CVE-2021-44531)

Accepting arbitrary Subject Alternative Name (SAN) types, unless a PKI is specifically defined to use a particular SAN type, can result in bypassing name-constrained intermediates. Node.js was accepting URI SAN types, which PKIs are often not defined to use. Additionally, when a protocol allows URI SANs, Node.js did not match the URI correctly.

Versions of Node.js with the fix for this disable the URI SAN type when checking a certificate against a hostname. This behavior can be reverted through the --security-revert command-line option.

More details will be available at CVE-2021-44531 after publication.

Certificate Verification Bypass via String Injection (Medium)(CVE-2021-44532)

Node.js converts SANs (Subject Alternative Names) to a string format. It uses this string to check peer certificates against hostnames when validating connections. The string format was subject to an injection vulnerability when name constraints were used within a certificate chain, allowing the bypass of these name constraints.

Versions of Node.js with the fix for this escape SANs containing the problematic characters in order to prevent the injection. This behavior can be reverted through the --security-revert command-line option.

More details will be available at CVE-2021-44532 after publication.

Incorrect handling of certificate subject and issuer fields (Medium)(CVE-2021-44533)

Node.js did not handle multi-value Relative Distinguished Names correctly. Attackers could craft certificate subjects containing a single-value Relative Distinguished Name that would be interpreted as a multi-value Relative Distinguished Name, for example, in order to inject a Common Name that would allow bypassing the certificate subject verification.

Affected versions of Node.js do not accept multi-value Relative Distinguished Names and are thus not vulnerable to such attacks themselves. However, third-party code that uses node's ambiguous presentation of certificate subjects may be vulnerable.

More details will be available at CVE-2021-44533 after publication.

Prototype pollution via console.table properties (Low)(CVE-2022-21824)

Due to the formatting logic of the console.table() function it was not safe to allow user controlled input to be passed to the properties parameter while simultaneously passing a plain object with at least one property as the first parameter, which could be __proto__. The prototype pollution has very limited control, in that it only allows an empty string to be assigned numerical keys of the object prototype.

Versions of Node.js with the fix for this use a null protoype for the object these properties are being assigned to.

More details will be available at CVE-2022-21824 after publication.

Thanks to Patrik Oldsberg (rugvip) for reporting this vulnerability.

Commits

2021-12-17, Version 17.3.0 (Current), @danielleadams

Notable changes

OpenSSL-3.0.1

OpenSSL-3.0.1 contains a fix for CVE-2021-4044: Invalid handling of X509_verify_cert() internal errors in libssl (Moderate). This is a vulnerability in OpenSSL that may be exploited through Node.js. More information can be read here: https://www.openssl.org/news/secadv/20211214.txt.

Contributed by Richard Lau #41177.

Other Notable Changes

  • lib:
    • make AbortSignal cloneable/transferable (James M Snell) #41050
  • deps:
    • upgrade npm to 8.3.0 (npm team) #41127
  • doc:
    • add @bnb as a collaborator (Tierney Cyren) #41100
  • process:
    • add getActiveResourcesInfo() (Darshan Sen) #40813
  • timers:
    • add experimental scheduler api (James M Snell) #40909

Commits

  • [99fb6d48eb] - assert: prefer reference comparison over string comparison (Darshan Sen) #41015
  • [a7dfa43dc7] - assert: use stricter stack frame detection in .ifError() (Ruben Bridgewater) #41006
  • [28761de6d4] - buffer: fix Blob constructor on various TypedArrays (Irakli Gozalishvili) #40706
  • [8fcb71a5ab] - build: update openssl config generator Dockerfile (Richard Lau) #41177
  • [3a9ffa86db] - build: use '<(python)' instead of 'python' (Cheng Zhao) #41146
  • [85f1537c28] - build: fix comment-labeled workflow (Mestery) #41176
  • [61c53a667a] - build: use gh cli in workflows file (Mestery) #40985
  • [1fc6fd66ff] - build: fix commit-queue-rebase functionality (Rich Trott) #41140
  • [831face7d1] - build: skip documentation generation if no ICU (Rich Trott) #41091
  • [c776c9236e] - build: re-enable V8 concurrent marking (Michaël Zasso) #41013
  • [2125449f89] - build: add --without-corepack (Jonah Snider) #41060
  • [6327685363] - build: fail early in test-macos.yml (Rich Trott) #41035
  • [ee4186b305] - build: add tools/doc to tools.yml updates (Rich Trott) #41036
  • [db30bc97d0] - build: update Actions versions (Mestery) #40987
  • [db9cef3c4f] - build: set persist-credentials: false on workflows (Rich Trott) #40972
  • [29739f813f] - build: add OpenSSL gyp artifacts to .gitignore (Luigi Pinca) #40967
  • [1b8baf0e4f] - build: remove legacy -J test.py option from Makefile/vcbuild (Rich Trott) #40945
  • [5c27ec8385] - build: ignore unrelated workflow changes in slow Actions tests (Rich Trott) #40928
  • [8957c9bd1c] - build,tools: automate enforcement of emeritus criteria (Rich Trott) #41155
  • [e924dc7982] - cluster: use linkedlist for round_robin_handle (twchn) #40615
  • [c757fa513e] - crypto: add missing null check (Michael Dawson) #40598
  • [35fe14454b] - deps: update archs files for quictls/openssl-3.0.1+quic (Richard Lau) #41177
  • [0b2103419f] - deps: upgrade openssl sources to quictls/openssl-3.0.1+quic (Richard Lau) #41177
  • [fae4945ab3] - deps: upgrade npm to 8.3.0 (npm team) #41127
  • [3a1d952e68] - deps: upgrade npm to 8.2.0 (npm team) #41065
  • [627b5bb718] - deps: update Acorn to v8.6.0 (Michaël Zasso) #40993
  • [a2fb12f9c6] - deps: patch V8 to 9.6.180.15 (Michaël Zasso) #40949
  • [93111e4662] - doc: fix closing parenthesis (AlphaDio) #41190
  • [f883bf3d12] - doc: add security steward on/offboarding steps (Michael Dawson) #41129
  • [1274a25b14] - doc: align module resolve algorithm with implementation (Qingyu Deng) #38837
  • [34c6c59014] - doc: update nodejs-sec managers (Michael Dawson) #41128
  • [db26bdb011] - doc: move style guide to findable location (Rich Trott) #41119
  • [4369c6d9f6] - doc: fix comments in test-fs-watch.js (jakub-g) #41046
  • [93f5bd34e9] - doc: document support building with Python 3.10 on Windows (Christian Clauss) #41098
  • [d8fa227c26] - doc: add note about pip being required (Piotr Rybak) #40669
  • [95691801f3] - doc: remove OpenJSF Slack nodejs from support doc (Rich Trott) #41108
  • [e3ac384d78] - doc: simplify major release preparation (Bethany Nicolle Griggs) #40816
  • [3406910040] - doc: clarify escaping for ES modules (notroid5) #41074
  • [668284b5a1] - doc: add @bnb as a collaborator (Tierney Cyren) #41100
  • [94d09113a2] - doc: add explicit declaration of fd with null val (Henadzi) #40704
  • [b353ded677] - doc: expand entries for isIP(), isIPv4(), and isIPv6() (Rich Trott) #41028
  • [f18aa14b1d] - doc: link to commit queue guide (Geoffrey Booth) #41030
  • [681edbe75f] - doc: specify that message.socket can be nulled (Luigi Pinca) #41014
  • [7c41f32f06] - doc: fix JSDoc in ESM loaders examples (Mestery) #40984
  • [61b2e2ef9e] - doc: remove legacy -J test.py option from BUILDING.md (Rich Trott) #40945
  • [c9b09d124e] - doc,lib,tools: align multiline comments (Rich Trott) #41109
  • [12023dff4b] - (SEMVER-MINOR) errors: add support for cause in aborterror (James M Snell) #41008
  • [b0b7943e8f] - (SEMVER-MINOR) esm: working mock test (Bradley Farias) #39240
  • [37dbc3b9e9] - (SEMVER-MINOR) events: propagate abortsignal reason in new AbortError ctor in events (James M Snell) #41008
  • [1b8d4e4867] - (SEMVER-MINOR) events: propagate weak option for kNewListener (James M Snell) #40899
  • [bbdcd0513b] - (SEMVER-MINOR) fs: accept URL as argument for fs.rm and fs.rmSync (Antoine du Hamel) #41132
  • [46108f8d50] - fs: fix error codes for fs.cp (Antoine du Hamel) #41106
  • [e25671cddb] - fs: fix length option being ignored during read() (Shinho Ahn) #40906
  • [6eda874be0] - (SEMVER-MINOR) fs: propagate abortsignal reason in new AbortSignal constructors (James M Snell) #41008
  • [70ed4ef248] - http: don't write empty data on req/res end() (Santiago Gimeno) #41116
  • [4b3bf7e818] - (SEMVER-MINOR) http2: propagate abortsignal reason in new AbortError constructor (James M Snell) #41008
  • [8d87303f76] - inspector: add missing initialization (Michael Dawson) #41022
  • [b191e66ddf] - lib: include return types in JSDoc (Rich Trott) #41130
  • [348707fca6] - (SEMVER-MINOR) lib: make AbortSignal cloneable/transferable (James M Snell) #41050
  • [4ba883d384] - (SEMVER-MINOR) lib: add abortSignal.throwIfAborted() (James M Snell) #40951
  • [cc3e430c11] - lib: use consistent types in JSDoc @returns (Rich Trott) #41089
  • [a1ed7f2810] - (SEMVER-MINOR) lib: propagate abortsignal reason in new AbortError constructor in blob (James M Snell) #41008
  • [1572db3e86] - lib: do not lazy load EOL in blob (Ruben Bridgewater) #41004
  • [62c4b4c85b] - (SEMVER-MINOR) lib: add AbortSignal.timeout (James M Snell) #40899
  • [f0d874342d] - lib,test,tools: use consistent JSDoc types (Rich Trott) #40989
  • [03e6771137] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #41154
  • [e26c187b85] - meta: move to emeritus automatically after 18 months (Rich Trott) #41155
  • [b89fb3ef0a] - meta: move silverwind to emeriti (Roman Reiss) #41171
  • [0fc148321f] - meta: update AUTHORS (Node.js GitHub Bot) #41144
  • [d6d1d6647c] - meta: update AUTHORS (Node.js GitHub Bot) #41088
  • [f30d6bcaff] - meta: move one or more TSC members to emeritus (Node.js GitHub Bot) #40908
  • [033a646d82] - meta: increase security policy response targets (Matteo Collina) #40968
  • [6b6e1d054e] - node-api,doc: document parms which can be optional (Michael Dawson) #41021
  • [93ea1666f6] - perf_hooks: use spec-compliant structuredClone (Michaël Zasso) #40904
  • [d8a2125900] - (SEMVER-MINOR) process: add getActiveResourcesInfo() (Darshan Sen) #40813
  • [67124ac63a] - (SEMVER-MINOR) readline: propagate signal.reason in awaitable question (James M Snell) #41008
  • [8fac878ff5] - readline: skip escaping characters again (Ruben Bridgewater) #41005
  • [d3de937782] - src: fix limit calculation (Michael Dawson) #41026
  • [6f0ec9835a] - src: use a higher limit in the NearHeapLimitCallback (Joyee Cheung) #41041
  • [90097ab891] - src,crypto: remove uses of AllocatedBuffer from crypto_sig (Darshan Sen) #40895
  • [b59c513c31] - stream: add isErrored helper (Robert Nagy) #41121
  • [1787bfab68] - stream: allow readable to end early without error (Robert Nagy) #40881
  • [01e8c15c8a] - (SEMVER-MINOR) stream: use cause options in AbortError constructors (James M Snell) #41008
  • [0e21c64ae9] - stream: remove whatwg streams experimental warning (James M Snell) #40971
  • [513305c7d7] - stream: cleanup eos (Robert Nagy) #40998
  • [da8baf4bbb] - test: do not load absolute path crypto engines twice (Richard Lau) #41177
  • [1f6a9c3e31] - test: skip ESLint tests if no Intl (Rich Trott) #41105
  • [ce656a80b5] - test: add missing JSDoc parameter name (Rich Trott) #41057
  • [fb8f2e9643] - test: deflake test-trace-atomics-wait (Luigi Pinca) #41018
  • [de1748aca4] - test: add auth option case for url.format (Hirotaka Tagawa / wafuwafu13) #40516
  • [943547a0eb] - Revert "test: skip different params test for OpenSSL 3.x" (Daniel Bevenius) #40640
  • [0caa3483d2] - (SEMVER-MINOR) timers: add experimental scheduler api (James M Snell) #40909
  • [e795547651] - (SEMVER-MINOR) timers: propagate signal.reason in awaitable timers (James M Snell) #41008
  • [a77cae1ef7] - tls: improve handling of shutdown (Jameson Nash) #36111
  • [db410e7d3e] - tools: update doc to [email protected] (Node.js GitHub Bot) #41149
  • [e3870f3f17] - tools: update lint-md-dependencies to [email protected] [email protected] (Node.js GitHub Bot) #41150
  • [6fc92bd191] - tools: enable jsdoc/require-returns-type ESLint rule (Rich Trott) #41130
  • [70e6fe860a] - tools: update ESLint to 8.4.1 (Rich Trott) #41114
  • [78894fa888] - tools: enable JSDoc check-alignment lint rule (Rich Trott) #41109
  • [40a773aa29] - tools: strip comments from lint-md rollup output (Rich Trott) #41092
  • [7b606cfef6] - tools: update highlight.js to 11.3.1 (Rich Trott) #41091
  • [52633a9e95] - tools: enable jsdoc/require-returns-check lint rule (Rich Trott) #41089
  • [dc0405e7fb] - tools: update ESLint to 8.4.0 (Luigi Pinca) #41085
  • [855f15d059] - tools: enable jsdoc/require-param-name lint rule (Rich Trott) #41057
  • [78265e095a] - tools: use jsdoc recommended rules (Rich Trott) #41057
  • [9cfdf15da6] - tools: rollback highlight.js (Richard Lau) #41078
  • [fe3e09bb4b] - tools: remove Babel from license-builder.sh (Rich Trott) #41049
  • [62e0aa9725] - tools: udpate packages in tools/doc (Rich Trott) #41036
  • [a959f4fa72] - tools: install and enable JSDoc linting in ESLint (Rich Trott) #41027
  • [661960e471] - tools: include JSDoc in ESLint updating tool (Rich Trott) #41027
  • [e2922714ee] - tools: ignore unrelated workflow changes in slow Actions tests (Antoine du Hamel) #40990
  • [6525226ff7] - tools: remove unneeded tool in update-eslint.sh (Rich Trott) #40995
  • [5400b7963d] - tools: consolidate ESLint dependencies (Rich Trott) #40995
  • [86d5af14bc] - tools: update ESLint update script to consolidate dependencies (Rich Trott) #40995
  • [8427099f66] - tools: run ESLint update to minimize diff on subsequent update (Rich Trott) #40995
  • [82daaa9914] - tools,test: make -J behavior default for test.py (Rich Trott) #40945
  • [db77780cb9] - url: detect hostname more reliably in url.parse() (Rich Trott) #41031
  • [66b5083c1e] - util: serialize falsy cause values while inspecting errors (Ruben Bridgewater) #41097
  • [09d29ca8d9] - util: make sure error causes of any type may be inspected (Ruben Bridgewater) #41097
  • [f5ff88b3cb] - (SEMVER-MINOR) util: pass through the inspect function to custom inspect functions (Ruben Bridgewater) #41019
  • [a0326f0941] - util: escape lone surrogate code points using .inspect() (Ruben Bridgewater) #41001
  • [91df200ad6] - (SEMVER-MINOR) util: add numericSeparator to util.inspect (Ruben Bridgewater) #41003
  • [da87413257] - (SEMVER-MINOR) util: always visualize cause property in errors during inspection (Ruben Bridgewater) #41002

2021-11-30, Version 17.2.0 (Current), @targos

Notable Changes

  • [06916490af] - (SEMVER-MINOR) async_hooks: expose async_wrap providers (Rafael Gonzaga) #40760
  • [371ee64c92] - (SEMVER-MINOR) deps: update V8 to 9.6.180.14 (Michaël Zasso) #40488
  • [675c210b04] - (SEMVER-MINOR) lib: add reason to AbortSignal (James M Snell) #40807
  • [0de2850680] - (SEMVER-MINOR) src: add x509.fingerprint512 to crypto module (3nprob) #39809
  • [fa9b5c35d2] - stream: deprecate thenable support (Antoine du Hamel) #40860
  • [534409d4e7] - stream: fix finished regression when working with legacy Stream (Matteo Collina) #40858

Commits

2021-11-09, Version 17.1.0 (Current), @targos

Notable Changes

  • [89b34ecffb] - doc: add VoltrexMaster to collaborators (voltrexmaster) #40566
  • [95e4d29eb4] - (SEMVER-MINOR) esm: add support for JSON import assertion (Antoine du Hamel) #40250
  • [1ddbae2d76] - (SEMVER-MINOR) lib: add unsubscribe method to non-active DC channels (simon-id) #40433
  • [aa61551b49] - (SEMVER-MINOR) lib: add return value for DC channel.unsubscribe (simon-id) #40433
  • [fbeb895ca6] - (SEMVER-MINOR) v8: multi-tenant promise hook api (Stephen Belanger) #39283

Commits

  • [8a00dc5add] - build: skip long-running Actions for README-only modifications (Rich Trott) #40571
  • [9f46fca124] - build: disable v8 pointer compression on 32bit archs (Cheng Zhao) #40418
  • [5bef74395d] - deps: patch V8 to 9.5.172.25 (Michaël Zasso) #40604
  • [3805b806ee] - deps: upgrade npm to 8.1.2 (npm team) #40643
  • [c003ba131b] - deps: update c-ares to 1.18.1 (Richard Lau) #40660
  • [841f35cc52] - deps: upgrade npm to 8.1.1 (npm team) #40554
  • [8d16f0d2d3] - deps: V8: cherry-pick 422dc378a1da (Ray Wang) #40450
  • [cdf5c44d62] - deps: add riscv64 config into openssl gypi (Lu Yahan) #40473
  • [2b9fcdfe26] - deps: attempt to suppress macro-redefined warning (Daniel Bevenius) #40518
  • [d2839bfaa9] - deps: regenerate OpenSSL arch files (Daniel Bevenius) #40518
  • [5df8ce5cbe] - deps,build,tools: fix openssl-is-fips for ninja builds (Daniel Bevenius) #40518
  • [79bf429405] - dgram: fix send with out of bounds offset + length (Nitzan Uziely) #40568
  • [c29658fda7] - doc: update cjs-module-lexer repo link (Guy Bedford) #40707
  • [e374f3ddd9] - doc: fix lint re-enabling comment in README.md (Rich Trott) #40647
  • [ecccf48106] - doc: format v8.md in preparation for stricter linting (Rich Trott) #40647
  • [95a7117037] - doc: final round of markdown format changes (Rich Trott) #40645
  • [c104f5a9ab] - doc: remove --experimental-modules documentation (FrankQiu) #38974
  • [ac81f89bbf] - doc: update tracking issues of startup performance (Joyee Cheung) #40629
  • [65effa11fc] - doc: fix markdown syntax and HTML tag misses (ryan) #40608
  • [c78d708a16] - doc: use 'GitHub Actions workflow' instead (Mestery) #40586
  • [71bac70bf2] - doc: ref OpenSSL legacy provider from crypto docs (Tobias Nießen) #40593
  • [8f410229ac] - doc: add node: url scheme (Daniel Nalborczyk) #40573
  • [35dbed21f2] - doc: call cwd function (Daniel Nalborczyk) #40573
  • [4870a23ccc] - doc: remove unused imports (Daniel Nalborczyk) #40573
  • [5951ccc12e] - doc: simplify CHANGELOG.md (Rich Trott) #40475
  • [6ae134ecb7] - doc: correct esm spec scope lookup definition (Guy Bedford) #40592
  • [09239216f6] - doc: update CHANGELOG.md for Node.js 16.13.0 (Richard Lau) #40617
  • [46ec5ac4df] - doc: add info on project's usage of coverity (Michael Dawson) #40506
  • [7eb1a44410] - doc: fix typo in changelogs (Luigi Pinca) #40585
  • [132f6cba05] - doc: update onboarding task (Rich Trott) #40570
  • [5e2d0ed61e] - doc: simplify ccache instructions (Rich Trott) #40550
  • [c1c1738bfc] - doc: fix macOS environment variables for ccache (Rich Trott) #40550
  • [6e3e50f2ab] - doc: improve async_context introduction (Michaël Zasso) #40560
  • [1587fe62d4] - doc: use GFM footnotes in webcrypto.md (Rich Trott) #40477
  • [305c022db4] - doc: describe buffer limit of v8.serialize (Ray Wang) #40243
  • [6e39e0e10a] - doc: run license-builder (Rich Trott) #40540
  • [556e49ccb5] - doc: use GFM footnotes in maintaining-V8.md (#40476) (Rich Trott) #40476
  • [9c6a9fd5b1] - doc: use GFM footnotes in BUILDING.md (Rich Trott) #40474
  • [fd946215cc] - doc: fix fs.symlink code example (Juan José Arboleda) #40414
  • [404730ac1b] - doc: update for changed --dns-result-order default (Richard Lau) #40538
  • [acc22c7c4a] - doc: add missing entry in globals.md (Antoine du Hamel) #40531
  • [0375d958ef] - doc: explain backport labels (Stephen Belanger) #40520
  • [4993d87c49] - doc: fix entry for Slack channel in onboarding.md (Rich Trott) #40563
  • [89b34ecffb] - doc: add VoltrexMaster to collaborators (voltrexmaster) #40566
  • [6357ef15d0] - doc: document considerations for inclusion in core (Rich Trott) #40338
  • [ed04827373] - doc: update link in onboarding doc (Rich Trott) #40539
  • [34e244b8e9] - doc: clarify behavior of napi_extended_error_info (Michael Dawson) #40458
  • [5a588ff047] - doc: add updating expected assets to release guide (Richard Lau) #40470
  • [95e4d29eb4] - (SEMVER-MINOR) esm: add support for JSON import assertion (Antoine du Hamel) #40250
  • [825a683423] - http: response should always emit 'close' (Robert Nagy) #40543
  • [81cd7f3751] - lib: fix regular expression to detect `/` and `\` (Francesco Trotta) #40325
  • [1ddbae2d76] - (SEMVER-MINOR) lib: add unsubscribe method to non-active DC channels (simon-id) #40433
  • [aa61551b49] - (SEMVER-MINOR) lib: add return value for DC channel.unsubscribe (simon-id) #40433
  • [d97872dd98] - meta: use form schema for flaky test template (Michaël Zasso) #40737
  • [c2fabdbce8] - meta: update AUTHORS (Node.js GitHub Bot) #40668
  • [aa98c6bdce] - meta: consolidate AUTHORS entries for brettkiefer (Rich Trott) #40599
  • [18296c3d8e] - meta: consolidate AUTHORS entries for alexzherdev (Rich Trott) #40620
  • [88d812793d] - meta: consolidate AUTHORS entries for Azard (Rich Trott) #40619
  • [d81b65ca0e] - meta: move Fishrock123 to emeritus (Jeremiah Senkpiel) #40596
  • [ec02e7b68a] - meta: consolidate AUTHORS entries for clakech (Rich Trott) #40589
  • [08e7a2ff24] - meta: consolidate AUTHORS entries for darai0512 (Rich Trott) #40569
  • [488ee51f90] - meta: update AUTHORS (Node.js GitHub Bot) #40580
  • [ba9a6c5d06] - meta: consolidate AUTHORS entries for dfabulich (Rich Trott) #40527
  • [bd06e9945e] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #40464
  • [7cee125dcf] - meta: add Richard Lau to TSC list in README.md (Rich Trott) #40523
  • [6a771f8bcb] - meta: consolidate AUTHORS entries for dguo (Rich Trott) #40517
  • [e4c740646d] - meta: consolidate AUTHORS entries for cxreg (Rich Trott) #40490
  • [075cfbf941] - module: resolver & spec hardening /w refactoring (Guy Bedford) #40510
  • [b320387c83] - policy: fix message for invalid manifest specifier (Rich Trott) #40574
  • [ea968d54c5] - process: refactor execution (Voltrex) #40664
  • [fb7c437b0b] - src: make LoadEnvironment with string work with builtin modules path (Michaël Zasso) #40607
  • [e9388c87bf] - src: remove usage of AllocatedBuffer from node_http2 (Darshan Sen) #40584
  • [7a22f913b0] - src: fix #endif description in crypto_keygen.h (Tobias Nießen) #40639
  • [396342e26d] - src: throw error instead of assertion (Ray Wang) #40243
  • [accab383a1] - src: register external references in os bindings (Joyee Cheung) #40239
  • [a11f9ea4f0] - src: register external references in crypto bindings (Joyee Cheung) #40239
  • [ef1ace7e88] - src,crypto: use std::variant in DH params (Darshan Sen) #40457
  • [4433852f62] - src,crypto: remove AllocatedBuffer from crypto_cipher.cc (Darshan Sen) #40400
  • [814126c3ed] - src,fs: remove ToLocalChecked() call from fs::AfterMkdirp() (Darshan Sen) #40386
  • [d4b45cc249] - src,stream: remove *Check*() calls from non-Initialize() functions (Darshan Sen) #40425
  • [bac7fe0797] - stream: remove no longer necessary ComposeDuplex (Robert Nagy) #40545
  • [e58cce49fd] - test: disable warnings to fix flaky test (Antoine du Hamel) #40739
  • [8c103ab2ff] - test: skip macos sandbox test with builtin modules path (Michaël Zasso) #40607
  • [ac3bc6eed0] - test: add semicolon after chunk size (Luigi Pinca) #40487
  • [95fe9bb922] - test: deflake http2-cancel-while-client-reading (Luigi Pinca) #40659
  • [dfd0215266] - test: avoid deep comparisons with literals (Tobias Nießen) #40634
  • [5020f634b8] - test: mark test-policy-integrity flaky on Windows (Rich Trott) #40684
  • [8fa1c61e40] - test: fix test-datetime-change-notify after daylight change (Piotr Rybak) #40684
  • [179a5c5436] - test: test crypto.setEngine() using an actual engine (Darshan Sen) #40481
  • [cf6ded4db5] - test: use conventional argument order in assertion (Tobias Nießen) #40591
  • [aefb097d6a] - test: fix test description (Luigi Pinca) #40486
  • [126e669b84] - test,doc: correct documentation for runBenchmark() (Rich Trott) #40683
  • [1844463ce2] - test,tools: increase pummel/benchmark test timeout from 4x to 6x (Rich Trott) #40684
  • [f731f5ffb5] - test,tools: increase timeout for benchmark tests (Rich Trott) #40684
  • [bbc10f1849] - tools: simplify and fix commit queue (Michaël Zasso) #40742
  • [a3df50d810] - tools: ensure the PR was not pushed before merging (Antoine du Hamel) #40747
  • [306d953c15] - tools: update ESLint to 8.2.0 (Luigi Pinca) #40734
  • [b7e736843c] - tools: use GitHub Squash and Merge feature when using CQ (Antoine du Hamel) #40666
  • [50d102ec08] - tools: fix bug in prefer-primordials ESLint rule (Antoine du Hamel) #40628
  • [ec2cadef85] - tools: add script to update c-ares (Richard Lau) #40660
  • [5daa313215] - tools: notify user if format-md needs to be run (Rich Trott) #40647
  • [0787c781ce] - tools: abort CQ session when landing several commits (Antoine du Hamel) #40577
  • [ddc44ddfd9] - tools: fix commit-lint workflow (Antoine du Hamel) #40673
  • [47eddd7076] - tools: avoid unnecessary escaping in markdown formatter (Rich Trott) #40645
  • [c700de3705] - tools: avoid fetch extra commits when validating commit messages (Antoine du Hamel) #39128
  • [716963484b] - tools: update ESLint to 8.1.0 (Luigi Pinca) #40582
  • [9cb2116608] - tools: fix formatting of warning message in update-authors.js (Rich Trott) #40600
  • [507f1dbc8d] - tools: udpate doc tools to accommodate GFM footnotes (Rich Trott) #40477
  • [c2265a92c3] - tools: update license-builder.sh for OpenSSL (Rich Trott) #40540
  • [16624b404c] - tools,meta: remove exclusions from AUTHORS (Rich Trott) #40648
  • [a95e344fe5] - tty: support more CI services in getColorDepth (Richie Bendall) #40385
  • [b4194ff349] - typings: add more bindings typings (Mestery) #40415
  • [da859b56cb] - typings: add JSDoc typings for inspector (Voltrex) #38390
  • [90aa96dc44] - typings: improve internal bindings typings (Mestery) #40411
  • [1e9f3cc522] - typings: separate internalBinding typings (Mestery) #40409
  • [fbeb895ca6] - (SEMVER-MINOR) v8: multi-tenant promise hook api (Stephen Belanger) #39283

2021-10-20, Version 17.0.1 (Current), @targos

Notable Changes

Fixed distribution for native addon builds

This release fixes an issue introduced in Node.js v17.0.0, where some V8 headers were missing from the distributed tarball, making it impossible to build native addons. These headers are now included. #40526

Fixed stream issues

  • Fixed a regression in stream.promises.pipeline, which was introduced in version 16.10.0, is fixed. It is now possible again to pass an array of streams to the function. #40193
  • Fixed a bug in stream.Duplex.from, which didn't work properly when an async generator function was passed to it. #40499

Commits

2021-10-19, Version 17.0.0 (Current), @BethGriggs

Notable Changes

Deprecations and Removals

  • [f182b9b29f] - (SEMVER-MAJOR) dns: runtime deprecate type coercion of dns.lookup options (Antoine du Hamel) #39793
  • [4b030d0573] - doc: deprecate (doc-only) http abort related (dr-js) #36670
  • [36e2ffe6dc] - (SEMVER-MAJOR) module: subpath folder mappings EOL (Guy Bedford) #40121
  • [64287e4d45] - (SEMVER-MAJOR) module: runtime deprecate trailing slash patterns (Guy Bedford) #40117

OpenSSL 3.0

Node.js now includes OpenSSL 3.0, specifically quictls/openssl which provides QUIC support. With OpenSSL 3.0 FIPS support is again available using the new FIPS module. For details about how to build Node.js with FIPS support please see BUILDING.md.

While OpenSSL 3.0 APIs should be mostly compatible with those provided by OpenSSL 1.1.1, we do anticipate some ecosystem impact due to tightened restrictions on the allowed algorithms and key sizes.

If you hit an ERR_OSSL_EVP_UNSUPPORTED error in your application with Node.js 17, it’s likely that your application or a module you’re using is attempting to use an algorithm or key size which is no longer allowed by default with OpenSSL 3.0. A command-line option, --openssl-legacy-provider, has been added to revert to the legacy provider as a temporary workaround for these tightened restrictions.

For details about all the features in OpenSSL 3.0 please see the OpenSSL 3.0 release blog.

Contributed in nodejs#38512, nodejs#40478

V8 9.5

The V8 JavaScript engine is updated to V8 9.5. This release comes with additional supported types for the Intl.DisplayNames API and Extended timeZoneName options in the Intl.DateTimeFormat API.

You can read more details in the V8 9.5 release post - https://v8.dev/blog/v8-release-95.

Contributed by Michaël Zasso - nodejs#40178

Readline Promise API

The readline module provides an interface for reading data from a Readable stream (such as process.stdin) one line at a time.

The following simple example illustrates the basic use of the readline module:

import * as readline from 'node:readline/promises';
import { stdin as input, stdout as output } from 'process';

const rl = readline.createInterface({ input, output });

const answer = await rl.question('What do you think of Node.js? ');

console.log(`Thank you for your valuable feedback: ${answer}`);

rl.close();

Contributed by Antoine du Hamel - nodejs#37947

Other Notable Changes

  • [1b2749ecbe] - (SEMVER-MAJOR) dns: default to verbatim=true in dns.lookup() (treysis) #39987
  • [59d3d542d6] - (SEMVER-MAJOR) errors: print Node.js version on fatal exceptions that cause exit (Divlo) #38332
  • [a35b7e0427] - deps: upgrade npm to 8.1.0 (npm team) #40463
  • [6cd12be347] - (SEMVER-MINOR) fs: add FileHandle.prototype.readableWebStream() (James M Snell) #39331
  • [d0a898681f] - (SEMVER-MAJOR) lib: add structuredClone() global (Ethan Arrowood) #39759
  • [e4b1fb5e64] - (SEMVER-MAJOR) lib: expose DOMException as global (Khaidi Chu) #39176
  • [0738a2b7bd] - (SEMVER-MAJOR) stream: finished should error on errored stream (Robert Nagy) #39235

Semver-Major Commits

  • [9dfa30bdd5] - (SEMVER-MAJOR) build: compile with C++17 (MSVC) (Richard Lau) #38807
  • [9f0bc602e4] - (SEMVER-MAJOR) build: compile with --gnu++17 (Richard Lau) #38807
  • [62719c5fd2] - (SEMVER-MAJOR) deps: update V8 to 9.5.172.19 (Michaël Zasso) #40178
  • [66da32c045] - (SEMVER-MAJOR) deps,test,src,doc,tools: update to OpenSSL 3.0 (Daniel Bevenius) #38512
  • [40c6e838df] - (SEMVER-MAJOR) dgram: tighten address validation in socket.send (Voltrex) #39190
  • [f182b9b29f] - (SEMVER-MAJOR) dns: runtime deprecate type coercion of dns.lookup options (Antoine du Hamel) #39793
  • [1b2749ecbe] - (SEMVER-MAJOR) dns: default to verbatim=true in dns.lookup() (treysis) #39987
  • [ae876d420c] - (SEMVER-MAJOR) doc: update minimum supported FreeBSD to 12.2 (Michaël Zasso) #40179
  • [59d3d542d6] - (SEMVER-MAJOR) errors: print Node.js version on fatal exceptions that cause exit (Divlo) #38332
  • [f9447b71a6] - (SEMVER-MAJOR) fs: fix rmsync error swallowing (Nitzan Uziely) #38684
  • [f27b7cf95c] - (SEMVER-MAJOR) fs: aggregate errors in fsPromises to avoid error swallowing (Nitzan Uziely) #38259
  • [d0a898681f] - (SEMVER-MAJOR) lib: add structuredClone() global (Ethan Arrowood) #39759
  • [e4b1fb5e64] - (SEMVER-MAJOR) lib: expose DOMException as global (Khaidi Chu) #39176
  • [36e2ffe6dc] - (SEMVER-MAJOR) module: subpath folder mappings EOL (Guy Bedford) #40121
  • [64287e4d45] - (SEMVER-MAJOR) module: runtime deprecate trailing slash patterns (Guy Bedford) #40117
  • [707dd77d86] - (SEMVER-MAJOR) readline: validate AbortSignals and remove unused event listeners (Antoine du Hamel) #37947
  • [8122d243ae] - (SEMVER-MAJOR) readline: introduce promise-based API (Antoine du Hamel) #37947
  • [592d1c3d44] - (SEMVER-MAJOR) readline: refactor Interface to ES2015 class (Antoine du Hamel) #37947
  • [3f619407fe] - (SEMVER-MAJOR) src: allow CAP_NET_BIND_SERVICE in SafeGetenv (Daniel Bevenius) #37727
  • [0a7f850123] - (SEMVER-MAJOR) src: return Maybe from a couple of functions (Darshan Sen) #39603
  • [bdaf51bae7] - (SEMVER-MAJOR) src: allow custom PageAllocator in NodePlatform (Shelley Vohr) #38362
  • [0c6f345cda] - (SEMVER-MAJOR) stream: fix highwatermark threshold and add the missing error (Rongjian Zhang) #38700
  • [0e841b45c2] - (SEMVER-MAJOR) stream: don't emit 'data' after 'error' or 'close' (Robert Nagy) #39639
  • [ef992f6de9] - (SEMVER-MAJOR) stream: do not emit end on readable error (Szymon Marczak) #39607
  • [efd40eadab] - (SEMVER-MAJOR) stream: forward errored to callback (Robert Nagy) #39364
  • [09d8c0c8d2] - (SEMVER-MAJOR) stream: destroy readable on read error (Robert Nagy) #39342
  • [a5dec3a470] - (SEMVER-MAJOR) stream: validate abort signal (Robert Nagy) #39346
  • [bb275ef2a4] - (SEMVER-MAJOR) stream: unify stream utils (Robert Nagy) #39294
  • [b2ae12d422] - (SEMVER-MAJOR) stream: throw on premature close in Readable[AsyncIterator] (Darshan Sen) #39117
  • [0738a2b7bd] - (SEMVER-MAJOR) stream: finished should error on errored stream (Robert Nagy) #39235
  • [954217adda] - (SEMVER-MAJOR) stream: error Duplex write/read if not writable/readable (Robert Nagy) #34385
  • [f4609bdf3f] - (SEMVER-MAJOR) stream: bypass legacy destroy for pipeline and async iteration (Robert Nagy) #38505
  • [e1e669b109] - (SEMVER-MAJOR) url: throw invalid this on detached accessors (James M Snell) #39752
  • [70157b9cb7] - (SEMVER-MAJOR) url: forbid certain confusable changes from being introduced by toASCII (Timothy Gu) #38631

Semver-Minor Commits

  • [6cd12be347] - (SEMVER-MINOR) fs: add FileHandle.prototype.readableWebStream() (James M Snell) #39331
  • [341312d78a] - (SEMVER-MINOR) readline: add autoCommit option (Antoine du Hamel) #37947
  • [1d2f37d970] - (SEMVER-MINOR) src: add --openssl-legacy-provider option (Daniel Bevenius) #40478
  • [3b72788afb] - (SEMVER-MINOR) src: add flags for controlling process behavior (Cheng Zhao) #40339
  • [8306051001] - (SEMVER-MINOR) stream: add readableDidRead (Robert Nagy) #36820
  • [08ffbd115e] - (SEMVER-MINOR) vm: add support for import assertions in dynamic imports (Antoine du Hamel) #40249

Semver-Patch Commits