Node v10.6.0 (Current)

Michaël Zasso

Notable Changes

  • dns:
    • An experimental promisified version of the dns module is now available. Give it a try with require('dns').promises. #21264
  • fs:
    • fs.lchown has been undeprecated now that libuv supports it. #21498
  • lib:
    • Atomics.wake is being renamed to Atomics.notify in the ECMAScript specification (reference). Since Node.js now has experimental support for worker threads, we are being proactive and added a notify alias, while emitting a warning if wake is used. #21413 #21518
  • n-api:
    • Add API for asynchronous functions. #17887
  • util:
    • util.inspect is now able to return a result instead of throwing when the maximum call stack size is exceeded during inspection. #20725
  • vm:
    • Add script.createCachedData(). This API replaces the produceCachedData option of the Script constructor that is now deprecated. #20300
  • worker:
    • Support for relative paths has been added to the Worker constructor. Paths are interpreted relative to the current working directory. #21407

Commits

  • [a526b4e2c7] - atomis: add notify alias (Gus Caplan) #21413
  • [9030e933f4] - benchmark: create napi benchmark directory (Rich Trott) #21046
  • [3d3dbae7d8] - build: remove requirement to re-run ./configure (Anna Henningsen) #21371
  • [a7505c029a] - build: speed up startup with V8 code cache (Joyee Cheung) #21405
  • [7d2fe5d770] - build: improve Travis CI settings (Timothy Gu) #21459
  • [225063184d] - build: fail on instrumentation errors (Benjamin Coe) #21071
  • [6f80e305d0] - build: build addons in parallel on Windows (Bartosz Sosnowski) #21403
  • [42f5ff8346] - build: add crypto check to markdown lint target (Daniel Bevenius) #21326
  • [c214403c1a] - build: fix building with --build-v8-with-gn (Yang Guo) #21330
  • [76ef7acf6d] - (SEMVER-MINOR) build, win: make LTCG optional (Bartosz Sosnowski) #21186
  • [45a83760ec] - crypto: fix UB in computing max message size (Ben Noordhuis) #21462
  • [fefa57a7a4] - crypto: remove outdated comment (Timothy Gu) #21511
  • [e7776c63da] - crypto: refer to correct deprecation id in comment (Michaël Zasso) #21399
  • [b30840da5f] - deps: fix gypi sysroot settings on V8 (Matheus Marchini) #21494
  • [a48d98ef04] - deps: float fix on node-gyp in npm tree (Myles Borins) #21448
  • [fe6d707bc4] - deps: float 0c27d793 from openssl (ECDSA blinding) (Rod Vagg) #21345
  • [f162939c32] - deps: upgrade to libuv 1.21.0 (cjihrig) #21466
  • [62ca2cf21c] - deps: cherry-pick 70c4340 from upstream V8 (Matheus Marchini) #21126
  • [ab27e0e785] - deps: cherry-pick acc336c from upstream V8 (Matheus Marchini) #21126
  • [37a5c8c2ff] - deps: cherry-pick b20faff from upstream V8 (Matheus Marchini) #21126
  • [4663d1c22e] - deps: backport aa6ce3e from upstream V8 (Matheus Marchini) #21126
  • [5d7218965d] - deps: cherry-pick 5dd3395 from upstream V8 (Matheus Marchini) #21386
  • [18179f8ae9] - (SEMVER-MINOR) dns: remove Resolver#cancel() from promises API (cjihrig) #21264
  • [aa864ba4a9] - (SEMVER-MINOR) dns: add promisified dns module (cjihrig) #21264
  • [1d73ba8322] - doc: fix some links (Vse Mozhet Byt) #21619
  • [24bc6ab726] - doc: fix some typos in N-API docs (Vse Mozhet Byt) #21614
  • [cadc74d92d] - doc: fix heading level in errors.md (Vse Mozhet Byt) #21618
  • [eb6dcf2696] - doc: fix typo in fs.md (Hugo Josefson) #21579
  • [e081866f64] - doc: add DataView to appropriate crypto methods (Gerhard Stoebich) #21549
  • [51a434f711] - doc: fix some typos in deprecations.md and vm.md (Vse Mozhet Byt) #21569
  • [0f1d73761d] - doc: fix function name in process.md (Joonas Rouhiainen) #21523
  • [bc28398cbe] - doc: separate unrelated info about child_process.exec() (Charmander) #21516
  • [504c0cdd01] - doc: fix code example and formatting in crypto.md (Victor Belozyorov) #21500
  • [511d610dca] - doc: updated docs to include --experimental-worker flag (Jo Colina) #21461
  • [c050279d23] - doc: add bcoe as collaborator (Benjamin Coe) #21536
  • [f5fc412092] - doc: clarify setServers() methods in dns.md (Shivang Saxena) #21469
  • [4647f61a94] - doc: Improve doc for Http2 headers object (Gerhard Stoebich) #21296
  • [6cca5a8b0e] - doc: update AUTHORS list (Michaël Zasso) #21468
  • [de195d50dd] - doc: update LICENSE file (Rich Trott) #21472
  • [dad782165a] - doc: fix sort in sections, lists, tables of dns.md (Vse Mozhet Byt) #21505
  • [dbd810e5d4] - doc: show options arg to new Worker is optional (Thomas Watson) #21508
  • [23598239d1] - doc: fix HTTP req/res 'close' description (Robert Nagy) #21047
  • [02bc99daa7] - doc: correct parameters, return types in crypto.md (ZaneHannanAU) #21420
  • [5bb6e5c5df] - doc: restore documentation for two error codes (Сковорода Никита Андреевич) #21484
  • [c324b85a15] - doc: sort error codes in errors.md (Сковорода Никита Андреевич) #21485
  • [361e4f250c] - doc: fix list format in cli.md (Vse Mozhet Byt) #21467
  • [8e5104b094] - doc: explain HTTP writeHead()'s fast path behavior (Gireesh Punathil) #21289
  • [8a997a503c] - doc: note synchronous part of child_process.spawn (Jamie Davis) #21234
  • [e94474913e] - doc: add example of using filter with cctest (Daniel Bevenius) #21401
  • [9e3168478c] - doc: fix missing parentPort link in worker_threads (Thomas Watson) #21430
  • [1e5afb7d22] - errors: fix ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK (Сковорода Никита Андреевич) #21493
  • [29299cc50a] - esm: loader hook URL validation and error messages (guybedford) #21352
  • [2e07d4596c] - fs: undeprecate lchown() (cjihrig) #21498
  • [5a71e7941d] - http2: track memory allocated by nghttp2 (Anna Henningsen) #21374
  • [3ba9a445de] - http2: fix memory leak when headers are not emitted (Anna Henningsen) #21373
  • [45fe865fbc] - inspector: use js_app.html as the landing page for chrome devtools (GauthamBanasandra) #21385
  • [d1b750d360] - inspector: add debugging for WebSocket messages (Timothy Gu) #21473
  • [0d98fe6ef9] - lib: fix segfault with --without-intl (Rich Trott) #21589
  • [5cd78ba911] - module: experimental modules runMain separation (guybedford) #21350
  • [c87037286f] - n-api: fix compiler warning (cjihrig) #21597
  • [91384bfe5f] - (SEMVER-MINOR) n-api: add API for asynchronous functions (Gabriel Schulhof) #17887
  • [50f833db07] - net: report uv_tcp_open() errors (cjihrig) #21428
  • [881d99b3e6] - net: validate fds passed to Socket constructor (cjihrig) #21429
  • [0a1e8e0172] - per_context: add warning to Atomics.wake (Gus Caplan) #21518
  • [cd2b80c1f5] - process: avoid using the same fd for ipc and stdio (cjihrig) #21466
  • [2d6b337df9] - process: remove unused arguments in setup() (Joyee Cheung) #21377
  • [1894d6c985] - repl: fix tab completion for object properties with special char (Weijia Wang) #21556
  • [0550a58b08] - src: remove StreamBase::kFlagHasWritev (Anna Henningsen) #21527
  • [a8a7575410] - src: remove extra ReadStop() call (Anna Henningsen) #21528
  • [bb0795a5c5] - src: slightly simplify FSEventWrap (Anna Henningsen) #21533
  • [7acfacbee0] - src: add null check to GetCategoryGroupEnabled() (cjihrig) #21545
  • [eb8d60b447] - src: move context bootstrap to js (Gus Caplan) #21518
  • [54227ee133] - src: add native debugging code to workers (Anna Henningsen) #21423
  • [e0bcb6aa17] - src: avoid common case heap allocation (Ben Noordhuis) #21409
  • [75e07feba8] - src: introduce inspect-brk-node (Daniel Bevenius) #20819
  • [2377aec000] - src: fix debugging for multiple categories (Anna Henningsen) #21422
  • [95fa3c6535] - test: add worker prefix to test-message* tests (Michaël Zasso) #21512
  • [b28fd37a69] - test: fix ESM test (Anna Henningsen) #21605
  • [e7abde44db] - test: add a request-response test for MessageChannel (itaysabato) #21514
  • [623cf11dda] - test: skip non-doc files in test-make-doc checks (Vse Mozhet Byt) #21531
  • [8f1aa3c5e8] - test: use aliases for smart pointers in fixture (Daniel Bevenius) #21419
  • [7e10697ba0] - test: make cctest fixture use node::NewIsolate (Daniel Bevenius) #21419
  • [9f2bf3c1b3] - test: add some test cases for validateOffsetLengthWrite (Keita Akutsu) #21195
  • [245c885abb] - test: fix test-net-socket-constructor (Santiago Gimeno) #21466
  • [357eaf3c95] - test: lint fixes for ESLint update (cjihrig) #20855
  • [bfac7beaf5] - test: move net bytes-per-chunk test to sequential (Rich Trott) #21457
  • [91f111fcb2] - test: remove string error from strictEqual (Fernando Doglio) #21292
  • [2fa49a39e6] - test: add tests for end event of stream.Duplex (Masashi Hirano) #21325
  • [6b40ba11c1] - test: avoid running fsync on directory on AIX (John Barboza) #21298
  • [e038b2fa9a] - test: assert process.setgroups is undefined on windows (Masashi Hirano) #21286
  • [d7ff752e9e] - test: add tests for process.setgroups() (Masashi Hirano) #21286
  • [81046f94ff] - test: move net bytes-per-chunk test to parallel (Anna Henningsen) #21322
  • [9cef72dd21] - test: remove the third string literal argument from assert.strictEqual() (Kevin Thomas) #21406
  • [23f22bc614] - test: check that benchmark tests are minimal (Rich Trott) #21046
  • [29593e20d5] - test: run misc benchmark only once in tests (Rich Trott) #21046
  • [f461ae2f45] - test: move test-benchmark-path to sequential (Rich Trott) #21393
  • [5d6d6fb121] - tools: build all.html by combining generated HTML (Sam Ruby) #21568
  • [21d73a5869] - tools: update ESLint to 5.0.0 (cjihrig) #20855
  • [a1580a0c4e] - tools: fix typo in .eslintrc.js (Christopher Hiller) #21449
  • [7cc979d4d3] - (SEMVER-MINOR) util: recover from maximum call stack size (Ruben Bridgewater) #20725
  • [140836a1bc] - util: fix comment typos (Renée Kooi) #21436
  • [4fc05ac7e1] - (SEMVER-MINOR) vm: add Script.createCodeCache() (Gus Caplan) #20300
  • [97b21862f5] - (SEMVER-MINOR) win, build: generate .sln only when necessary (Bartosz Sosnowski) #21284
  • [ba8ee17de5] - win, build: fix building on 32-bit machines (Bartosz Sosnowski) #21437
  • [206e5bf7af] - worker: support relative paths (itaysabato) #21407
  • [41c4b2c76a] - workers: add test for messagePort.onmessage (Michaël Zasso) #21510
  • [49706b44b7] - workers: replace message types string by constants (Weijia Wang) #21537
  • [fb2592ff12] - workers,trace_events: set thread name for workers (James M Snell) #21246

Windows 32-bit Installer: https://nodejs.org/dist/v10.6.0/node-v10.6.0-x86.msi
Windows 64-bit Installer: https://nodejs.org/dist/v10.6.0/node-v10.6.0-x64.msi
Windows 32-bit Binary: https://nodejs.org/dist/v10.6.0/win-x86/node.exe
Windows 64-bit Binary: https://nodejs.org/dist/v10.6.0/win-x64/node.exe
macOS 64-bit Installer: https://nodejs.org/dist/v10.6.0/node-v10.6.0.pkg
macOS 64-bit Binary: https://nodejs.org/dist/v10.6.0/node-v10.6.0-darwin-x64.tar.gz
Linux 64-bit Binary: https://nodejs.org/dist/v10.6.0/node-v10.6.0-linux-x64.tar.xz
Linux PPC LE 64-bit Binary: https://nodejs.org/dist/v10.6.0/node-v10.6.0-linux-ppc64le.tar.xz
Linux s390x 64-bit Binary: https://nodejs.org/dist/v10.6.0/node-v10.6.0-linux-s390x.tar.xz
AIX 64-bit Binary: https://nodejs.org/dist/v10.6.0/node-v10.6.0-aix-ppc64.tar.gz
SmartOS 64-bit Binary: https://nodejs.org/dist/v10.6.0/node-v10.6.0-sunos-x64.tar.xz
ARMv6 32-bit Binary: https://nodejs.org/dist/v10.6.0/node-v10.6.0-linux-armv6l.tar.xz
ARMv7 32-bit Binary: https://nodejs.org/dist/v10.6.0/node-v10.6.0-linux-armv7l.tar.xz
ARMv8 64-bit Binary: https://nodejs.org/dist/v10.6.0/node-v10.6.0-linux-arm64.tar.xz
Source Code: https://nodejs.org/dist/v10.6.0/node-v10.6.0.tar.gz
Other release files: https://nodejs.org/dist/v10.6.0/
Documentation: https://nodejs.org/docs/v10.6.0/api/

SHASUMS

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

ad6c4cc2be5b5427a1d48c61e86778b1f085d74a9c7e140bf5769ef025cf3b3b  node-v10.6.0-aix-ppc64.tar.gz
537efef0c6fd998502fa10baf82ee21edf513256cc73575991354e19442d0b69  node-v10.6.0-darwin-x64.tar.gz
c595aa22ac2f49ada5f234c80fc1acb21394c779fea4c25ca644c5330f5edab7  node-v10.6.0-darwin-x64.tar.xz
f94ca20dc42b2fea117b96a3f51011a459bb9c6088cf9d056c1d90d7698eb9a5  node-v10.6.0-headers.tar.gz
4477b5a6ce3bd63e0d3aa695dc044bef26dfad1b9e48bc939c115386ef7dca5d  node-v10.6.0-headers.tar.xz
354dc8b855faf57c7561633538a63224aeb19e109144396fae466f570feeb69e  node-v10.6.0-linux-arm64.tar.gz
be37aade1c085093e276b5822a05233a1057bcafe77f5b9526dbdf622330c4bb  node-v10.6.0-linux-arm64.tar.xz
a672acedb42997e8730f4a52a37ace384605cb5993b8d36b8250c6e662bc6903  node-v10.6.0-linux-armv6l.tar.gz
78ae3b7aab67f2bec636f40bbf452fdc944da750e94b9f6ac7a9bb656b946c7f  node-v10.6.0-linux-armv6l.tar.xz
e058834476d06783360d4bce049870a1d36a8a4271a5e7430bac76fa8c214b06  node-v10.6.0-linux-armv7l.tar.gz
f7b107a0569b08ead918172e3db5e1791d5f8b53e423e39cbb2b858f4c766cc0  node-v10.6.0-linux-armv7l.tar.xz
f3f1a15f31ec7e99cb46a19ba9206f0e40410eb184ec18216422807c41f6561a  node-v10.6.0-linux-ppc64le.tar.gz
85b2b4cea96a78712ec0e7150743a86ec5b7dba1e401bb79a4890856bcdf447a  node-v10.6.0-linux-ppc64le.tar.xz
e9ec0f4f187dacba160bf7ffee6e9902940677809fc14abd0e07bbc691ec8841  node-v10.6.0-linux-s390x.tar.gz
97c7f5186e91d07e5e97b1a30be7f63d57b9c0170aca99185ff907de6f61de10  node-v10.6.0-linux-s390x.tar.xz
c9be65055b9492bad9539acdf31a37f75785f1ad58b6659166233b520a4a9290  node-v10.6.0-linux-x64.tar.gz
cfd47380729f2451169b8900b3bd65e4b9db669d1d540613758cd2ededf7b5e6  node-v10.6.0-linux-x64.tar.xz
d6328c5cdc1751c16c94a34c24f91aa4dd83a1faa6cd335787e0cf9914c80082  node-v10.6.0-sunos-x64.tar.gz
ac251c64c3f08f2f2e98fefcfcb501bd0c04248f7fe58ca1b01e303cf4b8902b  node-v10.6.0-sunos-x64.tar.xz
0606d939f864599c14e98600e8b73c889bf79f019150975415ef3b4184200a99  node-v10.6.0-win-x64.7z
0b58e0414d76e48432588910ea682f002ba69d7be88deb3355ceffb2fe472f6d  node-v10.6.0-win-x64.zip
2f60af4703b79673b020cfce225806a62fc53951ec626ef6de1df9e2616107d2  node-v10.6.0-win-x86.7z
e8d106b1f91c451eb599f6747701634df2783ade37b079ca3ce6337c1d2e7273  node-v10.6.0-win-x86.zip
c45d18f6e47a8dbcee7ca9c3eb271361cc6bac18b9d809fdd579eebfc4aa89eb  node-v10.6.0-x64.msi
7f633b62d43c2449ce012e87b7cc27de342d7d329e665d33a31d7ab3053bf2c6  node-v10.6.0-x86.msi
418f8ee330afc8df760a5003a8a8edd4535b3e729a156134b0da83c486d5c043  node-v10.6.0.pkg
8007ebfabee18ffea0f04dbb8f85e7f4cd0a051f89dbb0e72bce5fcca684b36b  node-v10.6.0.tar.gz
1960742a836db36ad1aaf3cc024e79aa067adb8460f981c7ae8409390afc7e8f  node-v10.6.0.tar.xz
5fe023c34ebd0511ba19559bce2da17de38815973d3a4dce6a9613c43c10cfa8  win-x64/node.exe
73162b549bba9d446577b333a6161027da71f44ca3079e828fdb0c5422983fd4  win-x64/node.lib
74b5255ef0a63b3258aa3fe345f75f798e22ff994e9fea86be4750449e9c22a9  win-x64/node_pdb.7z
c0b61ebeea8a316ce3cff3220df99f05af174b03e136299a5055d9a204405bc2  win-x64/node_pdb.zip
7c8ddd76f0c6cdb703b156758d61c3b7290490967e3c11991d226d5eb1a6e84b  win-x86/node.exe
d97d7224d01205d49274a1eaf3a8484e9eeb289d337ccc63da86ab18f8639350  win-x86/node.lib
1e02c26b1a12173a8bbe3268c3b0b85ef19570ff2a21437b1c12a91133c26cac  win-x86/node_pdb.7z
d1cbd83e8127199ffc56e7ced1618984cd1cd535aa56d25b5392557ead6cabfd  win-x86/node_pdb.zip
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJbPQz4AAoJEHcPeppa4VYAsq0QAJSTvsJILsO85SD8XzCeBvXZ
NOt2bI4FsVj2qTFLJXPFcVmbkdiNrdIeqGFcr0VTRFxxv5C5G9r1TG5wWFVQXg4j
BuanGNq7WUEUEy5mHNQw81u7HS0VstQxgG/7DSOElPRXRUW7Ha5nlz+oNn81O1f0
3M0vRVCcIu5M/wc+QD5pwwOcbtB6FAMRb+r7nqPySNIWtKL9jnh3fTYaSDLS1KMv
kwuAajChgysFz5z/9Idv01HciwOffOPxYcSd2ydrTcR/zpvTuJBG130M1/ZjHUzQ
AxJJSJMsHf9eUPZ2vr2+USGqDK/5kjzevFnzWenbpvvrzrhmsEvfQBEkmtI9qW+V
GM/BdTDx1qN3tu3LZt/BcMoSDuhsmgiJqDm5BKMcU0fmlD5Sph4Jea7KFMWLgmID
7qZ/EnslF1inyMTbyyc2GfV3Npe3wDKAQHOyYJ4noM41eNaIvVIUn1wOBq9utI6r
cm1C49M7B4T3Nt/Q+VeT3HRw1siRjxiwHl9NuXx/Sk2rhD94XdpgSPwTDEBeT33Y
eJywDF/gEGZwgpFS06fkszzoShOZ/FGBqSatvGURGKUE2Jd4IIUnPoV7YQ8rYnKy
WwR67gNour3y5PSI34nuhlkHslksqM34+oSrt2yQlQ7LICbH9Rxh8RFMXJ4jfNoN
r+ksobQW5ExtxoVLSMsB
=B+Qf
-----END PGP SIGNATURE-----

마지막 업데이트
2018년 7월 04일
읽는 데 걸리는 시간
7 min read
기여하기
Edit this page
목차
  1. Notable Changes
  2. Commits
  3. SHASUMS