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

2025-01-30, Version 23.7.0 (Current) #56800

Merged
merged 157 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
157 commits
Select commit Hold shift + click to select a range
3aa8649
test_runner: finish marking snapshot testing as stable
cjihrig Jan 3, 2025
c249c97
tools: bump the eslint group in /tools/eslint with 4 updates
dependabot[bot] Jan 3, 2025
7a0dd2d
tools: use a configurable value for number of open dependabot PRs
aduh95 Jan 3, 2025
aea088f
tools: disable unneeded rule ignoring in Python linting
Trott Jan 3, 2025
332ce54
test: update test-child-process-windows-hide to use node:test
cjihrig Jan 4, 2025
3143566
test_runner: add assert.register() API
cjihrig Jan 4, 2025
b9cd789
test: update test-set-http-max-http-headers to use node:test
cjihrig Jan 4, 2025
8feb273
test: add initial test426 coverage
legendecas Jan 4, 2025
f756378
test: update compiled sqlite tests to match other tests
cjihrig Jan 5, 2025
3aca628
sqlite: enable SQL math functions
cjihrig Jan 5, 2025
839a06e
test_runner: differentiate test types in enqueue dequeue events
EddieAbbondanzio Jan 5, 2025
1e201fd
sqlite: support TypedArray and DataView in `StatementSync`
himself65 Jan 5, 2025
f185e8a
inspector: report loadingFinished until the response data is consumed
legendecas Jan 5, 2025
e1887d2
src: use LocalVector in more places
jasnell Jan 3, 2025
aab53e6
worker: flush stdout and stderr on exit
mcollina Jan 6, 2025
295db19
test: update error code in tls-psk-circuit for for OpenSSL 3.4
sebastianas Jan 6, 2025
edafab7
src: drain platform tasks before creating startup snapshot
legendecas Jan 7, 2025
2a0fbd8
tools: fix loong64 build failed
Xiao-Tao Jan 7, 2025
7dd8165
src: lock the thread properly in snapshot builder
joyeecheung Jan 7, 2025
aa3fd2f
src: make some minor ToLocalChecked cleanups
jasnell Jan 7, 2025
5e1ddd5
src: fixup more ToLocalChecked uses in node_file
jasnell Jan 5, 2025
1994eaa
crypto: make generatePrime/checkPrime interruptible
jasnell Jan 3, 2025
d184453
assert: show diff when doing partial comparisons
puskin94 Jan 8, 2025
3e6e010
src: move more crypto impl detail to ncrypto dep
jasnell Dec 31, 2024
17d59ef
src: minor cleanups on OneByteString usage
jasnell Jan 5, 2025
9a954fb
inspector: add undici http tracking support
legendecas Jan 8, 2025
a4045c9
doc: allow request for TSC reviews via the GitHub UI
aduh95 Jan 8, 2025
9414d3c
fs: allow `exclude` option in globs to accept glob patterns
daeyeon Jan 8, 2025
c4979eb
test_runner: run single test file benchmark
pmarchini Jan 9, 2025
b3c66d2
src: refactor --trace-env to reuse option selection and handling
joyeecheung Jan 9, 2025
50c65ee
src: fix undefined script name in error source
legendecas Jan 9, 2025
cbbcaf9
test: mark test-http-server-request-timeouts-mixed as flaky
joyeecheung Jan 9, 2025
eb2bf46
assert: make partialDeepStrictEqual work with urls and File prototypes
puskin94 Jan 9, 2025
00a1943
test_runner: add t.assert.fileSnapshot()
cjihrig Jan 9, 2025
5f6785b
tools: validate commit list as part of `lint-release-commit`
aduh95 Jan 9, 2025
6047fd7
doc: add message for Ambassadors to promote
mhdawson Dec 11, 2024
d9cff6c
doc: reserve NMV 133 for Electron 35
VerteDinde Jan 10, 2025
233a6a9
doc: add esm examples to node:trace_events
mfdebian Jan 10, 2025
dd3f948
esm: fix jsdoc type refs to `ModuleJobBase` in esm/loader
JakobJingleheimer Jan 10, 2025
7b6df4a
process: fix symbol key and mark experimental new `node:process` methods
aduh95 Jan 10, 2025
92eeeb9
doc: include CVE to EOL lines as sec release process
RafaelGSS Jan 10, 2025
4e4b0c6
doc: fix location of NO_COLOR in CLI docs
cjihrig Jan 11, 2025
323f96f
test: add error only reporter for node:test
Ceres6 Jan 11, 2025
c8d1dcb
crypto: fix warning of ignoring return value
zcbenz Jan 11, 2025
334a3ac
assert: make myers_diff function more performant
puskin94 Jan 11, 2025
90e12f2
test: clarify fork inherit permission flags
RafaelGSS Jan 11, 2025
477e674
tools: edit `create-release-proposal` workflow
aduh95 Jan 11, 2025
93f60a1
sqlite: disable memstatus APIs at build time
cjihrig Jan 12, 2025
202af46
doc: fix parentheses in options
tniessen Jan 12, 2025
c2d5a0c
doc: update gcc-version for ubuntu-lts
KunalKumar-1 Jan 12, 2025
4aa1afd
benchmark: add validateStream to styleText bench
RafaelGSS Jan 12, 2025
b7b0768
tls: fix error stack conversion in cryptoErrorListToException()
joyeecheung Jan 12, 2025
f600466
doc: add section about using npx with permission model
RafaelGSS Jan 13, 2025
c9a211a
diagnostics_channel: capture console messages
Qard Jan 13, 2025
d066acf
util: expose CallSite.scriptId
legendecas Jan 13, 2025
097b8b4
doc: add note for features using `InternalWorker` with permission model
aduh95 Jan 23, 2025
4a77a9e
doc: add history info for Permission Model
aduh95 Jan 22, 2025
df78515
stream: fix typo in ReadableStreamBYOBReader.readIntoRequests
MattiasBuelens Jan 13, 2025
48c813f
src: add --disable-sigusr1 to prevent signal i/o thread
RafaelGSS Jan 13, 2025
6fa6d69
test: make test-crypto-hash compatible with OpenSSL > 3.4.0
jelly Dec 6, 2024
0d772a9
test: disable openssl 3.4.0 incompatible tests
jelly Dec 6, 2024
b1c5443
test: update test-child-process-bad-stdio to use node:test
cjihrig Jan 13, 2025
6af5053
doc: document CLI way to open the nodejs/bluesky PR
aduh95 Jan 13, 2025
3915152
crypto: fix checkPrime crash with large buffers
santigimeno Jan 11, 2025
36dd9ec
crypto: update root certificates to NSS 3.107
nodejs-github-bot Jan 14, 2025
47fad8c
deps: update simdutf to 6.0.3
nodejs-github-bot Jan 14, 2025
f54118c
doc: correct customization hook types & clarify descriptions
JakobJingleheimer Jan 14, 2025
cf16123
src,worker: add isInternalWorker
Ceres6 Jan 14, 2025
ab4cfef
tools: remove github reporter
Ceres6 Jan 14, 2025
87ba48b
src: cleaning up more crypto internals for ncrypto
jasnell Jan 8, 2025
5673dc7
src: update ECDASSigPointer implementation in ncrypto
jasnell Jan 8, 2025
c008b15
src: update ECGroupPointer in ncrypto
jasnell Jan 8, 2025
c7b95fc
src: update ECPointPointer in ncrypto
jasnell Jan 8, 2025
33f5345
src: update ECKeyPointer in ncrypto
jasnell Jan 9, 2025
e652781
util: do not crash on inspecting function with `Symbol` name
ljharb Jan 15, 2025
0d86996
meta: add codeowners of security release document
RafaelGSS Jan 15, 2025
0657f62
deps: update amaro to 0.2.2
nodejs-github-bot Jan 12, 2025
7e58da6
test: update ts eval snapshots
marco-ippolito Jan 13, 2025
73ad3ca
deps: update amaro to 0.3.0
nodejs-github-bot Jan 14, 2025
86d783f
module: rethrow amaro error message
marco-ippolito Jan 14, 2025
afd1f91
module: fix jsdoc for `format` parameter in cjs/loader
pacexy Jan 15, 2025
27cfec6
test: mark test-worker-prof as flaky on smartos
joyeecheung Jan 15, 2025
c7f1619
util: rename CallSite.column to columnNumber
legendecas Jan 15, 2025
9bd438a
doc: improve internal documentation on built-in snapshot
joyeecheung Jan 15, 2025
6a16012
util: inspect: do not crash on an Error with a regex `name`
ljharb Jan 15, 2025
13bdd9c
test_runner: add TestContext.prototype.waitFor()
cjihrig Jan 16, 2025
0b1ac96
src: handle duplicate paths granted
RafaelGSS Jan 16, 2025
5b7a012
test: add line break at end of file
RafaelGSS Jan 16, 2025
6381e07
doc: add type stripping to ambassadors program
marco-ippolito Jan 16, 2025
67f39b5
doc: tweak info on reposts in ambassador program
mhdawson Jan 16, 2025
f97cd5b
test_runner: remove unused errors
pmarchini Jan 17, 2025
9c5c3b3
module: add ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX
marco-ippolito Jan 17, 2025
6762768
test: add maxCount and gcOptions to gcUntil()
joyeecheung Jan 14, 2025
90f70ed
src: use cppgc to manage ContextifyContext
joyeecheung Jan 9, 2025
bcc1c65
tools: fix permissions in `lint-release-proposal` workflow
aduh95 Jan 17, 2025
d83d89a
crypto: add missing return value check
mhdawson Jan 17, 2025
9ffe3ad
deps: update libuv to 1.50.0
nodejs-github-bot Jan 17, 2025
56b2148
doc: mention prepare --security
RafaelGSS Jan 17, 2025
21362cc
punycode: limit deprecation warning
cjihrig Jan 18, 2025
8bbdb12
child_process: fix parsing messages with splitted length field
MGorkov Jan 18, 2025
a5f9023
src: initialize FSReqWrapSync in path that uses it
targos Jan 19, 2025
edd9361
deps: fixup some minor coverity warnings
jasnell Jan 19, 2025
86d7ba0
test: test-stream-compose.js doesn't need internals
nektro Jan 19, 2025
4202045
http2: omit server name when HTTP2 host is IP address
islandryu Dec 29, 2024
57a7b93
doc: `WeakSet` and `WeakMap` comparison details
ishon19 Jan 20, 2025
e1e1200
doc: clarify cjs/esm diff in `queueMicrotask()` vs `process.nextTick()`
dario-piotrowicz Jan 21, 2025
02f36ca
tools: do not throw on missing `create-release-proposal.sh`
aduh95 Jan 22, 2025
eb3148f
test: use --permission instead of --experimental-permission
RafaelGSS Jan 22, 2025
7347d34
module: fixing url change in load sync hook chain
awto Dec 29, 2024
538e194
worker: refactor stdio to improve performance
mcollina Jan 23, 2025
9f99a6a
module: use more defensive code when handling SWC errors
aduh95 Jan 23, 2025
4ade128
doc: add RafaelGSS as latest sec release stewards
RafaelGSS Jan 23, 2025
8a61aaa
doc: fix inconsistencies in `WeakSet` and `WeakMap` comparison details
ishon19 Jan 23, 2025
69cb44e
tools: fix tools-deps-update
lemire Jan 23, 2025
f885496
test: fix localization data for ICU 74.2
aduh95 Jan 23, 2025
2fb007f
lib: allow skipping source maps in node_modules
legendecas Jan 23, 2025
2b6a82d
src: replace NoArrayBufferZeroFillScope with v8 option
jasnell Jan 19, 2025
2a219ed
test: enforce strict mode in test-zlib-const
Trott Jan 24, 2025
649cf0c
tools: do not throw on missing `create-release-proposal.sh`
aduh95 Jan 24, 2025
a9d332a
util: inspect: do not crash on an Error stack that contains a Symbol
ljharb Jan 12, 2025
c7a1322
test: add missing test for env file
JonasBa Jan 24, 2025
6edf04e
test: move crypto related common utilities in common/crypto
jasnell Jan 25, 2025
a62345e
test: move hasMultiLocalhost to common/net
jasnell Jan 25, 2025
58d2dad
module: integrate TypeScript into compile cache
joyeecheung Jan 25, 2025
e654c8b
test: simplify common/index.js
jasnell Jan 22, 2025
ef2ed71
test: rely less on duplicative common test harness utilities
jasnell Jan 22, 2025
bf34a49
test: make common/index slightly less node.js specific
jasnell Jan 22, 2025
917f98b
test: replace more uses of `global` with `globalThis`
jasnell Jan 22, 2025
bcb35c3
test: add test that uses multibyte for path and resolves modules
yamachu Jan 22, 2025
872d68d
src: fix to generate path from wchar_t via wstring
yamachu Jan 22, 2025
83c56da
src: fix build with GCC 15
tjuhaszrh Jan 25, 2025
f4a9b13
doc: fix typo in example code for util.styleText
rmehner Jan 25, 2025
55a0135
src: add default value for RSACipherConfig mode field
wooffie Jan 22, 2025
36b02bf
test: make some requires lazy in common/index
jasnell Jan 23, 2025
e1b0f44
watch: reload env file for --env-file-if-exists
JonasBa Jan 25, 2025
59510ab
module: fix bad `require.resolve` with option paths for `.` and `..`
dario-piotrowicz Jan 25, 2025
38acdb5
doc: add note regarding commit message trailers
dario-piotrowicz Jan 26, 2025
8fb03d8
src: move more crypto to ncrypto
jasnell Jan 15, 2025
575251a
src: add nullptr handling from X509_STORE_new()
wooffie Jan 22, 2025
85f7bbf
test: do not use common.isMainThread
lpinca Jan 26, 2025
e49f3e9
test: cleanup and simplify test-crypto-aes-wrap
jasnell Jan 26, 2025
ad012ca
doc: improve accessibility of expandable lists
aduh95 Jan 26, 2025
09fb3ad
doc: add "Skip to content" button
aduh95 Jan 26, 2025
b2ec816
deps: macro ENODATA is deprecated in libc++
zcbenz Jan 26, 2025
5dd08d1
doc: fix styles of the expandable TOC
aduh95 Jan 26, 2025
ebf4527
tools: update inspector_protocol roller
legendecas Jan 15, 2025
f48a562
inspector: roll inspector_protocol
legendecas Jan 15, 2025
9cfac71
deps: move inspector_protocol to deps
legendecas Jan 17, 2025
0af368c
test: use strict mode in global setters test
Trott Jan 27, 2025
2e7b7b7
test: fix invalid common.mustSucceed() usage
lpinca Jan 27, 2025
4ff79fb
test: reduce number of written chunks
lpinca Jan 27, 2025
cf5d2d6
doc: move anatoli to emeritus
mhdawson Jan 27, 2025
2f69dc2
meta: move one or more collaborators to emeritus
nodejs-github-bot Jan 27, 2025
8f59f5b
tools: update doc to new version
nodejs-github-bot Dec 15, 2024
e2668c0
test_runner: print failing assertion only once with spec reporter
pmarchini Jan 19, 2025
5f1ee05
deps: update corepack to 0.31.0
nodejs-github-bot Jan 28, 2025
73b4c04
2025-01-30, Version 23.7.0 (Current)
aduh95 Jan 30, 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
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@
/src/permission/* @nodejs/security-wg
/test/parallel/test-permission-* @nodejs/security-wg

# Security Release
/doc/contributing/security-release-process.md @nodejs/security-stewards

# Dependency Update Tools

/.github/workflows/tools.yml @nodejs/security-wg
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: 1 addition & 1 deletion .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@ jobs:
- name: Test
run: |
cd $TAR_DIR
make run-ci -j4 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9"
make run-ci -j4 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=./test/common/test-error-reporter.js' --measure-flakiness 9"
2 changes: 1 addition & 1 deletion .github/workflows/coverage-linux-without-intl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
# TODO(bcoe): fix the couple tests that fail with the inspector enabled.
# The cause is most likely coverage's use of the inspector.
- name: Test
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j4 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9" || exit 0
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j4 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=./test/common/test-error-reporter.js' --measure-flakiness 9" || exit 0
- name: Report JS
run: npx c8 report --check-coverage
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
# TODO(bcoe): fix the couple tests that fail with the inspector enabled.
# The cause is most likely coverage's use of the inspector.
- name: Test
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j4 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9" || exit 0
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j4 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=./test/common/test-error-reporter.js' --measure-flakiness 9" || exit 0
- name: Report JS
run: npx c8 report --check-coverage
env:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/create-release-proposal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- 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"
jq --null-input '{user: env.GITHUB_ACTOR, token: env.TOKEN}' > "${XDG_CONFIG_HOME:-~/.config}/changelog-maker/config.json"
env:
TOKEN: ${{ github.token }}

Expand All @@ -73,9 +73,8 @@ jobs:
- 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}"
curl -fsSL https://github.com/${GITHUB_REPOSITORY}/raw/${GITHUB_SHA}/tools/actions/create-release-proposal.sh |\
sh -s -- "${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.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
name: docs
path: out/doc
- name: Test
run: NODE=$(command -v node) make test-doc-ci TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
run: NODE=$(command -v node) make test-doc-ci TEST_CI_ARGS="-p actions --node-args='--test-reporter=./test/common/test-error-reporter.js' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
37 changes: 26 additions & 11 deletions .github/workflows/lint-release-proposal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ permissions:
jobs:
lint-release-commit:
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
Expand All @@ -33,30 +35,43 @@ jobs:
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:]]+\$"
EXPECTED_TRAILER="^$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)"
PR_URL="$(git --no-pager log -1 --format='%(trailers:key=PR-URL,valueonly)')"
echo "Actual: $ACTUAL"
echo "$ACTUAL" | grep -E -q "$EXPECTED_TRAILER"
echo "$PR_URL" | 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: Verify it's release-ready
run: |
SKIP_XZ=1 make release-only
- 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")"
MAJOR="$(awk '/^#define NODE_MAJOR_VERSION / { print $3 }' src/node_version.h)"
CHANGELOG_PATH="doc/changelogs/CHANGELOG_V${MAJOR}.md"
CHANGELOG_TITLE="$(grep "$EXPECTED_CHANGELOG_TITLE_INTRO" "$CHANGELOG_PATH")"
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
gh api \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
--jq '.commits.[] | { smallSha: .sha[0:10] } + (.commit.message|capture("^(?<title>.+)\n\n(.*\n)*PR-URL: (?<prURL>.+)\n"))' \
"/repos/${GITHUB_REPOSITORY}/compare/v${MAJOR}.x...$GITHUB_SHA" --paginate \
| node tools/actions/lint-release-proposal-commit-list.mjs "$CHANGELOG_PATH" "$GITHUB_SHA" \
| while IFS= read -r PR_URL; do
LABEL="dont-land-on-v${MAJOR}.x" gh pr view \
--json labels,url \
--jq 'if (.labels|map(.name==env.LABEL)|any) then error("\(.url) has the \(env.LABEL) label, forbidding it to be in this release proposal") end' \
"$PR_URL" > /dev/null
done
shell: bash # See https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference, we want the pipefail option.
env:
GH_TOKEN: ${{ github.token }}
2 changes: 1 addition & 1 deletion .github/workflows/test-asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ jobs:
- name: Build
run: make build-ci -j4 V=1
- 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' -t 300 --measure-flakiness 9"
run: make run-ci -j4 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=./test/common/test-error-reporter.js' --node-args='--test-reporter-destination=stdout' -t 300 --measure-flakiness 9"
2 changes: 1 addition & 1 deletion .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Build
run: make -C node build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn"
- name: Test
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"
run: make -C node run-ci -j4 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=./test/common/test-error-reporter.js' --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"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Free Space After Build
run: df -h
- name: Test
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"
run: make -C node run-ci -j$(getconf _NPROCESSORS_ONLN) V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=./test/common/test-error-reporter.js' --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"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-ubsan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ jobs:
- name: Build
run: make build-ci -j2 V=1
- name: Test
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' -t 300 --measure-flakiness 9"
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=./test/common/test-error-reporter.js' --node-args='--test-reporter-destination=stdout' -t 300 --measure-flakiness 9"
23 changes: 8 additions & 15 deletions .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ on:
- cjs-module-lexer
- corepack
- doc
- github_reporter
- googletest
- gyp-next
- histogram
Expand Down Expand Up @@ -135,14 +134,6 @@ jobs:
npm install --ignore-scripts $NEW_VERSION
npm install --ignore-scripts
fi
- id: github_reporter
subsystem: tools
label: tools
run: |
./tools/dep_updaters/update-github-reporter.sh > temp-output
cat temp-output
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
- id: googletest
subsystem: deps
label: dependencies, test
Expand Down Expand Up @@ -293,6 +284,10 @@ jobs:
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
steps:
- name: Setup Git config
run: |
git config --global user.name "Node.js GitHub Bot"
git config --global user.email "[email protected]"
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
if: github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id
with:
Expand All @@ -310,17 +305,15 @@ jobs:
if: env.COMMIT_MSG == '' && (github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id)
run: |
echo "COMMIT_MSG=${{ matrix.subsystem }}: update ${{ matrix.id }} to ${{ env.NEW_VERSION }}" >> "$GITHUB_ENV"
- uses: gr2m/create-or-update-pull-request-action@86ec1766034c8173518f61d2075cc2a173fb8c97 # v1.9.4
- uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
if: github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id
# Creates a PR or update the Action's existing PR, or
# no-op if the base branch is already up-to-date.
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
with:
author: Node.js GitHub Bot <[email protected]>
body: This is an automated update of ${{ matrix.id }} to ${{ env.NEW_VERSION }}.
token: ${{ secrets.GH_USER_TOKEN }}
branch: actions/tools-update-${{ matrix.id }} # Custom branch *just* for this Action.
delete-branch: true
commit-message: ${{ env.COMMIT_MSG }}
labels: ${{ matrix.label }}
title: '${{ matrix.subsystem }}: update ${{ matrix.id }} to ${{ env.NEW_VERSION }}'
update-pull-request-title-and-body: true
body: This is an automated update of ${{ matrix.id }} to ${{ env.NEW_VERSION }}.
3 changes: 2 additions & 1 deletion BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ Consult previous versions of this document for older versions of Node.js:

Installation via Linux package manager can be achieved with:

* Ubuntu, Debian: `sudo apt-get install python3 g++ make python3-pip`
* Ubuntu, Debian: `sudo apt-get install python3 g++-12 gcc-12 make python3-pip`
* Fedora: `sudo dnf install python3 gcc-c++ make python3-pip`
* CentOS and RHEL: `sudo yum install python3 gcc-c++ make python3-pip`
* OpenSUSE: `sudo zypper install python3 gcc-c++ make python3-pip`
Expand Down Expand Up @@ -269,6 +269,7 @@ fail.
To build Node.js:

```bash
export CXX=g++-12
./configure
make -j4
```
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V23.md#23.6.1">23.6.1</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V23.md#23.7.0">23.7.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V23.md#23.6.1">23.6.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V23.md#23.6.0">23.6.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V23.md#23.5.0">23.5.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V23.md#23.4.0">23.4.0</a><br/>
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2098,7 +2098,7 @@ The externally maintained libraries used by Node.js are:
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""

- inspector_protocol, located at tools/inspector_protocol, is licensed as follows:
- inspector_protocol, located at deps/inspector_protocol, is licensed as follows:
"""
// Copyright 2016 The Chromium Authors. All rights reserved.
//
Expand Down
Loading
Loading