47

Node v10.12.0 (Current)

 5 years ago
source link: https://www.tuicool.com/articles/hit/vamqiaU
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
  • assert
    • The diff output is now a tiny bit improved by sorting object properties when inspecting the values that are compared with each other. #22788
  • cli
    • The options parser now normalizes _ to - in all multi-word command-line flags, e.g. --no_warnings has the same effect as --no-warnings . #23020
    • Added bash completion for the node binary. To generate a bash completion script, run node --completion-bash . The output can be saved to a file which can be sourced to enable completion. #20713
  • crypto
    • Added support for PEM-level encryption. #23151
    • Added an API asymmetric key pair generation. The new methods crypto.generateKeyPair and crypto.generateKeyPairSync can be used to generate public and private key pairs. The API supports RSA, DSA and EC and a variety of key encodings (both PEM and DER). #22660
  • fs
    • Added a recursive option to fs.mkdir and fs.mkdirSync . If this option is set to true, non-existing parent folders will be automatically created. #21875
  • http2
    • Added a 'ping' event to Http2Session that is emitted whenever a non-ack PING is received. #23009
    • Added support for the ORIGIN frame. #22956
    • Updated nghttp2 to 1.34.0. This adds RFC 8441 extended connect protocol support to allow use of WebSockets over HTTP/2. #23284
  • module
    • Added module.createRequireFromPath(filename) . This new method can be used to create a custom require function that will resolve modules relative to the filename path. #19360
  • process
    • Added a 'multipleResolves' process event that is emitted whenever a Promise is attempted to be resolved multiple times, e.g. if the resolve and reject functions are both called in a Promise executor. #22218
  • url
    • Added url.fileURLToPath(url) and url.pathToFileURL(path) . These methods can be used to correctly convert between file: URLs and absolute paths. #22506
  • util
    • Added the sorted option to util.inspect() . If set to true , all properties of an object and Set and Map entries will be sorted in the returned string. If set to a function, it is used as a compare function. #22788
    • The util.instpect.custom symbol is now defined in the global symbol registry as Symbol.for('nodejs.util.inspect.custom') . #20857
    • Added support for BigInt numbers in util.format() . #22097
  • V8 API
    • A number of V8 C++ APIs have been marked as deprecated since they have been removed in the upstream repository. Replacement APIs are added where necessary. #23159
  • Windows
    • The Windows msi installer now provides an option to automatically install the tools required to build native modules. #22645
  • Workers
    • Debugging support for Workers using the DevTools protocol has been implemented. #21364
    • The public inspector module is now enabled in Workers. #22769
  • Added new collaborators :

Commits

Windows 32-bit Installer: https://nodejs.org/dist/v10.12.0/node-v10.12.0-x86.msi

Windows 64-bit Installer: https://nodejs.org/dist/v10.12.0/node-v10.12.0-x64.msi

Windows 32-bit Binary: https://nodejs.org/dist/v10.12.0/win-x86/node.exe

Windows 64-bit Binary: https://nodejs.org/dist/v10.12.0/win-x64/node.exe

macOS 64-bit Installer: https://nodejs.org/dist/v10.12.0/node-v10.12.0.pkg

macOS 64-bit Binary: https://nodejs.org/dist/v10.12.0/node-v10.12.0-darwin-x64.tar.gz

Linux 64-bit Binary: https://nodejs.org/dist/v10.12.0/node-v10.12.0-linux-x64.tar.xz

Linux PPC LE 64-bit Binary: https://nodejs.org/dist/v10.12.0/node-v10.12.0-linux-ppc64le.tar.xz

Linux s390x 64-bit Binary: https://nodejs.org/dist/v10.12.0/node-v10.12.0-linux-s390x.tar.xz

AIX 64-bit Binary: https://nodejs.org/dist/v10.12.0/node-v10.12.0-aix-ppc64.tar.gz

SunOS 64-bit Binary: https://nodejs.org/dist/v10.12.0/node-v10.12.0-sunos-x64.tar.xz

ARMv6 32-bit Binary: https://nodejs.org/dist/v10.12.0/node-v10.12.0-linux-armv6l.tar.xz

ARMv7 32-bit Binary: https://nodejs.org/dist/v10.12.0/node-v10.12.0-linux-armv7l.tar.xz

ARMv8 64-bit Binary: https://nodejs.org/dist/v10.12.0/node-v10.12.0-linux-arm64.tar.xz

Source Code: https://nodejs.org/dist/v10.12.0/node-v10.12.0.tar.gz

Other release files: https://nodejs.org/dist/v10.12.0/

Documentation: https://nodejs.org/docs/v10.12.0/api/

SHASUMS

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

eb8cb1aa1f3ee9bc376d3654ce6410980e9c42b5d09eddca73f5d624bec22861  node-v10.12.0-aix-ppc64.tar.gz
f275c901b9aeaacea2bf22648329c2e9ade5e1ff63a446b83446d5d4e19464cc  node-v10.12.0-darwin-x64.tar.gz
4ae6608a149a3005864a31fa4f462d49cd833814c561aa3ab22757519f62d5c1  node-v10.12.0-darwin-x64.tar.xz
903d0a0d28c82907bcc0bf500384096dcf330f55a78589a532658fd43dd92cc2  node-v10.12.0-headers.tar.gz
9432aa34583a3b19ca9be8229676ff138223872e4c2412976d00fc36e4b54f34  node-v10.12.0-headers.tar.xz
35108e762de4d449ae012c69c5927023806b2e447070d712630e78ab1f1d2cd5  node-v10.12.0-linux-arm64.tar.gz
b327deca4e380559c8c1fbacb9e668b49127ea998de4c8fe83912838cf786786  node-v10.12.0-linux-arm64.tar.xz
b051ddfb00fa949c0201821e36f963be9f2b763e240dbdcaa4aa03cfa1ef8a85  node-v10.12.0-linux-armv6l.tar.gz
88b507572b151fe02b450d4b6fb1fa7b54adb65392845045dd247a0c012f56c8  node-v10.12.0-linux-armv6l.tar.xz
09125bb4a8e80a4b04f6723014a7e33d334fee83bf8e187e25352279dcc0f0a7  node-v10.12.0-linux-armv7l.tar.gz
8497633db68a26ae0cc57791dc06a60e2d6a9319b19cfa717d2eb822952afc7a  node-v10.12.0-linux-armv7l.tar.xz
8731c5b1fe53874378f8888e9b75196a8c22a5d7e67be9be459cae92a784c7b6  node-v10.12.0-linux-ppc64le.tar.gz
9a0558fcbd63bf582125a402ca3b31ae0ac13261ba66eb34c5fe0755ae0a90d6  node-v10.12.0-linux-ppc64le.tar.xz
1da89b1617a03cec8b6c497352afb9eb2578b5ae539433bc945d0eb642f7119f  node-v10.12.0-linux-s390x.tar.gz
39bcdc9a46245bfdf651714a49e840ed5505aedc5f1f9cc80e4d2afecd3ac9b3  node-v10.12.0-linux-s390x.tar.xz
8d13d57aaf95177e97d29c0944d79a17de8c3a31ba3fe88d1846cfd907e52111  node-v10.12.0-linux-x64.tar.gz
4eba2e9a6db95745b769915d58e57df6ca6724ec1f023f76556fce30ceca2367  node-v10.12.0-linux-x64.tar.xz
a22893b99cef0dd8718dc471d0a54b768f5c5da0135f004d0d222b186b237ba3  node-v10.12.0.pkg
d459688a5539bfc65977657d198615ffd4da21bdd6a53ec92ee301943a33c53a  node-v10.12.0-sunos-x64.tar.gz
d308134ff457fe781bc60c8a277ac39eec4f6514ad08ba4de36f0ec49eaace0b  node-v10.12.0-sunos-x64.tar.xz
c6552b95062f5e9f3a27da6fdb57914ab4b27a9aa2e783fb050791166554d059  node-v10.12.0.tar.gz
d9cd890d6c3b060f7a5497a522564328fe73ec39dda082f41c4141a73ac30ae4  node-v10.12.0.tar.xz
2d6f1b952d48a89d34a18b05cdef0af4f7ab13ba8c4f8dc42a458ea15023f645  node-v10.12.0-win-x64.7z
44c938cf1409562d25d23b7c6bce110b53cd2a73774bed573b2979f0d88f51f8  node-v10.12.0-win-x64.zip
c376c7e3fe5de91c5e71fd4c7324f705679eb9899850851b93c2292eb85b4594  node-v10.12.0-win-x86.7z
2cb4521b904f0e711ca76fcee70e40d4c23a48ce84cf09a867e65a01deff4f4a  node-v10.12.0-win-x86.zip
21fcc88b9af133b0ecdf03a0cdf965ad5f2a547759096fb3b050be4ca871de8f  node-v10.12.0-x64.msi
a12d102d85a6d317a7462a2e453ddbc934e0b5255368493535f49ee64ffbcbc7  node-v10.12.0-x86.msi
f52da19ae108f7113808698156dd8a9153ae5af5fba8005fdebd437788e2eea5  win-x64/node.exe
23143ab50dba73be1ac5322e748f94e491fa7f99b04102abeb6a59a593544157  win-x64/node.lib
557b9213079a6f6052ff8eb2800b52224a4b540a148f02a0c0ee3c7c7604a2c5  win-x64/node_pdb.7z
ac43b58e67552ff1d7dde41e6f8bf4cdc88112d71ebf3d6a585c9d2f744e8814  win-x64/node_pdb.zip
9aa54215250da53f9e6e1099eff29ad6d6428616b5acd8f6a501ed78375bb99e  win-x86/node.exe
531df749aaeb0f90c7c6fff85d65c6a7ee213fb32346c95030ee25c168a7ab68  win-x86/node.lib
ed07d34aec38f0db8e46527a1ad0dda888e3225cbde1f7e601628a13da2cc7ab  win-x86/node_pdb.7z
56bbff589740b76c3dc34f5d7adce04d2a1f5c15846b95af5391c779b1408bb1  win-x86/node_pdb.zip
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEj8yhP+8dDC6RAI4Jdw96mlrhVgAFAlu+bbIACgkQdw96mlrh
VgB6TxAAjlUJuo7kC2Gh8wnRT3Fz+6U2pU33qR5aZef5nsBVlUNtlF+2x5UuEAPA
ytyMNlPxHEfaJ0CwN29nBCsZEjQ+Jz2gZdf7xsER0zeifrYyY6uoM+ioNt4GQnMb
Gn6wHrkdhx4+3a77Hsqtf5DGtgGM+whe1jt3UEei9qWT+fS+O8YHJzCi5wgbN35m
yyZBlfNwd+7dsk5JbtnKhIDCZdka4CBSo0dMEG0LN7nJGE2m20+KTkvdPJpNuWhH
vPXxXA9wDd/X/NFZwZEPcbe/Liog+wn/EtxcN7ageYZ+NfMyZVbyGWY9vZxnj5Ql
l6ZgXoO6bp7I2EVoPXCCeH0Qslfnsvq6vxLa8LOG3jyAGB+dp786pFMc+sqgr4EF
rSFvQBOCMZYHSo5368Z2dX4LzxTAyV//gdVjjyJ+1McXwBG4khQBwO1HMZ9JWqQO
dygCI7myJKtC/qh+k3hUt7EQCUSyrAn3PsRWhG5r0yjNe8oUV9pPxdqC65DSU0/7
vtdHXwbJs1ogsrhYmXy09EI+gZ/dWN5jkXBLpBlE0LOFm+qTGhA9vcQgd5MlWYLJ
/dp4ayQ6tOXOXntDCl6+JpmwzHHE/oaiIDY0CwfOGBrqI/LL0qrSs8x+NABstBc5
/DnoqNE/y6BvlB0ioU+aT9yISxws+PNxG213MFAW7g3iaC5WK4k=
=24k0
-----END PGP SIGNATURE-----

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK