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.18.3 proposal #56699

Open
wants to merge 216 commits into
base: v20.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
216 commits
Select commit Hold shift + click to select a range
dc552c6
build,win: enable pch for clang-cl
StefanStojanovic Oct 11, 2024
e70abce
doc: fix the return type of outgoingMessage.setHeaders()
hkleungai Oct 11, 2024
fbfcb0c
doc: edit onboarding guide to clarify when mailmap addition is needed
aduh95 Oct 11, 2024
8d3d4a9
meta: bump step-security/harden-runner from 2.9.1 to 2.10.1
dependabot[bot] Oct 11, 2024
158c8ad
meta: bump github/codeql-action from 3.26.6 to 3.26.10
dependabot[bot] Oct 11, 2024
7441e28
meta: bump codecov/codecov-action from 4.5.0 to 4.6.0
dependabot[bot] Oct 11, 2024
a5df708
doc: fix ambasador markdown list
RafaelGSS Oct 13, 2024
de8de54
doc: add missing return values in buffer docs
karlhorky Oct 13, 2024
720d23f
build: fix make errors that occur in Makefile
kmk324 Oct 14, 2024
5489656
test: update test_util.cc for coverage
kmk324 Oct 14, 2024
a41b0e1
events: optimize EventTarget.addEventListener
ronag Oct 14, 2024
de265b9
diagnostics_channel: fix unsubscribe during publish
simon-id Oct 14, 2024
470789a
benchmark: adjust byte size for buffer-copy
RafaelGSS Oct 14, 2024
f2a55d9
deps: update c-ares to v1.34.1
nodejs-github-bot Oct 15, 2024
7281707
src: fix winapi_strerror error string
huseyinacacak-janea Oct 15, 2024
f108578
lib: test_runner#mock:timers respeced timeout_max behaviour
badkeyy Oct 15, 2024
33367cb
deps: update simdutf to 5.6.0
nodejs-github-bot Oct 15, 2024
8c8de30
esm: fix inconsistency with `importAssertion` in `resolve` hook
yesmeck Oct 15, 2024
3fcca16
test_runner: add support for scheduler.wait on mock timers
ErickWendel Oct 15, 2024
85d8eb3
doc: spell out condition restrictions
jkrems Sep 30, 2024
5eb6c94
build: fix path concatenation
VoltrexKeyva Oct 17, 2024
44f3b23
dns: honor the order option
lpinca Oct 17, 2024
22c0786
test: remove duplicate tests
lpinca Oct 17, 2024
6d7b78c
meta: change color to blue notify review-wanted
RafaelGSS Oct 17, 2024
c1cab9b
doc: move Beth Griggs keys to old gpg keys
RafaelGSS Oct 15, 2024
bfbe651
doc: move Bryan English key to old gpg keys
RafaelGSS Oct 15, 2024
e9a8feb
doc: move Danielle Adams key to old gpg keys
RafaelGSS Oct 15, 2024
43f7050
benchmark: add --runs support to run.js
RafaelGSS Oct 18, 2024
0977bb6
src: remove icu based `ToASCII` and `ToUnicode`
anonrig Oct 18, 2024
64b140d
cli: add `--heap-prof` flag available to `NODE_OPTIONS`
juanarbol Oct 20, 2024
3dceeb8
tools: add script to synch c-ares source lists
richardlau Oct 18, 2024
e89e807
build: synchronize list of c-ares source files
richardlau Oct 18, 2024
2f71f16
build: tidy up cares.gyp
richardlau Oct 18, 2024
aeae7e1
meta: move one or more collaborators to emeritus
nodejs-github-bot Oct 21, 2024
ad725c7
deps: update ada to 2.9.1
nodejs-github-bot Oct 21, 2024
284e932
build: fix uninstall script for AIX 7.1
cloorc Oct 21, 2024
0487e70
doc: remove outdated remarks about `highWaterMark` in fs
isker Oct 22, 2024
f63413c
deps: update c-ares to v1.34.2
nodejs-github-bot Oct 22, 2024
c623657
deps: update googletest to df1544b
nodejs-github-bot Oct 22, 2024
a28376b
test: deflake `test-cluster-shared-handle-bind-privileged-port`
Oct 22, 2024
475e478
doc: add `isBigIntObject` to documentation
leviscar Oct 22, 2024
9db6575
doc: add note about stdio streams in child_process
Ed-roro Oct 22, 2024
d5ad060
test: fix addons and node-api test assumptions
aduh95 Oct 22, 2024
274d0b4
tools: update lint-md-dependencies
nodejs-github-bot Oct 22, 2024
86cb697
esm: add a fallback when importer in not a file
aduh95 Oct 22, 2024
ac583d4
stream: propagate AbortSignal reason
marvinroger Oct 22, 2024
8f9c642
build: fix GN build for cares/uv deps
zcbenz Oct 23, 2024
c1b63e5
doc: changed the command used to verify SHASUMS256
adriancuadrado Oct 23, 2024
ceafb32
test,crypto: make crypto tests work with BoringSSL
codebytere Oct 24, 2024
29862ae
doc: add jazelly to collaborators
jazelly Oct 25, 2024
e9b0ff4
test: increase test coverage for `http.OutgoingMessage.appendHeader()`
juanarbol Oct 25, 2024
8f6462f
test: avoid `apply()` calls with large amount of elements
LiviaMedeiros Oct 26, 2024
362b01b
doc: add esm examples to node:string_decoder
mfdebian Oct 26, 2024
0b6d62c
build: fix GN arg used in generate_config_gypi.py
codebytere Oct 28, 2024
07359ec
deps: update acorn to 8.13.0
nodejs-github-bot Oct 29, 2024
046430c
build: fix building with system icu 76
cho-m Oct 29, 2024
0f8b826
test: split up test-runner-mock-timers test
badkeyy Oct 30, 2024
12bd57f
doc: capitalize "MIT License"
Oct 30, 2024
22e0d17
dns: stop using deprecated `ares_query`
Oct 30, 2024
8d5b8c3
src: use NewFromUtf8Literal in NODE_DEFINE_CONSTANT
ckerr Oct 31, 2024
4c15bd4
http2: fix client async storage persistence
orgads Oct 31, 2024
f17416e
src: fix dns crash when failed to create NodeAresTask
theanarkh Nov 1, 2024
4576d14
doc: improve c++ embedder API doc
gireeshpunathil Nov 1, 2024
6f47f53
src,lib: optimize nodeTiming.uvMetricsInfo
RafaelGSS Oct 30, 2024
17abec4
benchmark: add nodeTiming.uvmetricsinfo bench
RafaelGSS Oct 31, 2024
0c14cae
meta: show PR/issue title on review-wanted
Nov 1, 2024
8cd619f
doc: remove mention of ECDH-ES in crypto.diffieHellman
panva Nov 2, 2024
9c2d0fd
meta: make review-wanted message minimal
Nov 2, 2024
1bb461e
doc: add write flag when open file as the demo code's intention
robberfree Nov 2, 2024
cdb7839
tools: run daily WPT.fyi report on all supported releases
panva Nov 2, 2024
d336f8d
tools: compact jq output in daily-wpt-fyi.yml action
panva Nov 2, 2024
ccc1ea0
meta: bump github/codeql-action from 3.26.10 to 3.27.0
dependabot[bot] Nov 3, 2024
c33de63
meta: bump actions/checkout from 4.2.0 to 4.2.2
dependabot[bot] Nov 3, 2024
3d06971
meta: bump actions/cache from 4.0.2 to 4.1.2
dependabot[bot] Nov 3, 2024
024c5b2
meta: bump actions/upload-artifact from 4.4.0 to 4.4.3
dependabot[bot] Nov 3, 2024
8b4f2e0
meta: bump rtCamp/action-slack-notify from 2.3.0 to 2.3.2
dependabot[bot] Nov 3, 2024
7a46ffd
meta: bump actions/setup-node from 4.0.4 to 4.1.0
dependabot[bot] Nov 3, 2024
070aa9d
meta: bump actions/setup-python from 5.2.0 to 5.3.0
dependabot[bot] Nov 3, 2024
adfc2f9
tools: fix root certificate updater
richardlau Nov 1, 2024
247fa19
crypto: update root certificates to NSS 3.104
richardlau Nov 1, 2024
4f89af8
deps: update acorn to 8.14.0
nodejs-github-bot Nov 5, 2024
a7ce82e
doc: update `--max-semi-space-size` description
joebowbeer Nov 5, 2024
0ac0afc
test: refactor some esm tests
aduh95 Nov 5, 2024
d2421f3
test: ignore unrelated events in FW watch tests
Ceres6 Nov 6, 2024
16eef64
doc: clarity to available addon options
preveen-stack Nov 6, 2024
7ed346d
util: do not catch on circular `@@toStringTag` errors
Nov 6, 2024
032ff07
doc: consistent use of word child process
gireeshpunathil Nov 6, 2024
d0417ea
doc: add esm example in `path.md`
Nov 8, 2024
c3913f9
tools: fix c-ares updater script for Node.js 18
richardlau Nov 6, 2024
a999879
test: improve test coverage for `ServerResponse`
juanarbol Nov 7, 2024
39b89e9
doc: enforce strict policy to semver-major releases
RafaelGSS Nov 7, 2024
b40789e
test: add buffer to fs_permission tests
RafaelGSS Nov 7, 2024
ebdbbc3
test: ensure that test priority is not higher than current priority
LiviaMedeiros Nov 8, 2024
2abfdef
doc: clarify removal of experimental API does not require a deprecation
aduh95 Nov 8, 2024
0aa9e74
test: improve test coverage for child process message sending
juanarbol Nov 8, 2024
df10024
src: improve `node:os` userInfo performance
anonrig Nov 8, 2024
1c8c881
tools: make commit-queue check blocked label
marco-ippolito Nov 10, 2024
aad478e
tools: fix exclude labels for commit-queue
richardlau Nov 10, 2024
07f53b1
doc: clarify triager role
gireeshpunathil Nov 10, 2024
9f14ba8
build: implement node_use_amaro flag in GN build
zcbenz Nov 11, 2024
83b415e
doc: run license-builder
github-actions[bot] Nov 11, 2024
407992e
benchmark: add `test_runner/mock-fn`
Nov 11, 2024
753c3b3
deps: update c-ares to v1.34.3
nodejs-github-bot Nov 12, 2024
6308c18
report: fix network queries in getReport libuv with exclude-network
Tofandel Nov 12, 2024
c14776f
doc: correct max-semi-space-size statement
joebowbeer Nov 12, 2024
79876f0
doc: fix history info for `URL.prototype.toJSON`
aduh95 Nov 13, 2024
d6738e9
doc: add notable-change mention to sec release
RafaelGSS Nov 14, 2024
955690e
doc: clarify UV_THREADPOOL_SIZE env var usage
preveen-stack Nov 15, 2024
3d11a85
doc: add `-S` flag release preparation example
aduh95 Nov 15, 2024
b4f5da1
benchmark: add `test-reporters`
Nov 16, 2024
afed723
deps: update simdutf to 5.6.1
nodejs-github-bot Nov 16, 2024
d9fd632
test_runner: error on mocking an already mocked date
Nov 17, 2024
bd0ec90
url: handle "unsafe" characters properly in `pathToFileURL`
aduh95 Oct 18, 2024
50b6729
test: increase coverage of `pathToFileURL`
aduh95 Oct 27, 2024
a5b0d89
lib: remove startsWith/endsWith primordials for char checks
gurgunday Oct 19, 2024
55c205e
build: add create release proposal action
RafaelGSS Nov 23, 2024
559a0bf
doc: add a note on console stream behavior
gireeshpunathil Nov 2, 2024
a2f315e
deps: update simdutf to 5.6.2
nodejs-github-bot Nov 19, 2024
61de8f9
doc: include git node release --promote to steps
RafaelGSS Nov 19, 2024
a882536
src: fix kill signal on Windows
huseyinacacak-janea Nov 20, 2024
a17d9e1
test: fix determining lower priority
LiviaMedeiros Nov 20, 2024
41e3bcd
doc: add esm examples to node:timers
mfdebian Nov 20, 2024
207562f
test: make x509 crypto tests work with BoringSSL
codebytere Nov 22, 2024
6327554
tools: add linter for release commit proposals
aduh95 Nov 22, 2024
58a6fbb
doc: document approach for building wasm in deps
mhdawson Nov 22, 2024
db5378c
doc: add esm example for zlib
peixotoleonardo Nov 23, 2024
d63ccb6
deps: update zlib to 1.3.0.1-motley-7e2e4d7
nodejs-github-bot Aug 18, 2024
9b6cc54
doc: doc how to add message for promotion
mhdawson Nov 13, 2024
2d03f87
test: convert readdir test to use test runner
tchetwin Nov 23, 2024
e99584c
test: make HTTP/1.0 connection test more robust
FliegendeWurst Nov 24, 2024
7021b3b
test_runner: simplify hook running logic
cjihrig Nov 25, 2024
b95c4f5
tools: use tokenless Codecov uploads
targos Nov 25, 2024
682ae41
doc: add vetted courses to the ambassador benefits
mcollina Nov 25, 2024
65c1784
doc: add doc for PerformanceObserver.takeRecords()
skyclouds2001 Nov 25, 2024
b09f6ab
deps: update simdutf to 5.6.3
nodejs-github-bot Nov 26, 2024
f7131cf
deps: update corepack to 0.30.0
nodejs-github-bot Nov 26, 2024
7ba6dcf
http2: fix memory leak caused by premature listener removing
ywave620 Nov 26, 2024
25e1862
build: set node_arch to target_cpu in GN
codebytere Nov 26, 2024
1e09d25
tools: add WPT updater for specific subsystems
mertcanaltin Nov 26, 2024
954e60b
tools: update WPT updater
aduh95 Nov 26, 2024
d25bcfd
doc: remove confusing and outdated sentence
lpinca Nov 27, 2024
1b31638
doc: improve GN build documentation a bit
codebytere Nov 27, 2024
e016f68
doc: add history entry for textEncoder.encodeInto()
lpinca Nov 27, 2024
1dcf8df
doc: move history entry to class description
lpinca Nov 27, 2024
9f3ef4a
doc: add FAQ to releases section
RafaelGSS Nov 27, 2024
bbf39b8
tools: filter release keys to reduce interactivity
aduh95 Nov 27, 2024
6fc7328
doc: remove unused import from sample code
blended-bram Nov 27, 2024
9317feb
fs: lazily load ReadFileContext
gurgunday Nov 28, 2024
5f15d8b
tools: fix nghttp3 updater script
aduh95 Nov 28, 2024
e1635fb
tools: allow dispatch of `tools.yml` from forks
aduh95 Nov 28, 2024
782bb6c
deps: update zlib to 1.3.0.1-motley-82a5fec
nodejs-github-bot Nov 29, 2024
851a3d7
tools: fix update-undici script
targos Nov 29, 2024
12b0cec
meta: add releasers as CODEOWNERS to proposal action
RafaelGSS Nov 29, 2024
f370ec0
build: remove defaults for create-release-proposal
RafaelGSS Nov 30, 2024
51262ec
doc: rename file to advocacy-ambassador-program.md
tniessen Nov 30, 2024
e464c6f
test: move test-worker-arraybuffer-zerofill to parallel
lpinca Dec 1, 2024
1d14886
dgram: check udp buffer size to avoid fd leak
theanarkh Dec 2, 2024
7a1365b
doc: add create-release-action to process
RafaelGSS Dec 3, 2024
bc92a96
build: allow overriding clang usage
codebytere Dec 3, 2024
c58065a
meta: bump actions/setup-node from 4.0.3 to 4.1.0
dependabot[bot] Dec 3, 2024
a953301
meta: bump step-security/harden-runner from 2.10.1 to 2.10.2
dependabot[bot] Dec 3, 2024
23f3198
meta: bump actions/checkout from 4.1.7 to 4.2.2
dependabot[bot] Dec 3, 2024
1a193bf
meta: bump github/codeql-action from 3.27.0 to 3.27.5
dependabot[bot] Dec 3, 2024
23fb644
crypto: ensure CryptoKey usages and algorithm are cached objects
panva Dec 4, 2024
b9b0063
doc: add LJHarb to collaborators
ljharb Dec 4, 2024
13455ca
tools: update `create-release-proposal` workflow
aduh95 Dec 5, 2024
c2fa359
doc: mention `-a` flag for the release script
ruyadorno Dec 5, 2024
21e21a2
test: remove test-fs-utimes flaky designation
lpinca Dec 6, 2024
ac57dad
lib: add validation for options in compileFunction
kimtaejin3 Dec 6, 2024
cca7c51
util: add fast path for Latin1 decoding
mertcanaltin Dec 3, 2024
026f019
doc: update blog release-post link
ruyadorno Dec 6, 2024
ff2eec7
sea: only assert snapshot main function for main threads
joyeecheung Dec 7, 2024
b3d40e3
tools: improve release proposal PR opening
aduh95 Dec 8, 2024
3ea738f
test: remove `hasOpenSSL3x` utils
aduh95 Dec 9, 2024
10d55e3
tools: use commit title as PR title when creating release proposal
aduh95 Dec 9, 2024
1dbc7e8
doc: fix c++ addon hello world sample
geeksilva97 Dec 9, 2024
0e9abf2
doc: fix incorrect link to style guide
technic960183 Dec 10, 2024
bbd0222
doc: add ambassador message - benefits of Node.js
mhdawson Nov 29, 2024
6797a35
module: prevent main thread exiting before esm worker ends
islandryu Dec 10, 2024
b739c2a
doc: call out import.meta is only supported in ES modules
antonk52 Dec 11, 2024
195cc42
util: do not rely on mutable `Object` and `Function`' `constructor` prop
aduh95 Dec 11, 2024
739ee18
http2: support ALPNCallback option
ZYSzys Dec 11, 2024
aa031b3
worker: fix crash when a worker joins after exit
Qard Dec 11, 2024
f9f3003
src: fix outdated js2c.cc references
legendecas Dec 11, 2024
80e5bb8
doc: update blog link to /vulnerability
RafaelGSS Dec 11, 2024
d103917
doc: update announce documentation for releases
RafaelGSS Dec 11, 2024
33cd7d3
tools: fix release proposal linter to support more than 1 folk preparing
aduh95 Dec 12, 2024
ae3f6fb
doc: `sea.getRawAsset(key)` always returns an ArrayBuffer
ShenHongFei Dec 12, 2024
2c6dcf7
fs: make mutating `options` in Promises `readdir()` not affect results
LiviaMedeiros Nov 28, 2024
4196aaf
test: remove exludes for sea tests on PPC
mhdawson Dec 12, 2024
bd99bf1
node-api: allow napi_delete_reference in finalizers
legendecas Dec 13, 2024
b24a85b
tools: use `github.actor` instead of bot username for release proposals
aduh95 Dec 13, 2024
090c7a3
doc: fix 'which' to 'that' and add commas
selveter Dec 14, 2024
83137bc
util: fix Latin1 decoding to return string output
mertcanaltin Dec 14, 2024
722dada
doc: add esm examples to node:readline
mfdebian Dec 14, 2024
2d88c4b
doc: add esm examples to node:repl
mfdebian Dec 14, 2024
ea1c97a
buffer: document concat zero-fill
duncpro Dec 15, 2024
a51ef9d
doc: clarify util.aborted resource usage
KunalKumar-1 Dec 15, 2024
d6a1b74
build: add major release action
RafaelGSS Dec 16, 2024
bc7bb1e
deps: update c-ares to v1.34.4
nodejs-github-bot Dec 17, 2024
5c819f1
tools: add REPLACEME check to workflow
mertcanaltin Dec 17, 2024
169bc58
deps: update simdutf to 5.6.4
nodejs-github-bot Dec 17, 2024
f67147e
tools: update github_reporter to 1.7.2
nodejs-github-bot Dec 17, 2024
af020ed
build: fix missing fp16 dependency in d8 builds
joyeecheung Dec 17, 2024
ae683a9
build: set DESTCPU correctly for 'make binary' on loongarch64
wojiushixiaobai Dec 18, 2024
f89f4ff
doc: fix color contrast issue in light mode
Trott Dec 18, 2024
558e658
deps: V8: backport ae5a4db8ad86
syg Jan 26, 2024
3c4262a
deps: V8: cherry-pick 26fd1dfa9cd6
syg Jan 31, 2024
030f155
esm: mark import attributes and JSON module as stable
nicolo-ribaudo Oct 12, 2024
618e005
doc: add history entries for JSON modules stabilization
aduh95 Nov 16, 2024
f07be5e
doc: add note for features using `InternalWorker` with permission model
aduh95 Jan 23, 2025
f78508c
doc: add history info for Permission Model
aduh95 Jan 22, 2025
5c3f18b
test: temporary remove resource check from fs read-write
RafaelGSS Jan 29, 2025
39d608f
test: mark test-http-server-request-timeouts-mixed as flaky
joyeecheung Jan 9, 2025
1c8b474
test: skip test-buffer-tostring-range on smartos
marco-ippolito Jan 23, 2025
7a8eca5
2025-02-04, Version 20.18.3 'Iron' (LTS)
marco-ippolito Jan 22, 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 @@ -142,6 +142,7 @@
# Actions

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

# Test runner
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto-start-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ jobs:
if: needs.get-prs-for-ci.outputs.numbers != ''
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

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

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
Expand All @@ -64,19 +64,19 @@ jobs:
mkdir tarballs
mv *.tar.gz tarballs
- name: Upload tarball artifact
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: tarballs
path: tarballs
test-tarball-linux:
needs: build-tarball
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
run: |
echo "plusOne=$((${{ github.event.pull_request.commits }} + 1))" >> $GITHUB_OUTPUT
echo "minusOne=$((${{ github.event.pull_request.commits }} - 1))" >> $GITHUB_OUTPUT
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: ${{ steps.nb-of-commits.outputs.plusOne }}
persist-credentials: false
- run: git reset HEAD^2
- name: Install Node.js
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Validate commit message
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/commit-queue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,15 @@ jobs:
--base ${{ github.ref_name }} \
--label 'commit-queue' \
--json 'number' \
--search "created:<=$(date --date="2 days ago" +"%Y-%m-%dT%H:%M:%S%z")" \
--search "created:<=$(date --date="2 days ago" +"%Y-%m-%dT%H:%M:%S%z") -label:blocked" \
-t '{{ range . }}{{ .number }} {{ end }}' \
--limit 100)
fast_track_prs=$(gh pr list \
--repo ${{ github.repository }} \
--base ${{ github.ref_name }} \
--label 'commit-queue' \
--label 'fast-track' \
--search "-label:blocked" \
--json 'number' \
-t '{{ range . }}{{ .number }} {{ end }}' \
--limit 100)
Expand All @@ -58,7 +59,7 @@ jobs:
if: needs.get_mergeable_prs.outputs.numbers != ''
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# Needs the whole git history for ncu to work
# See https://github.com/nodejs/node-core-utils/pull/486
Expand All @@ -71,7 +72,7 @@ jobs:

# Install dependencies
- name: Install Node.js
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install @node-core/utils
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/coverage-linux-without-intl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
Expand All @@ -79,7 +79,6 @@ jobs:
- name: Clean tmp
run: rm -rf coverage/tmp && rm -rf out
- name: Upload
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
with:
directory: ./coverage
token: ${{ secrets.CODECOV_TOKEN }}
7 changes: 3 additions & 4 deletions .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
Expand All @@ -79,7 +79,6 @@ jobs:
- name: Clean tmp
run: rm -rf coverage/tmp && rm -rf out
- name: Upload
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
with:
directory: ./coverage
token: ${{ secrets.CODECOV_TOKEN }}
7 changes: 3 additions & 4 deletions .github/workflows/coverage-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: windows-2022
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install deps
Expand All @@ -71,7 +71,6 @@ jobs:
- name: Clean tmp
run: npx rimraf ./coverage/tmp
- name: Upload
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.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 }}
32 changes: 19 additions & 13 deletions .github/workflows/daily-wpt-fyi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ name: Daily WPT report

on:
workflow_dispatch:
inputs:
node-versions:
description: Node.js versions (as supported by actions/setup-node) to test as JSON array
required: false
default: '["current", "lts/*", "lts/-1"]'
schedule:
# This is 20 minutes after `epochs/daily` branch is triggered to be created
# in WPT repo.
Expand All @@ -24,16 +19,27 @@ permissions:
contents: read

jobs:
report:
collect-versions:
if: github.repository == 'nodejs/node' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.query.outputs.matrix }}
steps:
- id: query
run: |
matrix=$(curl -s https://raw.githubusercontent.com/nodejs/Release/refs/heads/main/schedule.json | jq -c --arg now "$(date +%Y-%m-%d)" '[with_entries(select(.value.end > $now and .value.start < $now)) | keys[] | ltrimstr("v") | tonumber] + ["latest-nightly"]')
echo "matrix=$matrix" >> "$GITHUB_OUTPUT"
report:
needs:
- collect-versions
strategy:
matrix:
node-version: ${{ fromJSON(github.event.inputs.node-versions || '["latest-nightly", "current", "lts/*", "lts/-1"]') }}
node-version: ${{ fromJSON(needs.collect-versions.outputs.matrix) }}
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -45,7 +51,7 @@ jobs:
run: echo "NIGHTLY=$(curl -s https://nodejs.org/download/nightly/index.json | jq -r '[.[] | select(.files[] | contains("linux-x64"))][0].version')" >> $GITHUB_ENV
- name: Install Node.js
id: setup-node
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ env.NIGHTLY || matrix.node-version }}
check-latest: true
Expand All @@ -57,7 +63,7 @@ jobs:
SHORT_SHA=$(node -p 'process.version.split(/-nightly\d{8}/)[1]')
echo "NIGHTLY_REF=$(gh api /repos/nodejs/node/commits/$SHORT_SHA --jq '.sha')" >> $GITHUB_ENV
- name: Checkout ${{ steps.setup-node.outputs.node-version }}
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
ref: ${{ env.NIGHTLY_REF || steps.setup-node.outputs.node-version }}
Expand All @@ -73,7 +79,7 @@ jobs:
run: rm -rf wpt
working-directory: test/fixtures
- name: Checkout epochs/daily WPT
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: web-platform-tests/wpt
persist-credentials: false
Expand All @@ -98,7 +104,7 @@ jobs:
run: rm -rf deps/undici
- name: Checkout undici
if: ${{ env.WPT_REPORT != '' }}
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: nodejs/undici
persist-credentials: false
Expand All @@ -121,7 +127,7 @@ jobs:
run: cp wptreport.json wptreport-${{ steps.setup-node.outputs.node-version }}.json
- name: Upload GitHub Actions artifact
if: ${{ env.WPT_REPORT != '' }}
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
path: out/wpt/wptreport-*.json
name: WPT Report for ${{ steps.setup-node.outputs.node-version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
build-lto:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Build
run: NODE=$(command -v node) make doc-only
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: docs
path: out/doc
Expand Down
Loading
Loading