Update Node.js to v17
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
node | stage | major |
16.13.1-alpine3.13 -> 17.2.0-alpine3.13
|
Release Notes
nodejs/node
v17.2.0
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
- [
48157c44c2
] - Revert "async_hooks: merge resource_symbol with owner_symbol" (Darshan Sen) #40741 - [
4a971f67e4
] - async_hooks: eliminate require side effects (Stephen Belanger) #40782 - [
06916490af
] - (SEMVER-MINOR) async_hooks: expose async_wrap providers (Rafael Gonzaga) #40760 - [
65b33ba510
] - build: remove extraneous quotation marks from commit body (Rich Trott) #40963 - [
05d652a555
] - build: fix branch name for lint-md-dependencies update (Rich Trott) #40924 - [
1482c4415f
] - build: fixmake
invocation in tools.yml (Rich Trott) #40890 - [
69de8c8143
] - build: reset embedder string to "-node.0" (Michaël Zasso) #40488 - [
e793331322
] - build: fix tools.yml errors (Rich Trott) #40870 - [
51ac59b047
] - build: add GitHub Action to update tools modules (Rich Trott) #40644 - [
a8cc8b6554
] - crypto: trim input for NETSCAPE_SPKI_b64_decode (Shelley Vohr) #40757 - [
2979c58fb0
] - crypto: throw errors in SignTraits::DeriveBits (Tobias Nießen) #40796 - [
7f5931d03f
] - crypto: fix build without scrypt (Martin Jansa) #40613 - [
90f35fc329
] - deps: upgrade npm to 8.1.4 (npm team) #40865 - [
d461603d71
] - deps: V8: cherry-pickcced52a
(Ray Wang) #40656 - [
d6ae50ff96
] - deps: V8: cherry-pick7ae0b77
(Ray Wang) #40882 - [
e60053deee
] - deps: V8: cherry-pick2a0bc36
(Michaël Zasso) #40178 - [
94acaae3d4
] - deps: V8: patch jinja2 for Python 3.10 compat (Michaël Zasso) #40296 - [
37c9828d39
] - deps: disable trap handler for Windows cross-compiler (Michaël Zasso) #40488 - [
dfb97fb501
] - deps: silence irrelevant V8 warning (Michaël Zasso) #38990 - [
9ecf4be0c2
] - deps: silence irrelevant V8 warning (Michaël Zasso) #37587 - [
82a8736dec
] - deps: fix V8 build issue with inline methods (Jiawen Geng) #38807 - [
eab5ef5505
] - deps: make v8.h compatible with VS2015 (Joao Reis) #32116 - [
d6e5dd56ff
] - deps: V8: forward declaration ofRtl*FunctionTable
(Refael Ackermann) #32116 - [
29a6e15480
] - deps: V8: patch register-arm64.h (Refael Ackermann) #32116 - [
1ff83c4945
] - deps: V8: un-cherry-pickbd019bd
(Refael Ackermann) #32116 - [
371ee64c92
] - (SEMVER-MINOR) deps: update V8 to 9.6.180.14 (Michaël Zasso) #40488 - [
6506a42c16
] - deps: V8: cherry-pickcced52a
(Ray Wang) #40656 - [
a612ecb42f
] - deps: V8: cherry-pick7ae0b77
(Ray Wang) #40882 - [
b46184df5e
] - deps: update to uvwasi 0.0.12 (Colin Ihrig) #40847 - [
fa37428472
] - deps: add -fno-strict-aliasing flag to libuv (Daniel Bevenius) #40631 - [
9711ccfe08
] - deps: upgrade npm to 8.1.3 (npm team) #40726 - [
8e525634c6
] - deps: update ICU to 70.1 (Michaël Zasso) #40658 - [
3bfc9f5b47
] - doc: add information on suppressing initial break in debugger (Rich Trott) #40960 - [
8966ab3c57
] - doc: improve grammar in API description (Tobias Nießen) #40959 - [
130777a61c
] - doc: update BUILDING.md section on running tests (Rich Trott) #40933 - [
6e9b6652e5
] - doc: remove experimental abortcontroller flag (FrankQiu) #38968 - [
b92416ff02
] - doc: fix spelling of 'WebAssembly' (Geoffrey Booth) #40785 - [
cf495a6293
] - doc: clarify more optional parameters in node-api (Michael Dawson) #40888 - [
694012b392
] - doc: define "types", "deno" community conditions (Guy Bedford) #40708 - [
4c47b0150b
] - doc: document optional params in napi_get_cb_info (Michael Dawson) #40821 - [
dfdf68f4d0
] - doc: improve README.md lede section (Rich Trott) #40837 - [
9c200e1de4
] - doc: add pref to using draft MR versus WIP label (Michael Dawson) #40824 - [
fe2cd09750
] - doc: fixadded:
info forReadable.fromWeb()
(Luigi Pinca) #40820 - [
c91a9ab095
] - doc: tweak guidance for modules in core (Michael Dawson) #40601 - [
2ea08e9b55
] - doc: claim ABI version for Electron 18 (Keeley Hammond) #40768 - [
8166b07ddc
] - doc: fix transform stream example (Evan Lucas) #40777 - [
5ceb06cddf
] - doc: fix linter-enforced formatting in crypto.md (Mohammed Keyvanzadeh) #40780 - [
d3070d8eea
] - doc: fix corepack grammar for--force
flag (Steven) #40762 - [
9271f23e3a
] - doc: update maintaining ICU guide (Michaël Zasso) #40658 - [
20d7d657bb
] - doc: clarify getAuthTag with authTagLength (Tobias Nießen) #40713 - [
75288fbc6b
] - doc: fix order of announce work (Michael Dawson) #40725 - [
429915aa6c
] - doc: add initial list of technical priorities (Michael Dawson) #40235 - [
a5a1691514
] - fs: nullish coalescing to respect zero positional reads (Omar El-Mihilmy) #40716 - [
bddb4c69b7
] - http: add missing initialization (Michael Dawson) #40555 - [
80ce97f514
] - http: change totalSocketCount only on socket creation/close (Subhi Al Hasan) #40572 - [
675c210b04
] - (SEMVER-MINOR) lib: add reason to AbortSignal (James M Snell) #40807 - [
b614b17525
] - Revert "lib: use helper for readability" (Darshan Sen) #40741 - [
10a842d2d1
] - lib: fix typos in lib code comments (Yoshiki) #40792 - [
3ec78d1570
] - meta: add feature request label for issue template (Mestery) #40970 - [
9c897b69a1
] - meta: update AUTHORS (Node.js GitHub Bot) #40900 - [
dfc6fc987a
] - meta: update name and email (Viero Fernando) #40848 - [
813cf746a8
] - meta: update AUTHORS (Node.js GitHub Bot) #40809 - [
e451ec9ec1
] - meta: edit GOVERNANCE.md for minor updates (Rich Trott) #40798 - [
2536be7528
] - meta: update AUTHORS (Node.js GitHub Bot) #40748 - [
3c8aa211cd
] - module: import assertions improvements (Geoffrey Booth) #40785 - [
3a4f3873be
] - process: support hrtime in the snapshot (Joyee Cheung) #40649 - [
1555dbdddc
] - repl: fix and extend require/import tab complete (Mestery) #40216 - [
c2259c974b
] - src: reset error struct if error code is napi_ok (JckXia) #40552 - [
3be49d6853
] - src: prevent extra copies ofTimerWrap::TimerCb
(Darshan Sen) #40665 - [
0de2850680
] - (SEMVER-MINOR) src: add x509.fingerprint512 to crypto module (3nprob) #39809 - [
924d29e88f
] - src: add and fix some preprocessor comments (Tobias Nießen) #40701 - [
acbd8220a7
] - src,crypto: useByteSource::ToBuffer()
incrypto_dh
(Darshan Sen) #40903 - [
82b422663d
] - src,crypto: removeAllocatedBuffer
s fromcrypto_spkac
(Darshan Sen) #40752 - [
415b42fbdf
] - src,crypto: refactorcrypto_tls.*
(Darshan Sen) #40675 - [
88b57bc9d3
] - src,doc: add SyntaxError napi support (Idan Attias) #40736 - [
70bd90e039
] - stream: stricter isReadableNodeStream (Robert Nagy) #40941 - [
86d1c0b19d
] - stream: drain Transform with 0 highWaterMark (Robert Nagy) #40947 - [
fa9b5c35d2
] - stream: deprecate thenable support (Antoine du Hamel) #40860 - [
dc99ae3bd6
] - stream: fix the ReadableStreamBYOBReader error message (James M Snell) #40846 - [
650c9bd022
] - stream: pipeline with end option (Robert Nagy) #40886 - [
534409d4e7
] - stream: fix finished regression when working with legacy Stream (Matteo Collina) #40858 - [
16ee8423d6
] - stream: pipeline should drain empty readable (Robert Nagy) #40654 - [
7d127d2fc1
] - stream: fix non readable Duplex readableAborted (Robert Nagy) #40801 - [
7c4f9a34ae
] - stream: allow calling callback before promise (Robert Nagy) #40772 - [
62171eb516
] - test: mark test-fs-watch-non-recursive flaky on Windows (Luigi Pinca) #40916 - [
ae12a609a5
] - test: improve test coverage of readline/promises (Yoshiki Kurihara) #40876 - [
4288c6a26e
] - test: deflake cluster-concurrent-disconnect (Luigi Pinca) #40877 - [
009ab4d9bb
] - test: deflake fs-promises-watch (Luigi Pinca) #40863 - [
522a30f469
] - test: fix argument order in assertion (Luigi Pinca) #40842 - [
b190b0e77b
] - test: deflake http2-pipe-named-pipe (Luigi Pinca) #40842 - [
c485460793
] - test: use descriptive name for destination file (Luigi Pinca) #40842 - [
43e86508ae
] - test: add AsyncLocalStorage tests using udp, tcp and tls sockets (Darshan Sen) #40741 - [
896073be47
] - test: deflake child-process-pipe-dataflow (Luigi Pinca) #40838 - [
150c0f1b76
] - test: add tests for invalid UTF-8 (git-srinivas) #40351 - [
3d896231cd
] - test: fix flaky test-policy-integrity (Rich Trott) #40763 - [
dc9e68899d
] - test: add semicolons for linter update (Rich Trott) #40720 - [
747247bc59
] - tools: update gyp-next to v0.10.1 (Michaël Zasso) #40934 - [
6ebbd0d9dc
] - tools: fix commit-lint GH Actions CI (Antoine du Hamel) #40845 - [
0201f3f604
] - tools: ping TSC members identified as inactive (Rich Trott) #40915 - [
22265e3fb6
] - tools: update lint-md-dependencies to rollup@2.60.1 (Node.js GitHub Bot) #40929 - [
3d593aa4ed
] - tools: update lint-md dependencies (Rich Trott) #40894 - [
e674f61720
] - tools: update ESLint to 8.3.0 (Luigi Pinca) #40917 - [
878ba91bf6
] - tools: add find-inactive-tsc (Rich Trott) #40884 - [
d97ad3080f
] - tools: disable trap handler for Windows cross-compiler (Michaël Zasso) #40488 - [
e3f8988118
] - tools: update V8 gypfiles for 9.6 (Michaël Zasso) #40488 - [
de4d0180dc
] - tools: update @babel/eslint-parser to 7.16.3 (Node.js GitHub Bot) #40889 - [
727b34ec95
] - tools: only validate first commit message of a MR (Antoine du Hamel) #40740 - [
5b08e908ea
] - tools: update babel-eslint-parser to 7.16.0 (Rich Trott) #40720 - [
30623c283a
] - tools: improve update scripts (Rich Trott) #40644
v17.1.0
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-pick422dc37
(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: fixfs.symlink
code example (Juan José Arboleda) #40414 - [
404730ac1b
] - doc: update for changed--dns-result-order
default (Richard Lau) #40538 - [
acc22c7c4a
] - doc: add missing entry inglobals.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 ofAllocatedBuffer
fromnode_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: usestd::variant
in DH params (Darshan Sen) #40457 - [
4433852f62
] - src,crypto: removeAllocatedBuffer
fromcrypto_cipher.cc
(Darshan Sen) #40400 - [
814126c3ed
] - src,fs: removeToLocalChecked()
call fromfs::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: testcrypto.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 MR 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 inprefer-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 ingetColorDepth
(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: separateinternalBinding
typings (Mestery) #40409 - [
fbeb895ca6
] - (SEMVER-MINOR) v8: multi-tenant promise hook api (Stephen Belanger) #39283
v17.0.1
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
- [
3f033556c3
] - build: include missing V8 headers in distribution (Michaël Zasso) #40526 - [
adbd92ef1d
] - crypto: avoid double free (Michael Dawson) #40380 - [
8dce85aadc
] - doc: format doc/api/*.md with markdown formatter (Rich Trott) #40403 - [
977016a72f
] - doc: specify that maxFreeSockets is per host (Luigi Pinca) #40483 - [
f9f2442739
] - src: add missing inialization in agent.h (Michael Dawson) #40379 - [
111f0bd9b6
] - stream: fix fromAsyncGen (Robert Nagy) #40499 - [
b84f101049
] - stream: support array of streams in promises pipeline (Mestery) #40193 - [
3f7c503b69
] - test: adjust CLI flags test to ignore blank lines in doc (Rich Trott) #40403 - [
7c42d9fcc6
] - test: split test-crypto-dh.js (Joyee Cheung) #40451
v17.0.0
Notable Changes
Deprecations and Removals
- [
f182b9b29f
] - (SEMVER-MAJOR) dns: runtime deprecate type coercion ofdns.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 https://github.com/nodejs/node/pull/38512, https://github.com/nodejs/node/pull/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 - https://github.com/nodejs/node/pull/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 - https://github.com/nodejs/node/pull/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: exposeDOMException
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: tightenaddress
validation insocket.send
(Voltrex) #39190 - [
f182b9b29f
] - (SEMVER-MAJOR) dns: runtime deprecate type coercion ofdns.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: exposeDOMException
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: validateAbortSignal
s 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: refactorInterface
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 emitend
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: addautoCommit
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
- [
ed01811e71
] - benchmark: increase crypto DSA keygen params (Brian White) #40416 - [
cb93fdbba5
] - build: reset embedder string to "-node.0" (Michaël Zasso) #40178 - [
ed76b49834
] - build: fix actions pull request's branch (Mestery) #40494 - [
6baea14506
] - build: avoid run find inactive authors on forked repo (Jiawen Geng) #40465 - [
f9996d5b80
] - build: include new public V8 headers in distribution (Michaël Zasso) #40423 - [
983b757f3f
] - build: update codeowners-validator to 0.6 (FrankQiu) #40307 - [
73c3885e10
] - build: remove duplicate check for authors.yml (Rich Trott) #40393 - [
92090d3435
] - build: make scripts in gyp run with right python (Cheng Zhao) #39730 - [
28f711b552
] - crypto: remove incorrect constructor invocation (gc) #40300 - [
228e703ded
] - deps: workaround debug link error on Windows (Richard Lau) #38807 - [
a35b7e0427
] - deps: upgrade npm to 8.1.0 (npm team) #40463 - [
d434c5382a
] - deps: regenerate OpenSSL arch files (Daniel Bevenius) #40478 - [
2cebd5f02b
] - deps: add missing legacyprov.c source (Daniel Bevenius) #40478 - [
bf82dcd5ba
] - deps: patch V8 to 9.5.172.21 (Michaël Zasso) #40432 - [
795108a63d
] - deps: V8: make V8 9.5 ABI-compatible with 9.6 (Michaël Zasso) #40422 - [
5d7bd8616e
] - deps: suppress zlib compiler warnings (Daniel Bevenius) #40343 - [
fe84cd453d
] - deps: upgrade Corepack to 0.10 (Maël Nison) #40374 - [
2d503ed3ff
] - deps: V8: backport239898e
(Felix Yan) #39827 - [
c9296b190f
] - deps: V8: cherry-pick2a0bc36
(Michaël Zasso) #40178 - [
5b358370ad
] - deps: V8: cherry-pickcf21eb3
(Michaël Zasso) #40178 - [
228e703ded
] - deps: workaround debug link error on Windows (Richard Lau) #38807 - [
cca9b95523
] - dgram: addnread
assertion toUDPWrap::OnRecv
(Darshan Sen) #40295 - [
7c77db0243
] - dns: refactor and use validators (Voltrex) #40022 - [
a278117f28
] - doc: update Collaborator guide to reflect GitHub web UI update (Antoine du Hamel) #40456 - [
4cf5563147
] - doc: indicate n-api out params that may be NULL (Isaac Brodsky) #40371 - [
15ce81a464
] - doc: remove ESLint comments which were breaking the CJS/ESM toggles (Mark Skelton) #40408 - [
54a85d6bb5
] - doc: add pronouns for tniessen to README (Tobias Nießen) #40412 - [
40db88b7b5
] - doc: format changelogs (Rich Trott) #40388 - [
4f68839910
] - doc: fix missing variable in deepStrictEqual example (OliverOdo) #40396 - [
ca6adcf37e
] - doc: fix asyncLocalStorage.run() description (Constantine Kim) #40381 - [
7dd3adf6dd
] - doc: fix typos in n-api docs (Ignacio Carbajo) #40402 - [
eb65871ab4
] - doc: format doc/guides using format-md task (Rich Trott) #40358 - [
0d50dfdf61
] - doc: improve phrasing in fs.md (Arslan Ali) #40255 - [
7723148758
] - doc: add link to core promises tracking issue (Michael Dawson) #40355 - [
ccee352630
] - doc: esm resolver spec refactoring for deprecations (Guy Bedford) #40314 - [
1fc1b0f5f2
] - doc: claim ABI version for Electron v17 (Milan Burda) #40320 - [
0d2b6aca60
] - doc: assign missing deprecation number (Michaël Zasso) #40324 - [
4bd8e0efa0
] - doc: fix typo in ESM example (Tobias Nießen) #40275 - [
03d25fe816
] - doc: fix typo in esm.md (Mason Malone) #40273 - [
6199441b00
] - doc: correct ESM load hook table header (Jacob) #40234 - [
78962d1ca1
] - doc: mark readline promise implementation as experimental (Antoine du Hamel) #40211 - [
4b030d0573
] - doc: deprecate (doc-only) http abort related (dr-js) #36670 - [
bbd4c6eee9
] - doc: claim ABI version for Electron v15 and v16 (Samuel Attard) #39950 - [
3e774a0500
] - doc: fix history forfs.WriteStream
open
event (Antoine du Hamel) #39972 - [
6fdd5827f0
] - doc: anchor link parity between markdown and html-generated docs (foxxyz) #39304 - [
7b7a0331f4
] - doc: reset added: version to REPLACEME (Luigi Pinca) #39901 - [
58257b7c61
] - doc: fix typo in webstreams.md (Luigi Pinca) #39898 - [
df22736d80
] - esm: consolidate ESM loader hooks (Jacob) #37468 - [
ac4f5e2437
] - lib: refactor to use let (gdccwxx) #40364 - [
3d11bafaa0
] - lib: make structuredClone spec compliant (voltrexmaster) #40251 - [
48655e17e1
] - lib,url: correct URL's argument to pass idlharness (Khaidi Chu) #39848 - [
c0a70203de
] - meta: update AUTHORS (Node.js GitHub Bot) #40485 - [
cbc7b5d424
] - meta: consolidate AUTHORS entries for emanuelbuholzer (Rich Trott) #40469 - [
881174e016
] - meta: consolidate AUTHORS entries for ebickle (Rich Trott) #40447 - [
b80b85e130
] - meta: addtypings
to label-pr-config (Mestery) #40401 - [
95cf944736
] - meta: consolidate AUTHORS entries for evantorrie (Rich Trott) #40430 - [
c350c217f4
] - meta: consolidate AUTHORS entries for gabrielschulhof (Rich Trott) #40420 - [
a9411891cf
] - meta: consolidate AUTHORS information for geirha (Rich Trott) #40406 - [
0cc37209fa
] - meta: consolidate duplicate AUTHORS entries for hassaanp (Rich Trott) #40391 - [
49b7ec96a4
] - meta: update AUTHORS (Node.js GitHub Bot) #40392 - [
a3c0713d9e
] - meta: consolidate AUTHORS entry for thw0rted (Rich Trott) #40387 - [
eaa59571e0
] - meta: update label-pr-config (Mestery) #40199 - [
6a205d7a56
] - meta: use .mailmap to consolidate AUTHORS entries for ide (Rich Trott) #40367 - [
f570109094
] - net: check if option is undefined (Daijiro Wachi) #40344 - [
119558b6a2
] - net: remove unused ObjectKeys (Daijiro Wachi) #40344 - [
c7cd8ef6c6
] - net: check objectMode first and then readble || writable (Daijiro Wachi) #40344 - [
46446623f5
] - net: throw error to object mode in Socket (Daijiro Wachi) #40344 - [
38aa7cc7c7
] - src: get embedder options on-demand (Joyee Cheung) #40357 - [
ad4e70c817
] - src: ensure V8 initialized before marking milestone (Shelley Vohr) #40405 - [
a784258444
] - src: remove usage ofAllocatedBuffer
fromstream_*
(Darshan Sen) #40293 - [
f11493dfc9
] - src: add missing initialization (Michael Dawson) #40370 - [
5e248eceb6
] - src: update NODE_MODULE_VERSION to 102 (Michaël Zasso) #40178 - [
3f0b62375b
] - stream: convert premature close to AbortError (Robert Nagy) #39524 - [
79f4d5a345
] - stream: fix toWeb typo (Robert Nagy) #39496 - [
44ee6c2623
] - stream: call done() in consistent fashion (Rich Trott) #39475 - [
09ad64d66d
] - stream: add CompressionStream and DecompressionStream (James M Snell) #39348 - [
a99c230305
] - stream: implement streams to webstreams adapters (James M Snell) #39134 - [
a5ba28dda2
] - stream: fix performance regression (Brian White) #39254 - [
ce00381751
] - stream: use finished for async iteration (Robert Nagy) #39282 - [
e0faf8c3e9
] - test: replace common port with specific number (Daijiro Wachi) #40344 - [
8068f40313
] - test: fix typos in whatwg-webstreams explanations (Tobias Nießen) #40389 - [
eafdeab97b
] - test: add test for readStream.path when fd is specified (Qingyu Deng) #40359 - [
24f045dae2
] - test: replace .then chains with await (gdccwxx) #40348 - [
5b4ba52786
] - test: fix "test/common/debugger" identify async function (gdccwxx) #40348 - [
1d84e916d6
] - test: improve test coverage offs.ReadStream
withFileHandle
(Antoine du Hamel) #40018 - [
b63e449b2e
] - test: pass URL's toascii.window.js WPT (Khaidi Chu) #39910 - [
842fd234b7
] - test: adapt test-repl to V8 9.5 (Michaël Zasso) #40178 - [
d7b9b9f8d7
] - test: remove test-v8-untrusted-code-mitigations (Ross McIlroy) #40178 - [
7624917069
] - tools: update tools/lint-md dependencies to support GFM footnotes (Rich Trott) #40445 - [
350a95b89f
] - tools: update lint-md dependencies (Rich Trott) #40404 - [
012152d7d6
] - tools: udpate @babel/eslint-parser (Rich Trott) #40394 - [
43c780e741
] - tools: remove @babel/plugin-syntax-import-assertions (Rich Trott) #40394 - [
b39db95737
] - tools: remove @bable/plugin-syntax-class-properties (Rich Trott) #40394 - [
a6fd39f44f
] - tools: remove @babel/plugin-syntax-top-level-await (Rich Trott) #40394 - [
8ca76eba73
] - tools: update ESLint to 8.0.0 (Rich Trott) #40394 - [
dd8e219d71
] - tools: prepare ESLint rules for 8.0.0 requirements (Rich Trott) #40394 - [
0a1b399781
] - tools: fix ESLint update scripts (Rich Trott) #40394 - [
d6d6b050ff
] - tools: warn about duplicates when generating AUTHORS file (Rich Trott) #40304 - [
1fd984581c
] - tools: update V8 gypfiles for 9.5 (Michaël Zasso) #40178 - [
a8a86387fa
] - tty: enable buffering (Robert Nagy) #39253 - [
9467cbadcb
] - typings: define types for os binding (Michaël Zasso) #40222 - [
70a5b86049
] - typings: add missing types to options and util bindings (Michaël Zasso) #40222 - [
3815a21beb
] - typings: define types for timers binding (Michaël Zasso) #40222 - [
9e64336fbf
] - typings: fix declaration of primordials (Michaël Zasso) #40222 - [
f581f6da94
] - url: fix performance regression (Brian White) #39778 - [
02de40246f
] - v8: remove --harmony-top-level-await (Geoffrey Booth) #40226
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.