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.12.0 proposal #29919

Merged
merged 65 commits into from
Oct 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
3d88b76
deps: patch V8 to 7.7.299.13
targos Oct 7, 2019
6bfe8f4
src: add buildflag to force context-aware addons
codebytere Sep 20, 2019
54ef0fd
test: --force-context-aware cli flag
codebytere Sep 21, 2019
cf7b405
tls: add option for private keys for OpenSSL engines
OYTIS Aug 5, 2019
690a863
test: simplify force-context-aware test
cjihrig Sep 25, 2019
f39259c
doc: remove redundant escape
XhmikosR Sep 26, 2019
0b46bca
doc: security maintenance processes
sam-github Sep 23, 2019
1766cfc
deps: upgrade openssl sources to 1.1.1d
sam-github Sep 13, 2019
5eb013b
deps: update archs files for OpenSSL-1.1.1
sam-github Sep 13, 2019
3153dd6
test: well-defined DH groups now verify clean
sam-github Sep 13, 2019
75f3b28
crypto: refactor array buffer view validation
BridgeAR Sep 23, 2019
bc48646
doc: improve process.ppid 'added in' info
watson Sep 29, 2019
f91778d
build: remove unused libatomic on ppc64, s390x
sam-github Sep 26, 2019
03ec4ce
build: do not link against librt on linux
sam-github Sep 26, 2019
401f3e7
doc: fix nits in dgram.md
vsemozhetbyt Sep 29, 2019
906245e
doc: clarify --pending-deprecation effects on Buffer() usage
Trott Sep 30, 2019
60b1f6f
doc: complete cut off links in old changelog
nschonni Oct 1, 2019
de4652f
doc: convert old changlogs SHA links to match newer format
nschonni Oct 1, 2019
d1a4aa3
doc: add missing reference link values
nschonni Sep 14, 2019
62370ef
doc: add dash between SHA and PR in changelog
nschonni Sep 14, 2019
014eb67
doc: add documentation deprecation for process._tickCallback
lholmquist Sep 30, 2019
6a989da
http2: use the latest settings
ZYSzys Oct 1, 2019
6d88f0f
vm: refactor SourceTextModule
devsnek Sep 9, 2019
bede981
doc: remove reference to stale CITGM job
mhdawson Sep 30, 2019
74a69ab
lib: stop using prepareStackTrace
devsnek Sep 16, 2019
8b4f210
doc: add missing deprecation code
cjihrig Oct 2, 2019
79f6cd3
tools: update ESLint to v6.5.1
Trott Oct 1, 2019
bf1727a
test: add test for writable.write() argument types
ronag Sep 28, 2019
87fb1c2
errors: make sure all Node.js errors show their properties
BridgeAR Sep 23, 2019
ab4c53e
crypto: remove arbitrary UTF16 restriction
addaleax Oct 1, 2019
320f649
stream: add comment about undocumented API
ronag Oct 1, 2019
aea0253
doc: unify place of stability notes
vsemozhetbyt Oct 1, 2019
20896f7
n-api,doc: clarify napi_finalize related APIs
legendecas Oct 1, 2019
65c4752
net: emit close on unconnected socket
ronag Oct 1, 2019
d09f2b4
build: build docs on Travis
richardlau Sep 30, 2019
a00cd17
doc: reuse link indexes for n-api.md
legendecas Oct 1, 2019
a049860
doc: fix return type for crypto.createDiffieHellmanGroup()
Sep 24, 2019
ea9bf4a
doc: implement minor CSS improvements
XhmikosR Sep 23, 2019
a7b56a5
tls: honor pauseOnConnect option
r1b Sep 20, 2019
3f6ce39
src: fix ESM path resolution on Windows
Hakerh400 Sep 16, 2019
b2cce13
inspector: update faviconUrl
dokugo Sep 15, 2019
a5c2154
doc: add explicit bracket for markdown reference links
nschonni Oct 2, 2019
3f15378
http2: set default maxConcurrentStreams
ZYSzys Oct 3, 2019
9e5d691
lib: introduce no-mixed-operators eslint rule to lib
ZYSzys Oct 3, 2019
ae8b2b4
process: add source-map support to stack traces
bcoe Sep 29, 2019
e7f604f
esm: remove proxy for builtin exports
bfarias-godaddy Sep 27, 2019
6c75cc1
stream: do not deadlock duplexpair
ronag Oct 3, 2019
b309e20
test: add test for HTTP server response with Connection: close
awwright Sep 22, 2019
600478a
dgram: use `uv_udp_try_send()`
addaleax Oct 2, 2019
60296a3
lib: make tick processor detect xcodebuild errors
bnoordhuis Oct 3, 2019
ba4946a
tools: prohibit Error.prepareStackTrace() usage
BridgeAR Oct 3, 2019
90562ae
module: use v8 synthetic modules
guybedford Oct 4, 2019
a240d45
http2: support passing options of http2.connect to net.connect
ZYSzys Oct 2, 2019
f566cd5
doc: remove misleading paragraph about the Legacy URL API
sonicdoe Oct 4, 2019
b76a2e5
fs: introduce `opendir()` and `fs.Dir`
Fishrock123 Aug 28, 2019
df218ce
Revert "esm: remove experimental status from JSON modules"
guybedford Sep 28, 2019
a711304
worker: do not use two-arg NewIsolate
codebytere Oct 6, 2019
adee998
test: debug output for dlopen-ping-pong test
sam-github Oct 2, 2019
2bcde83
http2: allow passing FileHandle to respondWithFD
addaleax Oct 4, 2019
c56f765
fs: remove options.encoding from Dir.read*()
Fishrock123 Oct 9, 2019
20b9ef9
doc: add more info to fs.Dir and fix typos
Fishrock123 Oct 8, 2019
ea6b6ab
doc: remove spaces inside code span elements
nschonni Aug 27, 2019
6a5d401
test: remove spaces inside code span elements
nschonni Oct 2, 2019
5fdf4a4
test: remove extra process.exit()
cjihrig Oct 7, 2019
921493e
2019-10-11, Version 12.12.0 (Current)
BridgeAR Oct 10, 2019
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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ jobs:
- make -j1 V=1 test/addons/.buildstamp test/js-native-api/.buildstamp test/node-api/.buildstamp
- python tools/test.py -j 2 -p dots --report --mode=release --flaky-tests=dontcare addons js-native-api node-api

- name: "Linter"
- name: "Run Linter and Build Docs"
language: node_js
node_js: "node"
install:
- pyenv global ${PYTHON_VERSION}
- make lint-py-build || true
script:
- NODE=$(which node) make lint lint-py
- NODE=$(which node) make lint-py doc-only lint

- name: "First commit message adheres to guidelines at <a href=\"https://goo.gl/p2fr5Q\">https://goo.gl/p2fr5Q</a>"
if: type = pull_request
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.11.1">12.11.1</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.12.0">12.12.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.11.1">12.11.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.11.0">12.11.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.10.0">12.10.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.9.1">12.9.1</a><br/>
Expand Down
3 changes: 1 addition & 2 deletions COLLABORATOR_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,7 @@ for changes that only affect comments or documentation.
* [`citgm-smoker`](https://ci.nodejs.org/job/citgm-smoker/)
uses [`CitGM`](https://github.com/nodejs/citgm) to allow you to run
`npm install && npm test` on a large selection of common modules. This is
useful to check whether a change will cause breakage in the ecosystem. To test
Node.js ABI changes you can run [`citgm-abi-smoker`](https://ci.nodejs.org/job/citgm-abi-smoker/).
useful to check whether a change will cause breakage in the ecosystem.

* [`node-stress-single-test`](https://ci.nodejs.org/job/node-stress-single-test/)
can run a group of tests over and over on a specific platform. Use it to check
Expand Down
20 changes: 14 additions & 6 deletions benchmark/dgram/array-vs-concat.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,25 @@ function main({ dur, len, num, type, chunks }) {

function onsendConcat() {
if (sent++ % num === 0) {
for (var i = 0; i < num; i++) {
socket.send(Buffer.concat(chunk), PORT, '127.0.0.1', onsend);
}
// The setImmediate() is necessary to have event loop progress on OSes
// that only perform synchronous I/O on nonblocking UDP sockets.
setImmediate(() => {
for (var i = 0; i < num; i++) {
socket.send(Buffer.concat(chunk), PORT, '127.0.0.1', onsend);
}
});
}
}

function onsendMulti() {
if (sent++ % num === 0) {
for (var i = 0; i < num; i++) {
socket.send(chunk, PORT, '127.0.0.1', onsend);
}
// The setImmediate() is necessary to have event loop progress on OSes
// that only perform synchronous I/O on nonblocking UDP sockets.
setImmediate(() => {
for (var i = 0; i < num; i++) {
socket.send(chunk, PORT, '127.0.0.1', onsend);
}
});
}
}

Expand Down
10 changes: 7 additions & 3 deletions benchmark/dgram/multi-buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@ function main({ dur, len, num, type, chunks }) {

function onsend() {
if (sent++ % num === 0) {
for (var i = 0; i < num; i++) {
socket.send(chunk, PORT, '127.0.0.1', onsend);
}
// The setImmediate() is necessary to have event loop progress on OSes
// that only perform synchronous I/O on nonblocking UDP sockets.
setImmediate(() => {
for (var i = 0; i < num; i++) {
socket.send(chunk, PORT, '127.0.0.1', onsend);
}
});
}
}

Expand Down
10 changes: 7 additions & 3 deletions benchmark/dgram/offset-length.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ function main({ dur, len, num, type }) {

function onsend() {
if (sent++ % num === 0) {
for (var i = 0; i < num; i++) {
socket.send(chunk, 0, chunk.length, PORT, '127.0.0.1', onsend);
}
// The setImmediate() is necessary to have event loop progress on OSes
// that only perform synchronous I/O on nonblocking UDP sockets.
setImmediate(() => {
for (var i = 0; i < num; i++) {
socket.send(chunk, 0, chunk.length, PORT, '127.0.0.1', onsend);
}
});
}
}

Expand Down
10 changes: 7 additions & 3 deletions benchmark/dgram/single-buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ function main({ dur, len, num, type }) {

function onsend() {
if (sent++ % num === 0) {
for (var i = 0; i < num; i++) {
socket.send(chunk, PORT, '127.0.0.1', onsend);
}
// The setImmediate() is necessary to have event loop progress on OSes
// that only perform synchronous I/O on nonblocking UDP sockets.
setImmediate(() => {
for (var i = 0; i < num; i++) {
socket.send(chunk, PORT, '127.0.0.1', onsend);
}
});
}
}

Expand Down
52 changes: 37 additions & 15 deletions deps/openssl/config/archs/BSD-x86/asm/configdata.pm
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ our %config = (
export_var_as_fn => "0",
includes => [ ],
lflags => [ ],
lib_defines => [ "OPENSSL_PIC", "OPENSSL_CPUID_OBJ", "OPENSSL_BN_ASM_PART_WORDS", "OPENSSL_IA32_SSE2", "OPENSSL_BN_ASM_MONT", "OPENSSL_BN_ASM_GF2m", "SHA1_ASM", "SHA256_ASM", "SHA512_ASM", "RC4_ASM", "MD5_ASM", "RMD160_ASM", "AES_ASM", "VPAES_ASM", "WHIRLPOOL_ASM", "GHASH_ASM", "ECP_NISTZ256_ASM", "POLY1305_ASM" ],
lib_defines => [ "OPENSSL_PIC", "OPENSSL_CPUID_OBJ", "OPENSSL_BN_ASM_PART_WORDS", "OPENSSL_IA32_SSE2", "OPENSSL_BN_ASM_MONT", "OPENSSL_BN_ASM_GF2m", "SHA1_ASM", "SHA256_ASM", "SHA512_ASM", "RC4_ASM", "MD5_ASM", "RMD160_ASM", "VPAES_ASM", "WHIRLPOOL_ASM", "GHASH_ASM", "ECP_NISTZ256_ASM", "POLY1305_ASM" ],
libdir => "",
major => "1",
makedepprog => "\$(CROSS_COMPILE)gcc",
Expand Down Expand Up @@ -111,8 +111,8 @@ our %config = (
sourcedir => ".",
target => "BSD-x86",
tdirs => [ "ossl_shim" ],
version => "1.1.1c",
version_num => "0x1010103fL",
version => "1.1.1d",
version_num => "0x1010104fL",
);

our %target = (
Expand All @@ -124,8 +124,8 @@ our %target = (
RANLIB => "ranlib",
RC => "windres",
_conf_fname_int => [ "Configurations/00-base-templates.conf", "Configurations/00-base-templates.conf", "Configurations/10-main.conf", "Configurations/00-base-templates.conf", "Configurations/10-main.conf", "Configurations/shared-info.pl" ],
aes_asm_src => "aes-586.s vpaes-x86.s aesni-x86.s",
aes_obj => "aes-586.o vpaes-x86.o aesni-x86.o",
aes_asm_src => "aes_core.c aes_cbc.c vpaes-x86.s aesni-x86.s",
aes_obj => "aes_core.o aes_cbc.o vpaes-x86.o aesni-x86.o",
apps_aux_src => "",
apps_init_src => "",
apps_obj => "",
Expand Down Expand Up @@ -1683,8 +1683,9 @@ our %unified_info = (
{
"deps" =>
[
"crypto/aes/aes-586.o",
"crypto/aes/aes_cbc.o",
"crypto/aes/aes_cfb.o",
"crypto/aes/aes_core.o",
"crypto/aes/aes_ecb.o",
"crypto/aes/aes_ige.o",
"crypto/aes/aes_misc.o",
Expand Down Expand Up @@ -3226,6 +3227,7 @@ our %unified_info = (
"test/testutil/init.o",
"test/testutil/main.o",
"test/testutil/output_helpers.o",
"test/testutil/random.o",
"test/testutil/stanza.o",
"test/testutil/tap_bio.o",
"test/testutil/test_cleanup.o",
Expand Down Expand Up @@ -4839,12 +4841,6 @@ our %unified_info = (
"include",
"apps",
],
"crypto/aes/aes-586.o" =>
[
".",
"crypto/include",
"include",
],
"crypto/aes/aes-armv4.o" =>
[
"crypto",
Expand All @@ -4861,12 +4857,24 @@ our %unified_info = (
[
"crypto",
],
"crypto/aes/aes_cbc.o" =>
[
".",
"crypto/include",
"include",
],
"crypto/aes/aes_cfb.o" =>
[
".",
"crypto/include",
"include",
],
"crypto/aes/aes_core.o" =>
[
".",
"crypto/include",
"include",
],
"crypto/aes/aes_ecb.o" =>
[
".",
Expand Down Expand Up @@ -9985,6 +9993,10 @@ our %unified_info = (
[
"include",
],
"test/testutil/random.o" =>
[
"include",
],
"test/testutil/stanza.o" =>
[
"include",
Expand Down Expand Up @@ -10618,14 +10630,18 @@ our %unified_info = (
[
"apps/x509.c",
],
"crypto/aes/aes-586.o" =>
"crypto/aes/aes_cbc.o" =>
[
"crypto/aes/aes-586.s",
"crypto/aes/aes_cbc.c",
],
"crypto/aes/aes_cfb.o" =>
[
"crypto/aes/aes_cfb.c",
],
"crypto/aes/aes_core.o" =>
[
"crypto/aes/aes_core.c",
],
"crypto/aes/aes_ecb.o" =>
[
"crypto/aes/aes_ecb.c",
Expand Down Expand Up @@ -13319,8 +13335,9 @@ our %unified_info = (
],
"libcrypto" =>
[
"crypto/aes/aes-586.o",
"crypto/aes/aes_cbc.o",
"crypto/aes/aes_cfb.o",
"crypto/aes/aes_core.o",
"crypto/aes/aes_ecb.o",
"crypto/aes/aes_ige.o",
"crypto/aes/aes_misc.o",
Expand Down Expand Up @@ -15223,6 +15240,7 @@ our %unified_info = (
"test/testutil/init.o",
"test/testutil/main.o",
"test/testutil/output_helpers.o",
"test/testutil/random.o",
"test/testutil/stanza.o",
"test/testutil/tap_bio.o",
"test/testutil/test_cleanup.o",
Expand Down Expand Up @@ -15568,6 +15586,10 @@ our %unified_info = (
[
"test/testutil/output_helpers.c",
],
"test/testutil/random.o" =>
[
"test/testutil/random.c",
],
"test/testutil/stanza.o" =>
[
"test/testutil/stanza.c",
Expand Down
19 changes: 9 additions & 10 deletions deps/openssl/config/archs/BSD-x86/asm/crypto/buildinf.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

#define PLATFORM "platform: BSD-x86"
#define DATE "built on: Mon Jul 22 14:54:03 2019 UTC"
#define DATE "built on: Fri Sep 13 15:57:16 2019 UTC"

/*
* Generate compiler_flags as an array of individual characters. This is a
Expand All @@ -36,13 +36,12 @@ static const char compiler_flags[] = {
'M',' ','-','D','S','H','A','2','5','6','_','A','S','M',' ','-',
'D','S','H','A','5','1','2','_','A','S','M',' ','-','D','R','C',
'4','_','A','S','M',' ','-','D','M','D','5','_','A','S','M',' ',
'-','D','R','M','D','1','6','0','_','A','S','M',' ','-','D','A',
'E','S','_','A','S','M',' ','-','D','V','P','A','E','S','_','A',
'S','M',' ','-','D','W','H','I','R','L','P','O','O','L','_','A',
'S','M',' ','-','D','G','H','A','S','H','_','A','S','M',' ','-',
'D','E','C','P','_','N','I','S','T','Z','2','5','6','_','A','S',
'M',' ','-','D','P','O','L','Y','1','3','0','5','_','A','S','M',
' ','-','D','_','T','H','R','E','A','D','_','S','A','F','E',' ',
'-','D','_','R','E','E','N','T','R','A','N','T',' ','-','D','N',
'D','E','B','U','G','\0'
'-','D','R','M','D','1','6','0','_','A','S','M',' ','-','D','V',
'P','A','E','S','_','A','S','M',' ','-','D','W','H','I','R','L',
'P','O','O','L','_','A','S','M',' ','-','D','G','H','A','S','H',
'_','A','S','M',' ','-','D','E','C','P','_','N','I','S','T','Z',
'2','5','6','_','A','S','M',' ','-','D','P','O','L','Y','1','3',
'0','5','_','A','S','M',' ','-','D','_','T','H','R','E','A','D',
'_','S','A','F','E',' ','-','D','_','R','E','E','N','T','R','A',
'N','T',' ','-','D','N','D','E','B','U','G','\0'
};
1 change: 0 additions & 1 deletion deps/openssl/config/archs/BSD-x86/asm/openssl-cl.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
'RC4_ASM',
'MD5_ASM',
'RMD160_ASM',
'AES_ASM',
'VPAES_ASM',
'WHIRLPOOL_ASM',
'GHASH_ASM',
Expand Down
4 changes: 2 additions & 2 deletions deps/openssl/config/archs/BSD-x86/asm/openssl.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@
'openssl/ssl/t1_trce.c',
'openssl/ssl/tls13_enc.c',
'openssl/ssl/tls_srp.c',
'openssl/crypto/aes/aes_cbc.c',
'openssl/crypto/aes/aes_cfb.c',
'openssl/crypto/aes/aes_core.c',
'openssl/crypto/aes/aes_ecb.c',
'openssl/crypto/aes/aes_ige.c',
'openssl/crypto/aes/aes_misc.c',
Expand Down Expand Up @@ -672,7 +674,6 @@
'openssl/engines/e_padlock.c',
],
'openssl_sources_BSD-x86': [
'./config/archs/BSD-x86/asm/crypto/aes/aes-586.s',
'./config/archs/BSD-x86/asm/crypto/aes/aesni-x86.s',
'./config/archs/BSD-x86/asm/crypto/aes/vpaes-x86.s',
'./config/archs/BSD-x86/asm/crypto/bf/bf-586.s',
Expand Down Expand Up @@ -712,7 +713,6 @@
'RC4_ASM',
'MD5_ASM',
'RMD160_ASM',
'AES_ASM',
'VPAES_ASM',
'WHIRLPOOL_ASM',
'GHASH_ASM',
Expand Down
Loading