Skip to content
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

v14.14.0 proposal #35648

Merged
merged 82 commits into from
Oct 16, 2020
Merged

v14.14.0 proposal #35648

merged 82 commits into from
Oct 16, 2020

Conversation

MylesBorins
Copy link
Contributor

2020-10-15, Version 14.14.0 (Current), @MylesBorins

Notable Changes

  • [7e7afc5186] - crypto: update certdata to NSS 3.56 (Shelley Vohr) #35546
  • [8877430530] - doc: add aduh95 to collaborators (Antoine du Hamel) #35542
  • [1610728d7c] - (SEMVER-MINOR) fs: add rm method (Ian Sutherland) #35494
  • [6ff152cc67] - (SEMVER-MINOR) http: allow passing array of key/val into writeHead (Robert Nagy) #35274
  • [93f947af0a] - (SEMVER-MINOR) src: expose v8::Isolate setup callbacks (Shelley Vohr) #35512

Commits

  • [16c17ddd88] - build: fix Commit Queue failure comment (Antoine du Hamel) #35599
  • [b7305284e2] - build: gitHub actions: Python 3.9 and actions/setup-python@v2 (Christian Clauss) #35521
  • [e8fcbc8318] - build: fix landed message for multiple commits in commit-queue (Denys Otrishko) #35226
  • [84c0adefa0] - build: add Commit Queue actions url to failure comment (Denys Otrishko) #35206
  • [9c74d4598d] - build: fuzzer that targets node::LoadEnvironment() (davkor) #34844
  • [f552e5c251] - build: improved release lint error message (Shelley Vohr) #35523
  • [7e7afc5186] - crypto: update certdata to NSS 3.56 (Shelley Vohr) #35546
  • [b8529a7104] - deps: V8: cherry-pick 3176bfd447a9 (Anna Henningsen) #35612
  • [0c877762ea] - doc: document Buffer.concat may use internal pool (Andrey Pechkurov) #35541
  • [6284f0dbc2] - doc: use test username instead of real (Pooja D.P) #35611
  • [78259b6519] - doc: add doc for starting ci job via label (Juan José Arboleda) #35551
  • [41d7500bf9] - doc: fix unit of size argument of readable.read (Tobias Nießen) #35051
  • [00eff4a534] - doc: add missing deprecation number (Benjamin Coe) #35630
  • [9288f9d74b] - doc: harmonize YAML comments (Antoine du Hamel) #35575
  • [16f8298170] - doc: revise description of process.ppid (Pooja D.P) #35589
  • [cad86d40de] - doc: add symlink information for process.execpath (Pooja D.P) #35590
  • [4025fc811d] - doc: add PoojaDurgad as a triager (Pooja D.P) #35153
  • [809cd07968] - doc: document rmdir/recursive deprecation (Benjamin Coe) #35579
  • [9d1b7ac334] - doc: edit fs.md for minor style changes (Rich Trott) #35505
  • [c1bb364105] - doc: run license builder (Myles Borins) #35577
  • [970975b588] - doc: use kbd element in process doc (Rich Trott) #35584
  • [64ebbddb5f] - doc: fixup perf_hooks (Antoine du Hamel) #35527
  • [b074717af7] - doc: remove incorrect synchronous label (Colin Ihrig) #35561
  • [ddf13e0df0] - doc: make fs.rm()'s force docs consistent (Colin Ihrig) #35561
  • [4164477b43] - doc: simplify wording in tracing APIs doc (Pooja D.P) #35556
  • [c865b02397] - doc: improve SIGINT error text (Rich Trott) #35558
  • [7d1cdd411f] - doc: move package.import content higher (Myles Borins) #35535
  • [62755b6230] - doc: harmonize changes list ordering (Antoine du Hamel) #35454
  • [8cacca0f62] - doc: changes description must end with a period (Antoine du Hamel) #35454
  • [28c94ca123] - doc: harmonize version list style in YAML comments (Antoine du Hamel) #35454
  • [b3f15b7d89] - doc: fix missing PR-URLs in YAML comments (Antoine du Hamel) #35454
  • [02bf73e239] - doc: remove outstanding YAML comment (Antoine du Hamel) #35454
  • [a5552468d2] - doc: harmonize YAML comments style in deprecations.md (Antoine du Hamel) #35454
  • [863ba4b7da] - doc: refactor the n-api matrix (Michael Dawson) #35345
  • [85dc84d1bb] - doc: use sentence case for class property (Rich Trott) #35540
  • [01c9c59c85] - doc: add history entry for exports patterns (Antoine du Hamel) #35410
  • [51b988ba0f] - doc: fix deprecation history (Antoine du Hamel) #35455
  • [328c624cdf] - doc: fix util.inspect change history (Antoine du Hamel) #35528
  • [d53cfcd9e7] - doc: improve kbd element rendering (Rich Trott) #35497
  • [8877430530] - doc: add aduh95 to collaborators (Antoine du Hamel) #35542
  • [8cdc59b34c] - doc: fix YAML syntax errors (Antoine du Hamel) #35529
  • [3c90b1a278] - errors: support possible deletion of globalThis.Error (Michaël Zasso) #35499
  • [a3c7f8e576] - fs: rimraf should not recurse on failure (Benjamin Coe) #35566
  • [939f8e8bfa] - fs: throw rm() validation errors (Colin Ihrig) #35602
  • [3a401b8695] - fs: update rm/rmdir validation messages (Colin Ihrig) #35565
  • [937fa5d292] - fs: use validateBoolean() in rm/rmdir validation (Colin Ihrig) #35565
  • [1ad9aca194] - fs: remove extraneous assignments in rmdir() (Colin Ihrig) #35567
  • [1fadcf2163] - fs: simplify validateRmOptions() error handling (Colin Ihrig) #35567
  • [8e3b11adb3] - fs: use errno constant with ERR_FS_EISDIR (Colin Ihrig) #35563
  • [1610728d7c] - (SEMVER-MINOR) fs: add rm method (Ian Sutherland) #35494
  • [6ff152cc67] - (SEMVER-MINOR) http: allow passing array of key/val into writeHead (Robert Nagy) #35274
  • [2f1319967c] - http: make response.setTimeout() work (Ben Noordhuis) #34913
  • [59a2cb5ebb] - inspector: do not hardcode Debugger.CallFrameId in tests (Dmitry Gozman) #35570
  • [cd0b1365ae] - lib: fix readFile flag option typo (Daniil Demidovich) #35292
  • [70927560f6] - lib: change http client path assignment (Yohanan Baruchel) #35508
  • [fa171dbb7f] - lib: use remaining typed arrays from primordials (Michaël Zasso) #35499
  • [7e8fdd399f] - lib: use Number.parseFloat from primordials (Michaël Zasso) #35499
  • [5d727f0308] - lib: use Number.parseInt from primordials (Michaël Zasso) #35499
  • [77f1e1ea57] - lib: use global Error constructors from primordials (Michaël Zasso) #35499
  • [30c6b3e809] - lib: replace String global with primordials (Sebastien Ahkrin) #35397
  • [ebf3900795] - lib: replace Int8Array global with primordials (Sebastien Ahkrin) #35397
  • [d6ba4ecc4d] - lib: replace Int32Array global with primordials (Sebastien Ahkrin) #35397
  • [f544f7a102] - lib: replace Float64Array global with primordials (Sebastien Ahkrin) #35397
  • [b82fc409ca] - module: [email protected] big endian fix (Guy Bedford) #35634
  • [cb2f6ffd3e] - module: use Wasm CJS lexer when available (Guy Bedford) #35583
  • [c995242068] - n-api: support for object freeze/seal (Shelley Vohr) #35359
  • [4d1d3f454d] - src: reduced substring calls (Yash Ladha) #34808
  • [5946b1ee23] - (SEMVER-MINOR) src: move node_contextify to modern THROW_ERR_* (James M Snell) #35470
  • [541082ccd9] - (SEMVER-MINOR) src: move node_process to modern THROW_ERR* (James M Snell) #35472
  • [2e67d650bb] - src: fix freeing unintialized pointer bug in ParseSoaReply (Aastha Gupta) #35502
  • [93f947af0a] - (SEMVER-MINOR) src: expose v8::Isolate setup callbacks (Shelley Vohr) #35512
  • [775af7af4f] - test: add regression test for v8.getHeapSnapshot() crash (Anna Henningsen) #35612
  • [3d21792f86] - test: mark test-webcrypto-encrypt-decrypt-aes flaky (James M Snell) #35587
  • [4a2ba4384b] - test: do not use the same EventEmitter instance (Luigi Pinca) #35560
  • [768529736a] - test: add ALPNProtocols option to clientOptions (Luigi Pinca) #35482
  • [3a77d1e208] - test: adjust comments for upcoming lint rule (Rich Trott) #35485
  • [2992d0b82c] - tools: refloat 7 Node.js patches to cpplint.py (Rich Trott) #35569
  • [a19b320a31] - tools: bump cpplint.py to 1.4.6 (Rich Trott) #35569
  • [bd344108eb] - Revert "tools: add missing uv_setup_argv() calls" (Beth Griggs) #35641
  • [e8434d88fe] - tools,test: enable multiline-comment-style rule in tests (Rich Trott) #35485

Sebastien-Ahkrin and others added 30 commits October 13, 2020 23:07
PR-URL: #35397
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: Pranshu Srivastava <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Anto Aravinth <[email protected]>
Reviewed-By: Ujjwal Sharma <[email protected]>
PR-URL: #35397
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: Pranshu Srivastava <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Anto Aravinth <[email protected]>
Reviewed-By: Ujjwal Sharma <[email protected]>
PR-URL: #35397
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: Pranshu Srivastava <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Anto Aravinth <[email protected]>
Reviewed-By: Ujjwal Sharma <[email protected]>
PR-URL: #35397
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: Pranshu Srivastava <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Anto Aravinth <[email protected]>
Reviewed-By: Ujjwal Sharma <[email protected]>
PR-URL: #35529
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Beth Griggs <[email protected]>
Enforce `//` for multiline comments. Some tests mixed and matched, and
at least one did so in a (to me) surprising way.

PR-URL: #35485
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Use `//` for multline comments.

PR-URL: #35485
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Do not crash trying to access prepareStackTrace on `undefined`.

PR-URL: #35499
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Ujjwal Sharma <[email protected]>
Reviewed-By: Shingo Inoue <[email protected]>
PR-URL: #35499
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Ujjwal Sharma <[email protected]>
Reviewed-By: Shingo Inoue <[email protected]>
PR-URL: #35499
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Ujjwal Sharma <[email protected]>
Reviewed-By: Shingo Inoue <[email protected]>
PR-URL: #35499
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Ujjwal Sharma <[email protected]>
Reviewed-By: Shingo Inoue <[email protected]>
PR-URL: #35499
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Ujjwal Sharma <[email protected]>
Reviewed-By: Shingo Inoue <[email protected]>
PR-URL: #35542
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Myles Borins <[email protected]>
PR-URL: #35359
Reviewed-By: Gabriel Schulhof <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Fixes: #33734

PR-URL: #34913
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ricky Zhou <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
PR-URL: #35512
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Juan José Arboleda <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
ares_expand_name doesn't guarantee that pointer variable is initialized
if return code is ARES_EBADNAME or ARES_ENOMEM. But current usage of the
function in the codebase thinks otherwise.

There seems to be an assumption that pointer is always initialized even
though it is a local variable and we create a unique pointer soon after
calling ares_expand_name. This could potentially crash the program with
an invalid free pointer.

I was able to crash it by poisoning the memory and some manual hooks.

By moving the unique_ptr after checking the return code we can fix the
problem. As the underlying function guarantees that pointer is
initialized when the status is ARES_SUCCESS.

PR-URL: #35502
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
* better vertical alignment with text
* slightly larger "key" size
* remove top light area (from box-shadow)

PR-URL: #35497
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
PR-URL: #35523
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Beth Griggs <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
This PR introduces a new method fs.rm that provides the behaviour of
rimraf when used with the recursive: true and force: true options.

PR-URL: #35494
Reviewed-By: Ben Coe <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Ruy Adorno <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
- change http client path assignment from  to  (it's more
appropriate in this case).
- since the inner condition is the only referencing the variable, moved
the assignment to the inner condition.

PR-URL: #35508
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Gerhard Stöbich <[email protected]>
Reviewed-By: Ricky Zhou <[email protected]>
PR-URL: #35528
Reviewed-By: Myles Borins <[email protected]>
Reviewed-By: Shelley Vohr <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
PR-URL: #35455
Reviewed-By: Rich Trott <[email protected]>
Change the one instance of the Class Property heading in our docs to
Class property to match style with other headers.

PR-URL: #35540
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Without this, the session is destroyed with the following error

```
Error [ERR_HTTP2_ERROR]: Protocol error
    at Http2Session.onSessionInternalError (internal/http2/core.js:756:26)
Emitted 'error' event on ClientHttp2Session instance at:
    at emitClose (internal/http2/core.js:1010:10)
    at internal/http2/core.js:1048:7
    at finish (internal/streams/writable.js:731:5)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  code: 'ERR_HTTP2_ERROR',
  errno: -505
}
```

The test then calls `session.close()` which tries to write to a
destroyed socket. As a result, an unhandled `ECONNRESET` error is
emitted in the v12 release line.

PR-URL: #35482
Refs: #34859
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Refs: #34761
Refs: #33724

PR-URL: #34844
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
- refactor the n-api matrix and add v7

Signed-off-by: Michael Dawson <[email protected]>

PR-URL: #35345
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #35226
Reviewed-By: Mary Marchini <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. doc Issues and PRs related to the documentations. meta Issues and PRs related to the general management of the project. v14.x v8 engine Issues and PRs related to the V8 dependency. labels Oct 14, 2020
@nodejs-github-bot
Copy link
Collaborator

includes:

* stream: simpler and faster Readable async iterator
* stream: don't destroy on async iterator success
* stream: async iterator stop read if destroyed

PR-URL: #34887
Refs: #34035
Refs: #35122
Refs: #35640
Refs: #34680
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Oct 15, 2020

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot
Copy link
Collaborator

Notable changes:

crypto:
  * update certdata to NSS 3.56 (Shelley Vohr) #35546
doc:
  * add aduh95 to collaborators (Antoine du Hamel) #35542
fs:
  * (SEMVER-MINOR) add rm method (Ian Sutherland) #35494
http:
  * (SEMVER-MINOR) allow passing array of key/val into writeHead (Robert Nagy) #35274
src:
  * (SEMVER-MINOR) expose v8::Isolate setup callbacks (Shelley Vohr) #35512

PR-URL: #35648
@MylesBorins MylesBorins merged commit 354b6a9 into v14.x Oct 16, 2020
MylesBorins added a commit that referenced this pull request Oct 16, 2020
MylesBorins added a commit that referenced this pull request Oct 16, 2020
Notable changes:

crypto:
  * update certdata to NSS 3.56 (Shelley Vohr) #35546
doc:
  * add aduh95 to collaborators (Antoine du Hamel) #35542
fs:
  * (SEMVER-MINOR) add rm method (Ian Sutherland) #35494
http:
  * (SEMVER-MINOR) allow passing array of key/val into writeHead (Robert Nagy) #35274
src:
  * (SEMVER-MINOR) expose v8::Isolate setup callbacks (Shelley Vohr) #35512

PR-URL: #35648
@jasnell
Copy link
Member

jasnell commented Oct 16, 2020

[3d21792f86] - test: mark test-webcrypto-encrypt-decrypt-aes flaky (James M Snell) #35587

This one shouldn't be included. This is in master only

MylesBorins added a commit to nodejs/nodejs.org that referenced this pull request Oct 16, 2020
@MylesBorins
Copy link
Contributor Author

@jasnell at least marking something flaky has no effect on runtime 😅.

We can open a PR to revert

@targos targos deleted the v14.14.0-proposal branch March 16, 2021 06:43
@targos targos added release Issues and PRs related to Node.js releases. and removed build Issues and PRs related to build files or the CI. doc Issues and PRs related to the documentations. meta Issues and PRs related to the general management of the project. v8 engine Issues and PRs related to the V8 dependency. labels Jun 6, 2021
ryanhc pushed a commit to Samsung/lwnode that referenced this pull request Jun 29, 2022
Notable changes:

crypto:
  * update certdata to NSS 3.56 (Shelley Vohr) nodejs/node#35546
doc:
  * add aduh95 to collaborators (Antoine du Hamel) nodejs/node#35542
fs:
  * (SEMVER-MINOR) add rm method (Ian Sutherland) nodejs/node#35494
http:
  * (SEMVER-MINOR) allow passing array of key/val into writeHead (Robert Nagy) nodejs/node#35274
src:
  * (SEMVER-MINOR) expose v8::Isolate setup callbacks (Shelley Vohr) nodejs/node#35512

PR-URL: nodejs/node#35648
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Issues and PRs related to Node.js releases.
Projects
None yet
Development

Successfully merging this pull request may close these issues.