Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
292 commits
Select commit Hold shift + click to select a range
3c35188
test_runner: refactor Promise chain in run()
cjihrig Nov 22, 2024
ce346b6
tools: use tokenless Codecov uploads
targos Nov 25, 2024
abd95a8
doc: add vetted courses to the ambassador benefits
mcollina Nov 25, 2024
b17a1fb
doc: add doc for PerformanceObserver.takeRecords()
skyclouds2001 Nov 25, 2024
a43a283
assert: optimize partial comparison of two `Set`s
aduh95 Nov 25, 2024
a01319a
doc: deprecate passing invalid types in `fs.existsSync`
Ceres6 Nov 25, 2024
3511c5c
quic: multiple updates to quic impl
jasnell Nov 23, 2024
9fde4f6
deps: update simdutf to 5.6.3
nodejs-github-bot Nov 26, 2024
1fd48f2
deps: update ngtcp2 to 1.9.0
nodejs-github-bot Nov 26, 2024
619355b
deps: update corepack to 0.30.0
nodejs-github-bot Nov 26, 2024
fb8de03
http2: fix memory leak caused by premature listener removing
ywave620 Nov 26, 2024
0ba264f
build: set node_arch to target_cpu in GN
codebytere Nov 26, 2024
542f252
build: avoid compiling with VS v17.12
StefanStojanovic Nov 26, 2024
3bb1d28
src: safely remove the last line from dotenv
islandryu Nov 26, 2024
4f62ab5
tools: add WPT updater for specific subsystems
mertcanaltin Nov 26, 2024
7450332
tools: update WPT updater
aduh95 Nov 26, 2024
ae8280c
process: deprecate `features.{ipv6,uv}` and `features.tls_*`
Renegade334 Nov 27, 2024
9029aec
cli: implement --trace-env and --trace-env-[js|native]-stack
joyeecheung Nov 27, 2024
17f39bc
doc: remove confusing and outdated sentence
lpinca Nov 27, 2024
5bdf1c4
doc: fix deprecation codes
panva Nov 27, 2024
c6d3fdd
doc: improve GN build documentation a bit
codebytere Nov 27, 2024
090aa8b
doc: add history entry for textEncoder.encodeInto()
lpinca Nov 27, 2024
db8ff56
doc: move history entry to class description
lpinca Nov 27, 2024
585f7bc
doc: add FAQ to releases section
RafaelGSS Nov 27, 2024
5ae07d0
tools: filter release keys to reduce interactivity
aduh95 Nov 27, 2024
e64f949
doc: remove unused import from sample code
blended-bram Nov 27, 2024
24a8662
lib: refactor code to improve readability
pmarchini Nov 27, 2024
853b304
doc: add added tag and fix typo sqlite.md
louwers Nov 27, 2024
08e0147
test,crypto: update WebCryptoAPI WPT
panva Nov 28, 2024
ba912ee
fs: lazily load ReadFileContext
gurgunday Nov 28, 2024
d09458f
test: update WPT for url to 67880a4eb83ca9aa732eec4b35a1971ff5bf37ff
nodejs-github-bot Nov 28, 2024
aa7c8cc
src: fix check fd
theanarkh Nov 28, 2024
4cf6fab
quic: update more QUIC implementation
jasnell Nov 24, 2024
0a9524b
tools: fix nghttp3 updater script
aduh95 Nov 28, 2024
b5eb77f
tools: allow dispatch of `tools.yml` from forks
aduh95 Nov 28, 2024
4efb7ae
deps: update zlib to 1.3.0.1-motley-82a5fec
nodejs-github-bot Nov 29, 2024
61b077d
tools: fix update-undici script
targos Nov 29, 2024
22792b8
sqlite: deps include `sqlite3ext.h`
himself65 Nov 29, 2024
4ee87b8
zlib: deprecate classes usage without `new`
anonrig Nov 29, 2024
1c81dbb
meta: add releasers as CODEOWNERS to proposal action
RafaelGSS Nov 29, 2024
03ec900
build: remove defaults for create-release-proposal
RafaelGSS Nov 30, 2024
3fb2ea8
doc: rename file to advocacy-ambassador-program.md
tniessen Nov 30, 2024
3f9c6c0
test: move test-worker-arraybuffer-zerofill to parallel
lpinca Dec 1, 2024
de5f91d
src: avoid copy on getV8FastApiCallCount
anonrig Dec 1, 2024
58982d7
src: add async context frame to AsyncResource
Flarna Dec 1, 2024
384fa62
src: remove dead code in async_wrap
Flarna Dec 1, 2024
61e4ad5
dgram: check udp buffer size to avoid fd leak
theanarkh Dec 2, 2024
8bd9a84
src: use std::string_view for process emit fns
anonrig Dec 2, 2024
d5d1e80
net: support blocklist for net.Server
theanarkh Dec 2, 2024
47b80c2
deps: update undici to 7.0.0
nodejs-github-bot Dec 2, 2024
94c327c
module: remove --experimental-default-type
GeoffreyBooth Dec 2, 2024
5ef4985
deps: update sqlite to 3.47.1
nodejs-github-bot Dec 3, 2024
20bcaa0
util: add fast path for Latin1 decoding
mertcanaltin Dec 3, 2024
742ea1c
doc: add create-release-action to process
RafaelGSS Dec 3, 2024
ebc179d
src: add missing qualifiers to env.cc
anonrig Dec 3, 2024
3b6da7c
build: allow overriding clang usage
codebytere Dec 3, 2024
b915124
src: use spaceship operator in SocketAddress
jasnell Nov 28, 2024
7924ea3
2024-12-03, Version 22.12.0 'Jod' (LTS)
ruyadorno Nov 27, 2024
f601984
meta: bump actions/setup-node from 4.0.3 to 4.1.0
dependabot[bot] Dec 3, 2024
34174bc
meta: bump step-security/harden-runner from 2.10.1 to 2.10.2
dependabot[bot] Dec 3, 2024
b24a8e0
meta: bump actions/checkout from 4.1.7 to 4.2.2
dependabot[bot] Dec 3, 2024
fe12b01
meta: bump github/codeql-action from 3.27.0 to 3.27.5
dependabot[bot] Dec 3, 2024
7bedcfd
doc: fix typo
himself65 Dec 4, 2024
4e44322
crypto: ensure CryptoKey usages and algorithm are cached objects
panva Dec 4, 2024
398c941
test: update WPT for WebCryptoAPI to 76dfa54e5d
nodejs-github-bot Dec 1, 2024
09d5be0
test: update WPT for WebCryptoAPI to 3e3374efde
nodejs-github-bot Dec 2, 2024
c7de0ec
net: add net.BlockList.isBlockList(value)
jasnell Nov 29, 2024
3c2da4b
net: add SocketAddress.parse
jasnell Nov 29, 2024
c4aa34a
doc: add LJHarb to collaborators
ljharb Dec 4, 2024
556f1ae
test: ensure `cli.md` is in alphabetical order
aduh95 Nov 27, 2024
839ad8b
deps: upgrade npm to 10.9.2
npm-cli-bot Dec 5, 2024
d7fdbb9
module: mark evaluation rejection in require(esm) as handled
joyeecheung Dec 5, 2024
53356c3
lib: fix `fs.readdir` recursive async
RafaelGSS Dec 5, 2024
60e9c6f
tools: update `create-release-proposal` workflow
aduh95 Dec 5, 2024
660d533
doc: mention `-a` flag for the release script
ruyadorno Dec 5, 2024
f26a1da
net: support blocklist in net.connect
theanarkh Dec 6, 2024
7904bc0
test: remove test-fs-utimes flaky designation
lpinca Dec 6, 2024
56c8360
lib: add validation for options in compileFunction
kimtaejin3 Dec 6, 2024
9cd9f43
deps: update ngtcp2 to 1.9.1
nodejs-github-bot Dec 6, 2024
4211ab5
src,build: add no user defined deduction guides of CTAD check
legendecas Dec 6, 2024
eb5aa5f
doc: add report version and history section
legendecas Dec 6, 2024
65024ae
doc: fix module.md headings
legendecas Dec 6, 2024
0547dcf
doc: update blog release-post link
ruyadorno Dec 6, 2024
f6f519c
stream: commit pull-into descriptors after filling from queue
MattiasBuelens Nov 27, 2024
9c046ea
test: update streams wpt
MattiasBuelens Nov 28, 2024
c1ccade
lib: disable default memory leak warning for AbortSignal
phryneas Dec 7, 2024
ee88107
crypto: graduate WebCryptoAPI Ed25519 and X25519 algorithms as stable
panva Dec 5, 2024
7fdeeac
sea: only assert snapshot main function for main threads
joyeecheung Dec 7, 2024
ac7fea6
lib: handle Float16Array in node:v8 serdes
bartlomieju Dec 7, 2024
6e42433
Revert "build: avoid compiling with VS v17.12"
Flarna Dec 7, 2024
b5056be
v8,tools: expose experimental wasm revectorize feature
yolanda15 Dec 7, 2024
91b6e3c
lib: clean up persisted signals when they are settled
geeksilva97 Dec 8, 2024
4f51d46
tools: improve release proposal PR opening
aduh95 Dec 8, 2024
dbfcbe3
assert: make partialDeepStrictEqual work with ArrayBuffers
Dec 8, 2024
3837c8d
build: fix GN build on macOS
joyeecheung Dec 9, 2024
e48c5b2
tools: bump the eslint group in /tools/eslint with 4 updates
dependabot[bot] Dec 9, 2024
fdf225a
tools: update gyp-next to 0.19.0
nodejs-github-bot Dec 9, 2024
3851edf
test: remove `hasOpenSSL3x` utils
aduh95 Dec 9, 2024
80c0055
tools: use commit title as PR title when creating release proposal
aduh95 Dec 9, 2024
0a7eeb5
doc: fix c++ addon hello world sample
geeksilva97 Dec 9, 2024
2960a59
tools: enable linter for `tools/icu/**`
LiviaMedeiros Dec 9, 2024
e859646
module: implement module.registerHooks()
joyeecheung Oct 29, 2024
1215a8b
module: use synchronous hooks for preparsing in import(cjs)
joyeecheung Nov 2, 2024
7443a28
test: update WPT for url to 6fa3fe8a92
nodejs-github-bot Dec 10, 2024
4831423
deps: update sqlite to 3.47.2
nodejs-github-bot Dec 10, 2024
6c03beb
deps: update undici to 7.1.0
nodejs-github-bot Dec 10, 2024
bd3c25c
tools: remove has_absl_stringify from gyp file
targos Dec 10, 2024
eef06f7
lib: remove redundant global regexps
gurgunday Dec 10, 2024
f184a0a
fs,win: fix readdir for named pipe
huseyinacacak-janea Dec 10, 2024
b932930
2024-12-10, Version 23.4.0 (Current)
aduh95 Dec 10, 2024
549037f
doc: fix incorrect link to style guide
technic960183 Dec 10, 2024
142adef
doc: add ambassador message - benefits of Node.js
mhdawson Nov 29, 2024
a364ec1
test: move localizationd data from `test-icu-env` to external file
LiviaMedeiros Dec 10, 2024
2063245
module: prevent main thread exiting before esm worker ends
islandryu Dec 10, 2024
fd9a79d
doc: call out import.meta is only supported in ES modules
antonk52 Dec 11, 2024
4a91507
util: do not rely on mutable `Object` and `Function`' `constructor` prop
aduh95 Dec 11, 2024
acff0ef
http2: support ALPNCallback option
ZYSzys Dec 11, 2024
586814b
worker: fix crash when a worker joins after exit
Qard Dec 11, 2024
b6c9dbe
module: only emit require(esm) warning under --trace-require-module
joyeecheung Dec 9, 2024
9ec8b9e
assert: make Maps be partially compared in partialDeepStrictEqual
Dec 11, 2024
a1d980c
build: use variable for simdutf path
codebytere Dec 11, 2024
5c2f599
sqlite: support `db.loadExtension`
himself65 Dec 3, 2024
64cc3b8
src: fix outdated js2c.cc references
legendecas Dec 11, 2024
d1b8b5c
doc: update blog link to /vulnerability
RafaelGSS Dec 11, 2024
6cd1805
doc: update announce documentation for releases
RafaelGSS Dec 11, 2024
5541300
stream: handle generator destruction from Duplex.from()
matthieusieben Dec 12, 2024
37766dc
tools: fix release proposal linter to support more than 1 folk preparing
aduh95 Dec 12, 2024
33f0f16
doc: `sea.getRawAsset(key)` always returns an ArrayBuffer
ShenHongFei Dec 12, 2024
be04d06
src,lib: stabilize permission model
RafaelGSS Dec 12, 2024
131c33e
http2: remove duplicate codeblock
AVVS Dec 12, 2024
7a40aa7
http: add setDefaultHeaders option to http.request
pimterry Dec 12, 2024
e5524ea
sqlite: add support for custom functions
cjihrig Dec 12, 2024
a963b5e
tools: update gyp-next to 0.19.1
addaleax Dec 10, 2024
203398d
build: fix C string encoding for `PRODUCT_DIR_ABS`
addaleax Dec 2, 2024
743eacc
test: fix test-abortsignal-drop-settled-signals flakiness
geeksilva97 Dec 12, 2024
b5e25aa
fs: make mutating `options` in Promises `readdir()` not affect results
LiviaMedeiros Nov 28, 2024
9109965
fs: make mutating `options` in Callback `readdir()` not affect results
LiviaMedeiros Dec 7, 2024
96cd2a6
doc: add esm examples to node:perf_hooks
mfdebian Dec 12, 2024
e698bd0
test: remove exludes for sea tests on PPC
mhdawson Dec 12, 2024
95912f6
Revert "tools: disable automated libuv updates"
lpinca Dec 13, 2024
938a581
report: fix typos in report keys and bump the version
technic960183 Dec 13, 2024
6f084ff
node-api: allow napi_delete_reference in finalizers
legendecas Dec 13, 2024
b87ecc7
doc: add esm examples to node:tls
mfdebian Dec 13, 2024
2484156
tools: use `github.actor` instead of bot username for release proposals
aduh95 Dec 13, 2024
26d0559
doc: fix winget config path
himself65 Dec 13, 2024
414c5ed
module: add prefix-only modules to `module.builtinModules`
ljharb Dec 14, 2024
656dd5d
doc: fix 'which' to 'that' and add commas
selveter Dec 14, 2024
86c2925
test: use --permission over --experimental-permission
RafaelGSS Dec 14, 2024
e7a397a
util: fix Latin1 decoding to return string output
mertcanaltin Dec 14, 2024
a7c9f85
doc: add esm examples to node:readline
mfdebian Dec 14, 2024
2d4e35c
doc: add esm examples to node:repl
mfdebian Dec 14, 2024
a50f3d5
dgram: support blocklist in udp
theanarkh Dec 15, 2024
bc64114
buffer: document concat zero-fill
duncpro Dec 15, 2024
c39875a
doc: clarify util.aborted resource usage
KunalKumar-1 Dec 15, 2024
b171afe
deps: define V8_PRESERVE_MOST as no-op on Windows
StefanStojanovic Dec 16, 2024
80e3ef3
util: harden more built-in classes against prototype pollution
aduh95 Dec 16, 2024
fb5bc18
build: add major release action
RafaelGSS Dec 16, 2024
2cd385e
deps: update c-ares to v1.34.4
nodejs-github-bot Dec 17, 2024
04c082b
tools: add REPLACEME check to workflow
mertcanaltin Dec 17, 2024
5ad2ca9
test_runner: exclude test files from coverage by default
pmarchini Dec 17, 2024
6536978
test: remove test-sqlite-statement-sync flaky designation
lpinca Dec 17, 2024
ca96c8d
deps: update libuv to 1.49.2
lpinca Dec 17, 2024
12806e9
deps: update simdutf to 5.6.4
nodejs-github-bot Dec 17, 2024
2a3fc98
deps: update nghttp3 to 1.6.0
nodejs-github-bot Dec 17, 2024
5a868b5
tools: update github_reporter to 1.7.2
nodejs-github-bot Dec 17, 2024
6012a4e
tools: fix `node:` enforcement for docs
aduh95 Dec 17, 2024
a73c41c
sqlite: aggregate constants in a single property
geeksilva97 Dec 17, 2024
7302b6f
doc: stabilize util.styleText
RafaelGSS Dec 17, 2024
8253290
build: fix missing fp16 dependency in d8 builds
joyeecheung Dec 17, 2024
0d00511
build: set DESTCPU correctly for 'make binary' on loongarch64
wojiushixiaobai Dec 18, 2024
e477978
doc: fix color contrast issue in light mode
Trott Dec 18, 2024
60bd4fd
meta: move MoLow to TSC regular member
MoLow Dec 18, 2024
7560778
build: build v8 with -fvisibility=hidden on macOS
joyeecheung Dec 19, 2024
0675e05
doc: fix links in `module.md`
aduh95 Dec 19, 2024
fd8de67
stream: catch and forward error from dest.write
jakecastelli Dec 19, 2024
ec6e6b5
test: make `test-permission-sqlite-load-extension` more robust
aduh95 Dec 19, 2024
58b7204
Revert "events: add hasEventListener util for validate"
origranot Dec 17, 2024
a85ef6a
test: add test case for listeners
origranot Dec 17, 2024
854d23b
2024-12-19, Version 23.5.0 (Current)
aduh95 Dec 18, 2024
990497c
test: deflake test-esm-loader-hooks-inspect-brk
lpinca Dec 19, 2024
a33ec12
lib: suppress source map lookup exceptions
legendecas Dec 17, 2024
28557ef
lib: optimize `prepareStackTrace` on builtin frames
legendecas Dec 17, 2024
219b900
test_runner,cli: mark test isolation as stable
cjihrig Dec 20, 2024
14803ea
test: remove async-hooks/test-writewrap flaky designation
lpinca Dec 20, 2024
57b21b1
stream: validate undefined sizeAlgorithm in WritableStream
jazelly Dec 20, 2024
b6df128
esm: add experimental support for addon modules
legendecas Dec 20, 2024
ca69d0a
node-api: remove deprecated attribute from napi_module_register
vmoroz Dec 20, 2024
d780b90
build: test macos-13 on GitHub actions
targos Dec 20, 2024
4fd5db4
module: use buffer.toString base64
legendecas Dec 21, 2024
821ab6f
tools: add release line label when opening release proposal
aduh95 Dec 21, 2024
b814038
doc: add entry to changelog about SQLite Session Extension
louwers Dec 21, 2024
31c20f6
build: fix GN build for ngtcp2
zcbenz Dec 18, 2024
48c75bc
tools: fix `require-common-first` lint rule from subfolder
aduh95 Dec 22, 2024
56d5865
test: check typescript loader
marco-ippolito Dec 23, 2024
6577166
deps: update simdutf to 5.7.0
nodejs-github-bot Dec 24, 2024
270a2f1
deps: update ngtcp2 to 1.10.0
nodejs-github-bot Dec 24, 2024
a9e65f6
test: migrate message eval tests from Python to JS
yiyunlei Oct 31, 2023
6156f8a
Revert "stream: handle generator destruction from Duplex.from()"
jakecastelli Dec 17, 2024
5ea6fa7
test: add coverage for pipeline
jakecastelli Dec 17, 2024
be9dc2d
test: increase spin for eventloop test on s390
mhdawson Dec 10, 2024
da3f388
module: support eval with ts syntax detection
marco-ippolito Dec 24, 2024
49acdc8
test: skip `test-sqlite-extensions` when SQLite is not built by us
aduh95 Dec 24, 2024
bd0b704
doc: fix the `crc32` documentation
kevinuehara Dec 24, 2024
821b0a7
src: use starts_with in fs_permission.cc
IlyasShabi Dec 25, 2024
3147ec2
doc: update macOS and Xcode versions for releases
targos Dec 25, 2024
d00710d
test: deflake test-watch-file-shared-dependency
lpinca Dec 25, 2024
7ca7531
doc: clarify that WASM is trusted
mcollina Dec 25, 2024
f9fb410
doc: use `<ul>` instead of `<ol>` in `SECURITY.md`
aduh95 Dec 23, 2024
b420c8f
meta: move one or more collaborators to emeritus
nodejs-github-bot Dec 25, 2024
1d1d8f2
url: use resolved path to convert UNC paths to URL
aduh95 Dec 25, 2024
c0edd30
test: enable ts test on win arm64
marco-ippolito Dec 26, 2024
c94a9db
test: improve abort signal dropping test
geeksilva97 Dec 26, 2024
ba59928
module: unflag --experimental-strip-types
marco-ippolito Dec 26, 2024
94191f7
doc: expand description of `parseArg`'s `default`
bakkot Dec 27, 2024
38cd81a
test: remove test-net-write-fully-async-hex-string flaky designation
lpinca Dec 28, 2024
7d7e2ce
test: remove test-worker-arraybuffer-zerofill flaky designation
lpinca Dec 28, 2024
91c6b8a
assert: make partialDeepStrictEqual throw when comparing [0] with [-0]
puskin Dec 12, 2024
ca3c8f1
deps: update googletest to e54519b
nodejs-github-bot Dec 28, 2024
cef15f8
test: remove flaky designation
lpinca Dec 28, 2024
67b647e
deps: update undici to 7.2.0
nodejs-github-bot Dec 28, 2024
0dbbaba
sqlite: pass conflict type to conflict resolution handler
louwers Dec 29, 2024
ecc9fb2
lib: add typescript support to STDIN eval
marco-ippolito Dec 29, 2024
d2af881
test: use unusual chars in the path to ensure our tests are robust
aduh95 Dec 30, 2024
0e04aea
test: remove empty lines from snapshots
marco-ippolito Dec 24, 2024
eca22a4
lib: refactor execution.js
marco-ippolito Dec 24, 2024
b3f82fe
test: add ts eval snapshots
marco-ippolito Dec 25, 2024
4633e5d
deps: update googletest to 7d76a23
nodejs-github-bot Dec 31, 2024
4afb0e2
deps: update amaro to 0.2.1
nodejs-github-bot Dec 31, 2024
19d58c5
module: fix async resolution error within the sync `findPackageJSON`
JakobJingleheimer Dec 31, 2024
c5aa8b8
node-api: define version 10
gabrielschulhof Dec 31, 2024
35742a2
process: add process.ref() and process.unref() methods
jasnell Dec 29, 2024
9731d64
doc: add example for piping ReadableStream
gabrielschulhof Jan 1, 2025
98d4ebc
src: use v8::LocalVector consistently with other minor cleanups
jasnell Dec 31, 2024
639db21
deps: update simdutf to 5.7.2
nodejs-github-bot Jan 2, 2025
76b80b1
worker: add eval ts input
marco-ippolito Jan 3, 2025
bf3bc4e
src: drop --experimental-permission in favour of --permission
RafaelGSS Jan 3, 2025
afafee2
test_runner: finish marking snapshot testing as stable
cjihrig Jan 3, 2025
ccf45f6
tools: bump the eslint group in /tools/eslint with 4 updates
dependabot[bot] Jan 3, 2025
01554f3
tools: use a configurable value for number of open dependabot PRs
aduh95 Jan 3, 2025
804d41f
tools: disable unneeded rule ignoring in Python linting
Trott Jan 3, 2025
7e08cca
test: update test-child-process-windows-hide to use node:test
cjihrig Jan 4, 2025
4a7b815
test_runner: add assert.register() API
cjihrig Jan 4, 2025
221040b
test: update test-set-http-max-http-headers to use node:test
cjihrig Jan 4, 2025
f97a7b6
test: add initial test426 coverage
legendecas Jan 4, 2025
d0ff34f
test: update compiled sqlite tests to match other tests
cjihrig Jan 5, 2025
338d70b
sqlite: enable SQL math functions
cjihrig Jan 5, 2025
383e1a2
test_runner: differentiate test types in enqueue dequeue events
EddieAbbondanzio Jan 5, 2025
08b7d38
sqlite: support TypedArray and DataView in `StatementSync`
himself65 Jan 5, 2025
9400eae
inspector: report loadingFinished until the response data is consumed
legendecas Jan 5, 2025
b736028
src: use LocalVector in more places
jasnell Jan 3, 2025
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
# Actions

/.github/workflows/* @nodejs/actions
/.github/workflows/create-release-proposal.yml @nodejs/releasers
/tools/actions/* @nodejs/actions

# Test runner
Expand Down
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ updates:
interval: monthly
commit-message:
prefix: meta
open-pull-requests-limit: 10
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}

- package-ecosystem: npm
directory: /tools/eslint
schedule:
interval: monthly
commit-message:
prefix: tools
open-pull-requests-limit: 10
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
groups:
eslint:
applies-to: version-updates
Expand All @@ -29,7 +29,7 @@ updates:
interval: monthly
commit-message:
prefix: tools
open-pull-requests-limit: 10
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
groups:
lint-md:
applies-to: version-updates
Expand Down
2 changes: 2 additions & 0 deletions .github/label-pr-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ exlusiveLabels:
/^test\/es-module\//: test, esm
/^test\/fixtures\/wpt\/streams\//: test, web streams
/^test\/fixtures\/typescript/: test, strip-types
/^test\/module-hooks\//: test, module, loaders
/^test\/fixtures/module-hooks\//: test, module, loaders

/^test\//: test

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/coverage-linux-without-intl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ jobs:
- name: Clean tmp
run: rm -rf coverage/tmp && rm -rf out
- name: Upload
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
with:
directory: ./coverage
token: ${{ secrets.CODECOV_TOKEN }}
3 changes: 1 addition & 2 deletions .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ jobs:
- name: Clean tmp
run: rm -rf coverage/tmp && rm -rf out
- name: Upload
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
with:
directory: ./coverage
token: ${{ secrets.CODECOV_TOKEN }}
3 changes: 1 addition & 2 deletions .github/workflows/coverage-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ jobs:
- name: Clean tmp
run: npx rimraf ./coverage/tmp
- name: Upload
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
with:
directory: ./coverage
token: ${{ secrets.CODECOV_TOKEN }}
82 changes: 82 additions & 0 deletions .github/workflows/create-release-proposal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# This action requires the following secrets to be set on the repository:
# GH_USER_TOKEN: GitHub user token, to be used by ncu and to push changes

name: Create Release Proposal

on:
workflow_dispatch:
inputs:
release-line:
required: true
type: number
description: 'The release line (without dots or prefix). e.g: 22'
release-date:
required: true
type: string
description: The release date in YYYY-MM-DD format

concurrency: ${{ github.workflow }}

env:
NODE_VERSION: lts/*

permissions:
contents: write
pull-requests: write

jobs:
releasePrepare:
env:
STAGING_BRANCH: v${{ inputs.release-line }}.x-staging
RELEASE_BRANCH: v${{ inputs.release-line }}.x
RELEASE_DATE: ${{ inputs.release-date }}
RELEASE_LINE: ${{ inputs.release-line }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ env.STAGING_BRANCH }}
persist-credentials: false

# Install dependencies
- name: Install Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ env.NODE_VERSION }}

- name: Install @node-core/utils
run: npm install -g @node-core/utils

- name: Configure @node-core/utils
run: |
ncu-config set branch "${RELEASE_BRANCH}"
ncu-config set upstream origin
ncu-config set username "$GITHUB_ACTOR"
ncu-config set token "$GH_TOKEN"
ncu-config set repo "$(echo "$GITHUB_REPOSITORY" | cut -d/ -f2)"
ncu-config set owner "${GITHUB_REPOSITORY_OWNER}"
env:
GH_TOKEN: ${{ github.token }}

- name: Set up ghauth config (Ubuntu)
run: |
mkdir -p "${XDG_CONFIG_HOME:-~/.config}/changelog-maker"
echo '{}' | jq '{user: env.GITHUB_ACTOR, token: env.TOKEN}' > "${XDG_CONFIG_HOME:-~/.config}/changelog-maker/config.json"
env:
TOKEN: ${{ github.token }}

- name: Setup git author
run: |
git config --local user.email "github-bot@iojs.org"
git config --local user.name "Node.js GitHub Bot"

- name: Start git node release prepare
# The curl command is to make sure we run the version of the script corresponding to the current workflow.
run: |
git update-index --assume-unchanged tools/actions/create-release.sh
curl -fsSLo tools/actions/create-release.sh https://github.com/${GITHUB_REPOSITORY}/raw/${GITHUB_SHA}/tools/actions/create-release.sh
./tools/actions/create-release.sh "${RELEASE_DATE}" "${RELEASE_LINE}" "${GITHUB_ACTOR}"
env:
GH_TOKEN: ${{ github.token }}
# We want the bot to push the push the release commit so CI runs on it.
BOT_TOKEN: ${{ secrets.GH_USER_TOKEN }}
62 changes: 62 additions & 0 deletions .github/workflows/lint-release-proposal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Linters (release proposals)

on:
push:
branches:
- v[0-9]+.[0-9]+.[0-9]+-proposal

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

env:
PYTHON_VERSION: '3.12'
NODE_VERSION: lts/*

permissions:
contents: read

jobs:
lint-release-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Lint release commit title format
run: |
EXPECTED_TITLE='^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}, Version [[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+ (\(Current|'.+' \(LTS)\)$'
echo "Expected commit title format: $EXPECTED_TITLE"
COMMIT_SUBJECT="$(git --no-pager log -1 --format=%s)"
echo "Actual: $ACTUAL"
echo "$COMMIT_SUBJECT" | grep -q -E "$EXPECTED_TITLE"
echo "COMMIT_SUBJECT=$COMMIT_SUBJECT" >> "$GITHUB_ENV"
- name: Lint release commit message trailers
run: |
EXPECTED_TRAILER="^PR-URL: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/pull/[[:digit:]]+\$"
echo "Expected trailer format: $EXPECTED_TRAILER"
ACTUAL="$(git --no-pager log -1 --format=%b | git interpret-trailers --parse --no-divider)"
echo "Actual: $ACTUAL"
echo "$ACTUAL" | grep -E -q "$EXPECTED_TRAILER"

PR_URL="${ACTUAL:8}"
PR_HEAD="$(gh pr view "$PR_URL" --json headRefOid -q .headRefOid)"
echo "Head of $PR_URL: $PR_HEAD"
echo "Current commit: $GITHUB_SHA"
[ "$PR_HEAD" = "$GITHUB_SHA" ]
env:
GH_TOKEN: ${{ github.token }}
- name: Validate CHANGELOG
id: releaser-info
run: |
EXPECTED_CHANGELOG_TITLE_INTRO="## $COMMIT_SUBJECT, @"
echo "Expected CHANGELOG section title: $EXPECTED_CHANGELOG_TITLE_INTRO"
CHANGELOG_TITLE="$(grep "$EXPECTED_CHANGELOG_TITLE_INTRO" "doc/changelogs/CHANGELOG_V${COMMIT_SUBJECT:20:2}.md")"
echo "Actual: $CHANGELOG_TITLE"
[ "${CHANGELOG_TITLE%%@*}@" = "$EXPECTED_CHANGELOG_TITLE_INTRO" ]
- name: Verify NODE_VERSION_IS_RELEASE bit is correctly set
run: |
grep -q '^#define NODE_VERSION_IS_RELEASE 1$' src/node_version.h
- name: Check for placeholders in documentation
run: |
! grep "REPLACEME" doc/api/*.md
48 changes: 48 additions & 0 deletions .github/workflows/major-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Major Release

on:
schedule:
- cron: 0 0 15 2,8 * # runs at midnight UTC every 15 February and 15 August

permissions:
contents: read

jobs:
create-issue:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Check for release schedule
id: check-date
run: |
# Get the current month and day
MONTH=$(date +'%m')
DAY=$(date +'%d')
# We'll create the reminder issue two months prior the release
if [[ "$MONTH" == "02" || "$MONTH" == "08" ]] && [[ "$DAY" == "15" ]]; then
echo "create_issue=true" >> "$GITHUB_ENV"
fi
- name: Retrieve next major release info from nodejs/Release
if: env.create_issue == 'true'
run: |
curl -L https://github.com/nodejs/Release/raw/HEAD/schedule.json | \
jq -r 'to_entries | map(select(.value.start | strptime("%Y-%m-%d") | mktime > now)) | first | "VERSION=" + .key + "\nRELEASE_DATE=" + .value.start' >> "$GITHUB_ENV"
- name: Compute max date for landing semver-major PRs
if: env.create_issue == 'true'
run: |
echo "PR_MAX_DATE=$(date -d "$RELEASE_DATE -1 month" +%Y-%m-%d)" >> "$GITHUB_ENV"
- name: Create release announcement issue
if: env.create_issue == 'true'
run: |
gh issue create --repo "${GITHUB_REPOSITORY}" \
--title "Upcoming Node.js Major Release ($VERSION)" \
--body-file -<<EOF
A reminder that the next Node.js **SemVer Major release** is scheduled for **${RELEASE_DATE}**.
All commits that were landed until **${PR_MAX_DATE}** (one month prior to the release) will be included in the next semver major release. Please ensure that any necessary preparations are made in advance.
For more details on the release process, consult the [Node.js Release Working Group repository](https://github.com/nodejs/release).

cc: @nodejs/collaborators
EOF
env:
GH_TOKEN: ${{ github.token }}
4 changes: 2 additions & 2 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs

Expand Down Expand Up @@ -73,6 +73,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: Upload to code-scanning
uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
uses: github/codeql-action/upload-sarif@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
with:
sarif_file: results.sarif
12 changes: 10 additions & 2 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
path: node
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
Expand All @@ -51,6 +52,13 @@ jobs:
- name: Environment Information
run: npx envinfo
- name: Build
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn"
run: make -C node build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn"
- name: Test
run: make run-ci -j4 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
run: make -C node run-ci -j4 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
- name: Re-run test in a folder whose name contains unusual chars
run: |
mv node "$DIR"
cd "$DIR"
./tools/test.py --flaky-tests keep_retrying -p actions -j 4
env:
DIR: dir%20with $unusual"chars?'åß∂ƒ©∆¬…`
20 changes: 16 additions & 4 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ permissions:
jobs:
test-macOS:
if: github.event.pull_request.draft == false
runs-on: macos-14
strategy:
fail-fast: false
matrix:
macos-version: [macos-13, macos-14]
runs-on: ${{ matrix.macos-version }}
env:
CC: sccache gcc
CXX: sccache g++
Expand All @@ -47,6 +51,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
path: node
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
Expand All @@ -64,7 +69,7 @@ jobs:
# happen anymore running this step here first, that's also useful
# information.)
- name: tools/doc/node_modules workaround
run: make tools/doc/node_modules
run: make -C node tools/doc/node_modules
# This is needed due to https://github.com/nodejs/build/issues/3878
- name: Cleanup
run: |
Expand All @@ -80,8 +85,15 @@ jobs:
df -h
echo "::endgroup::"
- name: Build
run: make build-ci -j$(getconf _NPROCESSORS_ONLN) V=1 CONFIG_FLAGS="--error-on-warn"
run: make -C node build-ci -j$(getconf _NPROCESSORS_ONLN) V=1 CONFIG_FLAGS="--error-on-warn"
- name: Free Space After Build
run: df -h
- name: Test
run: make run-ci -j$(getconf _NPROCESSORS_ONLN) V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
run: make -C node run-ci -j$(getconf _NPROCESSORS_ONLN) V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
- name: Re-run test in a folder whose name contains unusual chars
run: |
mv node "$DIR"
cd "$DIR"
./tools/test.py --flaky-tests keep_retrying -p actions -j 4
env:
DIR: dir%20with $unusual"chars?'åß∂ƒ©∆¬…`
23 changes: 10 additions & 13 deletions .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:
- gyp-next
- histogram
- icu
# - libuv
- libuv
- llhttp
- minimatch
- nbytes
Expand All @@ -51,7 +51,7 @@ permissions:

jobs:
tools-deps-update:
if: github.repository == 'nodejs/node'
if: github.repository == 'nodejs/node' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
strategy:
fail-fast: false # Prevent other jobs from aborting if one fails
Expand Down Expand Up @@ -175,17 +175,14 @@ jobs:
cat temp-output
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
# libuv update was disabled because of Feb 14, 2024 security release
# modified the bundled version of libuv, we cannot automatically update
# libuv without potentially undoing those changes.
# - id: libuv
# subsystem: deps
# label: dependencies
# run: |
# ./tools/dep_updaters/update-libuv.sh > temp-output
# cat temp-output
# tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
# rm temp-output
- id: libuv
subsystem: deps
label: dependencies
run: |
./tools/dep_updaters/update-libuv.sh > temp-output
cat temp-output
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
- id: llhttp
subsystem: deps
label: dependencies
Expand Down
Loading
Loading