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.10.0 proposal #40175

Merged
merged 95 commits into from Sep 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
97f3072
stream: add signal support to pipeline generators
ronag Jun 17, 2021
22a78a7
build: preserves symbols during LTO with macOS linker
jesec Aug 21, 2021
fb226ff
crypto: add rsa-pss keygen parameters
panva Aug 29, 2021
381293f
meta: update AUTHORS
nodejs-github-bot Aug 31, 2021
bef78a2
src: register external references of dtrace for snapshot
joyeecheung Aug 31, 2021
6fdf025
src: register external references of node-report for snapshot
joyeecheung Aug 31, 2021
a2c1c3e
src: register external references of BaseObject for snapshot
joyeecheung Aug 31, 2021
b4e074c
src: register missing stream wrap external references
joyeecheung Aug 31, 2021
db75711
src: register missing process methods external references
joyeecheung Aug 31, 2021
6095fb0
src: register external references of SignalWrap for snapshot
joyeecheung Aug 31, 2021
00cca48
src: register external references of TCPWrap for snapshot
joyeecheung Aug 31, 2021
7a17cbf
src: register external references of TTYWrap for snapshot
joyeecheung Aug 31, 2021
826eee3
src: register external references of PipeWrap for snapshot
joyeecheung Aug 31, 2021
b6dd2ea
doc: fix missing history version in `fs.md`
aduh95 Sep 1, 2021
29104f5
meta: consolidate AUTHORS entries for mithunsasidharan
Trott Sep 5, 2021
640353a
lib,repl: ignore non-canBeRequiredByUsers built-in
XadillaX Aug 30, 2021
73aa4e3
src: fix C4805 MSVC warning
targos Sep 5, 2021
67bbfeb
test: make tests pass on Windows with Unix EOL
targos Sep 5, 2021
0b30867
build: run AUTHORS update weekly
Trott Sep 5, 2021
99af212
tools,build: update YAML files in preparation for linting
Trott Sep 5, 2021
5a20f90
build: add YAML linting
Trott Sep 5, 2021
7bddaec
build: add YAML linting to GitHub Actions
Trott Sep 5, 2021
105c9e6
crypto: check webcrypto asymmetric key types during importKey
panva Aug 31, 2021
846e7e8
doc: fix list indentation in corepack.md
alexeyten Sep 7, 2021
fe920b6
src: make napi_create_reference accept symbol
JckXia Aug 29, 2021
98f56d1
deps: update Acorn to v8.5.0
targos Sep 6, 2021
842f936
src: use Isolate::TryGetCurrent where appropriate
addaleax Aug 31, 2021
570bef1
Revert "src: skip test_fatal/test_threads for Debug builds"
addaleax Aug 31, 2021
d426ee9
doc: fix property name 'detail' of performanceEntry
ChristianBoehlke Sep 6, 2021
edcfffe
lib: use standard property names
null8626 Sep 3, 2021
d6124d8
repl: fix top level await with surrogate characters
Mesteery Aug 29, 2021
f03bae7
tools: update remark-html to v13.0.2
targos Sep 8, 2021
6775958
deps: patch for v8 on windows
gengjiawen Sep 6, 2021
a71579b
meta: add more mailmap entries for bajtos
Trott Sep 7, 2021
fc45cbe
crypto: fix default MGF1 hash for OpenSSL 3
tniessen Sep 7, 2021
d657ae6
crypto: fix RSA-PSS default saltLength
tniessen Sep 5, 2021
9f3a015
src: add option to disable loading native addons
d3lm Sep 2, 2021
6d399e1
doc: fix CCM cipher example in MJS
tniessen Aug 30, 2021
cfcd571
src: fix -Wunreachable-code-return error
codebytere Sep 8, 2021
9655329
doc: add Ayase-252 to collaborators
Ayase-252 Sep 11, 2021
2a41530
meta: consolidate AUTHORS entry for mikemaccana
Trott Sep 9, 2021
5b5e272
test: fix internet/test-dns
Trott Sep 11, 2021
5983568
worker: avoid potential deadlock on NearHeapLimit
santigimeno Apr 25, 2021
b3843bf
deps: patch v8 for vs2019 in std17
gengjiawen Sep 10, 2021
d55804c
tools: update all dependencies of markdown linter
targos Sep 8, 2021
4367a61
test: mark test-crypto-timing-safe-equal-benchmarks flaky
richardlau Sep 10, 2021
92f182b
module: fix $ pattern replacements
guybedford Sep 8, 2021
4aa2610
test: update OpenSSL3 error messages for 3.0.0+quic
danbev Sep 13, 2021
c804d07
build: add daily/on-demand internet test workflow
Trott Sep 12, 2021
7ee3fbd
meta: update AUTHORS
nodejs-github-bot Sep 12, 2021
01b1946
build: only lint version numbers for pull requests
targos Sep 7, 2021
7376edc
module: deprecate trailing slash pattern mappings
guybedford Sep 8, 2021
ec6de11
tools: update ansi-regex in lint-md rollup
Trott Sep 14, 2021
1eca9bc
module: support pattern trailers for imports field
guybedford Sep 8, 2021
f666f5a
events: fix duplicate require which cause performance penalty
wwwzbwcom Sep 15, 2021
8aad81d
doc: add full list of subsystems
iam-frankqiu Sep 3, 2021
0df47d5
deps: upgrade npm to 7.23.0
npm-robot Sep 9, 2021
81cb14b
doc: clarify that ObjectWrap requires manual cleanup on shutdown
Flarna Sep 10, 2021
31994fb
src: register zlib external references for snapshot
joyeecheung Sep 6, 2021
bc9c2ca
http: remove CRLF variable
shfshanyue Sep 14, 2021
588257c
meta: add .mailmap entry for arcanis
Trott Sep 14, 2021
9c76c69
deps: patch V8 to 9.3.345.19
targos Sep 14, 2021
886921d
build: add paths-ignore for build-tarball workflow
Trott Sep 14, 2021
9793e7f
build: add .mailmap/AUTHORS to path-ignore for test-asan
Trott Sep 14, 2021
8d5787a
build: add .mailmap/AUTHORS to paths-ignore for test-macos
Trott Sep 14, 2021
95528b2
src: remove unnecessary comment and add a CHECK in crypto_tls.cc
RaisinTen Sep 4, 2021
effdfa9
meta: update GeoffreyBooth email address
GeoffreyBooth Sep 14, 2021
7fdb127
doc: add timeout.close
galkin Sep 8, 2021
5c67085
dns: cleanup validation
VoltrexKeyva Sep 10, 2021
b7dc651
build: run modified internet tests on GitHub Actions
Trott Sep 14, 2021
59fff92
fs: make `open` and `close` stream override optional when unused
aduh95 Sep 6, 2021
d80082f
crypto: use `validateObject`
VoltrexKeyva Aug 24, 2021
06f6e01
deps: add riscv64 into openssl Makefile and gen openssl-riscv64
luyahan Sep 10, 2021
1ced732
doc: fix CJS-ESM selector in Safari
bmeck Sep 17, 2021
51f9ad4
src: add option to disable global search paths
zcbenz Aug 13, 2021
9a67296
src: add --no-global-search-paths cli option
zcbenz Aug 16, 2021
6085280
lib: avoid creating a throw away object in `validateObject`
aduh95 Aug 19, 2021
dd50b91
lib: remove useless statement
Sep 3, 2021
8b80dcb
doc: correct parameters in fs and stream documentation
Sep 4, 2021
2488bc0
doc: clean up weird notes about reentrancy
addaleax Sep 14, 2021
98d42fa
meta: add mailmap entry for LPardue
Trott Sep 16, 2021
a8c99d9
tools: update doc generator dependencies
targos Sep 8, 2021
ec94bec
test: do not run `test-corepack-yarn-install` with no internet
aduh95 Sep 12, 2021
4993318
meta: update GeoffreyBooth email addresses in AUTHORS and .mailmap
Trott Sep 17, 2021
a07d844
doc: fix comma splice
Trott Sep 17, 2021
590ace4
tools,doc: fix misrendering of consecutive JS blocks
Trott Sep 18, 2021
a63a4bc
http: limit requests per connection
fatal10110 Sep 11, 2021
f0dec58
crypto: fix webcrypto ed(25519|448) spki/pkcs8 import
panva Sep 16, 2021
b6939a3
doc: prepare README.md for stricter linting
Trott Sep 17, 2021
6be405b
test: fix test-dgram-udp6-link-local-address on Windows
targos Sep 5, 2021
0254b4b
doc: fix markdown indentation in lists
targos Sep 18, 2021
85206b7
deps: upgrade npm to 7.24.0
npm-robot Sep 20, 2021
e4825dc
doc: changes default values for fs.read fns
rbrishabh Jul 14, 2021
4444b5c
meta: update AUTHORS
nodejs-github-bot Sep 19, 2021
aff2a0a
2021-09-22, Version 16.10.0 (Current)
BethGriggs Sep 21, 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
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .github/workflows/authors.yml
@@ -1,5 +1,9 @@
name: "authors update"
on:
schedule:
# Run once a week at 00:05 AM UTC on Sunday.
- cron: '5 0 * * 0'

workflow_dispatch:

jobs:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/build-tarball.yml
Expand Up @@ -3,12 +3,22 @@ name: Build from tarball
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '.mailmap'
- '**.md'
- 'AUTHORS'
- 'doc/**'
push:
branches:
- master
- main
- v[0-9]+.x-staging
- v[0-9]+.x
paths-ignore:
- '.mailmap'
- '**.md'
- 'AUTHORS'
- 'doc/**'

env:
FLAKY_TESTS: dontcare
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-windows.yml
Expand Up @@ -18,7 +18,11 @@ env:
jobs:
build-windows:
if: github.event.pull_request.draft == false
runs-on: windows-latest
strategy:
matrix:
windows: [windows-2019, windows-2022]
fail-fast: false
runs-on: ${{ matrix.windows }}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ env.PYTHON_VERSION }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/comment-labeled.yml
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- name: Post stalled comment
env:
COMMENTS_URL: ${{ github.event.issue.comments_url || github.event.pull_request.comments_url }}
COMMENTS_URL: ${{ github.event.issue.comments_url || github.event.pull_request.comments_url }}
run: |
curl -X POST $COMMENTS_URL \
-H "Content-Type: application/json" \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage-linux.yml
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Report JS
run: npx c8 report --check-coverage
env:
NODE_OPTIONS: --max-old-space-size=8192
NODE_OPTIONS: --max-old-space-size=8192
- name: Report C++
run: cd out && gcovr --gcov-exclude='.*\b(deps|usr|out|obj|cctest|embedding)\b' -v -r Release/obj.target --xml -o ../coverage/coverage-cxx.xml --root=$(cd ../ && pwd)
# Clean temporary output from gcov and c8, so that it's not uploaded:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/find-inactive-collaborators.yml
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
find:

runs-on: ubuntu-latest

steps:
Expand Down
20 changes: 18 additions & 2 deletions .github/workflows/linters.yml
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Environment Information
run: npx envinfo
- name: Get release version numbers
if: ${{ github.event.pull_request.base.ref == github.event.pull_request.base.repo.default_branch }}
if: ${{ github.event.pull_request && github.event.pull_request.base.ref == github.event.pull_request.base.repo.default_branch }}
id: get-released-versions
run: ./tools/node-lint-md-cli-rollup/src/list-released-versions-from-changelogs.mjs
- name: Lint docs
Expand Down Expand Up @@ -90,7 +90,23 @@ jobs:
- name: Lint Python
run: |
make lint-py-build || true
NODE=$(command -v node) make lint-py
make lint-py
lint-yaml:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Lint YAML
run: |
make lint-yaml-build || true
make lint-yaml

lint-sh:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/notify-force-push.yml
Expand Up @@ -11,16 +11,16 @@ jobs:
if: ${{ github.event.forced && github.repository == 'nodejs/node' }}
runs-on: ubuntu-latest
steps:
- name: Slack Notification
uses: rtCamp/action-slack-notify@master
env:
SLACK_COLOR: '#DE512A'
SLACK_ICON: https://github.com/nodejs.png?size=48
SLACK_TITLE: '${{ github.actor }} force-pushed to ${{ github.ref }}'
SLACK_MESSAGE: |
A commit was force-pushed to <https://github.com/${{ github.repository }}/tree/${{ github.repository.default_branch }}|${{ github.repository }}@${{ github.repository.default_branch }}> by <https://github.com/${{ github.actor }}|${{ github.actor }}>
- name: Slack Notification
uses: rtCamp/action-slack-notify@master
env:
SLACK_COLOR: '#DE512A'
SLACK_ICON: https://github.com/nodejs.png?size=48
SLACK_TITLE: '${{ github.actor }} force-pushed to ${{ github.ref }}'
SLACK_MESSAGE: |
A commit was force-pushed to <https://github.com/${{ github.repository }}/tree/${{ github.repository.default_branch }}|${{ github.repository }}@${{ github.repository.default_branch }}> by <https://github.com/${{ github.actor }}|${{ github.actor }}>

Before: <https://github.com/${{ github.repository }}/commit/${{ github.event.before }}|${{ github.event.before }}>
After: <https://github.com/${{ github.repository }}/commit/${{ github.event.after }}|${{ github.event.after }}>
SLACK_USERNAME: nodejs-bot
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
Before: <https://github.com/${{ github.repository }}/commit/${{ github.event.before }}|${{ github.event.before }}>
After: <https://github.com/${{ github.repository }}/commit/${{ github.event.after }}|${{ github.event.after }}>
SLACK_USERNAME: nodejs-bot
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
14 changes: 9 additions & 5 deletions .github/workflows/test-asan.yml
@@ -1,6 +1,13 @@
name: test-asan

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '.mailmap'
- '**.md'
- 'AUTHORS'
- 'doc/**'
push:
branches:
- master
Expand All @@ -9,12 +16,9 @@ on:
- v[0-9]+.x-staging
- v[0-9]+.x
paths-ignore:
- '.mailmap'
- '**.md'
- 'doc/**'
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '**.md'
- 'AUTHORS'
- 'doc/**'

env:
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/test-internet.yml
@@ -0,0 +1,40 @@
name: test-internet

on:
workflow_dispatch:
schedule:
- cron: 5 0 * * *

pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- test/internet/**
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
- v[0-9]+.x
paths:
- test/internet/**

env:
PYTHON_VERSION: 3.9
FLAKY_TESTS: dontcare

jobs:
test-internet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Build
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn"
- name: Test Internet
run: make test-internet -j2 V=1;
4 changes: 4 additions & 0 deletions .github/workflows/test-macos.yml
Expand Up @@ -4,7 +4,9 @@ on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '.mailmap'
- '**.md'
- 'AUTHORS'
- 'doc/**'
push:
branches:
Expand All @@ -14,7 +16,9 @@ on:
- v[0-9]+.x-staging
- v[0-9]+.x
paths-ignore:
- '.mailmap'
- '**.md'
- 'AUTHORS'
- 'doc/**'

env:
Expand Down
5 changes: 3 additions & 2 deletions .gitignore
Expand Up @@ -9,18 +9,19 @@
!deps/**/.*
!test/fixtures/**/.*
!.clang-format
!.cpplint
!.editorconfig
!.eslintignore
!.eslintrc.js
!.eslintrc.yaml
!.flake8
!.gitattributes
!.github
!.gitignore
!.gitkeep
!.mailmap
!.nycrc
!.eslintrc.yaml
!.cpplint
!.yamllint.yaml

# === Rules for root dir ===
/core
Expand Down
10 changes: 9 additions & 1 deletion .mailmap
Expand Up @@ -150,6 +150,8 @@ Gabriel de Perthuis <g2p.code@gmail.com>
Gareth Ellis <gareth.ellis@uk.ibm.com> <gareth@gsellis.com>
Garwah Lam <garwahlam@gmail.com>
garygsc <garygsc@gmail.com> <GaryGSC@users.noreply.github.com>
Geoffrey Booth <webadmin@geoffreybooth.com> <GeoffreyBooth@users.noreply.github.com>
Geoffrey Booth <webadmin@geoffreybooth.com> <webmaster@geoffreybooth.com>
Geoffrey Bugaisky <gbugaisk@gmail.com>
Gerhard Stöbich <deb2001-github@yahoo.de>
Gibson Fahnestock <gibfahn@gmail.com> <gib@uk.ibm.com>
Expand Down Expand Up @@ -247,9 +249,11 @@ Kris Kowal <kris.kowal@cixar.com>
Kyle Robinson Young <kyle@dontkry.com>
Lakshmi Swetha Gopireddy <lakshmiswethagopireddy@gmail.com> <lgopired@in.ibm.com>
Leeseean Chiu <leeseean@qq.com>
Lucas Pardue <lucaspardue.24.7@gmail.com> <lucas.pardue@bbc.co.uk>
Luke Bayes <lbayes@patternpark.com>
Lydia Kats <llkats@gmail.com>
Maciej Małecki <maciej.malecki@notimplemented.org> <me@mmalecki.com>
Maël Nison <nison.mael@gmail.com> <mael@fb.com>
MaleDong <maledong_github@outlook.com> <maledong_private@qq.com>
Malte-Thorben Bruns <skenqbx@gmail.com>
Malte-Thorben Bruns <skenqbx@gmail.com> <skenqbx@googlemail.com>
Expand Down Expand Up @@ -287,12 +291,16 @@ Micleusanu Nicu <micnic90@gmail.com>
Miguel Angel Asencio Hurtado <maasencioh@gmail.com>
Mikael Bourges-Sevenier <mikeseven@gmail.com> <msevenier@motorola.com>
Mike Kaufman <mike.kaufman@microsoft.com> <mkaufman@microsoft.com>
Mike MacCana <mike.maccana@gmail.com> <mike@certsimple.com>
Minqi Pan <pmq2001@gmail.com>
Minuk Park <parkm86@gmail.com>
Minwoo Jung <nodecorelab@gmail.com> <jmwsoft@gmail.com>
Minwoo Jung <nodecorelab@gmail.com> <minwoo@nodesource.com>
Miroslav Bajtoš <miroslav@strongloop.com> <miro.bajtos@gmail.com>
Miroslav Bajtoš <oss@bajtos.net> <mbajtoss@gmail.com>
Miroslav Bajtoš <oss@bajtos.net> <miro.bajtos@gmail.com>
Miroslav Bajtoš <oss@bajtos.net> <miroslav@strongloop.com>
Mitar Milutinovic <mitar.git@tnode.com>
Mithun Sasidharan <mithunsasidharan89@gmail.com> <msasidharan@paypal.com>
Myles Borins <myles.borins@gmail.com> <mborins@us.ibm.com>
Myles Borins <myles.borins@gmail.com> <mylesborins@github.com>
Myles Borins <myles.borins@gmail.com> <mylesborins@google.com>
Expand Down
8 changes: 8 additions & 0 deletions .yamllint.yaml
@@ -0,0 +1,8 @@
extends: relaxed

rules:
line-length: disable

ignore: |
/deps/
node_modules/