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

v16.15.0 release proposal #42847

Merged
merged 254 commits into from Apr 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
254 commits
Select commit Hold shift + click to select a range
f17ce91
lib: add fetch
targos Feb 1, 2022
83a6676
deps: update undici to 3e267ece5f
targos Feb 16, 2022
721d107
deps: update undici to 4.15.1
targos Mar 7, 2022
a670c1f
deps: update undici to 4.16.0
nodejs-github-bot Mar 23, 2022
c64b038
deps: update undici to 5.0.0
nodejs-github-bot Apr 3, 2022
647805a
lib: add FormData global when fetch is enabled
targos Feb 18, 2022
dcc5831
stream: add forEach method
benjamingr Jan 8, 2022
9677da4
build: add --v8-enable-hugepage flag
qdaoming Jan 12, 2022
adb88fc
crypto: support RFC 2818 compatible checkHost
tniessen Jan 17, 2022
ac8526e
stream: add toArray
benjamingr Jan 16, 2022
8312972
doc: fix backticks around 'default'
tniessen Jan 20, 2022
0be2321
stream: support some and every
benjamingr Jan 17, 2022
e46c7d6
doc: deprecate `buffer.slice`
benjamingr Jan 19, 2022
3d4df9c
benchmark: add `subarray` to `buffer-slice`
benjamingr Jan 19, 2022
84752a4
buffer: alias `subarray` and `slice`
benjamingr Jan 19, 2022
205c018
stream: support flatMap
benjamingr Jan 20, 2022
88a4819
stream: add drop and take
benjamingr Jan 21, 2022
11ec334
node-api: add node_api_symbol_for()
RaisinTen Dec 26, 2021
60e28ba
stream: add asIndexedPairs
benjamingr Jan 24, 2022
25109a6
test: improve stability of oom test
benjamingr Jan 26, 2022
4b63439
stream: use synchronous error validation on iteration helpers
iMoses Jan 27, 2022
f12cf6d
stream: add reduce
benjamingr Jan 30, 2022
237affc
worker: graduate get/setEnvironmentData APIs
jasnell Dec 21, 2021
1452f8d
build: improve consistency between workflows
Mesteery Feb 7, 2022
fd8bf09
test: move test-crypto-engine to addon
mhdawson Feb 2, 2022
46dda31
crypto: do not advertise unsupported algorithms
mscdex Feb 5, 2022
bc08165
process: deprecate multipleResolves
benjamingr Feb 8, 2022
51847e0
build: revert fast-track changes
panva Feb 8, 2022
b950f5d
doc: fix webstream close reject state state doc
benjamingr Feb 5, 2022
57d5576
tools: fix typo in prefer-primordials.js
eltociear Feb 8, 2022
73f3a2c
doc: remove unneeded ellipsis in header
Trott Feb 8, 2022
2a85e0a
lib: add internal genericNodeError() function
Trott Feb 9, 2022
55caa10
doc: add joesepi to collaborators
joesepi Feb 9, 2022
83267aa
repl: #41690 REPL gives wrong autocomplete on literals
meixg Feb 10, 2022
6fd5383
doc: edit process.config deprecation text
Trott Feb 10, 2022
90d9551
doc: replace text with paths in toggle SVGs
mscdex Feb 10, 2022
914f907
cluster: respect listen backlog set by workers
eladnava Jan 21, 2022
11e76fc
test: remove lint rule for setTimeout() arguments
Trott Feb 11, 2022
428b967
build: remove broken x32 arch support
bnoordhuis Feb 11, 2022
86b9d3a
src: don't print interface if sin6_scope_id is 0
santigimeno Feb 11, 2022
170a6cb
src: fix query/fragment serialization in URL::SerializeURL
addaleax Jan 29, 2022
703593a
src: reserve string allocation space early in URL::SerializeURL
addaleax Jan 29, 2022
af73a85
src: use const reference instead of pointer in URL::SerializeURL
addaleax Jan 29, 2022
83691ad
debugger: remove duplicate setPauseOnException call
bavulapati Feb 11, 2022
6fc0a25
doc: improve scrollbar appearance in dark mode
Aaron00101010 Feb 11, 2022
2d16565
fs: refactor to use ES2020 syntax
xtx1130 Feb 11, 2022
b1f0cc6
lib: move kEnumerableProperty to internal/util
Mesteery Feb 11, 2022
f32c397
child_process: kHideConsoleWindows for spawnSync
rzhao271 Feb 11, 2022
ce15007
doc: clarify `tls.Server` `'connection'` event documentation
prettydiff Feb 12, 2022
47cefec
esm: fix typo in `fetch_module`
scovetta Feb 12, 2022
e55f340
doc: emphasize security warning in vm module doc
Trott Feb 12, 2022
e21831b
doc: fix wrong indent in stream documentation
meixg Feb 12, 2022
257a7a5
fs: fix writev empty array error behavior
benjamingr Feb 12, 2022
c08efba
doc: fix typo in readableStream.locked description
tniessen Feb 13, 2022
9649d65
tls: avoid throw in onerror for bad TLSSocket obj
sigv Feb 14, 2022
81e56c9
doc: add missing `buffer` in the `stream/consumers` import example
Mesteery Feb 14, 2022
a592442
crypto: expose Web Crypto API on the global scope
aduh95 Feb 14, 2022
0c69045
stream: add more forEach tests
benjamingr Feb 11, 2022
571eb6d
fs: fix cb/sync writev empty array behavior
benjamingr Feb 11, 2022
31def41
test: fix intl tests on small-icu builds
aduh95 Feb 14, 2022
5468de5
build,tools: change the quotes in YAML
Mesteery Jan 29, 2022
24d0c32
build: extend yamllint configuration
Mesteery Jan 29, 2022
6f1adf1
meta: update AUTHORS and .mailmap
Trott Feb 14, 2022
f8c6232
tools: update lint-md-dependencies to rollup@2.67.2
nodejs-github-bot Feb 12, 2022
db4a3dc
build: move tool updates workflow runtime a day later
Trott Feb 15, 2022
d77db88
doc: fix bug in `readable.unshift` code example
meixg Feb 15, 2022
d2c1624
build: use zoslib_include_dir provided by node-gyp
alexcfyung Feb 15, 2022
8858950
doc: deprecate notice for process methods
yashLadha Jan 26, 2022
33e4a32
fs: support copy of relative links with cp and cpSync
marcosbc Feb 15, 2022
95eb03c
test: fix typographical error
Trott Feb 15, 2022
1db9cc7
tools: update ESLint to 8.9.0
lpinca Feb 14, 2022
dd88f54
doc: add marsonya to collaborators
marsonya Feb 15, 2022
711e863
test: fix names of tests marked flaky on IBM i
richardlau Feb 15, 2022
a34cc75
doc: fix deprecation number
aduh95 Feb 15, 2022
43894b1
doc: capitalize valgrind
T-O-R-U-S Feb 15, 2022
82b64f4
tools: update remark-preset-lint-node to 3.3.1
Trott Feb 16, 2022
f4e3917
lib: restrict usage of fetch related globals in core internals
aduh95 Feb 13, 2022
290a2bf
build: prevent concurrent CI and CQ workflow runs
targos Feb 16, 2022
b0a8311
events: set default handler value
benjamingr Feb 16, 2022
9946b9b
lib: allow respondWithNewView on byob auto allocated streams
sbquinlan Feb 16, 2022
e80043f
lib: stop installing webcrypto if `no_browser_globals` is `true`
Mesteery Feb 17, 2022
3e354da
test: run webmessaging/broadcastchannel WPT
bnoordhuis Feb 17, 2022
9800719
doc: adjust a/an word usage
derekwolpert Feb 17, 2022
f5ffa34
meta: use plain emojis instead of escape sequences
Mesteery Feb 17, 2022
e6019a4
debugger: add debugger alias for exec(expr)
meixg Feb 17, 2022
692ee2a
build: add action to close stale feature requests
mhdawson Feb 15, 2022
4c47d59
build: allow manual run of feature request action
mhdawson Feb 17, 2022
e049173
build: increase operations and test tag
mhdawson Feb 17, 2022
fdea60e
src,buffer: evaluate THROW_AND_RETURN_IF_OOB() expression only once
RaisinTen Feb 17, 2022
36b9028
crypto: rename X509_NAME_FLAGS
tniessen Feb 17, 2022
70ae0ae
crypto: check result of BIO_new in X509ToObject
tniessen Feb 17, 2022
06d8c53
tools: reduce list of globals in ESLint config
Trott Feb 18, 2022
2a1a94b
test: improve vm test coverage
kuriyosh Feb 18, 2022
4bba279
tools,lib: remove `global` and `Intl` from the list of globals
aduh95 Feb 18, 2022
410d0ce
tools: add timers functions to the list of restricted globals
aduh95 Feb 18, 2022
604621a
worker: fix typo in debug statement
aduh95 Feb 18, 2022
60d6409
doc: use openpgp.org for keyserver examples
nschonni Feb 18, 2022
bc3d8a7
build: cancel running CI jobs when a PR is updated
targos Feb 18, 2022
9ae6982
test: check that fetch globals are disabled by default
targos Feb 18, 2022
c229889
tools: fix bugs in prefer-primordials linter rule
aduh95 Feb 18, 2022
9b8c927
esm: remove erroneous `context.parentURL` property passed to `load` hook
JakobJingleheimer Feb 18, 2022
a73536b
deps: upgrade npm to 8.5.1
npm-robot Feb 19, 2022
b067808
test: remove test-stdout-close-catch flaky designation
Trott Feb 19, 2022
1324023
esm: improve `fetch_module` test coverage and remove hack
aduh95 Feb 19, 2022
aace6c2
tools: lint deprecation codes
aduh95 Feb 19, 2022
da87c73
fs: fix default `length` parameter for `fs.read`
wbt Feb 19, 2022
bbdf285
tools: add `console` to the list of restricted globals
aduh95 Feb 19, 2022
de035bc
meta: update AUTHORS
nodejs-github-bot Feb 20, 2022
40ddfa4
doc: make minor fixes to contributing guides
T-O-R-U-S Feb 14, 2022
51cb780
doc: fix typo in http2 endAfterHeaders description
arobert93 Feb 20, 2022
c47b436
tools: enable es2022 env in ESLint config
targos Feb 20, 2022
b7a307f
perf_hooks: use arrays to store EntryBuffers
meixg Feb 20, 2022
11f747b
tools: update lint-md-dependencies to rollup@2.67.3
nodejs-github-bot Feb 21, 2022
91a06bd
lib: add legacy built-in functions to primordials
aduh95 Feb 21, 2022
b969a27
meta: remove collaborator
Trott Feb 21, 2022
17af006
test: increase Fibonacci argument to 40
Trott Feb 21, 2022
a658437
doc: add missing api entries on performance
legendecas Feb 16, 2022
0c21b58
doc: clarify supported versus enabled TLS ciphers
tniessen Feb 22, 2022
8c26d8c
doc: move bnoordhuis back to collaborators
bnoordhuis Feb 22, 2022
3d75c87
doc: clarify persistent ref behavior
mhdawson Feb 17, 2022
0d8f76f
build: update feature close action for testing
mhdawson Feb 22, 2022
a88d4a2
repl: remove preview when press escape
meixg Feb 19, 2022
629d06a
test: validate `EventEmitterAsyncResource` methods throw on invalid this
kuriyosh Feb 22, 2022
1eb4d8b
doc: add meixg to triagers
meixg Feb 23, 2022
2135f8e
meta: move one or more collaborators to emeritus
nodejs-github-bot Feb 23, 2022
d4d9c00
meta: correct link to feature request document
SimenB Feb 23, 2022
61ecdf8
process: fix named report export
madflow Feb 4, 2022
bc457c2
doc: document change to IncomingMessage.headers enumerability
ArnoldZokas Feb 23, 2022
c811b8a
src: allow preventing InitializeInspector in env
codebytere Feb 23, 2022
12bf85a
doc,tools: improve navigability of API docs
ShogunPanda Feb 24, 2022
bd48ad9
node-api: fix typo in `node_api.cc`
austinkelleher Feb 24, 2022
978b50f
test: deflake test-common-expect-warning
lpinca Feb 18, 2022
a70a1ce
doc: make building with ninja more discoverable
bavulapati Feb 25, 2022
3f09a6d
deps: V8: cherry-pick b66334313c8b
luyahan Feb 21, 2022
396240b
deps: V8: cherry-pick 77d515484864
luyahan Feb 21, 2022
611cbf1
build: last test of the stale feature action
mhdawson Feb 22, 2022
37f6f92
errors: do not access .stack in debug
bcoe Feb 25, 2022
042fb6f
build: add corepack to the auto-updated dependencies
arcanis Feb 25, 2022
1a0f26f
deps: upgrade npm to 8.5.2
npm-robot Feb 24, 2022
7c0b8ca
perf_hooks: do not return all entries with getEntriesBy[Name|Type]
meixg Feb 26, 2022
5980b6d
doc: remove repeated a word
apeltop Feb 26, 2022
e170440
lib: clean after the cancel algorithm throw error
MoonBall Feb 26, 2022
b7599d8
crypto: add KeyObject.prototype.equals method
panva Feb 26, 2022
4eecb25
crypto: validate `this` value for `webcrypto.getRandomValues`
aduh95 Feb 26, 2022
f2a1615
tools: update eslint to 8.10.0
nodejs-github-bot Feb 27, 2022
09ab046
meta: update AUTHORS
nodejs-github-bot Feb 27, 2022
baeb66a
deps: update nghttp2 to 1.47.0
yashLadha Feb 27, 2022
6b55ba2
fs: adjust default `length` for `fs.readSync` and fsPromises/`read`
LiviaMedeiros Feb 27, 2022
e77a7cf
src: simplify GetExponentString
tniessen Feb 27, 2022
4244b1a
src: do not ignore return value of BIO_reset
tniessen Feb 27, 2022
237f47e
src: simplify arg type of AddFingerprintDigest
tniessen Feb 27, 2022
2fe17f3
src: prefer bool over int in crypto_common
tniessen Feb 27, 2022
447ae8c
src: simplify TLSWrap::SetSession
tniessen Feb 27, 2022
29fd5ff
src: combine GetCurveASN1Name and GetCurveNistName
tniessen Feb 27, 2022
16c00c6
http: add default argument for Agent.prototype.getName
xtx1130 Feb 27, 2022
d40f5a1
buffer: improve blob read performance
meixg Feb 27, 2022
8532f83
tools: update lint-md rollup dependencies
nodejs-github-bot Feb 27, 2022
bcabd70
build: increase max ops for stale feature action
mhdawson Feb 25, 2022
b2c88ec
build: fix usage of input in feature action
mhdawson Feb 28, 2022
5322c73
doc: remove reference to obsolete security program
Trott Mar 1, 2022
33b11a3
test: update V8 trace events test expectations
nickie Feb 24, 2022
3026449
src: remove dead code in AddFingerprintDigest
tniessen Mar 1, 2022
28af75e
http2: close stream and session on frameError
RafaelGSS Mar 2, 2022
88e67b8
doc: add JakobJingleheimer to collaborators list
JakobJingleheimer Mar 2, 2022
d0ce089
doc: fix typos
apeltop Mar 2, 2022
993a943
doc: add missing single-quotes to `http.OutgoingMessage`
juanarbol Mar 1, 2022
a5b189c
stream: use .chunk when calling adapters's writev
meixg Mar 3, 2022
19b62dd
doc: add next-10 to strategic initiatives
mhdawson Mar 1, 2022
ba56e41
build: drop shortened URL from lint-commit-message
richardlau Mar 3, 2022
63b468f
doc: use parenthesis instead of em dash
aduh95 Mar 3, 2022
70281e1
test: fix test-process-env-tz.js by using RegExp
XadillaX Mar 4, 2022
1260453
doc: add note about nghttp2 hd pair size
RafaelGSS Mar 5, 2022
17172fe
doc: clarify that some modules don't work when compiled without ssl
aduh95 Mar 5, 2022
2cbf45b
loader: fix esm resolve for symlink file
meixg Mar 6, 2022
137ca4e
meta: update AUTHORS
nodejs-github-bot Mar 6, 2022
d4b1b5c
src: skip revoke_data_object if uuid is not found
meixg Mar 6, 2022
623be18
test: cover 32-bit sizes in generatePrime
tniessen Mar 6, 2022
fe5578b
tools: update lint-md-dependencies to rollup@2.69.1
nodejs-github-bot Mar 6, 2022
cda623c
doc: remove "considered" for clarity
Trott Mar 6, 2022
ddef6bb
http2: add edge case to GOAWAY request
RafaelGSS Mar 6, 2022
275b66d
doc: remove erroneous comma in cluster explainer
tniessen Mar 7, 2022
78647ed
url, src: modify one `special_back_slash`
XadillaX Feb 24, 2022
db9f775
src: return proper URLs from node_api_get_module_file_name
addaleax Jan 29, 2022
6545094
doc: update stale feature messages
mhdawson Mar 4, 2022
830f93d
src: fix unchecked return warning from coverity
mhdawson Mar 1, 2022
6763bed
doc: readline `'line'` event emits final line
mattpr Mar 7, 2022
602f34e
crypto: add CHECKs to remaining BIO_s_mem allocs
tniessen Mar 7, 2022
3593953
tools: fix web streams API links
mscdex Mar 7, 2022
c56e15a
meta: add dependencies label to label-pr-config
Mesteery Mar 7, 2022
7f43f94
crypto: fix fingerprint string size calculation
tniessen Mar 7, 2022
c5da1dd
build: use ccache in make-v8.sh on ppc64le and s390x
richardlau Mar 7, 2022
962a8ec
url: trim leading and trailing C0 control chars
Trott Mar 8, 2022
f21f104
string_decoder: fix crash when calling __proto__.write()
RaisinTen Mar 8, 2022
436bdde
doc: remove refs to old OpenSSL list-* commands
tniessen Mar 8, 2022
6b721d7
deps: upgrade npm to 8.5.3
npm-robot Mar 3, 2022
dcebb99
lib: fix AsyncResource.bind not using 'this' from the caller by default
rochdev Mar 8, 2022
a84896e
doc: deprecate string coercion in `fs.write`, `fs.writeFileSync`
LiviaMedeiros Mar 8, 2022
de3748a
src: use `emplace_back` instead of `push_back`
yashLadha Mar 8, 2022
3cc06de
test: use global webcrypto for WPT tests
aduh95 Mar 8, 2022
bf1f485
src,crypto: avoid tristate Maybe<bool> in ExportJWKEcKey()
RaisinTen Mar 8, 2022
e9d7af1
debugger: correct typo in inspect_repl.js
cola119 Mar 9, 2022
9fa6e44
doc: remove outdated timeout.unref content
meixg Mar 10, 2022
d301a88
http2: fix potential integer overflow
mhdawson Mar 10, 2022
25017ca
esm: add runtime warning for specifier resolution flag
GeoffreyBooth Mar 10, 2022
90ce5c9
src: perform minor cleanups on zlib code
addaleax Mar 10, 2022
ba1d949
deps: V8: cherry-pick c6f6626deb14
luyahan Mar 10, 2022
268fd97
src: remove redundant buffer size check
tniessen Mar 10, 2022
245577e
test: add test case for reverted 17.7 regression
Trott Mar 11, 2022
e918570
url: preserve null char in WHATWG URL errors
Trott Mar 11, 2022
376b3c4
src: include internal/options in the snapshot
joyeecheung Mar 3, 2022
a122eb1
meta: update AUTHORS
nodejs-github-bot Mar 13, 2022
8d734cb
deps: cares: cherry-pick b5a3d96
bradh352 Mar 2, 2022
43b8a4f
doc: improve pipe description
mifi Mar 13, 2022
f53b454
doc: clarify the meaning of legacy status
RaisinTen Mar 14, 2022
7636370
tools: update eslint to 8.11.0
nodejs-github-bot Mar 14, 2022
5eaa591
src: check return value of HMAC_Final
tniessen Mar 14, 2022
2e42ccf
esm: improve typings and code coverage
bmeck Mar 11, 2022
0e3e3fd
src: avoid returning invalid value from hex2bin
tniessen Mar 14, 2022
57b619d
src: simplify bound check in ParseArrayIndex
tniessen Mar 14, 2022
97aa236
tools: update lint-md-dependencies to rollup@2.70.0 unified@10.1.2
nodejs-github-bot Mar 14, 2022
1c10615
tools: update doc to highlight.js@11.5.0 unified@10.1.2
nodejs-github-bot Mar 14, 2022
5b30e28
src: check EC_POINT_get_affine_coordinates result
tniessen Mar 14, 2022
7fe16ec
src: fix coverity warnings in node_file.cc
mhdawson Mar 9, 2022
3d37efe
test: improve _http_outgoing coverage
kuriyosh Mar 14, 2022
6d422ad
test: improve _http_incoming.js coverage
kuriyosh Mar 14, 2022
3188dcb
doc: clarify path search in `child_process.spawn`
zobo Mar 14, 2022
4f6b187
doc: fix async iterable pipeline signal examples
tilgovi Mar 14, 2022
ebe2b6d
lib: refactor to use primordials in `lib/assert.js`
marsonya Mar 15, 2022
c777cb3
esm: make extension-less errors in type:module actionable
bmeck Mar 15, 2022
df19099
doc: update base branch name for `nodejs/nodejs.org`
danielleadams Mar 16, 2022
835e65b
doc: add @ShogunPanda to collaborators
ShogunPanda Mar 16, 2022
fb42f99
doc: revise async_hooks docs
Trott Mar 17, 2022
cb07930
doc: remove unneeded lint disable comment
Trott Mar 17, 2022
7073017
doc: fix Embedder's Guide link to V8 official docs
aroyan Mar 17, 2022
04243a8
test: improve https_renew_cert.sh script
tniessen Mar 17, 2022
a458fbf
worker: do not send message if port is closing
Trott Mar 16, 2022
39fb114
http: trace http client by perf_hooks
theanarkh Mar 18, 2022
83391d1
doc: document goal to have examples
mhdawson Mar 9, 2022
73ce911
src: convert hex2bin() into a regular function
RaisinTen Mar 18, 2022
e3bced1
test: give slow tests more time on Rasberry PIs
mhdawson Mar 17, 2022
682248c
doc: add that chacha20-poly1305 is IETF version
tniessen Mar 19, 2022
7e73e5e
deps: upgrade npm to 8.5.5
npm-robot Mar 17, 2022
ad17c9c
test,crypto: add and update empty passphrase regression tests
RaisinTen Mar 19, 2022
208ab57
doc: improve README.md usability
Trott Mar 19, 2022
f990308
crypto: fix auth tag length error when mode != GCM
tniessen Mar 20, 2022
789e604
tools: update lint-md-dependencies to rollup@2.70.1
nodejs-github-bot Mar 20, 2022
a363842
meta: update AUTHORS
nodejs-github-bot Mar 20, 2022
b68db72
esm: fix relative imports for https
bmeck Feb 27, 2022
166eb78
esm: fix base URL for network imports
bmeck Feb 25, 2022
e243282
2022-04-26, Version 16.15.0 'Gallium' (LTS)
danielleadams Apr 24, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 9 additions & 18 deletions .eslintrc.js
Expand Up @@ -35,6 +35,9 @@ Module._findPath = (request, paths, isMain) => {

module.exports = {
root: true,
env: {
es2022: true,
},
extends: ['eslint:recommended', 'plugin:jsdoc/recommended'],
plugins: ['jsdoc', 'markdown', 'node-core'],
parser: '@babel/eslint-parser',
Expand Down Expand Up @@ -316,23 +319,11 @@ module.exports = {
'node-core/no-duplicate-requires': 'error',
},
globals: {
AbortController: 'readable',
AbortSignal: 'readable',
Atomics: 'readable',
BigInt: 'readable',
BigInt64Array: 'readable',
BigUint64Array: 'readable',
Event: 'readable',
EventTarget: 'readable',
MessageChannel: 'readable',
MessageEvent: 'readable',
MessagePort: 'readable',
TextEncoder: 'readable',
TextDecoder: 'readable',
queueMicrotask: 'readable',
globalThis: 'readable',
btoa: 'readable',
atob: 'readable',
performance: 'readable',
Crypto: 'readable',
CryptoKey: 'readable',
fetch: 'readable',
FormData: 'readable',
Response: 'readable',
SubtleCrypto: 'readable',
},
};
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/1-bug-report.yml
@@ -1,4 +1,4 @@
name: "\U0001F41B Bug report"
name: 🐛 Bug report
description: Create a report to help us improve
body:
- type: markdown
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/2-feature-request.yml
@@ -1,6 +1,6 @@
name: "\U0001F680 Feature request"
name: 🚀 Feature request
description: Suggest an idea for this project
labels: ["feature request"]
labels: [feature request]
body:
- type: markdown
attributes:
Expand All @@ -10,7 +10,7 @@ body:
Please fill in as much of the following form as you're able.

For more information on how the project manages feature
requests, see [Feature request management](https://github.com/nodejs/node/blob/HEAD/doc/guides/feature-request-management.md).
requests, see [Feature request management](https://github.com/nodejs/node/blob/HEAD/doc/contributing/feature-request-management.md).
- type: textarea
attributes:
label: What is the problem this feature will solve?
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/3-api-ref-docs-problem.yml
@@ -1,6 +1,6 @@
name: "\U0001F4D7 Open an issue regarding the Node.js API reference docs"
name: 📗 Open an issue regarding the Node.js API reference docs
description: Let us know about any problematic API reference documents
labels: ["doc"]
labels: [doc]
body:
- type: markdown
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/4-report-a-flaky-test.yml
@@ -1,6 +1,6 @@
name: Report a flaky test
description: Report a flaky test in our CI
labels: ["flaky-test"]
labels: [flaky-test]
body:
- type: markdown
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/label-pr-config.yml
Expand Up @@ -85,7 +85,7 @@ subSystemLabels:
/^deps\/nghttp2\//: http2
/^deps\/ngtcp2\//: quic, dont-land-on-v14.x, dont-land-on-v12.x
/^deps\/nghttp3\//: quic, dont-land-on-v14.x, dont-land-on-v12.x
/^deps\/([^/]+)/: $1
/^deps\/([^/]+)/: dependencies, $1

## JS subsystems
# Oddities first
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/authors.yml
@@ -1,8 +1,8 @@
name: "authors update"
name: Authors update
on:
schedule:
# Run once a week at 00:05 AM UTC on Sunday.
- cron: '5 0 * * 0'
- cron: 5 0 * * 0

workflow_dispatch:

Expand All @@ -15,7 +15,7 @@ jobs:
with:
fetch-depth: '0' # This is required to actually get all the authors
persist-credentials: false
- run: "tools/update-authors.js" # Run the AUTHORS tool
- run: tools/update-authors.js # Run the AUTHORS tool
- uses: gr2m/create-or-update-pull-request-action@v1 # Create a PR or update the Action's existing PR
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
Expand All @@ -25,7 +25,7 @@ jobs:
Here are some new additions to the AUTHORS file.
This is an automatically generated PR by the
`authors.yml` GitHub Action, which runs `tools/update-authors.js`.
branch: "actions/authors-update" # Custom branch *just* for this Action.
commit-message: "meta: update AUTHORS"
branch: actions/authors-update # Custom branch *just* for this Action.
commit-message: 'meta: update AUTHORS'
labels: meta
title: "meta: update AUTHORS"
title: 'meta: update AUTHORS'
16 changes: 9 additions & 7 deletions .github/workflows/auto-start-ci.yml
Expand Up @@ -6,13 +6,15 @@ on:
# optimistic, it can take longer to run.
# To understand why `schedule` is used instead of other events, refer to
# ./doc/contributing/commit-queue.md
- cron: "*/5 * * * *"
- cron: '*/5 * * * *'

concurrency: ${{ github.workflow }}

env:
NODE_VERSION: lts/*

jobs:
get_prs_for_ci:
get-prs-for-ci:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
outputs:
Expand All @@ -29,20 +31,20 @@ jobs:
--limit 100
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
startCI:
needs: get_prs_for_ci
if: needs.get_prs_for_ci.outputs.numbers != ''
start-ci:
needs: get-prs-for-ci
if: needs.get-prs-for-ci.outputs.numbers != ''
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false

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

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

Expand All @@ -55,6 +57,6 @@ jobs:
ncu-config set repo "$(echo ${{ github.repository }} | cut -d/ -f2)"

- name: Start the CI
run: ./tools/actions/start-ci.sh ${{ needs.get_prs_for_ci.outputs.numbers }}
run: ./tools/actions/start-ci.sh ${{ needs.get-prs-for-ci.outputs.numbers }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21 changes: 11 additions & 10 deletions .github/workflows/build-tarball.yml
Expand Up @@ -4,10 +4,10 @@ on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '.mailmap'
- .mailmap
- '**.md'
- 'AUTHORS'
- 'doc/**'
- AUTHORS
- doc/**
- .github/**
- '!.github/workflows/build-tarball.yml'
push:
Expand All @@ -17,21 +17,24 @@ on:
- v[0-9]+.x-staging
- v[0-9]+.x
paths-ignore:
- '.mailmap'
- .mailmap
- '**.md'
- 'AUTHORS'
- 'doc/**'
- AUTHORS
- doc/**
- .github/**
- '!.github/workflows/build-tarball.yml'

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

env:
PYTHON_VERSION: '3.10'
FLAKY_TESTS: dontcare

jobs:
build-tarball:
if: github.event.pull_request.draft == false
env:
PYTHON_VERSION: '3.10'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -57,8 +60,6 @@ jobs:
name: tarballs
path: tarballs
test-tarball-linux:
env:
PYTHON_VERSION: '3.10'
needs: build-tarball
runs-on: ubuntu-latest
steps:
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/build-windows.yml
@@ -1,9 +1,9 @@
name: build-windows
name: Build Windows

on:
pull_request:
paths-ignore:
- "README.md"
- README.md
- .github/**
- '!.github/workflows/build-windows.yml'
types: [opened, synchronize, reopened, ready_for_review]
Expand All @@ -15,10 +15,14 @@ on:
- v[0-9]+.x-staging
- v[0-9]+.x
paths-ignore:
- "README.md"
- README.md
- .github/**
- '!.github/workflows/build-windows.yml'

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

env:
PYTHON_VERSION: '3.10'
FLAKY_TESTS: dontcare
Expand Down
51 changes: 51 additions & 0 deletions .github/workflows/close-stale-feature-requests.yml
@@ -0,0 +1,51 @@
name: Close stale feature requests
on:
workflow_dispatch:
inputs:
daysBeforeStale:
description: Idle number of days before marking feature requests stale
required: true
default: 906
type: number

# yamllint disable rule:empty-lines
env:
CLOSE_MESSAGE: >
There has been no activity on this feature request
and it is being closed. If you feel closing this issue is not the
right thing to do, please leave a comment.


For more information on how the project manages
feature requests, please consult the
[feature request management document](https://github.com/nodejs/node/blob/HEAD/doc/contributing/feature-request-management.md).

WARN_MESSAGE: >
There has been no activity on this feature request for
5 months and it is unlikely to be implemented.
It will be closed 6 months after the last non-automated comment.


For more information on how the project manages
feature requests, please consult the
[feature request management document](https://github.com/nodejs/node/blob/HEAD/doc/contributing/feature-request-management.md).
# yamllint enable

jobs:
stale:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: ${{ github.event.inputs.daysBeforeStale }}
days-before-close: 30
stale-issue-label: stale
close-issue-message: ${{ env.CLOSE_MESSAGE }}
stale-issue-message: ${{ env.WARN_MESSAGE }}
only-labels: feature request
exempt-pr-labels: never-stale
# max requests it will send per run to the GitHub API before it deliberately exits to avoid hitting API rate limits
operations-per-run: 500
remove-stale-when-updated: true
2 changes: 1 addition & 1 deletion .github/workflows/close-stalled.yml
@@ -1,7 +1,7 @@
name: Close stalled issues and PRs
on:
schedule:
- cron: "0 0 * * *"
- cron: 0 0 * * *

env:
CLOSE_MESSAGE: >
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/comment-labeled.yml
@@ -1,4 +1,4 @@
name: Comment on issues and PRs when labelled
name: Comment on issues and PRs when labeled
on:
issues:
types: [labeled]
Expand All @@ -12,7 +12,7 @@ env:
FAST_TRACK_MESSAGE: Fast-track has been requested by @${{ github.actor }}. Please 👍 to approve.

jobs:
staleComment:
stale-comment:
if: github.repository == 'nodejs/node' && github.event.label.name == 'stalled'
runs-on: ubuntu-latest
steps:
Expand All @@ -22,7 +22,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh issue comment "$NUMBER" --repo ${{ github.repository }} --body "$STALE_MESSAGE"

fastTrack:
fast-track:
if: github.repository == 'nodejs/node' && github.event_name == 'pull_request_target' && github.event.label.name == 'fast-track'
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commit-lint.yml
@@ -1,4 +1,4 @@
name: "First commit message adheres to guidelines at https://goo.gl/p2fr5Q"
name: First commit message adheres to guidelines

on: [pull_request]

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/commit-queue.yml
Expand Up @@ -11,7 +11,9 @@ on:
# be read-only, and the Action won't have access to any other repository
# secrets, which it needs to access Jenkins API.
schedule:
- cron: "*/5 * * * *"
- cron: '*/5 * * * *'

concurrency: ${{ github.workflow }}

env:
NODE_VERSION: lts/*
Expand Down
22 changes: 12 additions & 10 deletions .github/workflows/coverage-linux.yml
@@ -1,27 +1,29 @@
name: coverage-linux
name: Coverage Linux

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '**.md'
- 'benchmark/**'
- 'deps/**'
- 'doc/**'
- benchmark/**
- deps/*
- doc/**
- .github/**
- '!.github/workflows/coverage-linux.yml'
push:
branches:
- master
- main
branches: [master, main]
paths-ignore:
- '**.md'
- 'benchmark/**'
- 'deps/**'
- 'doc/**'
- benchmark/**
- deps/**
- doc/**
- .github/**
- '!.github/workflows/coverage-linux.yml'

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

env:
PYTHON_VERSION: '3.10'
FLAKY_TESTS: dontcare
Expand Down