Node v12.8.0 (Current)

By Ruben Bridgewater,

Notable changes

  • assert:
    • Legacy mode deprecation (DEP0089) is revoked (Colin Ihrig) #28892
  • crypto:
    • The outputLength option is added to crypto.createHash (Tobias Nießen) #28805
    • The maxmem range is increased from 32 to 53 bits (Tobias Nießen) #28799
  • n-api:
    • Added APIs for per-instance state management (Gabriel Schulhof) #28682
  • report:
    • Network interfaces get included in the report (Colin Ihrig) #28911
  • src:
    • v8.getHeapCodeStatistics() is now exported (Yuriy Vasiyarov) #27978

Commits

  • [d3426ee9f1] - assert: avoid potentially misleading reference to object identity (Anna Henningsen) #28824
  • [bbcf9f0625] - benchmark: swap var for let in buffer benchmarks (Alex Ramirez) #28867
  • [f2c1f3613b] - benchmark: swap var for let in util benchmarks (Alex Ramirez) #28867
  • [048db38ada] - benchmark: swap var for let in url benchmarks (Alex Ramirez) #28867
  • [391fe46378] - benchmark, http: refactor for code consistency (Alex Ramirez) #28791
  • [dcef7b8cc1] - build: include stubs in shared library (Jeroen Ooms) #28897
  • [470db47cb4] - build: remove support for s390 (but not s390x) (Ben Noordhuis) #28883
  • [25aa2228e4] - build: generate openssl config for BSD-x86 (Ben Noordhuis) #28806
  • [fb57bc4be4] - build: do not mix spaces and tabs in Makefile (Luigi Pinca) #28881
  • [9e7c66280e] - build: ignore backup files (Adam Majer) #28865
  • [24b9d29650] - build: uname -m is amd64 on freebsd, not x86_64 (Ben Noordhuis) #28804
  • [82f263d022] - build,tools: support building with Visual Studio 2019 (Michaël Zasso) #28781
  • [a7ef102a66] - crypto: add null check to outputLength logic (Colin Ihrig) #28864
  • [3a62202a54] - crypto: fix handling of malicious getters (scrypt) (Tobias Nießen) #28838
  • [b7c6ad595b] - (SEMVER-MINOR) crypto: add outputLength option to crypto.createHash (Tobias Nießen) #28805
  • [86f4c68d6a] - crypto: update root certificates (Sam Roberts) #28808
  • [e0e776331a] - (SEMVER-MINOR) crypto: increase maxmem range from 32 to 53 bits (Tobias Nießen) #28799
  • [11470d5c26] - deps: upgrade npm to 6.10.2 (isaacs) #28853
  • [9b02f3623b] - deps: dlloads node static linked executable (Luca Lindhorst) #28045
  • [24b8f2000c] - deps: remove backup files (Adam Majer) #28865
  • [ae56a232e1] - deps: backport b107214 from upstream V8 (Anna Henningsen) #28850
  • [19dad196e0] - deps: float 15d7e79 from openssl (Tobias Nießen) #28796
  • [9dfa636083] - dgram: changed 'var' to 'let' and 'const' (Manuel Ochoa Loaiza) #28357
  • [02a50c3b42] - doc: remove use of you (Michael Dawson) #28919
  • [bdd442fe35] - doc: describe NODE_OPTIONS interop w/cmd line opts (Alex Aubuchon) #28928
  • [57f5d50a3b] - doc: fix sorting nit in sections of http.md (Vse Mozhet Byt) #28943
  • [f4abf17d36] - doc: remove legacy mode deprecation in assert (Rich Trott) #28909
  • [0ac6d28f80] - doc: writableFinished is true before 'finish' (Robert Nagy) #28811
  • [7c80963d98] - doc: include "exports" resolver specification (guybedford) #28899
  • [5f07f49933] - doc: revoke DEP0089 (Colin Ihrig) #28892
  • [3e6342958b] - doc: add example about emitter.emit in events documentation (Felipe Duitama) #28374
  • [a28db5f470] - doc: add example of event close for child_process (Laura Ciro) #28376
  • [085eb4828b] - doc: fixup esm resolver spec formatting (Guy Bedford) #28885
  • [5533d48290] - doc: correct import statement (himself65) #28876
  • [ffc7a00c10] - doc: add documentation for stream.destroyed (Robert Nagy) #28815
  • [454e879a4a] - doc: fix incorrect name in report docs (Colin Ihrig) #28830
  • [881e345e0c] - doc: describe why new Buffer() is problematic (Sam Roberts) #28825
  • [95b87ce24a] - doc: claim NODE_MODULE_VERSION=76 for Electron 8 (Samuel Attard) #28809
  • [0667d0c6c2] - doc: add documentation for response.flushHeaders() (Luigi Pinca) #28807
  • [c0a044849d] - doc: fix type in NSS update instructions (Sam Roberts) #28808
  • [d0b1fb3311] - doc: api/stream.md typo from writeable to writable (Cotton Hou) #28822
  • [727ffe4720] - domain: use strong reference to domain while active (Anna Henningsen) #28313
  • [c9c7256f50] - http: reset parser.incoming when server response is finished (Anna Henningsen) #28646
  • [7d9eb17d30] - http2: destroy when settingsFn throws an error (himself65) #28908
  • [fa82cbc6cb] - http2: destructure constants from require call (Daniel Nalborczyk) #28176
  • [d0d31498d1] - http2: add constant to already destructured constants (Daniel Nalborczyk) #28176
  • [d72b6820bd] - inspector: report all workers (Eugene Ostroukhov) #28872
  • [464136fbc2] - lib: replace var with let in loaders.js (mbj36) #28081
  • [386d5d70fb] - lib: support min/max values in validateInteger() (Colin Ihrig) #28810
  • [2236affbf8] - module: exports error as MODULE_NOT_FOUND (Guy Bedford) #28905
  • [d9084d29fe] - module: unify package exports test for CJS and ESM (Jan Krems) #28831
  • [2262526562] - module: implement "exports" proposal for CommonJS (Jan Krems) #28759
  • [c93df0cfc3] - n-api: refactoring napi_create_function testing (Octavian Soldea) #28894
  • [e6b3bfe111] - n-api: refactor a previous commit (Octavian Soldea) #28848
  • [860c0d89b6] - (SEMVER-MINOR) n-api: add APIs for per-instance state management (Gabriel Schulhof) #28682
  • [3c52dbe15b] - net: shallow copy option when create Server (himself65) #28924
  • [1f82929ed0] - path: improve normalization performance (Brian White) #28948
  • [5d5c89a8f7] - policy: add dependencies map for resources (Bradley Farias) #28767
  • [4b91e4dafd] - (SEMVER-MINOR) report: include network interfaces in report (Colin Ihrig) #28911
  • [e0951c80f6] - report: loop over uv_cpu_info() results (Colin Ihrig) #28829
  • [4a747f6037] - Revert "src: remove trace_sync_io_ from env" (Сковорода Никита Андреевич) #28926
  • [d601a0a9c0] - src: allow generic C++ callables in SetImmediate() (Anna Henningsen) #28704
  • [3d51d3039c] - src: large pages fix FreeBSD fix region size (David Carlier) #28735
  • [cce208794e] - (SEMVER-MINOR) src: export v8.GetHeapCodeAndMetadataStatistics() (Yuriy Vasiyarov) #27978
  • [32cf344f8e] - src: readlink("/proc/self/exe") -> uv_exename() (Ben Noordhuis) #28333
  • [1b0d67b1e7] - src: fix OpenBSD build (David Carlier) #28384
  • [406c50c1d4] - src: read break_node_first_line from the inspect options (Samuel Attard) #28034
  • [8db43b1ff5] - src: move relative uptime init (Micha Hanselmann) #28849
  • [e334c1f13b] - src: fix type name in comment (Ben Noordhuis) #28320
  • [cf071a01f2] - stream: resolve perf regression introduced by V8 7.3 (Matteo Collina) #28842
  • [0f8f552105] - test: refactor test-fs-stat.js (Rich Trott) #28929
  • [c38952610e] - test: add tests for spaces in folder names (PaulBags) #28819
  • [efe9b97d40] - test: refactor test-beforeexit-event-exit using mustNotCall (himself65) #28901
  • [c42eb5dd55] - test: refactoring test_error testing (himself65) #28902
  • [b6e174b4f5] - test: use assert.throws() in test-require-json.js (Alejandro Nanez) #28358
  • [19070e442d] - test: fix nits in test/fixtures/tls-connect.js (Luigi Pinca) #28880
  • [31aa33bdcb] - test: fix race in test-http2-origin (Alba Mendez) #28903
  • [9b47f77571] - test: udpate test comment description (Andres Bedoya) #28351
  • [a0f89a2845] - test: refactor test using assert instead of try/catch (Juan Bedoya) #28346
  • [2142b6d3d1] - test: improve test-async-hooks-http-parser-destroy (Gerhard Stoebich) #28253
  • [f6051f9506] - test: specialize OOM check for AIX (Sam Roberts) #28857
  • [84efadf263] - test, util: refactor isObject in test-util (Alex Ramirez) #28878
  • [0b6a84a861] - test,report: relax CPU match requirements (Anna Henningsen) #28884
  • [a38fecdb20] - tools: update certdata.txt (Sam Roberts) #28808
  • [b282c8512b] - vm: increase code coverage of source_text_module.js (kball) #28350
  • [43acce1925] - worker: handle calling terminate when kHandler is null (elyalvarado) #28370

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

SHASUMS

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

c90a01b8480e2f820649924f9814023b2cb1ddda439d8f2d1f64e7917774459d  node-v12.8.0-aix-ppc64.tar.gz
5229571a1736befd6426dc0a6907be416e9f5c24695e3ef275ed2ba70f496499  node-v12.8.0-darwin-x64.tar.gz
808360898b6a2c0889bdbbe14ef1b16bddf4722786fdf1d5decf5d3caa0bac97  node-v12.8.0-darwin-x64.tar.xz
27628113f72696391b29746031d8f03ff9fb513ee532f6cce0562161d12d75f8  node-v12.8.0-headers.tar.gz
389cf992818fdcc1262f27072f1827717234099e31866b6954d074775ad79425  node-v12.8.0-headers.tar.xz
9eb01fe3ff86210f19d03929d0a7c59713a05fd686334ecc8843c8f0d0321de6  node-v12.8.0-linux-arm64.tar.gz
9f22aff38a8622b05821129f69dbe90695e01166f55c8d2a39b6c6a5aef8c6a8  node-v12.8.0-linux-arm64.tar.xz
cbf5b88499de9db988360bd2e6094aac2b8acd6ff440518e0c1daaa93d9e9d06  node-v12.8.0-linux-armv7l.tar.gz
61d57dac0b5da7e3b99de345d4fe7aa19aaaefd0791f29c4dff0ca38cb59bf8b  node-v12.8.0-linux-armv7l.tar.xz
8ef1ed72c1fe7ddec8913d50cb4a9fc858c34417b82ed8f2335979d93c2addc5  node-v12.8.0-linux-ppc64le.tar.gz
5073742970460bf86ddd6b7405c992998bedb8b858261519108f4b0b9d5c6230  node-v12.8.0-linux-ppc64le.tar.xz
10de02920c7169db1433c395703e3c96c1d197d6c6df53b27df056fb9ac72c3c  node-v12.8.0-linux-s390x.tar.gz
fda613f0521e24e8259af139558b006158aaef1bc2658d628228b1020f355008  node-v12.8.0-linux-s390x.tar.xz
bc56ec3ee0e6b2945682fdfeb80187dbc1f67e59a78dc73ef225b4357509424f  node-v12.8.0-linux-x64.tar.gz
b6a9ab2e6e872375e0e27eda0698820a64495b31b1beab36cc54f9876b3a2052  node-v12.8.0-linux-x64.tar.xz
9edbc22705975476ac93db2e16ad3273e078bc8b85502c31268065228d0440ce  node-v12.8.0-sunos-x64.tar.gz
2dcd82f9f1c97b1a1c6cbb86ba7402ee60b089ecc1561acc4c944b8785ac6470  node-v12.8.0-sunos-x64.tar.xz
3be01afe6534adf049120ecf6304ff4ff7b424bbcd88572ae19e34d96ecaf329  node-v12.8.0-win-x64.7z
b295aedebde069c4148534a9dfb2394ceba28cf367ddd8204a27d69c095a9e00  node-v12.8.0-win-x64.zip
14922475db215dbcd24911bad4589983127be373ad44f32139937bdf5be7d442  node-v12.8.0-win-x86.7z
27a6c8e66c8dd672b0637159e28188a19be55ff92af9865d5bbe92ff5bceee28  node-v12.8.0-win-x86.zip
6d67ac7f8055b95168aef5d4cd46a3aeb3d842c0d59a4de7eaac8653be9b055e  node-v12.8.0-x64.msi
61d090d03e98f4a7c6a0f8f1c098678fa3bf12a393cb10616798ace6486ae1f9  node-v12.8.0-x86.msi
4d67ebf2026da69bf7f663a4776640853e478be456173a91910c028b656d0301  node-v12.8.0.pkg
6f4e4ee7bcb52f782dce5a51d6951ff87151d9504be129d68d7aff469c0f7f36  node-v12.8.0.tar.gz
997b552376eab599892ba94eca5ed09bd59bdc6686d82fd15e4da552618824a4  node-v12.8.0.tar.xz
2e90c309cf4f2a434684c4137d1240b2d363aaadf14c9e111c55c65ebc6a2bd0  win-x64/node.exe
508026e08ee3d579c17f766167c5c69ce31280a4a5607ac853099cd2b84e0426  win-x64/node.lib
ce68d0843ecc0fbdae61a119832973200f89d1df9c58eed8610596206dbb4957  win-x64/node_pdb.7z
18d298fc70a6555c064974decbeadd7dba734c444e7f6b0d1417723264e3a18b  win-x64/node_pdb.zip
56382136d50e98099b14402bd4f736d1cae10bc6affa92bbd6cc2f89936ecbeb  win-x86/node.exe
26e54309d4e8a8ac8f10d460962c474f1ae3f83ffa1bf420ec773b53db36a90a  win-x86/node.lib
aad482545c04019a9fd411231375994e43cdc206a221879388a23af56091971a  win-x86/node_pdb.7z
c3ccbb4d01f6f5a5c6ae7a81c69380635a74d3832cb97bf8fb6b85d583f7bb6e  win-x86/node_pdb.zip
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEpIwr7mgOhBYyzU5E8HSWs+s8F2IFAl1J/3MACgkQ8HSWs+s8
F2KriA/+MuQpdRVSiKPzJDo4KJhNG5wlSVfrtbWeukRrxRdyM4Dx2WZMZQPXdghI
YU9gJWPSliFDP4YOeSk6ak4GJZsZ58Z+9JckanbQ4F0YqdjmWc2Rc2+KypQB0Q4D
7cHACOOuZsmSiQCfxGs2kYbAbqekLGJx4yB2lO2bCgMtm1qRU1vsITWFkQ3R9DWX
I5D+uLLJD34/rugOXVlPmW2xsWf7mP/FRfiS8fPpsjCyQRjlR8XXKw+hT5b5H01u
OhRlZImkzerdgAeSs3TuugsRBuq3a5u22UUw9bOHwfkaKoFFl3uxynuWBcTOc8qc
vvCAadXZK3at9JOlgfK3f/wFgyqSoq9a59hBnPFtIvcK3q9NO/7T7i4l4Q78tKjL
LsGLOo+kg45c4B5ngUTU+eWKE9QwgOgI7Ldr/ChwEeZhdJIzeniWYmHetBu0+qKa
LBA654bu+kJviX6muK8p39UXOZ+vJvDnXdYTTHWkO6rM4bdNWz7YtpiVXP54hIly
S1Iu8BUYEygYU3PxQmKK+prktrd0fLZV3QDW2L2qghSFYRiPCcUeHTagRupaW7nd
HVD5t1Xw+hEoMa5xE/4DurVYIs7eQnFu0xnV3+uH4POOKDCgH3VRC7oy62HFSWO7
KquSVrY5jxpTpaeGG97upm3EIAQIQZ9AmG4iuMctw7X6MwX8MTk=
=xu53
-----END PGP SIGNATURE-----

ზემოთ