Notable Changes
- Async Hooks
- When one
Promise
leads to the creation of a new Promise
, the parent
Promise
will be identified as the trigger
[135f4e6643
]
#13367.
- Dependencies
- libuv has been updated to 1.12.0
[
968596ec77
]
#13306.
- npm has been updated to 5.0.3
[
ffa7debd7a
]
#13487.
- File system
- The
fs.exists()
function now works correctly with util.promisify()
[6e0eccd7a1
]
#13316.
- fs.Stats times are now also available as numbers
[
c756efb25a
]
#13173.
- Inspector
- It is now possible to bind to a random port using
--inspect=0
[cc6ec2fb27
]
#5025.
- Zlib
- A regression in the Zlib module that made it impossible to properly
subclasses
zlib.Deflate
and other Zlib classes has been fixed.
[6aeb555cc4
]
#13374.
Commits
- [
b8e90ddf53
] - assert: fix deepEqual similar sets and maps bug (Joseph Gentle) #13426
- [
47c9de9842
] - assert: fix deepEqual RangeError: Maximum call stack size exceeded (rmdm) #13318
- [
135f4e6643
] - (SEMVER-MINOR) async_hooks: use parent promise as triggerId (JiaLi.Passion) #13367
- [
9db02dcc85
] - async_hooks,http: fix socket reuse with Agent (Anna Henningsen) #13348
- [
6917df2a80
] - async_wrap: run destroy in uv_timer_t (Trevor Norris) #13369
- [
65f22e481b
] - build: use existing variable to reduce complexity (Bryce Baril) #2883
- [
291669e7d8
] - build: streamline JS test suites in Makefile (Rich Trott) #13340
- [
dcadeb4fef
] - build: fix typo (Nikolai Vavilov) #13396
- [
50b5f8bac0
] - crypto: clear err stack after ECDH::BufferToPoint (Ryan Kelly) #13275
- [
968596ec77
] - deps: upgrade libuv to 1.12.0 (cjihrig) #13306
- [
ffa7debd7a
] - deps: upgrade npm to 5.0.3 (Kat Marchán) #13487
- [
035a81b2e6
] - deps: update openssl asm and asm_obsolete files (Daniel Bevenius) #13233
- [
6f57554650
] - deps: update openssl config files (Daniel Bevenius) #13233
- [
1b8b82d076
] - deps: add -no_rand_screen to openssl s_client (Shigeki Ohtsu) nodejs/io.js#1836
- [
783294add1
] - deps: fix asm build error of openssl in x86_win32 (Shigeki Ohtsu) iojs/io.js#1389
- [
db7419bead
] - deps: fix openssl assembly error on ia32 win32 (Fedor Indutny) iojs/io.js#1389
- [
dd93fa677a
] - deps: copy all openssl header files to include dir (Daniel Bevenius) #13233
- [
d9191f6e18
] - deps: upgrade openssl sources to 1.0.2l (Daniel Bevenius) #13233
- [
d985ca7d4a
] - deps: float patch on npm to fix citgm (Myles Borins) #13305
- [
92de432780
] - dns: use faster IP address type check on results (Brian White) #13261
- [
007a033820
] - dns: improve callback performance (Brian White) #13261
- [
26e5b6411f
] - doc: update linux supported versions (cjihrig) #13306
- [
a117bcc0a7
] - doc: Add URL argument with http/https request (Vladimir Trifonov) #13405
- [
e6e42c1f75
] - doc: fix typo "ndapi" in n-api.md (Jamen Marz) #13484
- [
e991cd79f3
] - doc: add ref to option to enable n-api (Michael Dawson) #13406
- [
414da1b7a1
] - doc: fix nits in code examples of async_hooks.md (Vse Mozhet Byt) #13400
- [
159294d7d5
] - doc: use prefer-rest-params eslint rule in docs (Vse Mozhet Byt) #13389
- [
641979b213
] - doc: resume a stream after pipe() and unpipe() (Matteo Collina) #13329
- [
6c56bbdf13
] - doc: add missing backticks to doc/api/tls.md (Paul Bininda) #13394
- [
837ecc01eb
] - doc: update who to cc for async_hooks (Anna Henningsen) #13332
- [
52c0c47856
] - doc: suggest xcode-select --install (Gibson Fahnestock) #13264
- [
11e428dd99
] - doc: add require modules in url.md (Daijiro Wachi) #13365
- [
2d25e09b0f
] - doc: add object-curly-spacing to doc/.eslintrc (Vse Mozhet Byt) #13354
- [
6cd5312b22
] - doc: unify spaces in object literals (Vse Mozhet Byt) #13354
- [
4e687605ee
] - doc: use destructuring in code examples (Vse Mozhet Byt) #13349
- [
1b192f936a
] - doc: fix code examples in zlib.md (Vse Mozhet Byt) #13342
- [
a872399ddb
] - doc: update who to cc for n-api (Michael Dawson) #13335
- [
90417e8ced
] - doc: add missing make command to UPGRADING.md (Daniel Bevenius) #13233
- [
3c55d1aea4
] - doc: refine spaces in example from vm.md (Vse Mozhet Byt) #13334
- [
1729574cd7
] - doc: fix link in CHANGELOG_V8 (James, please) #13313
- [
16605cc3e4
] - doc: add async_hooks, n-api to _toc.md and all.md (Vse Mozhet Byt) #13379
- [
eb6e9a0c9a
] - doc: remove 'you' from writing-tests.md (Michael Dawson) #13319
- [
e4f37568e2
] - doc: fix date for 8.0.0 changelog (Myles Borins) #13360
- [
41f0af524d
] - doc: async-hooks documentation (Thorsten Lorenz) #13287
- [
b8b0bfb1a7
] - doc: add tniessen to collaborators (Tobias Nießen) #13371
- [
561c14ba12
] - doc: modernize and fix code examples in util.md (Vse Mozhet Byt) #13298
- [
c2d7b41ac7
] - doc: fix code examples in url.md (Vse Mozhet Byt) #13288
- [
243643e5e4
] - doc: fix typo in n-api.md (JongChan Choi) #13323
- [
bee1421501
] - doc: fix doc styles (Daijiro Wachi) #13270
- [
44c8ea32df
] - doc,stream: clarify 'data', pipe() and 'readable' (Matteo Collina) #13432
- [
8f2b82a2b4
] - errors,tty: migrate to use internal/errors.js (Gautam Mittal) #13240
- [
a666238ffe
] - events: fix potential permanent deopt (Brian White) #13384
- [
c756efb25a
] - (SEMVER-MINOR) fs: expose Stats times as Numbers (Refael Ackermann) #13173
- [
5644dd76a5
] - fs: replace a bind() with a top-level function (Matteo Collina) #13474
- [
6e0eccd7a1
] - (SEMVER-MINOR) fs: promisify exists correctly (Dan Fabulich) #13316
- [
0caa09da60
] - gitignore: add libuv book and GitHub template (cjihrig) #13306
- [
8efaa554f2
] - (SEMVER-MINOR) http: overridable keep-alive behavior of Agent
(Fedor Indutny) #13005
- [
afe91ec957
] - http: assert parser.consume argument's type (Gireesh Punathil) #12288
- [
b3c9bff254
] - http: describe parse err in debug output (Sam Roberts) #13206
- [
c7ebf6ea70
] - http: suppress data event if req aborted (Yihong Wang) #13260
- [
9be8b6373e
] - (SEMVER-MINOR) inspector: allow --inspect=host:port from js (Sam Roberts) #13228
- [
376ac5fc3e
] - inspector: Allows reentry when paused (Eugene Ostroukhov) #13350
- [
7f0aa3f4bd
] - inspector: refactor to rename and comment methods (Sam Roberts) #13321
- [
cc6ec2fb27
] - (SEMVER-MINOR) inspector: bind to random port with --inspect=0 (Ben Noordhuis) #5025
- [
4b2c756bfc
] - (SEMVER-MINOR) lib: return this from net.Socket.end() (Sam Roberts) #13481
- [
b3fb909d06
] - lib: "iff" changed to "if and only if" (Jacob Jones) #13496
- [
a95f080160
] - n-api: enable napi_wrap() to work with any object (Jason Ginchereau) #13250
- [
41eaa4b6a6
] - net: fix permanent deopt (Brian White) #13384
- [
b5409abf9a
] - openssl: fix keypress requirement in apps on win32 (Shigeki Ohtsu) iojs/io.js#1389
- [
103de0e69a
] - process: fix permanent deopt (Brian White) #13384
- [
81ddeb98f6
] - readline: clean up event listener in onNewListener (Gibson Fahnestock) #13266
- [
791b5b5cbe
] - src: remove '
print modifier (Refael Ackermann) #13447
- [
640101b780
] - src: remove process._inspectorEnbale (cjihrig) #13460
- [
8620aad573
] - src: added newline in help message (Josh Ferge) #13315
- [
71a3d2c87e
] - test: refactor test-dgram-oob-buffer (Rich Trott) #13443
- [
54ae7d8931
] - test: pass env vars through to test-benchmark-http (Gibson Fahnestock) #13390
- [
757ae521b5
] - test: validate full error messages (aniketshukla) #13453
- [
68e06e6945
] - test: increase coverage of async_hooks (David Cai) #13336
- [
7be1a1cd47
] - test: fix build warning in addons-napi/test_object (Jason Ginchereau) #13412
- [
fb73070068
] - test: consolidate n-api test addons - part2 (Michael Dawson) #13380
- [
339d220eed
] - test: rearrange inspector headers into convention (Sam Roberts) #13428
- [
8c7f9da489
] - test: improve async hooks test error messages (Anna Henningsen) #13243
- [
818c935add
] - test: test async-hook triggerId properties (Dávid Szakállas) #13328
- [
29f19b6d39
] - test: add documentation for common.mustNotCall() (Rich Trott) #13359
- [
c208f9d51f
] - test: check destroy hooks are called before exit (Anna Henningsen) #13369
- [
406c2cd8e4
] - test: make test-fs-watchfile reliable (Rich Trott) #13385
- [
93e91a4f3f
] - test: check inspector support in test/inspector (Daniel Bevenius) #13324
- [
d1b39d92d6
] - test: add known_test request with Unicode in the URL (David D Lowe) #13297
- [
dccd1d2d31
] - test: improve dns internet test case (Brian White) #13261
- [
e20f3577d0
] - test: improve test-https-server-keep-alive-timeout (Rich Trott) #13312
- [
2a29c07d9e
] - test: mark inspector-port-zero-cluster as flaky (Refael Ackermann)
- [
b16dd98387
] - test: consolidate n-api test addons (Michael Dawson) #13317
- [
830049f784
] - test: refactor test-net-server-bind (Rich Trott) #13273
- [
9df8e2a3e9
] - test: use mustCall() in test-readline-interface (Rich Trott) #13259
- [
25a05e5db1
] - test: fix flaky test-fs-watchfile on macOS (Rich Trott) #13252
- [
ec357bf88f
] - test: use mustNotCall() in test-stream2-objects (Rich Trott) #13249
- [
5369359d52
] - test: Make N-API weak-ref GC tests asynchronous (Jason Ginchereau) #13121
- [
7cc6fd8403
] - test: improve n-api coverage for typed arrays (Michael Dawson) #13244
- [
a2d49545a7
] - test: support candidate V8 versions (Michaël Zasso) #13282
- [
f0ad3bb695
] - test: hasCrypto https-server-keep-alive-timeout (Daniel Bevenius) #13253
- [
658560ee5b
] - test,fs: test fs.watch for filename
(Refael Ackermann) #13411
- [
2e3b758006
] - test,module: make message check MUI dependent (Refael Ackermann) #13393
- [
01278bdd64
] - tools: fix order of ESLint rules (Michaël Zasso) #13363
- [
48cad9cde6
] - tools: fix node args passing in test runner (Brian White) #13384
- [
bccda4f2b8
] - tools: be explicit about including key-id (Myles Borins) #13309
- [
61eb085c6a
] - tools, test: update test-npm-package paths (Gibson Fahnestock) #13441
- [
ba817d3312
] - url: update IDNA handling (Timothy Gu) #13362
- [
d4d138c6e9
] - url: do not pass WHATWG host to http.request (Tobias Nießen) #13409
- [
315c3aaf43
] - url: more precise URLSearchParams constructor (Timothy Gu) #13026
- [
1bcda5efda
] - util: refactor format method.Performance improved. (Jesus Seijas) #12407
- [
f47ce01dfb
] - win, doc: document per-drive current working dir (Bartosz Sosnowski) #13330
- [
6aeb555cc4
] - zlib: revert back to Functions (James M Snell) #13374
- [
cc3174a937
] - (SEMVER-MINOR) zlib: expose amount of data read for engines (Alexander O'Mara) #13088
- [
bb77d6c1cc
] - (SEMVER-MINOR) zlib: option for engine in convenience methods (Alexander O'Mara) #13089
Windows 32-bit Installer: https://nodejs.org/dist/v8.1.0/node-v8.1.0-x86.msi
Windows 64-bit Installer: https://nodejs.org/dist/v8.1.0/node-v8.1.0-x64.msi
Windows 32-bit Binary: https://nodejs.org/dist/v8.1.0/win-x86/node.exe
Windows 64-bit Binary: https://nodejs.org/dist/v8.1.0/win-x64/node.exe
macOS 64-bit Installer: https://nodejs.org/dist/v8.1.0/node-v8.1.0.pkg
macOS 64-bit Binary: https://nodejs.org/dist/v8.1.0/node-v8.1.0-darwin-x64.tar.gz
Linux 32-bit Binary: https://nodejs.org/dist/v8.1.0/node-v8.1.0-linux-x86.tar.xz
Linux 64-bit Binary: https://nodejs.org/dist/v8.1.0/node-v8.1.0-linux-x64.tar.xz
Linux PPC LE 64-bit Binary: https://nodejs.org/dist/v8.1.0/node-v8.1.0-linux-ppc64le.tar.xz
Linux PPC BE 64-bit Binary: https://nodejs.org/dist/v8.1.0/node-v8.1.0-linux-ppc64.tar.xz
Linux s390x 64-bit Binary: https://nodejs.org/dist/v8.1.0/node-v8.1.0-linux-s390x.tar.xz
AIX 64-bit Binary: Coming soon
SunOS 32-bit Binary: https://nodejs.org/dist/v8.1.0/node-v8.1.0-sunos-x86.tar.xz
SunOS 64-bit Binary: https://nodejs.org/dist/v8.1.0/node-v8.1.0-sunos-x64.tar.xz
ARMv6 32-bit Binary: Coming soon
ARMv7 32-bit Binary: https://nodejs.org/dist/v8.1.0/node-v8.1.0-linux-armv7l.tar.xz
ARMv8 64-bit Binary: https://nodejs.org/dist/v8.1.0/node-v8.1.0-linux-arm64.tar.xz
Source Code: https://nodejs.org/dist/v8.1.0/node-v8.1.0.tar.gz
Other release files: https://nodejs.org/dist/v8.1.0/
Documentation: https://nodejs.org/docs/v8.1.0/api/
SHASUMS
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
08af5f1a7441728cabf9b11af25da28ee1725903524968dd9621b885b13303c7 node-v8.1.0-darwin-x64.tar.gz
8c2583f95c223dae996310573611f6cc7212942b32ff653c2a88583c1edd629f node-v8.1.0-darwin-x64.tar.xz
38ce729d4b13d31e74f1ed8dd8b123b1e8aa015611eb6c7b3225a0677e9e38ef node-v8.1.0-headers.tar.gz
18b42870b145ea756e8539a9c27317f3e75d0b7638f3907ab29f67b2f96ca0e5 node-v8.1.0-headers.tar.xz
33c09d04b5e2637feda241e1c727b10249ed7114ad7807f8b70cbd8414747649 node-v8.1.0-linux-arm64.tar.gz
adf2f517c9847cbb5904b282c0819526b5264c256477ed5e4b258584daa1a2ea node-v8.1.0-linux-arm64.tar.xz
12d75aa7d875115e03e62b1e65aba77902d9c810bfb81fe8c379c5667d8fa1e1 node-v8.1.0-linux-armv7l.tar.gz
8a7db124e9f8fb884e777a75410ff63f6247d26a9eb6dab2879f3d1eb67fa958 node-v8.1.0-linux-armv7l.tar.xz
d230f546a8162236bc4272013a53d8bc86b72c40fe94e972b39ac74ed0563eb8 node-v8.1.0-linux-ppc64le.tar.gz
cef948340af5901acc96e3fe35f05490ed171ffd27e6314cd994bc5fa94488b7 node-v8.1.0-linux-ppc64le.tar.xz
84654502cea0228cc427497ab6166b8bf74f368bf61336f1a18ec82ec8dd811a node-v8.1.0-linux-ppc64.tar.gz
fedac55c4e2a94ed117acd3606f44d15a7452fc84a8190163800de9141769d27 node-v8.1.0-linux-ppc64.tar.xz
01068a92c640e929ad6b41bfaa896edab5d774e9994e6dd27b7bdb3684daef78 node-v8.1.0-linux-s390x.tar.gz
8fb1e8335349324048236eafebd3c089791c183ef539fa6a5314ca7c77b5f056 node-v8.1.0-linux-s390x.tar.xz
b53d6ad443f970d62a61d927bd28d63dcd2e19520e6e767bc6cc44f2cd8a4885 node-v8.1.0-linux-x64.tar.gz
1638a0083c6eee122cbbefdf39cb8bcc43cf19fedff331a0317b05fd38dcb6df node-v8.1.0-linux-x64.tar.xz
26dfe0320634254c9e81a6535014a4860bed72c3c1dbd5b040405e4b3a872476 node-v8.1.0-linux-x86.tar.gz
e352251100e571fa179cbdeffefc49d9ff6d943cd3efad83913b6ac61730cfd4 node-v8.1.0-linux-x86.tar.xz
6950b83270e0e45ca7b9a59b66862131d0bdb6d90ec3e5dabb2ef691ac172cb0 node-v8.1.0.pkg
8f430673b416ff32366fcba5a2aad7cd8613d2ff042298da2eaad08ef90a7373 node-v8.1.0-sunos-x64.tar.gz
918c1cbceef1aa2dcd830bd551ecd99ff002d6a62c22f3896f508fbbe759be41 node-v8.1.0-sunos-x64.tar.xz
925cff411b8bce74a0043b7e8a32bcbeb0a29fdbb89426f3e83e15a6f78d032f node-v8.1.0-sunos-x86.tar.gz
edfce3fb335a3c9b374cc34a91986bb655cf1a618813b9b083588400dae6a206 node-v8.1.0-sunos-x86.tar.xz
6886d0891ee1a46c41f1095ffbbd6cb8871a1b18b61712b5bf7d6bf5018d64de node-v8.1.0.tar.gz
f2ff20b69b782dee85e887ad06e830590b2250856f6df325ed15a368bb6777fc node-v8.1.0.tar.xz
a4df11df8856d509e3e0fbea0c001a7f4fc37d51820eedc37c79d961d7d71410 node-v8.1.0-win-x64.7z
cee1fd1c828e8996824a2d9f9056dfae771b77c05b15ad015bc7f8800409215c node-v8.1.0-win-x64.zip
3dfaf8273a431b983d755506fdd387bc8aeff64812e577ee97a2228dd223789d node-v8.1.0-win-x86.7z
cf1f8de8fefa45478a7a238a9b119674e633eae06c1e44c3728dcdb0f47b6c88 node-v8.1.0-win-x86.zip
012a874bfecb470875732264a03aca6760667dbf32d447157ff5669ed862a529 node-v8.1.0-x64.msi
a059b7d0625875beeed10b15a0cf2e7f52c732e38a6e0cba48074ac1f24a5b5d node-v8.1.0-x86.msi
615acc82d274759059096f2549186d57702522208bf6c935cb133b95136c3aa2 win-x64/node.exe
8718284fd9fd2783d22c824884cb8a9f5fe02b35414aad399aeea156b6715f98 win-x64/node.lib
3b64b71d5df8020140dda4924ba45afbed4ddfe7ba63b88318a9e49d99cac326 win-x64/node_pdb.7z
240f35be168f5d89c893087362113ebcb7949f8284e48225e791d0360bceb880 win-x64/node_pdb.zip
7c675903a7f695f2e8b2078ef5805c85ad18f1eeaee30f35ac2ca018cafa1109 win-x86/node.exe
812617c64787287dc953e853466155fdd4d8687b8228af71ac43f6502f7cd9b7 win-x86/node.lib
0ea4fdd7a5b0c856134970cba1a6282ea0a30d2cde5c32bc3df6dc6d13b7baa5 win-x86/node_pdb.7z
1e2528eed30b005ff0cc9fb46596e4ce935ee6103440df44409053eea6e1a532 win-x86/node_pdb.zip
-----BEGIN PGP SIGNATURE-----
iQEcBAEBCAAGBQJZOS1NAAoJEMJzeS99g1RdemQH/RCBBPOgL3Ws6O7jPUTSOGjI
80XpnybbhLuiPOAh3us3vGE/uDem9PDSrvoIpDuKx5QaE7HX1kYfapROJrp3zK1R
rgcrhnhqmbBl1r46qYKclQerIaXGh5x8XKma6zkmgsUIViUS++ol11wxkuSKAm/j
4nh6m95twR/93QFEtLwr10FDAdSVWTzNH5Xhw10qMTrCm3NNiRBZuCZaazUKGxK4
J6y6X98Y8q5RFcBTMNhOIpDPjrpddTXcm5j9rP/sVUgSYIpj212b39MZTti7Ofl9
4V7mHeXTPCeJQqNwcqRR30C+Qha5L2bbSiBx6YAuvij9lzHrPtcdeye7/z9yuFk=
=J9oI
-----END PGP SIGNATURE-----