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

v16.5.0 release proposal #39373

Merged
merged 133 commits into from Jul 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
66553fe
src: compare IPv4 addresses in host byte order
cjihrig Jun 19, 2021
cf0533b
build: use Actions to validate commit message
mmarchini Mar 18, 2020
cf8536e
build: fix commit linter on unrebased PRs
mmarchini Jun 22, 2021
a440f6c
doc: fix dead links in packages.md
targos Jun 22, 2021
171ca6b
build: don't pass `--mode` argument to V8 test-runner
richardlau Jun 16, 2021
c158888
doc: fix napi_default_property name
Theldus Jun 21, 2021
412b101
build: pass directory instead of list of files to js2c.py
joyeecheung Jun 17, 2021
81cebec
doc: esm examples /w imports for process, Buffer
guybedford Jun 15, 2021
48d9680
debugger: remove final lint exceptions in inspect_repl.js
Trott Jun 19, 2021
90ec766
doc: update AUTHORS file
Trott Jun 19, 2021
ea8d83b
src,crypto: fix 0-length output crash in webcrypto
XadillaX Jun 3, 2021
35331cb
http,https: align server option of https with http
Ayase-252 Jun 17, 2021
df17c62
test: use localhost test instead of connecting to remote
AdamMajer Jun 11, 2021
65b56b3
build: fix building with external builtins
mmomtchev Jun 19, 2021
21e8720
doc: fix `EventTarget.dispatchEvent` docs
RhnSharma Jun 23, 2021
fe1c81f
wasi: use missing validator
VoltrexKeyva Jun 18, 2021
83f3b95
fs: allow empty string for temp directory prefix
VoltrexKeyva Jun 13, 2021
4715105
tools: upgrade `highlight.js` to version 11.0.1
aduh95 Jun 14, 2021
a669a19
doc: use ASCII order for md refs
aduh95 Jun 27, 2021
0e55cb7
lib: make lazyDOMException more common
XadillaX Jun 21, 2021
7ea98fb
perf_hooks: refactor perf_hooks for snapshot building
joyeecheung Jun 8, 2021
6e46eb1
bootstrap: support perf hooks in snapshot
joyeecheung Jun 8, 2021
aafa08d
bootstrap: load perf_hooks eagerly during bootstrap
joyeecheung Jun 8, 2021
fff21a4
test: replace "inspector-cli" with "debugger"
Trott Jun 26, 2021
74bb915
doc: use repository instead of repo
Trott Jun 26, 2021
ac05a0a
errors: don't throw TypeError on missing export
bcoe Jun 12, 2021
aec2744
doc: remove file name from self-reference links
aduh95 Jun 27, 2021
30e878b
crypto: add OPENSSL_IS_BORINGSSL guard
codebytere Jun 24, 2021
8630b39
deps: update Acorn to v8.4.1
targos Jun 27, 2021
bf4c50f
deps: upgrade npm to 7.19.0
npm-robot Jun 24, 2021
00728d1
doc: apply logical ordering to CSS variables
Trott Jun 27, 2021
683c995
src,zlib: tighten up Z_*_WINDOWBITS macros
XadillaX Jun 22, 2021
89f5a73
crypto: use compatible ecdh function
codebytere Jun 16, 2021
4202274
crypto: move OPENSSL_IS_BORINGSSL guard
codebytere Jun 24, 2021
cc32365
test: add WPT streams tests
jasnell Jun 21, 2021
9af62a1
stream: implement WHATWG streams
jasnell Jun 16, 2021
af1e1db
doc: correct JavaScript primitive value names in n-api.md
legendecas Jun 23, 2021
952580e
doc: fix broken link in errors.md
Trott Jun 30, 2021
8311b29
doc: use "repository" in maintaining-V8 doc
Trott Jun 28, 2021
482851f
doc: remove obsolete cc recommendations
Trott Jun 28, 2021
07ba287
doc: remove instructions for unsupported Node.js versions
Trott Jun 28, 2021
9c3a5fd
doc: add cc oss-security@lists.openwall.com
danbev Jun 29, 2021
81d52d7
doc: fix CHANGELOG.md formatting
richardlau Jul 1, 2021
dfe5d11
tools: update remark-preset-lint-node to 2.4.1
Trott Jun 30, 2021
35b6669
stream: use finished for pump
ronag Jun 18, 2021
29194d4
inspector: move inspector async hooks to environment
joyeecheung Jun 21, 2021
d441d91
repl: ensure correct syntax err for await parsing
guybedford Jun 25, 2021
6200f3b
tools: update @babel/eslint-parser to 7.14.7
Trott Jun 26, 2021
68c334c
doc: move vm.measureMemory() to expected location in doc
Trott Jul 1, 2021
ddc24b2
doc: move v8.stopCoverage() to expected location in doc
Trott Jul 1, 2021
3e5ed72
doc: use "pull request" instead of "PR" in packages.md
Trott Jul 1, 2021
24c0d7d
doc: update AUTHORS
Trott Jul 1, 2021
24a1f7e
doc: use more consistent formatting for deprecations
Trott Jul 1, 2021
ab9ccd0
tools: remove unused `lint-pr-commit-message.sh`
richardlau Jun 22, 2021
db74a35
doc: remove unnecessary module format comments
Trott Jul 1, 2021
250024e
doc: normalize CSS variable names and indentation
Trott Jun 30, 2021
f8cdaad
doc: rename datatypes to data types
FrankEntriken Jun 30, 2021
bd472da
meta: add @nodejs/actions as CODEOWNERS
mmarchini Jun 22, 2021
cdc7a19
test: remove common.enoughTestCpu
Trott Jun 26, 2021
802d9c4
tools: update path-parse to 1.0.7
Trott Jul 2, 2021
d486d01
test: move test-debugger-address to parallel
Trott Jul 2, 2021
1f31e3c
test: remove checks for armv6
Trott Jun 26, 2021
d5113f9
tools: remove armv6 from test tools
Trott Jun 26, 2021
2227c13
doc: fix color contrast for anchor marks in dark mode
Trott Jun 27, 2021
63f8702
node-api: cctest on v8impl::Reference
legendecas Jun 8, 2021
20cc8ec
readline: allow completer to rewrite existing input
addaleax Jun 28, 2021
c04fd2b
deps: upgrade npm to 7.19.1
npm-robot Jul 1, 2021
e5c2d80
meta: use form schema for bug report template
targos Jun 29, 2021
2bb3713
doc: update AUTHORS file
Trott Jul 3, 2021
cb8c6ff
tools: update ESLint to 7.30.0
cjihrig Jul 3, 2021
a01dacf
doc: move Sam Ruby to emeritus
Trott Jul 5, 2021
4dd6ab3
doc: remove onboarding-extras
Trott Jul 3, 2021
04bcfcf
doc: update Node-api version matrix
mhdawson Jun 29, 2021
3ed0499
build: shorten path used in tarball build workflow
richardlau Jun 29, 2021
0673ede
tools: take ownership of deps/v8/tools/node
targos Jul 1, 2021
1375559
test: remove workaround code in debugger test
Trott Jul 2, 2021
eacee0a
doc: use "repository" in guides versus repo
mhdawson Jun 29, 2021
146f733
doc: fix constants usage in fs.access example
cbourgois Jul 6, 2021
4d53c63
doc: fix boldface punctuation for full sentences
Trott Jul 5, 2021
175a656
doc: add annotation to writeFile `data` as `Object`
JakobJingleheimer Jun 27, 2021
9184259
src: add JSDoc typings for v8
VoltrexKeyva Jun 5, 2021
f06ebf1
doc: remove emailing the TSC from offboarding doc
Trott Jul 5, 2021
a7cd40e
build: uvwasi honours node_shared_libuv
kapouer Jul 4, 2021
33cad27
errors: remove eager stack generation for node errors
devsnek Jun 28, 2021
b8860f3
doc: remove GitHub mark
Trott Jul 3, 2021
8e77aa2
test: add test for debugger restart message issue
Trott Jul 5, 2021
81df9b1
doc: update collaborator email address
Trott Jul 5, 2021
3cd9f5e
tools: add find-inactive-collaborators.js
Trott Jul 5, 2021
c92b80e
doc: use "repository" instead of "repo" in onboarding.md
Trott Jul 6, 2021
131d676
doc: simplify CRAN mirror text in benchmark guide
Trott Jul 6, 2021
2d552a3
doc: move ofrobots to collaborator emeritus
Trott Jul 8, 2021
a101fe6
repl: correctly hoist top level await declarations
ejose19 Jul 5, 2021
b168ec2
repl: processTopLevelAwait fallback error handling
ejose19 Jul 6, 2021
b56a3d9
tools: update gyp-next to v0.9.3
gengjiawen Jul 7, 2021
d101a85
doc: move AndreasMadsen to emeritus
Trott Jul 8, 2021
b3a0dd1
tools: pass bot token to node-pr-labeler
targos Jul 5, 2021
11a8b81
test: remove debugger workaround for AIX
Trott Jul 7, 2021
0ec93a1
test: use common.PORT instead of hardcoded port number
Trott Jul 7, 2021
21f7703
test: move debugger test case to parallel
Trott Jul 7, 2021
165130a
deps: patch V8 to 9.1.269.38
targos Jun 29, 2021
ac7184d
http: clean up HttpParser correctly
sokra Jul 7, 2021
0bb980a
test: remove eslint-disable comment from fixture file
Trott Jul 9, 2021
29673b8
typings: add JSDoc typings for timers
VoltrexKeyva May 28, 2021
f6a1092
build: allow to build riscv64 using Makefile
makotokato Jun 15, 2021
e266350
doc: replace outdated `util.promisify` timer examples with references
foxxyz Jun 26, 2021
41161ea
build: remove unused comment in Makefile
LitoMore Jun 27, 2021
2481ddd
tools,doc: fix error message for unrecognized type
aduh95 Jul 1, 2021
a7ba218
build: restore libplatform headers in distribution
jeroen Jul 6, 2021
63b6084
doc: put information about the past in details tags
Trott Jul 9, 2021
8381132
build: add riscv into host_arch_cc
luyahan Jun 11, 2021
adb812c
typings: add a few JSDoc typings for the net lib module
festiveelephantseal Jun 6, 2021
dfe99d2
tls: move legacy code into own file
ronag Jul 9, 2021
1fc6382
stream: don't emit prefinish after error or close
ronag Jul 9, 2021
cb32f69
stream: cleanup async handling
ronag Jul 9, 2021
cfd96aa
meta: fix tls code owners
ronag Jul 11, 2021
1068182
build: update gcovr for gcc 8 compatibility
richardlau Jul 9, 2021
f338fdd
tools: add GitHub Action to run find-inactive-collaborators.mjs
Trott Jul 10, 2021
3d351b2
deps: V8: cherry-pick cb4faa902e9f
targos Jul 10, 2021
cf49ebb
deps: V8: cherry-pick 53784bdb8f01
targos Jul 10, 2021
5c5a93e
deps: V8: cherry-pick 2b77ca200c56
targos Jul 10, 2021
2657c30
deps: V8: cherry-pick 56fe020eec0c
targos Jul 10, 2021
142ce68
deps: V8: cherry-pick 3805a698f7b6
targos Jul 10, 2021
0e64bd0
deps: V8: cherry-pick 359d44df4cdd
targos Jul 10, 2021
4507714
deps: V8: backport 5c76da8ddcf8
targos Jul 10, 2021
630266c
debugger: indicate server is ending
Trott Jul 10, 2021
2573bf5
doc: update AUTHORS
Trott Jul 5, 2021
64a185e
doc: use consistent abbreviation formatting
Trott Jul 10, 2021
0b3b269
doc: do not use tilde for "about" or "approximately"
Trott Jul 10, 2021
29c9cc8
doc: do not use & for "and" in text
Trott Jul 10, 2021
fb6616e
doc: add text about moving long commit lists out of PR description
danielleadams Jun 28, 2021
ecf627a
lib: rename TransferedReadableStream etc
tniessen Jul 11, 2021
38ae407
doc: fix typos in Web Streams API documentation
tniessen Jul 11, 2021
eaca13d
2021-07-14, Version 16.5.0 (Current)
targos Jul 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .eslintrc.js
Expand Up @@ -98,6 +98,14 @@ module.exports = {
name: 'require',
message: 'Use import instead',
},
{
name: 'Buffer',
message: 'Import Buffer instead of using the global'
},
{
name: 'process',
message: 'Import process instead of using the global'
},
] },
},
],
Expand Down
8 changes: 6 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Expand Up @@ -22,7 +22,6 @@
/doc/guides/contributing/pull-requests.md @nodejs/tsc
/doc/guides/collaborator-guide.md @nodejs/tsc
/doc/guides/offboarding.md @nodejs/tsc
/doc/guides/onboarding-extras.md @nodejs/tsc

# streams

Expand Down Expand Up @@ -55,7 +54,7 @@
# tls/crypto

/lib/internal/crypto/* @nodejs/crypto
/lib/internal/tls.js @nodejs/crypto @nodejs/net
/lib/internal/tls/* @nodejs/crypto @nodejs/net
/lib/crypto.js @nodejs/crypto
/lib/tls.js @nodejs/crypto @nodejs/net
/src/node_crypto* @nodejs/crypto
Expand Down Expand Up @@ -119,3 +118,8 @@
# V8
/deps/v8/* @nodejs/v8-update
/tools/v8_gypfiles/* @nodejs/v8-update

# Actions

/.github/workflows/* @nodejs/actions
/tools/actions/* @nodejs/actions
51 changes: 0 additions & 51 deletions .github/ISSUE_TEMPLATE/1-bug-report.md

This file was deleted.

45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/1-bug-report.yml
@@ -0,0 +1,45 @@
name: "\U0001F41B Bug report"
description: Create a report to help us improve
body:
- type: markdown
attributes:
value: |
Thank you for reporting an issue.

This issue tracker is for bugs and issues found within Node.js core.
If you require more general support please file an issue on our help repo. https://github.com/nodejs/help

Please fill in as much of the form below as you're able.
- type: input
attributes:
label: Version
description: Output of `node -v`
- type: input
attributes:
label: Platform
description: |
UNIX: output of `uname -a`
Windows: output of `"$([Environment]::OSVersion | ForEach-Object VersionString) $(if ([Environment]::Is64BitOperatingSystem) { "x64" } else { "x86" })"` in PowerShell console
- type: input
attributes:
label: Subsystem
description: If known, please specify affected core module name
- type: textarea
attributes:
label: What steps will reproduce the bug?
description: Enter details about your bug, preferably a simple code snippet that can be run using `node` directly without installing third-party dependencies.
- type: textarea
attributes:
label: How often does it reproduce? Is there a required condition?
- type: textarea
attributes:
label: What is the expected behavior?
description: If possible please provide textual output instead of screenshots.
- type: textarea
attributes:
label: What do you see instead?
description: If possible please provide textual output instead of screenshots.
- type: textarea
attributes:
label: Additional information
description: Tell us anything else you think we should know.
4 changes: 2 additions & 2 deletions .github/workflows/build-tarball.yml
Expand Up @@ -58,8 +58,8 @@ jobs:
name: tarballs
- name: Extract tarball
run: |
tar xzf tarballs/*.tar.gz
echo "TAR_DIR=`basename tarballs/*.tar.gz .tar.gz`" >> $GITHUB_ENV
tar xzf tarballs/*.tar.gz -C $RUNNER_TEMP
echo "TAR_DIR=$RUNNER_TEMP/`basename tarballs/*.tar.gz .tar.gz`" >> $GITHUB_ENV
- name: Copy directories needed for testing
run: |
cp -r tools/node_modules $TAR_DIR/tools
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/commit-lint-problem-matcher.json
@@ -0,0 +1,13 @@
{
"problemMatcher": [
{
"owner": "core-validate-commit",
"pattern": [
{
"regexp": "^not ok \\d+ (.*)$",
"message": 1
}
]
}
]
}
20 changes: 20 additions & 0 deletions .github/workflows/commit-lint.yml
@@ -0,0 +1,20 @@
name: "Commit messages adheres to guidelines at https://goo.gl/p2fr5Q"

on: [pull_request]

jobs:
lint-commit-message:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# Last 100 commits should be enough for a PR
fetch-depth: 100
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Validate commit messages
run: |
echo "::add-matcher::.github/workflows/commit-lint-problem-matcher.json"
git log --oneline ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} | grep -v -e fixup -e squash | awk '{ print $1 }' | xargs npx -q core-validate-commit --no-validate-metadata --tap
17 changes: 17 additions & 0 deletions .github/workflows/find-inactive-collaborators.yml
@@ -0,0 +1,17 @@
name: Find inactive collaborators

on:
schedule:
# Run on the 15th day of the month at 4:05 AM UTC.
- cron: '5 4 15 * *'

workflow_dispatch:

jobs:
find:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- run: tools/find-inactive-collaborators.mjs '1 year ago'
1 change: 1 addition & 0 deletions .github/workflows/label-pr.yml
Expand Up @@ -11,4 +11,5 @@ jobs:
steps:
- uses: nodejs/node-pr-labeler@v1
with:
repo-token: ${{ secrets.GH_USER_TOKEN }}
configuration-path: .github/label-pr-config.yml
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -133,7 +133,7 @@ tools/*/*.i.tmp
/deps/uv/.github/
/deps/uv/docs/code/
/deps/uv/docs/src/guide/
# Ignore dependencies fetched by deps/v8/tools/node/fetch_deps.py
# Ignore dependencies fetched by tools/v8/fetch_deps.py
/deps/.cipd

# === Rules for Windows vcbuild.bat ===
Expand Down
8 changes: 8 additions & 0 deletions .mailmap
Expand Up @@ -63,6 +63,7 @@ Beth Griggs <bgriggs@redhat.com> Bethany Griggs <Bethany.Griggs@uk.ibm.com>
Beth Griggs <bgriggs@redhat.com> Bethany N Griggs <Bethany.Griggs@uk.ibm.com>
Beth Griggs <bgriggs@redhat.com> BethGriggs <Bethany.Griggs@uk.ibm.com>
Bidisha Pyne <pyne.bidisha2017@gmail.com> <bidipyne@in.ibm.com>
bl-ue <bl-ue@users.noreply.github.com> bl-ue <54780737+bl-ue@users.noreply.github.com>
Brad Decker <bhdecker84@gmail.com> brad-decker <bhdecker84@gmail.com>
Brad Larson <brad@waterfallmedia.net> BradLarson <brad@waterfallmedia.net>
Bradley Meck <bradley.meck@gmail.com> Bradley Farias <bradley.meck@gmail.com>
Expand Down Expand Up @@ -103,8 +104,10 @@ Daniel Paulino <d_paulino@outlook.com> dpaulino <d_paulino@outlook.com>
Daniel Pihlström <sciolist.se@gmail.com>
Daniel Wang <wangyang0123@gmail.com> firedfox <wangyang02@baidu.com>
Daniel Wang <wangyang0123@gmail.com> firedfox <wangyang0123@gmail.com>
Danielle Adams <adamzdanielle@gmail.com> Danielle Adams <danielle.adams@heroku.com>
Danny Nemer <hi@dannynemer.com> <DannyNemer@users.noreply.github.com>
Danny Nemer <hi@dannynemer.com> <hi@DannyNemer.com>
Darshan Sen <raisinten@gmail.com>
Dave Pacheco <dap@joyent.com> <dap@cs.brown.edu>
David Cai <davidcai1993@yahoo.com> DavidCai <davidcai1993@yahoo.com>
David Mark Clements <david.clements@nearform.com>
Expand Down Expand Up @@ -207,6 +210,7 @@ Josh Erickson <josh@snoj.us>
Josh Hunter <jopann@gmail.com> jopann <jopann@gmail.com>
Joshua S. Weinstein <josher19@users.sf.net>
Joyee Cheung <joyeec9h3@gmail.com> joyeecheung <joyeec9h3@gmail.com>
Joyee Cheung <joyeec9h3@gmail.com> Joyee Cheung <joyee@igalia.com>
Juan Soto <juan@juansoto.me>
Julien Klepatch <julien@julienklepatch.com> jklepatch <julien@julienklepatch.com>
Julien Waechter <julien.waechter@gmail.com> julien.waechter <julien.waechter@gmail.com>
Expand Down Expand Up @@ -294,6 +298,7 @@ Nicholas Kinsey <pyrotechnick@feistystudios.com>
Nick Soggin <nicksoggin@gmail.com> <iSkore@users.noreply.github.com>
Nikolai Vavilov <vvnicholas@gmail.com>
Nils Kuhnhenn <lain@volafile.io>
Nitzan Uziely <linkgoron@gmail.com> Nitzan Uziely <nitzan@testim.io>
Noah Rose Ledesma <noahroseledesma@seattleacademy.org> Noah Rose <noahroseledesma@seattleacademy.org>
Noah Rose Ledesma <noahroseledesma@seattleacademy.org> <NoahRoseLedesma@seattleacademy.org>
Oluwaseun Omoyajowo <omoyajowo2015@gmail.com>
Expand Down Expand Up @@ -356,6 +361,7 @@ Segu Riluvan <rilwan22@hotmail.com> <riluvan@gmail.com>
Sergey Kryzhanovsky <skryzhanovsky@gmail.com> <another@dhcp199-223-red.yandex.net>
Shannen Saez <shannenlaptop@gmail.com>
Shaopeng Zhang <szhang351@bloomberg.net> szhang351 <szhang351@bloomberg.net>
Shelley Vohr <shelley.vohr@gmail.com> Shelley Vohr <codebytere@gmail.com>
Shigeki Ohtsu <ohtsu@ohtsu.org> <ohtsu@iij.ad.jp>
Shigeki Ohtsu <ohtsu@ohtsu.org> <ohtsu@d.jp>
Shivang Saxena <shivangs44@gmail.com>
Expand All @@ -371,6 +377,7 @@ Sreepurna Jasti <sreepurna.jasti@gmail.com> sreepurnajasti <sreepurna.jasti@gmai
Stanislav Opichal <opichals@gmail.com>
Stefan Budeanu <stefan@budeanu.com> <stefanbu@ca.ibm.com>
Stefan Bühler <stbuehler@web.de>
Stephen Belanger <admin@stephenbelanger.com> <stephen.belanger@datadoghq.com>
Stephen Belanger <admin@stephenbelanger.com> <stephen.belanger@elastic.co>
Steve Mao <maochenyan@gmail.com> <maochenyan@msn.com>
Steven R. Loomis <srloomis@us.ibm.com> <srl@icu-project.org>
Expand Down Expand Up @@ -426,6 +433,7 @@ Ujjwal Sharma <usharma1998@gmail.com> <ryzokuken@disroot.org>
Viktor Karpov <viktor.s.karpov@gmail.com> vitkarpov <viktor.s.karpov@gmail.com>
Vincent Voyer <v@fasterize.com>
Vladimir de Turckheim <vlad2t@hotmail.com>
Voltrex <mohammadkeyvanzade94@gmail.com> Voltrex <62040526+VoltrexMaster@users.noreply.github.com>
vsemozhetbyt <vsemozhetbyt@gmail.com> Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Wang Xinyong <wang.xy.chn@gmail.com> <wangxy.chn@gmail.com>
Weijia Wang <381152119@qq.com>
Expand Down