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

v20.4.0 proposal #48643

Merged
merged 133 commits into from
Jul 5, 2023
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
d6ecbde
benchmark: add crypto.create*Key
panva Jun 5, 2023
83cfc67
test: update user-timing web-platform tests
anonrig Jun 5, 2023
f60205c
build: update action to close stale PRs
mhdawson May 26, 2023
12fa716
benchmark: refactor crypto oneshot
panva Jun 5, 2023
141e5aa
test: update FileAPI web-platform tests
anonrig Jun 5, 2023
46a3d06
test: update encoding web-platform tests
anonrig Jun 5, 2023
0923dc0
tools: disable jsdoc/no-defaults rule
lpinca Jun 4, 2023
b1cef81
tools: update eslint to 8.42.0
nodejs-github-bot Jun 4, 2023
10385c8
tools: add version update to external dependencies
fasenderos Jun 6, 2023
fc5d1bd
test: refactor test-gc-http-client-timeout
lpinca Jun 6, 2023
f1ead59
test: ignore the copied entry_point.c
lpinca Jun 6, 2023
78cffcd
deps: update zlib to 982b036
nodejs-github-bot Jun 6, 2023
e10a4cd
doc: run license-builder
github-actions[bot] Jun 7, 2023
4ec2d92
module: reduce url invocations in esm/load.js
anonrig Jun 7, 2023
159ab66
lib: reduce URL invocations on http2 origins
anonrig Jun 7, 2023
93bf447
test_runner: refactor coverage report output for readability
dmnsgn Jun 7, 2023
8cd56c1
deps: update ada to 2.5.1
nodejs-github-bot Jun 3, 2023
764119b
test: update url web-platform tests
anonrig Jun 3, 2023
fafe651
url: conform to origin getter spec changes
anonrig Jun 3, 2023
4132931
deps: update simdutf to 3.2.14
nodejs-github-bot Jun 7, 2023
1398829
test: fix `test-net-autoselectfamily` for kernel without IPv6 support
LiviaMedeiros Jun 7, 2023
325441a
src: add missing to_ascii method in dns queries
lemire Jun 7, 2023
7c790ca
test: fix flaky test-watch-mode
MoLow Jun 8, 2023
b339d80
deps: upgrade npm to 9.7.1
npm-cli-bot Jun 8, 2023
8009e2c
tools: update eslint-plugin-jsdoc
richardlau Jun 9, 2023
a2e107d
tools: update create-or-update-pull-request-action
richardlau Jun 9, 2023
06d49c1
src: implement natives binding without special casing
joyeecheung May 6, 2023
1b84dde
src: implement constants binding directly
joyeecheung May 6, 2023
4066295
bootstrap: simplify initialization of source map handlers
joyeecheung Jun 2, 2023
77cb1ee
test: add missing <algorithm> include for std::find
thesamesam Jun 9, 2023
e60b6de
bootstrap: unify snapshot builder and embedder entry points
joyeecheung May 25, 2023
84fe811
repl: display dynamic import variant in static import error messages
hemanth Jun 11, 2023
0162a0f
lib: add support for inherited custom inspection methods
aduh95 Jun 11, 2023
f9c0d5a
lib: fix blob.stream() causing hanging promises
debadree25 Jun 11, 2023
5ebe3a4
test_runner: make `--test-name-pattern` recursive
MoLow Jun 11, 2023
e9c9d18
typings: fix JSDoc in ESM loader modules
aduh95 Jun 11, 2023
40ae6eb
https: fix connection checking interval not clearing on server close
Linkgoron Jun 12, 2023
6591826
src: handle wasm out of bound in osx will raise SIGBUS correctly
HerrCai0907 Jun 12, 2023
3a62994
doc: fix typo in events.md
RaisinTen Jun 12, 2023
17a0e1d
doc: add link for news from security wg
mhdawson Jun 8, 2023
b9c643e
doc: add additional info on TSFN dispatch
mhdawson Jun 6, 2023
89aaf16
crypto: remove OPENSSL_FIPS guard for OpenSSL 3
richardlau Jun 12, 2023
bf0444b
deps: update zlib to 1.2.13.1-motley-3ca9f16
nodejs-github-bot Jun 13, 2023
fe333d2
crypto: update root certificates to NSS 3.90
nodejs-github-bot Jun 13, 2023
5cacdf9
doc: add kvakil to collaborators
kvakil Jun 13, 2023
de4f14c
test_runner: add enqueue and dequeue events
MoLow Jun 13, 2023
120ac74
src: remove aliased buffer weak callback
legendecas May 8, 2023
0500967
src: make realm binding data store weak
legendecas Apr 2, 2023
87ad657
node-api: implement external strings
gabrielschulhof Jun 2, 2023
f7f3208
build: sync libuv header change
gengjiawen Jun 14, 2023
4ab5e8d
doc: refine when file is undefined in test events
MoLow Jun 14, 2023
d623616
tools: update lint-md-dependencies
nodejs-github-bot Jun 14, 2023
562b3d4
lib: move web global bootstrapping to the expected file
legendecas May 5, 2023
b6ae411
lib: remove obsolete deletion of bufferBinding.zeroFill
legendecas May 5, 2023
641a2e9
doc: add preveen-stack to triagers
preveen-stack Jun 15, 2023
8c2c02d
lib: create weakRef only if any signals provided
atlowChemi Jun 15, 2023
954e46e
src: return uint32 for `guessHandleType`
anonrig Jun 5, 2023
4971e46
src: add V8 fast api to `guessHandleType`
anonrig Jun 5, 2023
38bf290
doc: revise `error.md` introduction
aduh95 Jun 15, 2023
dbf9e9f
node-api: provide napi_define_properties fast path
gabrielschulhof Jun 13, 2023
e2d579e
doc: update fs flags documentation
sinkhaha Jun 16, 2023
fe16749
lib: fix output message when repl is used with pm
RafaelGSS Jun 17, 2023
e500b43
tools: prepare tools/doc for to-vfile 8.0.0
Trott Jun 18, 2023
cd83530
tools: update doc to to-vfile@8.0.0
nodejs-github-bot Jun 18, 2023
90b5335
tools: update eslint to 8.43.0
nodejs-github-bot Jun 18, 2023
2f0f403
http: fix for handling on boot timers headers and request
franciszek-koltuniuk-red Jun 19, 2023
6c59083
tools: automate update openssl v16
marco-ippolito Jun 19, 2023
2a403cd
doc: link to Runtime Keys in export conditions
jcbhmr Jun 20, 2023
4345526
tools: replace sed with perl
lpinca Jun 20, 2023
37bc0ea
doc: improve inspector.close() description
mmarchini Jun 21, 2023
5bc13a4
src: revert IS_RELEASE
RafaelGSS Jun 20, 2023
52de27b
tools: pin ruff version number
Trott Jun 21, 2023
bdcc037
report: disable js stack when no context is entered
legendecas Jun 21, 2023
09af579
test: skip test-runner-watch-mode on IBMi
MoLow Jun 21, 2023
7d01c88
test_runner: add initial draft for fakeTimers
ErickWendel Jun 22, 2023
97b00c3
lib: add option to force handling stopped events
atlowChemi Jun 22, 2023
188b34d
deps: upgrade npm to 9.7.2
npm-cli-bot Jun 22, 2023
10bd5f4
tools: update lint-md-dependencies
nodejs-github-bot Jun 22, 2023
c6a69e3
http: remove useless ternary in test
LockingReal Jun 22, 2023
60c2ea4
doc: add vmoroz to collaborators
vmoroz Jun 22, 2023
bda1228
doc: update security-release-process.md
RafaelGSS Jun 22, 2023
c4b8ede
src: refactor `SplitString` in util
anonrig Jun 22, 2023
2b141c4
deps: update icu to 73.2
nodejs-github-bot Jun 23, 2023
0da03f0
lib: remove duplicated requires in check_syntax
anonrig Jun 23, 2023
b03146d
typings: remove unused primordials
anonrig Jun 23, 2023
112335e
deps: update corepack to 0.18.1
nodejs-github-bot Jun 23, 2023
f0709fd
module: add SourceMap.findOrigin
isaacs Jun 23, 2023
ca2ae86
doc: unnest `mime` and `MIMEParams` from MIMEType constructor
Semigradsky Jun 23, 2023
417927b
doc: fix `filename` type in `watch` result
Semigradsky Jun 23, 2023
32bda81
lib: reduce url getters on `makeRequireFunction`
anonrig Jun 24, 2023
84d0eb7
stream: fix premature pipeline end
ronag Jun 24, 2023
24a8fa9
test: remove unnecessary noop function args to `mustNotCall()`
aduh95 Jun 24, 2023
6551538
build: fix `configure --link-module`
richardlau Jun 24, 2023
333907b
tools: speedup compilation of js2c output
kvakil Jun 24, 2023
d367b73
fs: use kResistStopPropagation
atlowChemi Jun 24, 2023
407ce3f
test: define NAPI_VERSION before including node_api.h
legendecas Jun 24, 2023
d91b0fd
deps: V8: cherry-pick 1a782f6543ae
kvakil Jun 22, 2023
4f4d0b8
child_process: improve spawn performance on Linux
kvakil Jun 22, 2023
9750d82
doc: add description of autoAllocateChunkSize in ReadableStream
debadree25 Jun 24, 2023
30f4bc4
test: make IsolateData per-isolate in cctest
joyeecheung Jun 25, 2023
0f912a7
test: mark test-child-process-stdio-reuse-readable-stdio flaky
lpinca Jun 25, 2023
e50c316
fs, stream: initial `Symbol.dispose` and `Symbol.asyncDispose` support
MoLow Jun 25, 2023
4efa680
permission: handle end nodes with children cases
RafaelGSS Jun 25, 2023
4cad9fd
fs: remove unneeded return statement
lpinca Jun 26, 2023
19fde63
fs: call the callback with an error if writeSync fails
killagu Jun 26, 2023
2f66147
deps: update corepack to 0.19.0
nodejs-github-bot Jun 27, 2023
f43d718
deps: update minimatch to 9.0.2
nodejs-github-bot Jun 27, 2023
203c3cf
tools: update lint-md-dependencies
nodejs-github-bot Jun 27, 2023
2c36397
net: improve network family autoselection handle handling
ShogunPanda Jun 27, 2023
99ae0b9
doc: run license-builder
github-actions[bot] Jun 28, 2023
8a611a3
benchmark: add bar.R
RafaelGSS Jun 28, 2023
504d1d7
tls: add ALPNCallback server option for dynamic ALPN negotiation
pimterry Jun 28, 2023
404958f
src: fix Coverity issue regarding unnecessary copy
anonrig Jun 28, 2023
ed1d047
deps: update googletest to ec4fed9
nodejs-github-bot Jun 29, 2023
d96f921
deps: update zlib to 1.2.13.1-motley-f81f385
nodejs-github-bot Jun 29, 2023
cc3a056
doc: update return type for describe
shrujalshah28 Jun 29, 2023
a9756f3
test: add Symbol.dispose support to mock timers
benjamingr Jun 29, 2023
75aa0a7
test: remove test-timers-immediate-queue flaky designation
lpinca Jun 27, 2023
07eb310
test: remove test-crypto-keygen flaky designation
lpinca Jun 27, 2023
94ebb02
http: server add async dispose
atlowChemi Jun 25, 2023
5378ad8
http2: server add `asyncDispose`
atlowChemi Jun 25, 2023
97a58c5
https: server add `asyncDispose`
atlowChemi Jun 25, 2023
ba8d048
deps: update acorn to 8.9.0
nodejs-github-bot Jun 18, 2023
1b2b930
deps: add loong64 config into openssl gypi
shipujin Jun 9, 2023
15530fe
lib: merge cjs and esm package json reader caches
anonrig Jun 29, 2023
7ad2d3a
doc: update security release stewards
RafaelGSS Jun 30, 2023
3df7368
test: add missing assertions to test-runner-cli
MoLow Jul 2, 2023
6199e19
deps: upgrade to libuv 1.46.0
santigimeno Jul 2, 2023
7d8a0b6
http: null the joinDuplicateHeaders property on cleanup
lpinca Jul 3, 2023
6d00c2e
doc: fix options order
lpinca Jul 3, 2023
2c56835
test_runner: fixed `test` shorthands return type
shockerqt Jul 3, 2023
97bd9cc
src: fix uninitialized field access in AsyncHooks
jkrems Jul 3, 2023
73c632e
2023-07-05, Version 20.4.0 (Current)
RafaelGSS Jul 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ module.exports = {
'jsdoc/newline-after-description': 'off',
'jsdoc/require-returns-description': 'off',
'jsdoc/valid-types': 'off',
'jsdoc/no-defaults': 'off',
'jsdoc/no-undefined-types': 'off',
'jsdoc/require-param': 'off',
'jsdoc/check-tag-names': 'off',
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/close-stale-pull-requests.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
name: Close stale feature requests
name: Close stale pull requests
on:
workflow_dispatch:
inputs:
endDate:
description: stop processing PRs after this date
required: false
type: string
schedule:
# Run every day at 1:00 AM UTC.
- cron: 0 1 * * *

# yamllint disable rule:empty-lines
env:
Expand Down Expand Up @@ -51,7 +48,6 @@ jobs:
end-date: ${{ env.END_DATE }}
days-before-issue-stale: -1
days-before-issue-close: -1
only-labels: test-stale-pr
days-before-stale: 150
days-before-close: 30
stale-issue-label: stale
Expand Down
81 changes: 59 additions & 22 deletions .github/workflows/update-openssl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,36 +10,24 @@ permissions:
contents: read

jobs:
openssl-update:
openssl-v3-update:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
persist-credentials: false
- name: Check if update branch already exists
run: |
BRANCH_EXISTS=$(git ls-remote --heads origin actions/tools-update-openssl)
echo "BRANCH_EXISTS=$BRANCH_EXISTS" >> $GITHUB_ENV
- name: Check and download new OpenSSL version
# Only run rest of the workflow if the update branch does not yet exist
if: ${{ env.BRANCH_EXISTS == '' }}
run: |
NEW_VERSION=$(gh api repos/quictls/openssl/releases -q '.[].tag_name|select(contains("openssl-3"))|ltrimstr("openssl-")' | head -n1)
NEW_VERSION_NO_RELEASE_1=$(case $NEW_VERSION in *quic1) echo ${NEW_VERSION%1};; *) echo $NEW_VERSION;; esac)
VERSION_H="./deps/openssl/config/archs/linux-x86_64/asm/include/openssl/opensslv.h"
CURRENT_VERSION=$(grep "OPENSSL_FULL_VERSION_STR" $VERSION_H | sed -n "s/^.*VERSION_STR \"\(.*\)\"/\1/p" | sed 's/+/-/g')
echo "comparing current version: $CURRENT_VERSION with $NEW_VERSION_NO_RELEASE_1"
if [ "$NEW_VERSION_NO_RELEASE_1" != "$CURRENT_VERSION" ]; then
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
echo "HAS_UPDATE=true" >> $GITHUB_ENV
./tools/dep_updaters/update-openssl.sh download "$NEW_VERSION"
fi
./tools/dep_updaters/update-openssl.sh download_v3 > temp-output
cat temp-output
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
- name: Create PR with first commit
if: env.HAS_UPDATE
uses: gr2m/create-or-update-pull-request-action@df20b2c073090271599a08c55ae26e0c3522b329 # v1.9.2
if: env.NEW_VERSION
uses: gr2m/create-or-update-pull-request-action@77596e3166f328b24613f7082ab30bf2d93079d5
# Creates a PR with the new OpenSSL source code committed
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
Expand All @@ -53,20 +41,69 @@ jobs:
path: deps/openssl
update-pull-request-title-and-body: true
- name: Regenerate platform specific files
if: env.HAS_UPDATE
if: env.NEW_VERSION
run: |
sudo apt install -y nasm libtext-template-perl
./tools/dep_updaters/update-openssl.sh regenerate
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
- name: Add second commit
# Adds a second commit to the PR with the generated platform-dependent files
if: env.HAS_UPDATE
uses: gr2m/create-or-update-pull-request-action@df20b2c073090271599a08c55ae26e0c3522b329 # v1.9.2
if: env.NEW_VERSION
uses: gr2m/create-or-update-pull-request-action@77596e3166f328b24613f7082ab30bf2d93079d5
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
with:
author: Node.js GitHub Bot <github-bot@iojs.org>
branch: actions/tools-update-openssl # Custom branch *just* for this Action.
commit-message: 'deps: update archs files for openssl-${{ env.NEW_VERSION }}'
path: deps/openssl
openssl-v1-update:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
persist-credentials: false
ref: v16.x-staging
- name: Check and download new OpenSSL version
run: |
./tools/dep_updaters/update-openssl.sh download_v1 > temp-output
cat temp-output
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
- name: Create PR with first commit
if: env.NEW_VERSION
uses: gr2m/create-or-update-pull-request-action@df20b2c073090271599a08c55ae26e0c3522b329 # v1.9.2
# Creates a PR with the new OpenSSL source code committed
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
with:
author: Node.js GitHub Bot <github-bot@iojs.org>
body: This is an automated update of OpenSSL to ${{ env.NEW_VERSION }}.
branch: actions/tools-update-openssl-v1 # Custom branch *just* for this Action.
commit-message: 'deps: upgrade openssl sources to quictls/openssl-${{ env.NEW_VERSION }}'
labels: dependencies
title: '[v16.x] deps: update OpenSSL to ${{ env.NEW_VERSION }}'
path: deps/openssl
update-pull-request-title-and-body: true
- name: Regenerate platform specific files
if: env.NEW_VERSION
run: |
sudo apt install -y nasm libtext-template-perl
./tools/dep_updaters/update-openssl.sh regenerate
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
- name: Add second commit
# Adds a second commit to the PR with the generated platform-dependent files
if: env.NEW_VERSION
uses: gr2m/create-or-update-pull-request-action@df20b2c073090271599a08c55ae26e0c3522b329 # v1.9.2
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
with:
author: Node.js GitHub Bot <github-bot@iojs.org>
branch: actions/tools-update-openssl-v1 # Custom branch *just* for this Action.
commit-message: 'deps: update archs files for openssl-${{ env.NEW_VERSION }}'
path: deps/openssl
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.3.1">20.3.1</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.4.0">20.4.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.3.1">20.3.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.3.0">20.3.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.2.0">20.2.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.1.0">20.1.0</a><br/>
Expand Down
Loading