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

v12.16.3 release proposal #33009

Merged
merged 190 commits into from
Apr 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
190 commits
Select commit Hold shift + click to select a range
717f9c5
module: path-only CJS exports extension searching
guybedford Mar 18, 2020
d07dd31
stream: add regression test for async iteration completion
mcollina Jan 25, 2020
3bf21b0
src: fix minor typo in base_object.h
danbev Jan 27, 2020
28cb7e7
worker: improve MessagePort performance
addaleax Feb 1, 2020
6e68d98
doc: fix anchor for ERR_TLS_INVALID_CONTEXT
tniessen Feb 22, 2020
7d66cea
perf,src: add HistogramBase and internal/histogram.js
jasnell Feb 27, 2020
f9123eb
http: fix socket re-use races
ronag Feb 28, 2020
7152fe3
src: improve KVStore API
lundibundi Feb 13, 2020
7e5e34d
src: simplify node_worker.cc using new KVStore API
lundibundi Feb 13, 2020
fa7e975
test: warn when inspector process crashes
mmarchini Mar 7, 2020
8d1eeb1
stream: combine properties using defineProperties
antsmartian Feb 10, 2020
0108148
fs: fix writeFile[Sync] for non-seekable files
mildsunrise Feb 28, 2020
ecddf65
module: disable conditional exports, self resolve warnings
guybedford Feb 18, 2020
0403f00
test: mark test-timers-blocking-callback flaky on osx
MylesBorins Mar 11, 2020
8fe70e8
src: elevate v8 namespace
RamanandPatil Mar 2, 2020
394fa1f
tools: update ESLint to 7.0.0-alpha.0
cjihrig Feb 28, 2020
e641b3c
tools: update ESLint to 7.0.0-alpha.1
cjihrig Feb 28, 2020
5dacfa7
tools: update ESLint to 7.0.0-alpha.2
cjihrig Feb 28, 2020
bcf152e
tools: enable default-case-last lint rule
cjihrig Feb 28, 2020
ecf842e
tools: enable no-useless-backreference lint rule
cjihrig Feb 28, 2020
e655869
build: support android build on ndk version equal or above 23
forfun414 Jan 26, 2020
a2d961d
src: remove unused include from node_file.cc
bnoordhuis Feb 15, 2020
a53980d
src: fix -Wmaybe-uninitialized compiler warning
bnoordhuis Feb 15, 2020
e6e38ec
doc: prevent tables from shrinking page
davidgilbertson Feb 18, 2020
c439d83
doc: add entry for `AsyncHook` class
HarshithaKP Feb 19, 2020
bee009d
test: improve test-fs-existssync-false.js
himself65 Feb 20, 2020
ab1136a
doc: add support encoding link on string_decoder.md
himself65 Feb 22, 2020
8602392
doc: improve Buffer documentation
addaleax Mar 4, 2020
5b2f698
src: fix missing extra ca in tls.rootCertificates
ebickle Mar 3, 2020
e33e989
doc: clarify windows specific behaviour
sam-github Mar 4, 2020
11899f6
doc: clear up child_process command resolution
lundibundi Mar 4, 2020
385faf7
doc: include the error type in the request.resolve doc
trusktr Mar 8, 2020
146ad4e
async_hooks: avoid resource reuse by FileHandle
Flarna Feb 18, 2020
d3c9a82
build: remove empty line on node.gyp file
juanarbol Feb 25, 2020
f223d2c
src: fix spawnSync CHECK when SIGKILL fails
bnoordhuis Feb 13, 2020
4d0be3d
meta: move inactive collaborators to emeriti
Trott Mar 8, 2020
c1c3aa1
doc: add Ruben to TSC
mhdawson Mar 11, 2020
7060ed1
test: fix test-tls-env-extra-ca-file-load
ebickle Mar 3, 2020
4e26831
src: refactor to more safe method
gengjiawen Mar 4, 2020
914eddd
test: `buffer.write` with longer string scenario
HarshithaKP Mar 6, 2020
5a67177
lib: use spread operator on cluster
himself65 Mar 6, 2020
c8541a7
build: disable libstdc++ debug containers globally
bnoordhuis Jan 3, 2020
76e2455
doc: expand fs.watch caveats
bzoz Mar 10, 2020
776905e
test: use portable EOL
HarshithaKP Mar 5, 2020
e54eb46
http2: rename counter in `mapToHeaders` inner loop
mkrawczuk Feb 28, 2020
2e92cb4
deps: V8: cherry-pick f9257802c1c0
mmarchini Mar 10, 2020
58c6422
util: text decoding allows SharedArrayBuffer
bfarias-godaddy Mar 11, 2020
540a024
tools: update to acorn@7.1.1
Trott Mar 14, 2020
9b6f678
src: fix warn_unused_result compiler warning
cjihrig Mar 13, 2020
92a207c
test: workaround for V8 8.1 inspector pause issue
mmarchini Mar 12, 2020
0e92244
deps,doc: move openssl maintenance guide to doc
sam-github Mar 11, 2020
46c751e
src: handle NULL env scenario
himself65 Mar 12, 2020
8dbd7cf
test: use Promise.all() in test-hash-seed
Trott Mar 14, 2020
80493f5
doc: fix some 404 links
watson Mar 11, 2020
baf56f8
tools: fixup icutrim.py use of string and bytes objects
jmercier-lbi Feb 6, 2020
fe0e1db
deps: update to uvwasi 0.0.6
cjihrig Mar 15, 2020
80a8e20
doc: update security release process
sam-github Feb 7, 2020
37476a3
deps: upgrade to c-ares v1.16.0
addaleax Mar 13, 2020
85ae566
test: uv_tty_init returns EBADF on IBM i
dmabupt Mar 18, 2020
a3848e5
build: expand ASAN acronym in configure help
sam-github Mar 17, 2020
7a346f6
src: update comment for SetImmediate()
addaleax Mar 16, 2020
1b79174
test: replace Map with Array in cluster-net-listen tests
Trott Mar 18, 2020
97e352d
test: replace countdown with Promise.all() in cluster-net-listen tests
Trott Mar 19, 2020
7aa2ee2
src: delete CallbackInfo when cleared from cleanup hook
addaleax Mar 21, 2020
46e68bb
src: simplify IsolateData shortcut accesses
addaleax Mar 21, 2020
7f5b89c
test: use mustCall in place of countdown in timers test
Trott Mar 22, 2020
cf47bb9
http: don't emit 'finish' after 'error'
ronag Mar 14, 2020
3d752cd
doc: improve wording in vm.md
Trott Mar 22, 2020
2976ac6
doc: add new TSC members
mhdawson Mar 24, 2020
4b5fd24
src: enhance C++ sprintf utility
himself65 Mar 20, 2020
bba8dd3
doc: simplify and correct example descriptions in net.md
Trott Mar 24, 2020
1c84d85
doc: trim wording in n-api.md text about exceptions
Trott Mar 24, 2020
8d27eb9
doc: remove extraneous sentence in events.md
Trott Mar 24, 2020
5d15dd3
doc: add link to DNS definition
rosaxxny Mar 12, 2020
7c0c4e9
repl: fixup error message
jasnell Mar 24, 2020
52a52d2
http: fixup options.method error message
jasnell Mar 24, 2020
aaf94fd
src: cleanup DestroyParam when Environment exits
addaleax Mar 22, 2020
13a7e05
src: check for empty maybe local
Xstoudi Mar 18, 2020
12d83b3
src: clean v8 namespaces in env.cc file
juanarbol Mar 19, 2020
3ed9fcd
doc: add mildsunrise to collaborators
mildsunrise Mar 27, 2020
565f0f7
test: revise test-http-client-default-headers-exist
Trott Mar 25, 2020
60db56d
test: replace Map with Array in test-cluster-net-listen-ipv6only-false
Trott Mar 20, 2020
5cae1b7
test: use Promise.all() in test-cluster-net-listen-ipv6only-false
Trott Mar 21, 2020
ad347f4
src: remove excess v8 namespace
himself65 Mar 11, 2020
b85bc0c
fs: fixup error message for invalid options.recursive
jasnell Mar 24, 2020
7908415
console: fixup error message
jasnell Mar 24, 2020
d8a948f
build: disable -Wattributes warnings on aix
bnoordhuis Mar 22, 2020
fa9b10c
doc: rename cve_management_process.md to fit doc style guide
lingsamuel Mar 24, 2020
d9abea5
test: unflake async-hooks/test-statwatcher
bzoz Mar 25, 2020
fa4de53
test: check bundled binaries are signed on macOS
richardlau Mar 27, 2020
df890ad
test: remove a duplicated test
himself65 Mar 24, 2020
d3b9a88
doc,crypto: clarify oaepHash option's impact
panva Mar 18, 2020
c9b22c8
src: enhance template function 'MakeUtf8String'
himself65 Mar 17, 2020
fedcb16
deps: update acorn to v7.1.1
BridgeAR Mar 17, 2020
59a8dbe
doc: use uppercase on windows path
himself65 Mar 16, 2020
8b355ea
doc: fix profile type of --heap-prof-name
syohex Mar 21, 2020
4155358
src: replace handle dereference with ContainerOf
HarshithaKP Mar 16, 2020
afc0c70
test: revise test-http-response-multi-content-length
Trott Mar 27, 2020
28cfaa8
src: check for overflow when extending AliasedBufferBase
amdoku Feb 11, 2020
0dfb951
src: add aliased-buffer-overflow abort test
amdoku Feb 12, 2020
6d71eb5
src: add test/abort build tasks
amdoku Feb 14, 2020
eccd2a7
util: fix inspecting document.all
devsnek Feb 24, 2020
9c84d77
test: skip some binding tests on IBMi PASE
dmabupt Feb 26, 2020
e51c42d
doc: tests local links in markdown documents
aduh95 Mar 19, 2020
3b02042
http: don't emit 'readable' after 'close'
ronag Mar 15, 2020
10c525f
win,build: set exit_code on configure failure
Mar 9, 2020
a40e7da
test: harden the tick sampling logic
HarshithaKP Mar 11, 2020
225ddd5
http: move free socket error handling to agent
ronag Feb 28, 2020
b6e739a
test: skip a wasi test on IBMi PASE
dmabupt Mar 24, 2020
191cde0
src: remove unnecessary 'Local.As' operation
himself65 Mar 15, 2020
d192516
crypto: clear openssl error stack after en/decrypt
bnoordhuis Mar 13, 2020
d0d414d
doc: update AUTHORS list
lpinca Mar 12, 2020
f1552f8
doc: update context-aware section of addon doc
Jul 12, 2019
d6f6623
test: refactor test-http-information-processing
Trott Mar 29, 2020
959055f
doc: add ASAN build instructions
gengjiawen Mar 23, 2020
ed21d32
net: wait for shutdown to complete before closing
ronag Mar 25, 2020
848df6f
tracing: do not attempt to call into JS when disallowed
addaleax Mar 29, 2020
aeea7d9
worker: do not emit 'exit' events during process.exit()
addaleax Mar 29, 2020
872f893
src: align PerformanceState class name with conventions
addaleax Mar 28, 2020
d53d152
test: add known issues test for #31733
bnoordhuis Feb 18, 2020
4b417f8
doc: improve fs.read documentation
hachimiSfeir Aug 22, 2019
a055244
test: use template strings in parallel tests
dericop Mar 29, 2020
32ab30c
test: use common.mustCall in test-worker-esm-exit
himself65 Mar 29, 2020
8bc53d1
tools: update ESLint to 7.0.0-alpha.3
cjihrig Mar 28, 2020
c9cc381
deps: upgrade openssl sources to 1.1.1f
hassaanp Mar 31, 2020
80c89d4
deps: update archs files for OpenSSL-1.1.1f
hassaanp Mar 31, 2020
e2174e4
test: fix fs test-fs-utimes strictEqual arg order
bnoordhuis Mar 22, 2020
12fe985
util: only inspect error properties that are not visible otherwise
BridgeAR Mar 17, 2020
3d36458
doc: add flarna to collaborators
Flarna Apr 2, 2020
d764414
doc: improve markdown link checker
mildsunrise Mar 31, 2020
f93b770
doc: fix more links
mildsunrise Mar 31, 2020
fcf1123
test: validate util.format when the value is 'Infinity'
Mar 30, 2020
30d21fb
test: replace console.log() with debuglog()
juanarbol Mar 29, 2020
4165312
test: remove unnecessary console.log() calls
juanarbol Mar 29, 2020
8083d45
test: add a missing common.mustCall
HarshithaKP Mar 16, 2020
7e952f2
doc: fix wordy sentence
NotMoni Mar 30, 2020
f2235f6
doc: clarify `requireManualDestroy` option
HarshithaKP Mar 27, 2020
4e405ee
test: replace console.error() with debuglog calls
Trott Mar 31, 2020
4604127
doc: fix return type of `crypto.getFips()`
richardlau Mar 31, 2020
a299e9c
doc: return type of `crypto.getFips()` may change
richardlau Apr 2, 2020
f71007f
test: skip crypto test on arm buildbots
bnoordhuis Apr 3, 2020
5996df3
doc: document that server.address() can return null
watson Mar 27, 2020
39be571
test: refactor test-http2-buffersize
Trott Mar 29, 2020
b4ba9b8
doc: clarify `length` param in `buffer.write`
HarshithaKP Mar 6, 2020
4a94179
tools: update Boxstarter script and document
himself65 Mar 16, 2020
c3d91eb
doc: add unreachable code on events example
himself65 Mar 19, 2020
21c3685
doc: clarify docs fs.watch exception may be emitted
juanarbol Mar 27, 2020
5e2791e
doc: adjust paths in openssl maintenance guide
hassaanp Apr 1, 2020
2e31ac9
build: remove make lint on lint-py
himself65 Apr 1, 2020
90a5b9d
test: copy addons .gitignore to test/abort/
addaleax Apr 2, 2020
1d563a6
doc: correct version metadata for Readable.from
kzar Apr 3, 2020
7322127
test: fix tool path in test-doctool-versions.js
richardlau Apr 3, 2020
0adc867
test: add Worker initialization failure test case
HarshithaKP Feb 24, 2020
3605a9d
src: replace goto with lambda in options parser
tniessen Apr 3, 2020
b0386b4
test: check that --expose-internals is disallowed in NODE_OPTIONS
juanarbol Mar 29, 2020
6feed98
test: remove unused variables on async hook test
julianduque Apr 3, 2020
fabb53e
src: fix warnings on SPrintF
himself65 Mar 30, 2020
ff5ab6f
net: fix crash if POLLHUP is received
santigimeno Mar 31, 2020
4305551
build: use tabs for indentation in Makefile
lpinca Apr 2, 2020
28abbfd
async_hooks: move to lazy destroy hook registration in AsyncResource
puzpuzpuz Mar 22, 2020
e417416
Revert "test: mark empty udp tests flaky on OS X"
lpinca Mar 25, 2020
9039c03
doc: update Ninja information in build guide
edsadr Apr 6, 2020
2cf7381
test: fix check error name on error instance
himself65 Mar 26, 2020
2c5b014
async_hooks: use hasHooks function internally
rickyes Apr 4, 2020
a502209
src: refactor to avoid goto in node_file.cc
tniessen Apr 3, 2020
d2c86a9
doc: clarify `listening` event
HarshithaKP Mar 31, 2020
06d16cf
dns: remove duplicate code
rickyes Apr 5, 2020
7dd001c
lib: changed functional logic in cluster schedulers
yashLadha Mar 26, 2020
a5fd29b
doc: remove optional parameter from markdown anchor link
Trott Apr 5, 2020
bc9453a
test: make sure that inspector tests finish
addaleax Apr 5, 2020
1612632
doc: clarify behavior of napi_get_typedarray_info
mhdawson Apr 1, 2020
c78019d
doc: add himself65 to collaborators
himself65 Apr 9, 2020
ae772b7
build: log detected compilers in --verbose mode
richardlau Apr 8, 2020
2f72054
test: replace console.log/error with debuglog
agustindaguerre Apr 6, 2020
546a9ea
build: fix LINT_MD_NEWER assignment
Trott Apr 7, 2020
a152792
lib: removes unnecessary params
JesuHrz Apr 6, 2020
f302ac9
perf_hooks: allow omitted parameters in 'performance.measure'
himself65 Apr 4, 2020
0db5875
lib: fix return type of setTimeout in net.Socket
LongTengDao Apr 8, 2020
d0d7ebc
src: remove duplicated code
himself65 Apr 8, 2020
f9d9414
src: remove unused v8::TryCatch namespace
juanarbol Apr 8, 2020
00ce6a3
doc: add useful v8 option section
nimit95 Mar 14, 2020
c98aa93
build: move doc versions JSON file out of out/doc
richardlau Apr 8, 2020
b1790fb
doc: replace node-test-pull-request-lite-pipeline from onboarding
juanarbol Apr 9, 2020
20f3e9d
build: output dots instead of tap in GitHub actions
targos Apr 7, 2020
522101d
src: removes unused v8::Integer and v8::Array namespace
JesuHrz Apr 11, 2020
af392a1
doc: add link to code ide configs
ronag Apr 10, 2020
39a3cc1
buffer,n-api: fix double ArrayBuffer::Detach() during cleanup
addaleax Apr 24, 2020
a89744f
deps: upgrade openssl sources to 1.1.1g
hassaanp Apr 21, 2020
51f05d2
deps: update archs files for OpenSSL-1.1.1g
hassaanp Apr 21, 2020
63d1e08
2020-04-28, Version 12.16.3 'Erbium' (LTS)
targos Apr 22, 2020
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
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ module.exports = {
'comma-style': 'error',
'computed-property-spacing': 'error',
'constructor-super': 'error',
'default-case-last': 'error',
'dot-location': ['error', 'property'],
'dot-notation': 'error',
'eol-last': 'error',
Expand Down Expand Up @@ -273,6 +274,7 @@ module.exports = {
functions: false,
variables: false,
}],
'no-useless-backreference': 'error',
'no-useless-call': 'error',
'no-useless-catch': 'error',
'no-useless-concat': 'error',
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ jobs:
- name: Lint Python
run: |
make lint-py-build || true
NODE=$(which node) make lint lint-py
NODE=$(which node) make lint-py
2 changes: 1 addition & 1 deletion .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
- name: Build
run: make build-ci -j2 V=1
- name: Test
run: make run-ci -j2 V=1
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p dots"
2 changes: 1 addition & 1 deletion .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
- name: Build
run: make build-ci -j8 V=1
- name: Test
run: make run-ci -j8 V=1
run: make run-ci -j8 V=1 TEST_CI_ARGS="-p dots"
3 changes: 3 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Amery <amery@xiangfa.org> 子丶言 <amery@xiangfa.org>
Amit Bendor <ajbendor@gmail.com>
Anatoli Papirovski <apapirovski@mac.com> <anatoli.papirovski@postmates.com>
Andreas Offenhaeuser <offenhaeuser@gmail.com> anoff <offenhaeuser@gmail.com>
Andrew Hughes <Andrew.Hughes1@ibm.com> <andrew.hughes.101@outlook.com>
Andy Bettisworth <andy.bettisworth@accreu.com>
Angel Stoyanov <atstojanov@gmail.com> atstojanov <atstojanov@gmail.com>
Anna Henningsen <anna@addaleax.net> <sqrt@entless.org>
Expand Down Expand Up @@ -250,6 +251,7 @@ Masato Ohba <over.rye@gmail.com>
Matheus Marchini <mat@mmarchini.me> <matheusdot@gmail.com>
Matheus Marchini <mat@mmarchini.me> <matheus@sthima.com.br>
Matheus Marchini <mat@mmarchini.me> <matheus@sthima.com>
Matheus Marchini <mat@mmarchini.me> <mmarchini@netflix.com>
Matt Lang <matt@mediasuite.co.nz> matt-in-a-hat <matt@mediasuite.co.nz>
Matt Reed <matthewreed26@gmail.com> matthewreed26 <matthewreed26@gmail.com>
Matteo Collina <matteo.collina@gmail.com> <hello@matteocollina.com>
Expand Down Expand Up @@ -408,6 +410,7 @@ Travis Meisenheimer <travis@indexoutofbounds.com> <tmeisenh@gmail.com>
Trevor Burnham <trevor@databraid.com> <trevorburnham@gmail.com>
Trivikram Kamat <trivikr.dev@gmail.com> <16024985+trivikr@users.noreply.github.com>
Tyler Larson <talltyler@gmail.com>
Ujjwal Sharma <usharma1998@gmail.com> <ryzokuken@disroot.org>
Viktor Karpov <viktor.s.karpov@gmail.com> vitkarpov <viktor.s.karpov@gmail.com>
Vincent Voyer <v@fasterize.com>
Vladimir de Turckheim <vlad2t@hotmail.com>
Expand Down
76 changes: 76 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -2945,5 +2945,81 @@ Chris Oyler <christopher.oyler@gmail.com>
Jesper Ek <deadbeef84@gmail.com>
Luciano <lucianomammino@gmail.com>
jens-cappelle <jens.jan.cappelle@gmail.com>
bruce-one <bryce@gibson-consulting.com.au>
Jason Macgowan <jason.macgowan@icloud.com>
Vincent Dhennin <vincent.dhennin@viacesi.fr>
Alex Zherdev <alex.zherdev@gmail.com>
Jeny <yenymzo@gmail.com>
Tchoupinax <corentinfiloche@hotmail.fr>
Sebastien Ahkrin <sebastien48criquet@gmail.com>
Michael Lehenbauer <mikelehen@google.com>
Harendra Singh <harendra@getpostman.com>
Sam Foxman <samfoxman320@gmail.com>
Marek Łabuz <mareklabuz@Mareks-MacBook-Pro-2.local>
Reza Fatahi <aug2uag@gmail.com>
Priyanka Kore <piyukore06@gmail.com>
Jan-Philip Gehrcke <jp@opstrace.com>
Maël Nison <nison.mael@gmail.com>
qualitymanifest <qualitymanifest@gmail.com>
Rosen Penev <rosenp@gmail.com>
Jeremy Albright <myrlin1@gmail.com>
Giovanni Campagna <gcampagn@cs.stanford.edu>
Donggeon Lim <ooqwe486@gmail.com>
Tim Costa <tim@timcosta.io>
rene.herrmann <rene.herrmann@share-now.com>
Derek Lewis <DerekNonGeneric@inf.is>
Kirill Ponomarev <shacaron@gmail.com>
Soar <58918356+soar-beep@users.noreply.github.com>
Tadao Iseki <saitoeku3@gmail.com>
Diego Lafuente <diego.lafuente@logtrust.com>
Andrew Kuzmenko <kuzmenko@ucoz-team.net>
David Newman <david@nici.solutions>
Andrey Hohutkin <andrey.hohutkin@gmail.com>
A. Volgin <anatoly.volgin.rg@gmail.com>
Chris Osborn <chris.osborn@sitelier.com>
stephank <gh@stephank.nl>
Taylor Zane Glaeser <tzglaeser@gmail.com>
sutangu <sutangu@gmail.com>
Santosh Yadav <santosh.yadav198613@gmail.com>
kresimirfranin <kresimir.franin@deliveryhero.com>
Colin Grant <43424668+GKJCJG@users.noreply.github.com>
Ryan Schmidt <git@ryandesign.com>
Ronald J Kimball <rjk@tamias.net>
Vighnesh Raut <vighnesh.raut13@gmail.com>
SpaceRacet5w2A6l0I <59487396+SpaceRacet5w2A6l0I@users.noreply.github.com>
Alexander Wang <zxcvb22217@gmail.com>
carterbancroft <carter.bancroft@gmail.com>
Egor Pavlov <no.more.vikings@gmail.com>
Parker Bjur <bjur.parker45@gmail.com>
Yakov Litvin <yakov.litvin.publicly@gmail.com>
Eran Levin <exx8exx8@gmail.com>
Alexander Smarus <bender@readdle.com>
kenzo-spaulding <51864231+kenzo-spaulding@users.noreply.github.com>
Rusty Conover <rusty@conover.me>
aaccttrr <adam.cotter@nearform.com>
ConorDavenport <cnrdavenport@gmail.com>
Dylan Coakley <dylancoakley@Dylans-MacBook-Pro.local>
Steffen <steffen.koette@gmail.com>
Conor ONeill <cwjoneill@gmail.com>
tsabolov <k.tsabolov@gmail.com>
Swagat Konchada <swagatata@gmail.com>
Yuhanun Citgez <y.citgez@student.utwente.nl>
Danielle Adams <danielle.adams@heroku.com>
Andrey Pechkurov <apechkurov@gmail.com>
Jeff <jeff.tian@outlook.com>
simon <simon.tretter@hokify.com>
Eric Eastwood <contact@ericeastwood.com>
unknown <rosaxny@gmail.com>
zfx <502545703@qq.com>
Vita Batrla <vita.batrla@gmail.com>
André Draszik <git@andred.net>
ProdipRoy89 <prodip1989@gmail.com>
Andrew Neitsch <andrew@neitsch.ca>
RamanandPatil <ramanand.patil@gmail.com>
forfun414 <forfun414@gmail.com>
David Gilbertson <gilbertson.david@gmail.com>
Sergey Zelenov <sergey.zelenov@getyourguide.com>
Eric Bickle <ebickle@users.noreply.github.com>
Joe Pea <joe@trusktr.io>

# Generated by tools/update-authors.js
20 changes: 18 additions & 2 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ file a new issue.
* [Running Coverage](#running-coverage)
* [Building the documentation](#building-the-documentation)
* [Building a debug build](#building-a-debug-build)
* [Building an ASAN build](#building-an-asan-build)
* [Troubleshooting Unix and macOS builds](#troubleshooting-unix-and-macos-builds)
* [Windows](#windows)
* [Prerequisites](#prerequisites)
Expand Down Expand Up @@ -496,6 +497,22 @@ $ gdb /opt/node-debug/node core.node.8.1535359906
$ backtrace
```

#### Building an ASAN build

[ASAN](https://github.com/google/sanitizers) can help detect various memory
related bugs. ASAN builds are currently only supported on linux.
If you want to check it on Windows or macOS or you want a consistent toolchain
on Linux, you can try [Docker](https://www.docker.com/products/docker-desktop)
(using an image like `gengjiawen/node-build:2020-02-14`).

The `--debug` is not necessary and will slow down build and testing, but it can
show clear stacktrace if ASAN hits an issue.

``` console
$ ./configure --debug --enable-asan && make -j4
$ make test-only
```

#### Troubleshooting Unix and macOS builds

Stale builds can sometimes result in `file not found` errors while building.
Expand Down Expand Up @@ -544,7 +561,6 @@ Optional requirements for compiling for Windows 10 on ARM (ARM64):
* Windows 10 SDK 10.0.17763.0 or newer

##### Option 2: Automated install with Boxstarter
<a name="boxstarter"></a>

A [Boxstarter](https://boxstarter.org/) script can be used for easy setup of
Windows systems with all the required prerequisites for Node.js development.
Expand All @@ -555,7 +571,7 @@ packages:
Unix tools added to the `PATH`.
* [Python 3.x](https://chocolatey.org/packages/python) and
[legacy Python](https://chocolatey.org/packages/python2)
* [Visual Studio 2017 Build Tools](https://chocolatey.org/packages/visualstudio2017buildtools)
* [Visual Studio 2019 Build Tools](https://chocolatey.org/packages/visualstudio2019buildtools)
with [Visual C++ workload](https://chocolatey.org/packages/visualstudio2017-workload-vctools)
* [NetWide Assembler](https://chocolatey.org/packages/nasm)

Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.16.2">12.16.2</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.16.3">12.16.3</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.16.2">12.16.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.16.1">12.16.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.16.0">12.16.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.15.0">12.15.0</a><br/>
Expand Down
2 changes: 1 addition & 1 deletion GOVERNANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* [Technical Steering Committee](#technical-steering-committee)
* [TSC Meetings](#tsc-meetings)
* [Collaborator Nominations](#collaborator-nominations)
* [Onboarding](#./onboarding)
* [Onboarding](#onboarding)
* [Consensus Seeking Process](#consensus-seeking-process)

<!-- /TOC -->
Expand Down
61 changes: 52 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ v8:
tools/make-v8.sh $(V8_ARCH).$(BUILDTYPE_LOWER) $(V8_BUILD_OPTIONS)

.PHONY: jstest
jstest: build-addons build-js-native-api-tests build-node-api-tests ## Runs addon tests and JS tests
jstest: build-addons build-abort-tests build-js-native-api-tests build-node-api-tests ## Runs addon tests and JS tests
$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) \
--skip-tests=$(CI_SKIP_TESTS) \
$(CI_JS_SUITES) \
Expand All @@ -316,6 +316,7 @@ test: all ## Runs default tests, linters, and builds docs.
$(MAKE) -s tooltest
$(MAKE) -s test-doc
$(MAKE) -s build-addons
$(MAKE) -s build-abort-tests
$(MAKE) -s build-js-native-api-tests
$(MAKE) -s build-node-api-tests
$(MAKE) -s cctest
Expand All @@ -324,6 +325,7 @@ test: all ## Runs default tests, linters, and builds docs.
.PHONY: test-only
test-only: all ## For a quick test, does not run linter or build docs.
$(MAKE) build-addons
$(MAKE) build-abort-tests
$(MAKE) build-js-native-api-tests
$(MAKE) build-node-api-tests
$(MAKE) cctest
Expand All @@ -333,6 +335,7 @@ test-only: all ## For a quick test, does not run linter or build docs.
# Used by `make coverage-test`
test-cov: all
$(MAKE) build-addons
$(MAKE) build-abort-tests
$(MAKE) build-js-native-api-tests
$(MAKE) build-node-api-tests
$(MAKE) cctest
Expand Down Expand Up @@ -452,6 +455,31 @@ test/node-api/.buildstamp: $(ADDONS_PREREQS) \
# TODO(bnoordhuis) Force rebuild after gyp or node-gyp update.
build-node-api-tests: | $(NODE_EXE) test/node-api/.buildstamp

ABORT_BINDING_GYPS := \
$(filter-out test/abort/??_*/binding.gyp, \
$(wildcard test/abort/*/binding.gyp))

ABORT_BINDING_SOURCES := \
$(filter-out test/abort/??_*/*.c, $(wildcard test/abort/*/*.c)) \
$(filter-out test/abort/??_*/*.cc, $(wildcard test/abort/*/*.cc)) \
$(filter-out test/abort/??_*/*.h, $(wildcard test/abort/*/*.h))

# Implicitly depends on $(NODE_EXE), see the build-node-api-tests rule for rationale.
test/abort/.buildstamp: $(ADDONS_PREREQS) \
$(ABORT_BINDING_GYPS) $(ABORT_BINDING_SOURCES) \
src/node_api.h src/node_api_types.h src/js_native_api.h \
src/js_native_api_types.h src/js_native_api_v8.h src/js_native_api_v8_internals.h
@$(call run_build_addons,"$$PWD/test/abort",$@)

.PHONY: build-abort-tests
# .buildstamp needs $(NODE_EXE) but cannot depend on it
# directly because it calls make recursively. The parent make cannot know
# if the subprocess touched anything so it pessimistically assumes that
# .buildstamp is out of date and need a rebuild.
# Just goes to show that recursive make really is harmful...
# TODO(bnoordhuis) Force rebuild after gyp or node-gyp update.
build-abort-tests: | $(NODE_EXE) test/abort/.buildstamp

BENCHMARK_NAPI_BINDING_GYPS := $(wildcard benchmark/napi/*/binding.gyp)

BENCHMARK_NAPI_BINDING_SOURCES := \
Expand All @@ -472,12 +500,14 @@ clear-stalled:
echo $${PS_OUT} | xargs kill -9; \
fi

test-build: | all build-addons build-js-native-api-tests build-node-api-tests
test-build: | all build-addons build-abort-tests build-js-native-api-tests build-node-api-tests

test-build-js-native-api: all build-js-native-api-tests

test-build-node-api: all build-node-api-tests

test-build-abort: all build-abort-tests

.PHONY: test-all
test-all: test-build ## Run default tests with both Debug and Release builds.
$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=debug,release
Expand All @@ -490,7 +520,7 @@ test-all-suites: | clear-stalled test-build bench-addons-build doc-only ## Run a
$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) test/*

# CI_* variables should be kept synchronized with the ones in vcbuild.bat
CI_NATIVE_SUITES ?= addons js-native-api node-api
CI_NATIVE_SUITES ?= addons js-native-api node-api abort
CI_JS_SUITES ?= default
ifeq ($(node_use_openssl), false)
CI_DOC := doctool
Expand All @@ -502,7 +532,7 @@ endif
# Build and test addons without building anything else
# Related CI job: node-test-commit-arm-fanned
test-ci-native: LOGLEVEL := info
test-ci-native: | test/addons/.buildstamp test/js-native-api/.buildstamp test/node-api/.buildstamp
test-ci-native: | test/addons/.buildstamp test/js-native-api/.buildstamp test/node-api/.buildstamp test/abort/.buildstamp
$(PYTHON) tools/test.py $(PARALLEL_ARGS) -p tap --logfile test.tap \
--mode=$(BUILDTYPE_LOWER) --flaky-tests=$(FLAKY_TESTS) \
$(TEST_CI_ARGS) $(CI_NATIVE_SUITES)
Expand All @@ -524,7 +554,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-js-native-api-tests build-node-api-tests doc-only
test-ci: | clear-stalled build-addons build-abort-tests build-js-native-api-tests build-node-api-tests doc-only
out/Release/cctest --gtest_output=xml:out/junit/cctest.xml
$(PYTHON) tools/test.py $(PARALLEL_ARGS) -p tap --logfile test.tap \
--mode=$(BUILDTYPE_LOWER) --flaky-tests=$(FLAKY_TESTS) \
Expand Down Expand Up @@ -599,6 +629,7 @@ test-doc: doc-only lint ## Builds, lints, and verifies the docs.
else \
$(PYTHON) tools/test.py $(PARALLEL_ARGS) doctool; \
fi
$(NODE) tools/doc/checkLinks.js .

test-known-issues: all
$(PYTHON) tools/test.py $(PARALLEL_ARGS) known_issues
Expand Down Expand Up @@ -628,8 +659,17 @@ test-node-api-clean:
$(RM) -r test/node-api/*/build
$(RM) test/node-api/.buildstamp

.PHONY: test-abort
test-abort: test-build-abort
$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) test-abort

.PHONY: test-abort-clean
test-abort-clean:
$(RM) -r test/abort/*/build
$(RM) test/abort/.buildstamp

.PHONY: test-addons
test-addons: test-build test-js-native-api test-node-api
test-addons: test-build test-js-native-api test-node-api test-abort
$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) addons

.PHONY: test-addons-clean
Expand All @@ -639,6 +679,7 @@ test-addons-clean:
$(RM) test/addons/.buildstamp test/addons/.docbuildstamp
$(MAKE) test-js-native-api-clean
$(MAKE) test-node-api-clean
$(MAKE) test-abort-clean

test-async-hooks:
$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) async-hooks
Expand All @@ -647,6 +688,7 @@ test-with-async-hooks:
$(MAKE) build-addons
$(MAKE) build-js-native-api-tests
$(MAKE) build-node-api-tests
$(MAKE) build-abort-tests
$(MAKE) cctest
NODE_TEST_WITH_ASYNC_HOOKS=1 $(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) \
$(CI_JS_SUITES) \
Expand Down Expand Up @@ -738,7 +780,7 @@ out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets
run-npm-ci = $(PWD)/$(NPM) ci

LINK_DATA = out/doc/apilinks.json
VERSIONS_DATA = out/doc/previous-versions.json
VERSIONS_DATA = out/previous-doc-versions.json
gen-api = tools/doc/generate.js --node-version=$(FULLVERSION) \
--apilinks=$(LINK_DATA) $< --output-directory=out/doc/api \
--versions-file=$(VERSIONS_DATA)
Expand Down Expand Up @@ -770,6 +812,7 @@ docopen: $(apidocs_html)
.PHONY: docclean
docclean:
$(RM) -r out/doc
$(RM) "$(VERSIONS_DATA)"

RAWVER=$(shell $(PYTHON) tools/getnodeversion.py)
VERSION=v$(RAWVER)
Expand Down Expand Up @@ -1187,9 +1230,9 @@ lint-md-build:
$(warning "Deprecated no-op target 'lint-md-build'")

ifeq ("$(wildcard tools/.mdlintstamp)","")
LINT_MD_NEWER =
LINT_MD_NEWER =
else
LINT_MD_NEWER = -newer tools/.mdlintstamp
LINT_MD_NEWER = -newer tools/.mdlintstamp
endif

LINT_MD_TARGETS = doc src lib benchmark test tools/doc tools/icu $(wildcard *.md)
Expand Down
Loading