-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v19.5.0 proposal #46286
v19.5.0 proposal #46286
Conversation
PR-URL: #46193 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Rich Trott <[email protected]>
PR-URL: #46242 Reviewed-By: Ruy Adorno <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
fixup: add support for `Object.create(null)` fixup: extend to any 1-argument Object.create call fixup: add tests PR-URL: #46083 Backport-PR-URL: #46239 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #45982 Backport-PR-URL: #46240 Fixes: #45699 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Paolo Insogna <[email protected]>
PR-URL: #44445 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
PR-URL: #46037 Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]>
PR-URL: #46041 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Paolo Insogna <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]>
This change reduces the number of calls that were crossing the JS-C++ boundary to 1 and also removes the need for calling Array::New() multiple times internally and ArrayPrototypeConcat-ing the results later on, thus improving performance. Refs: #44445 (review) Signed-off-by: Darshan Sen <[email protected]> PR-URL: #46014 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
PR-URL: #46043 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
The lint rule recommends destructuring console out of the internal/console/global.js export. However, that does not exist. The top level export is actually the console object. PR-URL: #46044 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
The console object was not being frozen because the intrinsic freezing code was accessing undefined instead of the console object. PR-URL: #46044 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
In WPT Events, TypeError is expected if both listener and signal are null. But checking listener doesn't throw TypeError. So check signal before listener because checking signal throws TypeError if signal is null. PR-URL: #46054 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Minwoo Jung <[email protected]>
napi_add_finalizer doesn't support any operations related to napi_wrap. Remove the ambiguous statements in the doc about napi_wrap and avoid reusing the v8impl::Wrap call. PR-URL: #45401 Reviewed-By: Michael Dawson <[email protected]>
PR-URL: #46059 Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Minwoo Jung <[email protected]>
Symbol is described with argument, but argument of Symbol.for is ommited. So describe argument of Symbol.for for consistency. Refs: https://github.com/nodejs/node/blob/main/doc/contributing/using-symbols.md#symbolstring PR-URL: #46019 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
We do not enforce signing off by any code owners when landing PRs. PR-URL: #45944 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Danielle Adams <[email protected]>
Make the `update-eslint.sh` script work with `npm@9`. PR-URL: #46088 Refs: https://github.com/nodejs/node/actions/runs/3814364920/jobs/6488613583#step:3:64 Reviewed-By: Ruy Adorno <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Move the `update-eslint.sh` script to the `dep_updaters/` directory. PR-URL: #46088 Refs: https://github.com/nodejs/node/actions/runs/3814364920/jobs/6488613583#step:3:64 Reviewed-By: Ruy Adorno <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #46089 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ruy Adorno <[email protected]> Reviewed-By: Beth Griggs <[email protected]>
PR-URL: #46090 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Beth Griggs <[email protected]>
PR-URL: #46118 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
PR-URL: #46064 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Actual output of promise example in inspector is mismatched. PR-URL: #46073 Reviewed-By: Kohei Ueno <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Setter of `event.cancelBubble` is a no-op if the value passed to it is not `true`. Refs: https://dom.spec.whatwg.org/#interface-event PR-URL: #45986 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Fixes: #46036 PR-URL: #46072 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
PR-URL: #46076 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
ImmeidateInfo -> ImmediateInfo PR-URL: #46103 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
`event.srcElement` is described as legacy in spec. Refs: https://dom.spec.whatwg.org/#interface-event PR-URL: #46085 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #46106 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Refs: #46061 (comment) PR-URL: #46108 Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
Notable changes: * http: * (SEMVER-MINOR) join authorization headers (Marco Ippolito) [#45982](#45982) * lib: * add webstreams to Duplex.from() (Debadree Chatterjee) [#46190](#46190) * stream: * implement finished() for ReadableStream and WritableStream (Debadree Chatterjee) [#46205](#46205) PR-URL: #46286 Signed-off-by: RafaelGSS <[email protected]>
ecb598d
to
17145d8
Compare
This comment was marked as outdated.
This comment was marked as outdated.
Notable changes: * http: * (SEMVER-MINOR) join authorization headers (Marco Ippolito) [#45982](#45982) * lib: * add webstreams to Duplex.from() (Debadree Chatterjee) [#46190](#46190) * stream: * implement finished() for ReadableStream and WritableStream (Debadree Chatterjee) [#46205](#46205) PR-URL: #46286 Signed-off-by: RafaelGSS <[email protected]>
17145d8
to
07c9241
Compare
This comment was marked as outdated.
This comment was marked as outdated.
CI: https://ci.nodejs.org/job/node-test-pull-request/49113/ ✔️ CITGM Results ✔️FAILURE: 15 failures in 3077 not present in 3081
┌────────────────────────┬───────────────────────┬───────────────────────┬───────────────────┬────────────────┬───────────────┬───────────────┐
│ (index) │ 0 │ 1 │ 2 │ 3 │ 4 │ 5 │
├────────────────────────┼───────────────────────┼───────────────────────┼───────────────────┼────────────────┼───────────────┼───────────────┤
│ rhel8-x64 │ │ │ │ │ │ │
│ win-vs2019 │ │ │ │ │ │ │
│ rhel8-ppc64le │ 'async-v3.2.4' │ 'gulp-util' │ 'inherits-v2.0.4' │ 'level-v8.0.0' │ 'pump-v3.0.0' │ 'tape-v5.6.3' │
│ osx1015 │ 'tough-cookie-v4.1.2' │ │ │ │ │ │
│ ubuntu1804-64 │ 'async-v3.2.4' │ │ │ │ │ │
│ rhel8-s390x │ │ │ │ │ │ │
│ aix72-ppc64 │ 'async-v3.2.4' │ 'tough-cookie-v4.1.2' │ │ │ │ │
│ debian10-x64 │ 'bcrypt-v5.1.0' │ 'fastify-v4.11.0' │ 'pino-v8.8.0' │ 'pump-v3.0.0' │ │ │
│ fedora-last-latest-x64 │ 'tough-cookie-v4.1.2' │ │ │ │ │ │
└────────────────────────┴───────────────────────┴───────────────────────┴───────────────────┴────────────────┴───────────────┴───────────────┘ |
I can't see mention of the test runner reporters in this proposal, will they be included in the v19.5.0 release? Per previous v19.4.0 discussion: #46061 (comment) . |
@jaydenseric check dis out #46092 (comment) 👀 |
super small and optional but if for some reason you decide to amend the release commit, it would be nice to remove the markdown format from the PRs linked in the commit message. |
Notable changes: * http: * (SEMVER-MINOR) join authorization headers (Marco Ippolito) [#45982](#45982) * lib: * add webstreams to Duplex.from() (Debadree Chatterjee) [#46190](#46190) * stream: * implement finished() for ReadableStream and WritableStream (Debadree Chatterjee) [#46205](#46205) PR-URL: #46286 Signed-off-by: RafaelGSS <[email protected]>
2023-01-24, Version 19.5.0 (Current), @RafaelGSS
Notable Changes
Commits
def36946da
] - assert: removeassert.snapshot
(Moshe Atlow) #46112e1c56ec3fd
] - benchmark,tools: use os.availableParallelism() (Deokjin Kim) #46003370f621d4d
] - build: add extra semi check (Jiawen Geng) #46194476c6f892d
] - crypto: avoid hang when no algorithm available (Richard Lau) #462378b22310940
] - (SEMVER-MINOR) crypto: add CryptoKey Symbol.toStringTag (Filip Skokan) #4604278be87b9f9
] - crypto: add cipher update/final methods encoding validation (vitpavlenko) #45990dc0cdaa101
] - crypto: ensure auth tag set for chacha20-poly1305 (Ben Noordhuis) #461851146f02dc5
] - crypto: return correct bit length in KeyObject's asymmetricKeyDetails (Filip Skokan) #46106961710bb72
] - (SEMVER-MINOR) crypto: add KeyObject Symbol.toStringTag (Filip Skokan) #460439cfdac6c82
] - deps: V8: cherry-pick e39af94dd18e (Lu Yahan) #4614226cde8efb7
] - deps: update simdutf to 3.1.0 (Node.js GitHub Bot) #462573f9fb37130
] - deps: cherrypick simdutf patch (Jiawen Geng) #461944ff2822836
] - deps: bump googletest to 2023.01.13 (Jiawen Geng) #4619849556247d2
] - deps: add /deps/**/.github/ to .gitignore (Luigi Pinca) #460910c4df83e0d
] - deps: add simdutf version to metadata (Mike Roth) #4614569aafc3ddd
] - deps: update simdutf to 2.1.0 (Node.js GitHub Bot) #46128a266daccb5
] - deps: update corepack to 0.15.3 (Node.js GitHub Bot) #460376cd70573eb
] - deps: upgrade npm to 9.3.1 (npm team) #46242679aae2da8
] - deps: upgrade npm to 9.3.0 (npm team) #4619338dd5061f2
] - dgram: sync the old handle state to new handle (theanarkh) #46041e36af49b35
] - doc: fix mismatched arguments ofNodeEventTarget
(Deokjin Kim) #4567858b836f7c4
] - doc: update events API example to have runnable code (Deokjin Kim) #457605c350298b4
] - doc: add note to tls docs about secureContext availability (Tim Gerk) #4622490924ce198
] - doc: add text around collaborative expectations (Michael Dawson) #461212d328355d4
] - doc: update to match changed--dns-result-order
default (Mordy Tikotzky) #461481015a606b7
] - doc: add Node-API media link (Kevin Eady) #461896e355efcff
] - doc: update http.setMaxIdleHTTPParsers arguments (Debadree Chatterjee) #46168f18ab9405a
] - doc: use "file system" instead of "filesystem" (Rich Trott) #461781b45713b00
] - doc: https update default request timeout (Marco Ippolito) #461844c88721e2f
] - doc: make options of readableStream.pipeTo as optional (Deokjin Kim) #46180538c53f010
] - doc: add PerformanceObserver.supportedEntryTypes to doc (theanarkh) #45962eef7489d24
] - doc: duplex and readable from uncaught execption warning (Marco Ippolito) #46135686fe585b5
] - doc: remove outdated sections frommaintaining-v8
(Antoine du Hamel) #461372e826ad528
] - doc: fix (EC)DHE remark in TLS docs (Tobias Nießen) #461142e22b29add
] - doc: fix ERR_TLS_RENEGOTIATION_DISABLED text (Tobias Nießen) #46122e222a2f1d1
] - doc: fix spelling in SECURITY.md (Vaishno Chaitanya) #461247718e82f0d
] - doc: abort controller emits error in child process (Debadree Chatterjee) #4607276408bc1ed
] - doc: fixevent.cancelBubble
documentation (Deokjin Kim) #4598682023f2570
] - doc: update output of example in inspector (Deokjin Kim) #46073a42fc512b6
] - doc: add personal pronouns option (Filip Skokan) #46118fafae5955d
] - doc: mention how to run ncu-ci citgm (Rafael Gonzaga) #46090e1fd2f24d9
] - doc: include updating release optional step (Rafael Gonzaga) #460891996e610fd
] - doc: describe argument ofSymbol.for
(Deokjin Kim) #46019b002330216
] - doc,crypto: fix WebCryptoAPI import keyData and export return (Filip Skokan) #46076fa3e0c86c7
] - esm: markimportAssertions
as required (Antoine du Hamel) #46164f85a8e4c59
] - events: addinitEvent
to Event (Deokjin Kim) #460695bdfaae680
] - events: change status ofevent.returnvalue
to legacy (Deokjin Kim) #46175ad7846fe97
] - events: change status ofevent.cancelBubble
to legacy (Deokjin Kim) #461465304c89682
] - events: change status ofevent.srcElement
to legacy (Deokjin Kim) #460853dcdab3f16
] - events: check signal before listener (Deokjin Kim) #46054907d67de76
] - http: refactor to usevalidateHeaderName
(Deokjin Kim) #46143ae5141cb8a
] - http: writeHead if statusmessage is undefined dont override headers (Marco Ippolito) #461736e7f9fbc1d
] - http: refactor to use min of validateNumber for maxTotalSockets (Deokjin Kim) #46115069a30bc4e
] - (SEMVER-MINOR) http: join authorization headers (Marco Ippolito) #4598268cde4cbcc
] - lib: add webstreams to Duplex.from() (Debadree Chatterjee) #461904d73ea708b
] - lib: use kEmptyObject and update JSDoc in webstreams (Deokjin Kim) #461831cfa2e6762
] - lib: refactor to use validate function (Deokjin Kim) #461012eb87f23c9
] - lib: reuse invalid state errors on webstreams (Rafael Gonzaga) #460868684dae8d9
] - lib: fix incorrect use of console intrinsic (Colin Ihrig) #46044d044ed1d3e
] - meta: update AUTHORS (Node.js GitHub Bot) #462155261560757
] - meta: update AUTHORS (Node.js GitHub Bot) #461301b557bbee8
] - meta: update comment inCODEOWNERS
to better reflect current policy (Antoine du Hamel) #4594454896ab011
] - module: fix unintended mutation (Antoine du Hamel) #46108bd98e5baba
] - node-api: disambiguate napi_add_finalizer (Chengzhong Wu) #45401f0508894d6
] - perf_hooks: fix checking range ofoptions.figures
in createHistogram (Deokjin Kim) #45999e482d5e42d
] - src: fix endianness of simdutf (Yagiz Nizipli) #46257e2c47cdfad
] - src: make BuiltinLoader threadsafe and non-global (Anna Henningsen) #4594236ae3ccff3
] - src: replace unreachable code with static_assert (Tobias Nießen) #462099d55a1f9a1
] - src: hide kMaxDigestMultiplier outside HKDF impl (Tobias Nießen) #46206d3d62ed82c
] - src: distinguish env stopping flags (Chengzhong Wu) #45907e85f76686c
] - src: remove return after abort (Shelley Vohr) #461727dc9a53b18
] - src: remove unnecessary semicolons (Shelley Vohr) #4617128af831d5a
] - src: use simdutf for converting externalized builtins to UTF-16 (Anna Henningsen) #46119e8eaa490af
] - src: use constant strings for memory info names (Chengzhong Wu) #46087f4559a1354
] - src: fix typo in node_snapshotable.cc (Vadim) #46103ca8ff08a5c
] - src: keep PipeWrap::Open function consistent with TCPWrap (theanarkh) #46064a936eaeb34
] - src: speed up process.getActiveResourcesInfo() (Darshan Sen) #460145cf595659f
] - src,lib: the handle keeps loop alive in cluster rr mode (theanarkh) #4616118695595e1
] - stream: fix pipeline calling end on destination more than once (Debadree Chatterjee) #46226e5f53b51f0
] - stream: implement finished() for ReadableStream and WritableStream (Debadree Chatterjee) #462052f23f17f93
] - test: reducefs-write-optional-params
flakiness (LiviaMedeiros) #46238255f177108
] - test: enable more case of bad buffer infs.write
(Deokjin Kim) #46236c09b2036c7
] - test: update postject to 1.0.0-alpha.4 (Node.js GitHub Bot) #462124ac5c7180f
] - test: refactor to avoid mutation of global by a loader (Michaël Zasso) #46220bbf9da8e2c
] - test: improve test coverage for WHATWGTextDecoder
(Juan José) #452414f491d368c
] - test: add fix so that test exits if port 42 is unprivileged (Suyash Nayan) #459046e2f7228f3
] - test: useos.availableParallelism()
(Deokjin Kim) #46003c77b0da512
] - test: fix flaky test-runner-exit-code.js (Colin Ihrig) #46138f309e2acb6
] - test: update Web Events WPT (Deokjin Kim) #460510f60bc9bbc
] - test: add test to once() in event lib (Jonathan Diaz) #461268a8b18678a
] - test,esm: validate more edge cases for dynamic imports (Antoine du Hamel) #460594d3743938f
] - test_runner: update comment to comply with eslint no-fallthrough rule (Antoine du Hamel) #46258653b108fdc
] - tools: update eslint to 8.32.0 (Node.js GitHub Bot) #46258a4b0c916e0
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #46214f4465e656d
] - tools: fix macro name in update-undici (Almeida) #462171aa4534c6f
] - tools: add automation for updating postject dependency (Darshan Sen) #46157c150b312cd
] - tools: update create-or-update-pull-request-action (Michaël Zasso) #46169c68a043400
] - tools: update eslint to 8.31.0 (Node.js GitHub Bot) #46131ac90e419d1
] - tools: update lint-md-dependencies to [email protected] (Node.js GitHub Bot) #46129750fcf84eb
] - tools: move update-eslint.sh to dep_updaters/ (Luigi Pinca) #460882e8750a18c
] - tools: make update-eslint.sh work with npm@9 (Luigi Pinca) #46088e90a3a6eff
] - tools: fix lint rule recommendation (Colin Ihrig) #460440985ef8bfb
] - tools: addArrayPrototypeConcat
to the list of primordials to avoid (Antoine du Hamel) #44445ed69a3af92
] - tools: addprefer-proto
rule (Jordan Harband) #460834c1c20fae2
] - trace_events: refactor to usevalidateStringArray
(Deokjin Kim) #460126c8a81d2dc
] - vm: refactor to use validate function (Deokjin Kim) #46176