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

v10.15.1 proposal #25346

Merged
merged 223 commits into from Jan 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
223 commits
Select commit Hold shift + click to select a range
ffb4087
src: remove function hasTextDecoder in encoding.js
chichiwang Oct 12, 2018
4749640
crypto: reduce memory usage of SignFinal
tniessen Oct 11, 2018
c6a43fa
zlib: do not leak on destroy
mafintosh Oct 18, 2018
383d512
src: memory management using smart pointer
uttampawar Oct 12, 2018
15d05bb
src: simplify `TimerFunctionCall()` in `node_perf.cc`
addaleax Oct 20, 2018
3170cb4
tls: throw if protocol too long
Oct 12, 2018
6f3bc0d
doc, test: document and test vm timeout escapes
jasnell Oct 18, 2018
b16311b
test: mark test-vm-timeout-* known issue tests flaky
jasnell Oct 24, 2018
72d2d2c
build: expose more openssl categories for addons
JCMais Oct 9, 2018
44a1993
src: avoid extra `Persistent` in `DefaultTriggerAsyncIdScope`
addaleax Oct 24, 2018
042749f
build: only try to find node when it's needed by the target
joyeecheung Nov 6, 2018
74f1dad
test: http-client-timeout error assert arguments
rangle-tadhg Nov 6, 2018
c37b319
test: fix arguments order
franher Nov 6, 2018
04f8d6b
child_process: allow 'http_parser' monkey patching again
Jimbly Oct 31, 2018
e599889
test: fs readfile, swap arguments in strictEqual
dodev Nov 6, 2018
11a84a7
test: swap the order of arguments
mhamwala Nov 6, 2018
2d88af3
test: strictEqual argument order (actual, expected)
Nov 6, 2018
64fd19f
test: fix invalid argument order in test-http-expect-continue.js
mroderick Nov 6, 2018
78a3201
test: change order of assert.strictEqual()
remypar5 Nov 6, 2018
f0eee63
test: fix assert parameter order
Nov 6, 2018
abf9bd1
test: swap expected and actual in assert.strictEqual
fbilbie Nov 6, 2018
6e8fa53
test: add tests for OutgoingMessage setTimeout
robin-drexler Nov 6, 2018
cd07b02
test: fixing arguments order in `assert.strictEqual()`
gcarcaci Nov 6, 2018
380789e
test: fixe argument order in assert.strictEqual
posth Nov 6, 2018
8f2bdac
test: fix arguments order
simonaco Nov 6, 2018
f46fa90
test: switch arguments in strictEqual
mthpvg Nov 6, 2018
1588fba
test: fix argument order in assert.strictEqual()
Nov 6, 2018
90f9890
test: fix arguments order in test-fs-write-buffer
razvanbh Nov 6, 2018
fc84ccd
test: removed extraneous argument 's'
jacksonchui Nov 7, 2018
e0c6f5c
test: fix assert argument order
manishepoch Nov 6, 2018
b63e9cb
test: fix arguments order in assert.strictEqual
Nov 6, 2018
2e0d3c9
test: fix order in assert.strictEqual to actual, expected
Nov 6, 2018
d7722dd
test: fix the arguments order in `assert.strictEqual`
michael-zucker Nov 7, 2018
9052a22
test: fix the arguments order in `assert.strictEqual`
michael-zucker Nov 7, 2018
cc688bb
doc: fix some inconsistent use of hostname
sam-github Nov 6, 2018
efd697b
test: switch order of strictEqual arguments
jpolack Nov 6, 2018
d7a3a3b
test: change arguments order in strictEqual
Paul-Isache Nov 6, 2018
9a64cec
buffer: fix writeUInt16BE range check
mscdex Nov 6, 2018
e57a5c3
test: fix order of arguments in test-delayed-require assertion
reineke-fox Nov 6, 2018
8e9ff69
test: add error code tests in dgram test
MarkArranz Nov 7, 2018
8c107a3
url: make the context non-enumerable
joyeecheung Nov 7, 2018
0c206e0
benchmark: support more options in startup benchmark
joyeecheung Nov 6, 2018
31441f4
doc: describe what tls servername is for
sam-github Nov 7, 2018
9a69d03
src: reuse std::make_unique
alyssaq Nov 6, 2018
53b12c3
test: fix NewFromUtf8 compiler warning
danbev Nov 7, 2018
540b741
test: add coverage for escape key switch case
Nov 6, 2018
2d6e942
test: add test for 'ERR_INVALID_CALLBACK'
razvanbh Nov 7, 2018
abe3eda
doc: fix code examples in stream.md
grantcarthew Nov 5, 2018
a1d7ed7
tracing: fix static destruction order issue
addaleax Nov 6, 2018
9fa7146
test: fix order of arguments in assert.strictEqual
eiskalteschatten Nov 6, 2018
cd2dedf
test: add coverage for systemerror set name
amer8 Nov 6, 2018
1b5b1cc
test: add test for strictDeepEqual
nikita-malyschkin Nov 7, 2018
c417c7a
test: use assert.strictEqual instead of assert.equal
prog1dev Oct 15, 2018
4054c24
test: fix uses of deprecated assert.fail with multiple args
prog1dev Oct 15, 2018
b305db8
doc: edit BUILDING.md
Trott Nov 8, 2018
4b9518d
test: move test-fs-watch-system-limit from sequential to pummel
mmmscott Oct 16, 2018
3966b69
lib: combine contructor, tag, Object into a function
Paul-Isache Nov 6, 2018
5dfc1bb
build,tools: update make-v8.sh for s390x
refack Oct 23, 2018
d8ac55a
test: use NULL instead of 0 in common.h
danbev Nov 5, 2018
10a2727
net: simplify Socket.prototype._final
addaleax Nov 4, 2018
704b68a
test: increase coverage internal readline
cyanic-webdesign Nov 6, 2018
897114b
net: partially revert "simplify Socket.prototype._final"
addaleax Nov 10, 2018
6ce4ef3
stream: make `.destroy()` interact better with write queue
addaleax Nov 3, 2018
a6f786d
test: replacing fixture directory with temp
saurabhSiddhu Nov 4, 2018
4e21eb4
build: lint commit message in separate Travis job
richardlau Nov 8, 2018
1ec6923
test : compare objects not identical by reference
meelie Nov 6, 2018
3bb6372
test: fix assert.strictEqual argument order
mcqj Nov 6, 2018
2359273
test: fix arguments order in assert.strictEqual()
ulisesantana Nov 6, 2018
c8d2635
doc: add oyyd to collaborators
oyyd Nov 11, 2018
dd67f39
test: add test for deepEqual Float32Array
yehiyam Nov 6, 2018
63dc221
test: add test case for completion bash flag
Nov 6, 2018
0260db5
doc: correct async_hooks sample outputs
Flarna Nov 2, 2018
704d886
test: correct order of args in assert.strictEqual()
Nov 6, 2018
cf20917
doc: add links to Stream section
dmitigr Nov 11, 2018
07b9a66
console: cover .assert with single argument
mroderick Nov 6, 2018
b4c1d82
doc: update fs.open() changes record for optional 'flags'
rvagg Nov 8, 2018
09bb491
test: fix strictEqual argument order
KaskMartin Nov 6, 2018
d2cc9d7
doc: sort bottom-of-file markdown links
sam-github Nov 27, 2018
4209e12
doc: correct async_hooks resource names
Flarna Nov 27, 2018
17b55bf
deps: V8: cherry-pick 52a9e67
ofrobots Dec 14, 2018
d04c3c2
test: move benchmark tests out of main test suite
Trott Nov 9, 2018
1bceb9d
test: fix test-repl-envvars
addaleax Dec 26, 2018
a30f5a0
test: fix flaky test-vm-timeout-escape-nexttick
Trott Nov 8, 2018
90f3f5e
doc: clarify allowed encoding parameter types
sam-github Nov 7, 2018
4d1a803
test: fix v8 Set/Get compiler warnings
danbev Nov 8, 2018
07b7db2
build: use BUILDTYPE in bench-addons-build targets
danbev Nov 2, 2018
454ede2
test: check control characters replacing
alegatti Nov 6, 2018
51643c2
test: fix args order in process-getactiverequests
kopylash Nov 6, 2018
733cb1e
deps: cherry-pick b87d408 from upstream V8
psmarshall Nov 9, 2018
9970d56
test: test add and remove for lib/domain
dodev Nov 6, 2018
aba7b47
test: url format path ending hashchar not covered
ovhemert Nov 8, 2018
7527632
lib: adjust params from uvExceptionWithHostPort
msmichellegar Nov 6, 2018
33fd13c
build: fix benchmark tests on CI
Trott Nov 11, 2018
e21d784
test: add else and error case for TextDecoder
Nov 6, 2018
8728361
test: fixed order of actual and expected arguments
kiyomizumia Nov 6, 2018
817d871
test: esm loader unknown builtin module
franher Nov 6, 2018
d4fd76a
test: remove unused parameters in function definition
prh1 Nov 9, 2018
b29b235
test: fix arguments order in assertions
herschel666 Nov 6, 2018
35d2397
http: remove obsolete function escapeHeaderValue
Nov 6, 2018
a9a6cb1
doc: fix echo example programs
sam-github Nov 7, 2018
8a60798
doc: update core-validate-commit url
watilde Nov 13, 2018
7576a51
util: deleted unreachable code from util.inspect
kiyomizumia Nov 6, 2018
fbdfd60
test: add process no deprecation
razvanbh Nov 6, 2018
39ccf14
tools: update ESLint to 5.9.0
cjihrig Nov 9, 2018
fbf5321
async_hooks: add HandleScopes to C++ embedder/addon API
addaleax Nov 10, 2018
672879f
doc: use real protocol names in ALPN example
sam-github Nov 7, 2018
2d0105c
net: remove unreachable check in internalConnect
pipobscure Nov 6, 2018
0c2d1d5
net: add comments explaining error check
bewchy Nov 7, 2018
916ead9
test: add tests for Socket.setNoDelay
Nov 7, 2018
ac3e264
doc: fix comma splices in process.md
Trott Nov 14, 2018
68aecff
doc: clarify issues and pull requests guidance
Trott Nov 12, 2018
1ca3c9d
doc: document NODE_TLS_REJECT_UNAUTHORIZED
cjihrig Nov 10, 2018
e111d71
doc: document http request.finished boolean
watson Nov 12, 2018
6cad1b6
test: deep object to table not covered
ovhemert Nov 8, 2018
5c2c5b9
lib: improved conditional check in zlib
dYale Nov 6, 2018
585db59
test: add typeerror for vm/compileFunction params
dYale Nov 6, 2018
965098a
stream: change comment on duplex stream options
jeswcollins Nov 8, 2018
3450a4c
lib: gather all errors constant in the same place for consistency
ZYSzys Nov 2, 2018
31376d9
build: remove unnecessary prerequisite in Makefile
Trott Nov 13, 2018
ae3a194
doc: update collaborator guide with LTS labels
cfanoulis Nov 15, 2018
2bed68f
tools: update remark version to v10 from v8
watilde Nov 13, 2018
e8e93df
tools: update remark-lint to v6.0.3 from v6.0.2
watilde Nov 13, 2018
21843c7
tools: fix `make lint-md-rollup` and run it
watilde Nov 13, 2018
0c73221
tls: do not rely on 'drain' handlers in StreamWrap
addaleax Nov 10, 2018
0f6a952
tls: destroy TLS socket if StreamWrap is destroyed
addaleax Nov 10, 2018
c84b420
Revert "net: partially revert "simplify Socket.prototype._final""
addaleax Nov 10, 2018
987df27
test: remove unused function arguments in async-hooks tests
Trott Nov 14, 2018
dc5647f
build,tools: update make-v8.sh for ppc64le
refack Nov 10, 2018
c19d6e2
doc: better linkage to node-addon-api
mhdawson Nov 14, 2018
8c81992
test: https agent clientcertengine coverage
ovhemert Nov 8, 2018
3b6135f
test: use destructuring and remove unused arguments
jkmdev Nov 15, 2018
e11d46c
doc: adjusting formatting when printing
tlhunter Nov 12, 2018
5d2dadc
build: check minimum ICU in configure for system-icu
srl295 Nov 8, 2018
fa52ba6
src: elevate v8 namespaces of referenced artifacts
singhalkanika198 Nov 17, 2018
2734c20
doc: simplify first-time contributors section of Collaborator Guide
Trott Nov 16, 2018
555ef65
test: fixed the arguments order in `assert.strictEqual`
lshanmug Nov 17, 2018
53973fd
test:replace anonymous closure function
Jayasankar-m Nov 17, 2018
5e3c679
http2: elevate v8 namespaces of repeated references
codegagan Nov 17, 2018
518bc96
test: use arrow functions for callbacks
pushkalb123 Nov 17, 2018
cf7bf27
test: replace callback functions with arrow functions
potham Nov 17, 2018
f4c2d9e
test:replace anonymous closure for test-http-expect-handling.js
Jayasankar-m Nov 17, 2018
39a561b
test: change callback function to arrow function
lshanmug Nov 17, 2018
be14283
src: use smart pointers in cares_wrap.cc
danbev Oct 22, 2018
d2d6287
test: skip test that use --tls-v1.x flags
danbev Nov 15, 2018
bfde244
src: elevate repeated use of v8 namespaced type
Shubhamurkade Nov 17, 2018
a7c1d09
stream: do not use crypto.DEFAULT_ENCODING in lazy_transform.js
joyeecheung Nov 16, 2018
bf3bed5
test: swap actual&optional params
m-nikhil Nov 17, 2018
62a5679
lib: set stderr._destroy to dummyDestroy
joyeecheung Nov 16, 2018
c29c510
test: fix actual parameter order for 'assert.strictEqual'
SelvarajKaruppusamy Nov 17, 2018
7fd4ef7
doc: update crypto examples to not use deprecated api
mayankasthana Nov 5, 2018
2d25cdd
test: remove unused function arguments in async-hooks tests
blacksun1 Nov 17, 2018
52259d7
test: assertion equality fix
NoSkillGirl Nov 17, 2018
a620c25
doc: udpate list item spacing in changelogs
Trott Nov 16, 2018
cc4d866
tools: update to remark-lint-preset-node@1.2.0
Trott Nov 16, 2018
5ad224d
test: fix the arguments order in `assert.strictEqual`
apoorvanand Nov 17, 2018
380da04
test: change callback function to arrow function
jarthana Nov 17, 2018
94d200f
test: replace closure with arrow functions
Amanpreet-03 Nov 17, 2018
be56fb7
events: extract listener check as a function
ZYSzys Nov 11, 2018
abe9778
test: fix the arguments order in `assert.strictEqual`
jarthana Nov 17, 2018
644a9d6
test: fix arguments order in napi test_exception
kanishk30 Nov 17, 2018
8f7326c
test: replace anonymous closure functions with arrow function
Amanpreet-03 Nov 17, 2018
2ffbde3
test: favor arrow functions in callbacks
UjjwalUpadhyay123-bit Nov 17, 2018
40773c0
test: use print() function on both Python 2 and 3
Nov 19, 2018
5c3736a
build: use print() function in configure.py
Nov 19, 2018
4425926
test: change anonymous closure functions to arrow functions
oyenamit Nov 17, 2018
94553b2
test: add typeerror test for EC crypto keygen
teorossi82 Nov 16, 2018
492e2a4
doc: add filehandle.write(string[, position[, encoding]])
Nov 13, 2018
4a16a4d
fs: inline typeof check
Nov 16, 2018
f129e2c
test: replace anonymous closure function with arrow function
snofty Nov 17, 2018
164069c
test: replace closure with arrow functions
kanishk30 Nov 17, 2018
6bd055f
lib: refactor setupInspector in bootstrap/node.js
leeight Nov 17, 2018
eeb4715
util: remove unreachable branch
rahulshuklab4u Nov 17, 2018
b61a51c
build: remove sudo:false from .travis.yml
Trott Nov 20, 2018
4f13ac7
console: improve code readability
gengjiawen Nov 15, 2018
c16b932
doc: add Beth Griggs to release team
BethGriggs Nov 20, 2018
40c9ee0
doc: minor cleanup of tls.getProtocol()
sam-github Nov 20, 2018
5516fbf
http2: order declarations in http2.js
ZYSzys Nov 17, 2018
e7d41c0
test: modify order of parameters for assertion
msahacode Nov 17, 2018
4b82aa8
src: elevate namespaces of repeated artifacts
Nov 17, 2018
8df4a16
http2: replace unreachable error with assertion
Trott Nov 16, 2018
3ef68d8
cli: add missing env vars to --help
cjihrig Nov 15, 2018
ef1056f
doc: add missing env variables to man page
cjihrig Nov 15, 2018
6bb860c
doc: add NODE_DEBUG_NATIVE to API docs
cjihrig Nov 15, 2018
08284dc
doc: move Timothy to TSC emeritus
TimothyGu Nov 20, 2018
4246a40
lib: move encodeStr function to internal for reusable
ZYSzys Nov 8, 2018
66c3dca
test: replace anonymous closure with arrow funct
prabusubra Nov 17, 2018
283a6b8
test: replace anonymous closure functions with arrow function
Nov 17, 2018
7920e7b
test: replace anonymous closure functions with arrow functions
sagirk Nov 19, 2018
8734c67
test: add whatwg-encoding TextDecoder custom inspection with showHidden
ZauberNerd Nov 6, 2018
b7876ba
src: elevate namespaces for repeated entities
SarathGovind Nov 19, 2018
b1bbedd
doc: edit COLLABORATOR_GUIDE.md on closing issues
Trott Nov 19, 2018
d245f53
test: replace anonymous closure with arrow functions
suman-mitra Nov 19, 2018
f0602f8
doc: add Ruben Bridgewater to release team
BridgeAR Oct 11, 2018
fa60eb8
stream: correctly pause and resume after once('readable')
mcollina Nov 14, 2018
d288a39
doc: move trott to tsc emeritus
Trott Nov 19, 2018
351e69d
test: refactor test-http-write-empty-string to use arrow functions
sagirk Nov 19, 2018
6ba6ce6
doc: add readable and writable property to Readable and Writable
dexterleng Oct 28, 2018
98ef097
doc: revise `author ready` explanation
Trott Nov 21, 2018
fa91037
build: fix Python detection when depot_tools are in PATH in Windows
guybedford Aug 26, 2018
b827db0
doc,meta: update PR approving info
vsemozhetbyt Nov 21, 2018
44d9084
test: replcae anonymous closure with arrow function
SarathGovind Nov 19, 2018
7e96c7f
doc: clarify who may land on an LTS staging branch
MylesBorins Nov 18, 2018
636de36
test: replace callback with arrow functions
sreepurnajasti Nov 19, 2018
fe96ecd
test: replace anonymous closure with arrow func
suman-mitra Nov 19, 2018
8bd2399
test: using arrow functions
NoSkillGirl Nov 20, 2018
31511c5
test: replace closure with arrow function
Nov 17, 2018
952842b
test: refactor test to use arrow functions
sagirk Nov 19, 2018
b332a78
test: remove unused reject handlers
Nov 21, 2018
d41c988
test: favor arrow function in callback
kotAPI Nov 21, 2018
9c29288
test: replace anonymous function with arrow function
codegagan Nov 20, 2018
6ef3ec0
test: replace closure functions with arrow functions
codegagan Nov 20, 2018
6b3b769
test: change anonymous closure function to arrow function
nethraravindran Nov 17, 2018
a7ab8f8
test: replace anonymous function with arrow func
codegagan Nov 20, 2018
546af69
test: add information to assertion
Trott Nov 22, 2018
4ffc1e6
test: replace anonymous function with arrow
codegagan Nov 20, 2018
af6de29
test: replace anonymous function with arrow
codegagan Nov 20, 2018
c65063d
test: replace callback with arrow function
potham Nov 20, 2018
8efb16a
test: replace callback with arrow functions
sreepurnajasti Nov 20, 2018
559ca1c
test: fix test case in test-child-process-fork-dgram.js
gengjiawen Nov 20, 2018
106a1a1
test: use destructuring on require
juanarbol Nov 17, 2018
adb5d4f
test: mark test-cli-node-options flaky on arm
Trott Dec 14, 2018
297c9d1
2019-01-29, Version 10.15.1 'Dubnium' (LTS)
codebytere Jan 15, 2019
7840f71
Working on v10.15.2
codebytere Jan 29, 2019
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
  •  
  •  
  •  
13 changes: 8 additions & 5 deletions .travis.yml
@@ -1,20 +1,23 @@
language: cpp
sudo: false
cache: ccache
os: linux
matrix:
include:
- name: "First commit message adheres to guidelines at <a href=\"https://goo.gl/p2fr5Q\">https://goo.gl/p2fr5Q</a>"
if: type = pull_request
language: node_js
node_js: "node"
script:
- if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then
bash -x tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST};
fi
- name: "Linter"
language: node_js
node_js: "node"
env:
- NODE=$(which node)
script:
- make lint
# Lint the first commit in the PR.
- if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then
bash tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST} || true;
fi
- name: "Test Suite"
addons:
apt:
Expand Down
26 changes: 10 additions & 16 deletions BUILDING.md
Expand Up @@ -69,8 +69,7 @@ There are three support tiers:
### Supported platforms

The community does not build or test against end-of-life distributions (EoL).
Thus, we do not recommend that you use Node.js on end-of-life or unsupported
platforms in production.
For production applications, run Node.js on supported platforms only.

| System | Support type | Version | Architectures | Notes |
|--------------|--------------|----------------------------------|----------------------|------------------|
Expand Down Expand Up @@ -134,21 +133,20 @@ OpenSSL-1.1.0 requires the following assembler version for use of asm
support on x86_64 and ia32.

* gas (GNU assembler) version 2.23 or higher
* xcode version 5.0 or higher
* Xcode version 5.0 or higher
* llvm version 3.3 or higher
* nasm version 2.10 or higher in Windows

Otherwise `configure` will fail with an error. This can be avoided by
either providing a newer assembler as per the list above or by
using the `--openssl-no-asm` flag.
If compiling without one of the above, use `configure` with the
`--openssl-no-asm` flag. Otherwise, `configure` will fail.

The forthcoming OpenSSL-1.1.1 will have different requirements. Please refer to
https://www.openssl.org/docs/man1.1.1/man3/OPENSSL_ia32cap.html for details.

## Building Node.js on supported platforms

*Note:* All prerequisites can be easily installed by following
[this bootstrapping guide](https://github.com/nodejs/node/blob/master/tools/bootstrap/README.md).
The [bootstrapping guide](https://github.com/nodejs/node/blob/master/tools/bootstrap/README.md)
explains how to install all prerequisites.

### Unix/macOS

Expand All @@ -159,7 +157,7 @@ The forthcoming OpenSSL-1.1.1 will have different requirements. Please refer to
* Python 2.6 or 2.7
* GNU Make 3.81 or newer

On macOS, you will need to install the `Xcode Command Line Tools` by running
On macOS, install the `Xcode Command Line Tools` by running
`xcode-select --install`. Alternatively, if you already have the full Xcode
installed, you can find them under the menu `Xcode -> Open Developer Tool ->
More Developer Tools...`. This step will install `clang`, `clang++`, and
Expand All @@ -180,13 +178,9 @@ $ ./configure
$ make -j4
```

Running `make` with the `-j4` flag will cause it to run 4 compilation jobs
concurrently which may significantly reduce build time. The number after `-j`
can be changed to best suit the number of processor cores on your machine. If
you run into problems running `make` with concurrency, try running it without
the `-j4` flag. See the
[GNU Make Documentation](https://www.gnu.org/software/make/manual/html_node/Parallel.html)
for more information.
The `-j4` option will cause `make` to run 4 simultaneous compilation jobs which
may reduce build time. For more information, see the
[GNU Make Documentation](https://www.gnu.org/software/make/manual/html_node/Parallel.html).

Note that the above requires that `python` resolve to Python 2.6 or 2.7
and not a newer version.
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -26,7 +26,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V10.md#10.15.0">10.15.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V10.md#10.15.1">10.15.1</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V10.md#10.15.0">10.15.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V10.md#10.14.2">10.14.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V10.md#10.14.1">10.14.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V10.md#10.14.0">10.14.0</a><br/>
Expand Down
80 changes: 38 additions & 42 deletions COLLABORATOR_GUIDE.md
Expand Up @@ -3,7 +3,6 @@
## Contents

* [Issues and Pull Requests](#issues-and-pull-requests)
- [Managing Issues and Pull Requests](#managing-issues-and-pull-requests)
- [Welcoming First-Time Contributors](#welcoming-first-time-contributors)
- [Closing Issues and Pull Requests](#closing-issues-and-pull-requests)
- [Author ready pull requests](#author-ready-pull-requests)
Expand Down Expand Up @@ -45,46 +44,40 @@ Collaborators should understand the

## Issues and Pull Requests

### Managing Issues and Pull Requests

Collaborators should take full responsibility for managing issues and pull
requests they feel qualified to handle. Make sure this is done while being
mindful of these guidelines, the opinions of other Collaborators, and guidance
of the [TSC][]. They may also notify other qualified parties for more input on
an issue or a pull request.
See [Who to CC in the issue tracker](#who-to-cc-in-the-issue-tracker).
Mind these guidelines, the opinions of other Collaborators, and guidance of the
[TSC][]. Notify other qualified parties for more input on an issue or a pull
request. See [Who to CC in the issue tracker](#who-to-cc-in-the-issue-tracker).

### Welcoming First-Time Contributors

Courtesy should always be shown to individuals submitting issues and pull
requests to the Node.js project. Be welcoming to first-time contributors,
identified by the GitHub ![First-time contributor](./doc/first_timer_badge.png)
badge.
Always show courtesy to individuals submitting issues and pull requests. Be
welcoming to first-time contributors, identified by the GitHub
![First-time contributor](./doc/first_timer_badge.png) badge.

For first-time contributors, check if the commit author is the same as the
pull request author, and ask if they have configured their git
For first-time contributors, check if the commit author is the same as the pull
request author. This way, once their pull request lands, GitHub will show them
as a _Contributor_. Ask if they have configured their git
[username][git-username] and [email][git-email] to their liking.
This is to make sure they would be promoted to "contributor" once their
pull request lands.

### Closing Issues and Pull Requests

Collaborators may close any issue or pull request they believe is
not relevant for the future of the Node.js project. Where this is
unclear, the issue should be left open for several days to allow for
additional discussion. Where this does not yield input from Node.js
Collaborators or additional evidence that the issue has relevance, the
issue may be closed. Remember that issues can always be re-opened if
necessary.
Collaborators may close any issue or pull request that is not relevant to the
future of the Node.js project. Where this is unclear, leave the issue or pull
request open for several days to allow for discussion. Where this does not yield
evidence that the issue or pull request has relevance, close it. Remember that
issues and pull requests can always be re-opened if necessary.

### Author ready pull requests

A pull request that is still awaiting the minimum review time is considered
_author ready_ as soon as the CI has been started, it has at least two approvals
(one Collaborator approval is enough if the pull request has been open for more
than 7 days), and it has no outstanding review comments. Please always make sure
to add the `author ready` label to the PR in that case and remove it again as
soon as that condition is not met anymore.
A pull request is _author ready_ when:

* There is a CI run in progress or completed.
* There are at least two Collaborator approvals, or at least one approval if the
pull request is older than 7 days.
* There are no outstanding review comments.

Please always add the `author ready` label to the PR in that case. Please always
remove it again as soon as the conditions are not met anymore.

### Handling own pull requests

Expand Down Expand Up @@ -800,8 +793,8 @@ TSC for further discussion.

#### How are LTS Branches Managed?

There are multiple LTS branches, e.g. `v8.x` and `v6.x`. Each of these is paired
with a staging branch: `v8.x-staging` and `v6.x-staging`.
There are multiple LTS branches, e.g. `v10.x` and `v8.x`. Each of these is
paired with a staging branch: `v10.x-staging` and `v8.x-staging`.

As commits land on the master branch, they are cherry-picked back to each
staging branch as appropriate. If the commit applies only to the LTS branch, the
Expand All @@ -810,9 +803,8 @@ pulled from the staging branch into the LTS branch only when a release is
being prepared and may be pulled into the LTS branch in a different order
than they were landed in staging.

Any Collaborator may land commits into a staging branch, but only the release
team should land commits into the LTS branch while preparing a new
LTS release.
Only the members of the @nodejs/backporters team should land commits onto
LTS staging branches.

#### How can I help?

Expand All @@ -823,14 +815,18 @@ on backporting, please see the [backporting guide][].

Several LTS related issue and PR labels have been provided:

* `lts-watch-v6.x` - tells the LTS WG that the issue/PR needs to be considered
for landing in the `v6.x-staging` branch.
* `lts-watch-v4.x` - tells the LTS WG that the issue/PR needs to be considered
for landing in the `v4.x-staging` branch.
* `lts-watch-v10.x` - tells the LTS WG that the issue/PR needs to be
considered for landing in the `v10.x-staging` branch.
* `lts-watch-v8.x` - tells the LTS WG that the issue/PR needs to be
considered for landing in the `v8.x-staging` branch.
* `lts-watch-v6.x` - tells the LTS WG that the issue/PR needs to be
considered for landing in the `v6.x-staging` branch.
* `land-on-v10.x` - tells the release team that the commit should be landed
in a future v10.x release.
* `land-on-v8.x` - tells the release team that the commit should be landed
in a future v8.x release.
* `land-on-v6.x` - tells the release team that the commit should be landed
in a future v6.x release
* `land-on-v4.x` - tells the release team that the commit should be landed
in a future v4.x release
in a future v6.x release.

Any Collaborator can attach these labels to any PR/issue. As commits are
landed into the staging branches, the `lts-watch-` label will be removed.
Expand Down
51 changes: 26 additions & 25 deletions Makefile
Expand Up @@ -270,7 +270,7 @@ v8:
tools/make-v8.sh $(V8_ARCH).$(BUILDTYPE_LOWER) $(V8_BUILD_OPTIONS)

.PHONY: jstest
jstest: build-addons build-addons-napi bench-addons-build ## Runs addon tests and JS tests
jstest: build-addons build-addons-napi ## Runs addon tests and JS tests
$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) \
--skip-tests=$(CI_SKIP_TESTS) \
$(CI_JS_SUITES) \
Expand Down Expand Up @@ -308,7 +308,7 @@ test-valgrind: all
test-check-deopts: all
$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) --check-deopts parallel sequential

benchmark/napi/function_call/build/Release/binding.node: \
benchmark/napi/function_call/build/$(BUILDTYPE)/binding.node: \
benchmark/napi/function_call/napi_binding.c \
benchmark/napi/function_call/binding.cc \
benchmark/napi/function_call/binding.gyp | all
Expand All @@ -317,7 +317,7 @@ benchmark/napi/function_call/build/Release/binding.node: \
--directory="$(shell pwd)/benchmark/napi/function_call" \
--nodedir="$(shell pwd)"

benchmark/napi/function_args/build/Release/binding.node: \
benchmark/napi/function_args/build/$(BUILDTYPE)/binding.node: \
benchmark/napi/function_args/napi_binding.c \
benchmark/napi/function_args/binding.cc \
benchmark/napi/function_args/binding.gyp | all
Expand All @@ -332,16 +332,16 @@ ifeq ($(OSTYPE),aix)
DOCBUILDSTAMP_PREREQS := $(DOCBUILDSTAMP_PREREQS) out/$(BUILDTYPE)/node.exp
endif

node_use_openssl = $(shell $(call available-node,"-p" \
"process.versions.openssl != undefined"))
node_use_openssl = $(call available-node,"-p" \
"process.versions.openssl != undefined")
test/addons/.docbuildstamp: $(DOCBUILDSTAMP_PREREQS) tools/doc/node_modules
ifeq ($(node_use_openssl),true)
$(RM) -r test/addons/??_*/
[ -x $(NODE) ] && $(NODE) $< || node $<
touch $@
else
@echo "Skipping .docbuildstamp (no crypto)"
endif
@if [ "$(shell $(node_use_openssl))" != "true" ]; then \
echo "Skipping .docbuildstamp (no crypto)"; \
else \
$(RM) -r test/addons/??_*/; \
[ -x $(NODE) ] && $(NODE) $< || node $< ; \
touch $@; \
fi

ADDONS_BINDING_GYPS := \
$(filter-out test/addons/??_*/binding.gyp, \
Expand Down Expand Up @@ -414,7 +414,7 @@ clear-stalled:
echo $${PS_OUT} | xargs kill -9; \
fi

test-build: | all build-addons build-addons-napi bench-addons-build
test-build: | all build-addons build-addons-napi

test-build-addons-napi: all build-addons-napi

Expand Down Expand Up @@ -455,7 +455,7 @@ test-ci-js: | clear-stalled
.PHONY: test-ci
# Related CI jobs: most CI tests, excluding node-test-commit-arm-fanned
test-ci: LOGLEVEL := info
test-ci: | clear-stalled build-addons build-addons-napi doc-only bench-addons-build
test-ci: | clear-stalled build-addons build-addons-napi doc-only
out/Release/cctest --gtest_output=tap:cctest.tap
$(PYTHON) tools/test.py $(PARALLEL_ARGS) -p tap --logfile test.tap \
--mode=$(BUILDTYPE_LOWER) --flaky-tests=$(FLAKY_TESTS) \
Expand Down Expand Up @@ -496,7 +496,7 @@ test-debug: test-build
test-message: test-build
$(PYTHON) tools/test.py $(PARALLEL_ARGS) message

test-simple: | cctest bench-addons-build # Depends on 'all'.
test-simple: | cctest # Depends on 'all'.
$(PYTHON) tools/test.py $(PARALLEL_ARGS) parallel sequential

test-pummel: all
Expand All @@ -509,6 +509,9 @@ test-node-inspect: $(NODE_EXE)
USE_EMBEDDED_NODE_INSPECT=1 $(NODE) tools/test-npm-package \
--install deps/node-inspect test

test-benchmark: | bench-addons-build
$(PYTHON) tools/test.py $(PARALLEL_ARGS) benchmark

test-tick-processor: all
$(PYTHON) tools/test.py $(PARALLEL_ARGS) tick-processor

Expand Down Expand Up @@ -609,11 +612,11 @@ apidocs_json = $(addprefix out/,$(apidoc_sources:.md=.json))
apiassets = $(subst api_assets,api/assets,$(addprefix out/,$(wildcard doc/api_assets/*)))

tools/doc/node_modules: tools/doc/package.json
ifeq ($(node_use_openssl),true)
cd tools/doc && $(call available-node,$(run-npm-ci))
else
@echo "Skipping tools/doc/node_modules (no crypto)"
endif
@if [ "$(shell $(node_use_openssl))" != "true" ]; then \
echo "Skipping tools/doc/node_modules (no crypto)"; \
else \
cd tools/doc && $(call available-node,$(run-npm-ci)) \
fi

.PHONY: doc-only
doc-only: tools/doc/node_modules \
Expand Down Expand Up @@ -1043,8 +1046,8 @@ bench: bench-addons-build

# Build required addons for benchmark before running it.
.PHONY: bench-addons-build
bench-addons-build: benchmark/napi/function_call/build/Release/binding.node \
benchmark/napi/function_args/build/Release/binding.node
bench-addons-build: benchmark/napi/function_call/build/$(BUILDTYPE)/binding.node \
benchmark/napi/function_args/build/$(BUILDTYPE)/binding.node

.PHONY: bench-addons-clean
bench-addons-clean:
Expand All @@ -1053,13 +1056,11 @@ bench-addons-clean:

.PHONY: lint-md-rollup
lint-md-rollup:
cd tools/node-lint-md-cli-rollup/remark-preset-lint-node && npm up
cd tools/node-lint-md-cli-rollup && npm up
cd tools/node-lint-md-cli-rollup && npm install
cd tools/node-lint-md-cli-rollup && npm run build-node

.PHONY: lint-md-clean
lint-md-clean:
$(RM) -r tools/node-lint-md-cli-rollup/remark-preset-lint-node/node_modules
$(RM) -r tools/node-lint-md-cli-rollup/node_modules
$(RM) tools/.*mdlintstamp

Expand Down