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

v19.4.0 proposal #46061

Merged
merged 120 commits into from Jan 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
e294410
deps: V8: cherry-pick bf0bd4868dde
targos Dec 19, 2022
7bd6a2c
wasi: fast calls
devsnek Dec 8, 2022
faee973
deps: V8: cherry-pick bc831f8ba33b
anonrig Dec 10, 2022
7e047df
doc: fix wrong output of example in util
deokjinkim Dec 12, 2022
d08a574
tls: fix re-entrancy issue with TLS close_notify
davidben Sep 6, 2022
ca9b9b9
tls: don't treat fatal TLS alerts as EOF
davidben Sep 6, 2022
99fec0b
deps: update undici to 5.14.0
nodejs-github-bot Dec 13, 2022
3c2ce56
test: remove use of --experimental-global-webcrypto flag
panva Dec 13, 2022
bdbb676
test_runner: parse yaml
MoLow Dec 13, 2022
c37a119
doc: remove last example use of require('crypto').webcrypto
panva Dec 11, 2022
fea122d
test: enable idlharness WebCryptoAPI WPTs
panva Dec 13, 2022
27cf389
tools: update eslint to 8.29.0
nodejs-github-bot Dec 14, 2022
124c2b3
tools: fix incorrect version history order
welfoz Dec 14, 2022
24cae6b
repl: improve robustness wrt to prototype pollution
aduh95 Dec 14, 2022
c86f4a1
doc: remove Juan Jose keys
RafaelGSS Dec 14, 2022
5de08ef
test: add postject to fixtures
RaisinTen Dec 15, 2022
b93a967
doc: add stream/promises pipeline and finished to doc
marco-ippolito Dec 15, 2022
dd77c05
bootstrap: support module_wrap binding in snapshot
joyeecheung Dec 13, 2022
508e830
bootstrap: include event_target into the built-in snapshot
joyeecheung Dec 13, 2022
c6ab449
modules: move modules/cjs/helpers.js to modules/helpers.js
joyeecheung Dec 13, 2022
943852a
lib: add getLazy() method to internal/util
joyeecheung Dec 13, 2022
e529ea4
lib: lazy-load deps in source_map_cache.js
joyeecheung Dec 13, 2022
f6c6673
lib: lazy-load deps in modules/run_main.js
joyeecheung Dec 13, 2022
0b3512f
modules: move callbacks and conditions into modules/esm/utils.js
joyeecheung Dec 13, 2022
d181b76
bootstrap: make CJS loader snapshotable
joyeecheung Dec 13, 2022
6e3d7f8
bootstrap: optimize modules loaded in the built-in snapshot
joyeecheung Dec 13, 2022
c980286
crypto: fix error when getRandomValues is called without arguments
panva Dec 12, 2022
6eede72
crypto: fix CryptoKey WebIDL conformance
panva Dec 12, 2022
b5e1245
test,crypto: update WebCryptoAPI WPT
panva Dec 14, 2022
dfa58c1
doc: remove release cleanup step
targos Dec 16, 2022
e229f06
doc: add backticks to webcrypto rsaOaepParams
panva Dec 16, 2022
53f02cf
test: add CryptoKey transferring tests
panva Dec 16, 2022
c9747f1
crypto: use globalThis.crypto over require('crypto').webcrypto
panva Dec 16, 2022
d500445
doc: reduce likelihood of mismerges during release
richardlau Dec 16, 2022
10367c4
test: update url wpt to latest
anonrig Dec 17, 2022
c5004d4
test_runner: run t.after() if test body throws
cjihrig Dec 17, 2022
71056da
test: update encoding wpt to latest
anonrig Dec 17, 2022
97868be
test: fix mock.method to support class instances
ErickWendel Dec 17, 2022
eff92a6
src: add undici and acorn to `process.versions`
debadree25 Dec 18, 2022
794611a
tools: enforce use of trailing commas in `tools/`
aduh95 Dec 18, 2022
353dab5
meta: update AUTHORS
nodejs-github-bot Dec 18, 2022
95ce16d
test: fix test broken under --node-builtin-modules-path
GeoffreyBooth Dec 18, 2022
cf30fca
doc: add tip for NODE_MODULE
theanarkh Dec 19, 2022
2f898f2
src: fix tls certificate root store data race
bnoordhuis Dec 19, 2022
a89f8c1
doc: fix some history entries in `deprecations.md`
aduh95 Dec 19, 2022
f3bb6a3
node-api: generalize finalizer second pass callback
legendecas Dec 19, 2022
f446af7
tools: update lint-md dependencies
nodejs-github-bot Dec 19, 2022
29f90cf
deps: update timezone to 2022g
nodejs-github-bot Dec 20, 2022
56f3ad1
crypto: fix CryptoKey prototype WPT
panva Dec 14, 2022
97a8e05
test: add all WebCryptoAPI globals to WPTRunner's loadLazyGlobals
panva Dec 14, 2022
f7dba5b
crypto: fix globalThis.crypto this check
panva Dec 16, 2022
c6c0947
test: split parallel fs-watch-recursive tests
anonrig Dec 20, 2022
27d3201
src: check size of args before using for exec_path
awilfox Dec 20, 2022
4454f5f
src: fix UB in overflow checks
bnoordhuis Dec 20, 2022
7bdad94
deps: V8: backport 8ca9f77d0f7c
addaleax Dec 21, 2022
9ed547b
doc: fix wrong output of example in `url.password`
deokjinkim Dec 21, 2022
cf2ff81
benchmark: include webstreams benchmark
RafaelGSS Dec 21, 2022
b995138
src: use CreateEnvironment instead of inlining its code where possible
addaleax Dec 21, 2022
e7b98a3
build: add option to disable shared readonly heap
addaleax Dec 21, 2022
d71883e
os: add availableParallelism()
cjihrig Dec 17, 2022
faf5c23
doc: add parallelism note to os.cpus()
cjihrig Dec 18, 2022
c2ed0cc
src: use string_view for FastStringKey implementation
addaleax Dec 21, 2022
344c5ec
deps: add simdutf dependency
anonrig Nov 30, 2022
ae842a4
util: add fast path for text-decoder fatal flag
anonrig Dec 15, 2022
98fc94a
deps: disable avx512 for simutf on benchmark ci
anonrig Dec 17, 2022
8046e0e
errors: refactor to use a method that formats a list string
daeyeon Dec 23, 2022
ded87f6
src: fix creating `Isolate`s from addons
addaleax Dec 23, 2022
e956956
meta: add `nodejs/test_runner` to CODEOWNERS
aduh95 Dec 23, 2022
1282f7f
tools: update GitHub workflow action
VoltrexKeyva Dec 23, 2022
908f4fa
doc: show output of example in http
deokjinkim Dec 24, 2022
86e30fc
meta: add `nodejs/loaders` to CODEOWNERS
GeoffreyBooth Dec 24, 2022
4457e05
doc: remove port from example in `url.hostname`
deokjinkim Dec 24, 2022
7ea72ee
http: improved timeout defaults handling
ShogunPanda Dec 24, 2022
8e6b8db
net: add autoSelectFamily global getter and setter
ShogunPanda Dec 24, 2022
d8b5b7d
doc: fix typos in packages.md
ericmutta Dec 23, 2022
eaf6b63
doc: update error message of example in repl
deokjinkim Dec 24, 2022
233a66f
build: fix arm64 cross-compile from powershell
StefanStojanovic Dec 24, 2022
05fee67
Revert "deps: disable avx512 for simutf on benchmark ci"
anonrig Dec 24, 2022
fbe399c
buffer: add buffer.isUtf8 for utf8 validation
anonrig Dec 25, 2022
4c08505
process,worker: ensure code after exit() effectless
ywave620 Dec 25, 2022
71cc3b3
doc: replace single executable champion in strategic initiatives doc
RaisinTen Dec 25, 2022
e4323f0
deps: fix updater github workflow job
anonrig Dec 25, 2022
0f5a145
test: print failed JS/parallel tests
GeoffreyBooth Dec 27, 2022
7c518cb
tools: update lint-md-dependencies to rollup@3.8.1
nodejs-github-bot Dec 27, 2022
0a70316
meta: update AUTHORS
nodejs-github-bot Dec 27, 2022
7ae24ab
test_runner: use os.availableParallelism()
cjihrig Dec 27, 2022
e73be1b
deps: update to uvwasi 0.0.14
cjihrig Dec 27, 2022
f968fdb
tools: add url to `AUTHORS` update automation
aduh95 Dec 27, 2022
952e03a
doc: make EventEmitterAsyncResource's `options` as optional
deokjinkim Dec 27, 2022
0552b13
deps: update simdutf to 2.0.9
nodejs-github-bot Dec 27, 2022
db535b6
src: define per-isolate internal bindings registration callback
legendecas Oct 25, 2022
6c5b7e6
src: add worker per-isolate binding initialization
legendecas Nov 29, 2022
bc43922
http: replace `var` with `const` on code of comment
deokjinkim Dec 28, 2022
9251dce
doc: use `os.availableParallelism()` in async_context and cluster
deokjinkim Dec 28, 2022
3d09754
debugger: refactor console in lib/internal/debugger/inspect.js
debadree25 Dec 28, 2022
261d6d0
src: fix crash on OnStreamRead on Windows
santigimeno Dec 28, 2022
0858956
stream: fix typo in JSDoc
deokjinkim Dec 28, 2022
8be1b66
doc: fix wrong output of example in `url.protocol`
deokjinkim Dec 28, 2022
af25c95
src: fix typo in `node_file.cc`
kwarabei Dec 28, 2022
2d49e0e
esm: rewrite loader hooks test
GeoffreyBooth Dec 31, 2022
ab22a8f
stream: refactor to use `validateFunction`
deokjinkim Jan 1, 2023
22a66cf
fs: refactor to use `validateInteger`
deokjinkim Jan 1, 2023
49253e1
doc: use console.error for error case in timers and tls
deokjinkim Jan 1, 2023
2807efa
test: use `process.hrtime.bigint` instead of `process.hrtime`
deokjinkim Jan 1, 2023
9e16406
doc: sort http.createServer() options alphabetically
lpinca Dec 1, 2022
71bf513
deps: patch V8 to 10.8.168.25
targos Dec 28, 2022
28f9089
lib: use `kEmptyObject` as default value for options
deokjinkim Dec 31, 2022
54b748a
async_hooks: refactor to use `validateObject`
deokjinkim Jan 1, 2023
389cc3e
vm: refactor to use `validateStringArray`
deokjinkim Jan 1, 2023
fdda2ff
deps: V8: cherry-pick 30861a39323d
AaronFriel Dec 13, 2022
47cc0e4
events: fix violation of symbol naming convention
deokjinkim Jan 1, 2023
7f1daed
lib: update JSDoc of `getOwnPropertyValueOrDefault`
deokjinkim Jan 1, 2023
54776ff
tools: add release host var to promotion script
ruyadorno Jan 1, 2023
e113d16
doc: update isUtf8 description
anonrig Jan 1, 2023
5a8d125
tools: update doc to unist-util-select@4.0.2
nodejs-github-bot Jan 1, 2023
0f0d22a
tools: update lint-md-dependencies to rollup@3.9.0
nodejs-github-bot Jan 1, 2023
25d0a94
meta: update AUTHORS
nodejs-github-bot Jan 1, 2023
777c551
crypto: ensure exported webcrypto EC keys use uncompressed point format
bnoordhuis Dec 30, 2022
4d62b09
net: handle socket.write(cb) edge case
santigimeno Jan 1, 2023
e58ed6d
2023-01-06, Version 19.4.0 (Current)
RafaelGSS Jan 2, 2023
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
  •  
  •  
  •  
20 changes: 10 additions & 10 deletions .eslintrc.js
Expand Up @@ -68,7 +68,7 @@ module.exports = {
files: ['**/*.md/*.cjs', '**/*.md/*.js'],
parserOptions: {
sourceType: 'script',
ecmaFeatures: { impliedStrict: true }
ecmaFeatures: { impliedStrict: true },
},
rules: { strict: 'off' },
},
Expand Down Expand Up @@ -103,11 +103,11 @@ module.exports = {
},
{
name: 'Buffer',
message: 'Import Buffer instead of using the global'
message: 'Import Buffer instead of using the global',
},
{
name: 'process',
message: 'Import process instead of using the global'
message: 'Import process instead of using the global',
},
] },
},
Expand All @@ -134,13 +134,7 @@ module.exports = {
ignorePattern: '.*',
},
}],
'comma-dangle': ['error', {
arrays: 'always-multiline',
exports: 'only-multiline',
functions: 'only-multiline',
imports: 'only-multiline',
objects: 'only-multiline',
}],
'comma-dangle': ['error', 'always-multiline'],
'comma-spacing': 'error',
'comma-style': 'error',
'computed-property-spacing': 'error',
Expand Down Expand Up @@ -239,6 +233,12 @@ module.exports = {
selector: "CallExpression[callee.name='isNaN']",
message: 'Use Number.isNaN() instead of the global isNaN() function.',
},
{
// TODO(@panva): move this to no-restricted-properties
// when https://github.com/eslint/eslint/issues/16412 is fixed
selector: "Identifier[name='webcrypto']",
message: 'Use `globalThis.crypto`.',
},
],
'no-return-await': 'error',
'no-self-compare': 'error',
Expand Down
33 changes: 23 additions & 10 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Expand Up @@ -71,16 +71,18 @@
/src/node_http2* @nodejs/http2 @nodejs/net
/src/node_mem* @nodejs/http2

# modules

/doc/api/modules.md @nodejs/modules
/doc/api/esm.md @nodejs/modules
/doc/api/module.md @nodejs/modules
/doc/api/packages.md @nodejs/modules
/lib/module.js @nodejs/modules
/lib/internal/modules/* @nodejs/modules
/lib/internal/bootstrap/loaders.js @nodejs/modules
/src/module_wrap* @nodejs/modules @nodejs/vm
# modules, including loaders

/doc/api/esm.md @nodejs/modules @nodejs/loaders
/doc/api/module.md @nodejs/modules @nodejs/loaders
/doc/api/modules.md @nodejs/modules @nodejs/loaders
/doc/api/packages.md @nodejs/modules @nodejs/loaders
/lib/internal/bootstrap/loaders.js @nodejs/modules @nodejs/loaders
/lib/internal/modules/* @nodejs/modules @nodejs/loaders
/lib/internal/process/esm_loader.js @nodejs/modules @nodejs/loaders
/lib/internal/process/execution.js @nodejs/modules @nodejs/loaders
/lib/module.js @nodejs/modules @nodejs/loaders
/src/module_wrap* @nodejs/modules @nodejs/loaders @nodejs/vm

# Node-API

Expand All @@ -96,6 +98,7 @@
/tools/gyp/**/* @nodejs/gyp

# WASI

/deps/uvwasi/ @nodejs/wasi
/doc/api/wasi.md @nodejs/wasi
/lib/wasi.js @nodejs/wasi
Expand All @@ -113,10 +116,20 @@
/tools/snapshot/* @nodejs/startup

# V8

/deps/v8/* @nodejs/v8-update
/tools/v8_gypfiles/* @nodejs/v8-update

# Actions

/.github/workflows/* @nodejs/actions
/tools/actions/* @nodejs/actions

# Test runner

/test/message/test_runner_* @nodejs/test_runner
/test/parallel/test-runner-* @nodejs/test_runner
/doc/api/test.md @nodejs/test_runner
/lib/test.js @nodejs/test_runner
/lib/internal/main/test_runner.js @nodejs/test_runner
/lib/internal/test_runner/* @nodejs/test_runner
3 changes: 3 additions & 0 deletions .github/workflows/authors.yml
Expand Up @@ -30,6 +30,9 @@ jobs:
Here are some new additions to the AUTHORS file.
This is an automatically generated PR by the
`authors.yml` GitHub Action, which runs `tools/update-authors.mjs`.
Check the output of
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
for possible duplicates.
branch: actions/authors-update # Custom branch *just* for this Action.
commit-message: 'meta: update AUTHORS'
labels: meta
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-stale-feature-requests.yml
Expand Up @@ -39,7 +39,7 @@ jobs:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
- uses: actions/stale@v7
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 180
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-stalled.yml
Expand Up @@ -20,7 +20,7 @@ jobs:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
- uses: actions/stale@v7
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-close: 30
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/tools.yml
Expand Up @@ -125,6 +125,16 @@ jobs:
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
./tools/dep_updaters/update-libuv.sh "$NEW_VERSION"
fi
- id: simdutf
subsystem: deps
label: dependencies
run: |
NEW_VERSION=$(gh api repos/simdutf/simdutf/releases/latest -q '.tag_name|ltrimstr("v")')
CURRENT_VERSION=$(grep "#define SIMDUTF_VERSION" ./deps/simdutf/simdutf.h | sed -n "s/^.*VERSION \(.*\)/\1/p")
if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
./tools/dep_updaters/update-simdutf.sh "$NEW_VERSION"
fi
steps:
- uses: actions/checkout@v3
with:
Expand Down
6 changes: 6 additions & 0 deletions AUTHORS
Expand Up @@ -3585,5 +3585,11 @@ Alex Hunt <hello@alexhunt.io>
Debadree Chatterjee <debadree333@gmail.com>
Gabriela Gutierrez <gabibguti1@gmail.com>
emirgoren <61096652+emirgoren@users.noreply.github.com>
Pulkit Gupta <pulkit30.bsr@gmail.com>
Fabien Michel <104162117+welfoz@users.noreply.github.com>
A. Wilcox <AWilcox@Wilcox-Tech.com>
Daniel Lemire <daniel@lemire.me>
Eric Mutta <eric.mutta@gmail.com>
Vadim <vadimgerasimenko101@gmail.com>

# Generated by tools/update-authors.mjs
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -35,7 +35,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V19.md#19.3.0">19.3.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V19.md#19.4.0">19.4.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V19.md#19.3.0">19.3.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V19.md#19.2.0">19.2.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V19.md#19.1.0">19.1.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V19.md#19.0.1">19.0.1</a><br/>
Expand Down