博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
[译]Node v5.1.0 (Stable)发布
阅读量:6213 次
发布时间:2019-06-21

本文共 12748 字,大约阅读时间需要 42 分钟。

原文: by Jeremiah Senkpiel

主要改动

  • buffer: noAssert选项对许多Buffer函数将静默地减少无效写入数据,而不是造成崩溃 (P.S.V.R) .

    • 这使得行为符合文档的建议。
  • child_process: child.send()现在像文档建议的那样,正确地返回一个boolean (Rich Trott) .
  • doc: 所有的API文档已经被重新排序,所以可以按照字母顺序进行阅读了。 (Tristian Flanagan) .
  • http_parser: 升级http-parser,从2.5.0到2.6.0 (James M Snell) .

    • 现在支持这些HTTP方法了:LINK, UNLINK, BIND, REBIND, UNBIND.
    • 也添加了ACL和IPv6 Zone ID的支持.
  • npm: 升级npm,从v3.3.6到3.3.12 (Rebecca Turner) .

    • 查看更多的发布日志请参见: , , , , , 和
  • repl: 如果文件无法打开,REPL不会再崩溃。 (Evan Lucas) .
  • tls: 默认的sessionIdContext在FIPS模式下现在使用SHA1,而不是MD5 (Stefan Budeanu) .
  • v8: 添加了一些更有用的事后剖析数据 (Fedor Indutny) .

Known issues

  • Surrogate pair in REPL can freeze terminal.
  • 当一个DNS查询正在进行中时,调用dns.setServers()会因为一个失败的断言导致进程崩溃。
  • url.resolve may transfer the auth portion of the url when resolving between two full hosts, see .
  • 在文件路径中的Unicode字符在跨平台或跨API之间还没有一致地处理。参见 , 和 .

Commits

  • ] - async_wrap: call callback in destructor (Trevor Norris)
  • ] - async_wrap: new instances get uid (Trevor Norris)
  • ] - async_wrap: allow some hooks to be optional (Trevor Norris)
  • ] - buffer: let WriteFloatGeneric silently drop values (P.S.V.R)
  • ] - buffer: neuter external nullptr buffers (Fedor Indutny)
  • ] - build: fix configuring with prebuilt libraries (Markus Tzoe)
  • ] - build: fix --with-intl=system-icu for x-compile (Steven R. Loomis)
  • ] - build: omit -gline-tables-only for --enable-asan (Ben Noordhuis)
  • ] - child_process: add safety checks on stdio access (cjihrig)
  • ] - child_process: don't fork bomb ourselves from -e (Ben Noordhuis)
  • ] - cluster: send suicide message on disconnect (cjihrig)
  • ] - cluster: remove handles when disconnecting worker (Ben Noordhuis)
  • ] - console: use 'label' argument for time and timeEnd (Roman Reiss)
  • ] - crypto: DSA parameter validation in FIPS mode (Stefan Budeanu)
  • ] - crypto: Improve error checking and reporting (Stefan Budeanu)
  • ] - debugger: also exit when the repl emits 'exit' (Felix Böhm)
  • ] - deps: backport bc2e393 from v8 upstream (evan.lucas)
  • ] - deps: cherry-pick 68e89fb from v8's upstream (Fedor Indutny)
  • ] - deps: update V8 to 4.6.85.31 (Michaël Zasso)
  • ] - deps: upgrade npm to 3.3.12 (Rebecca Turner)
  • ] - (SEMVER-MINOR) deps: update http-parser to 2.6.0 (James M Snell)
  • ] - deps: upgrade npm to 3.3.10 (Rebecca Turner)
  • ] - dns: prevent undefined values in results (Junliang Yan)
  • ] - doc: document release types in readme (Rod Vagg)
  • ] - doc: replace head of readme with updated text (Rod Vagg)
  • ] - doc: sort repl alphabetically (Tristian Flanagan)
  • ] - doc: address use of profanity in code of conduct (James M Snell)
  • ] - doc: consistent reference-style links (Bryan English)
  • ] - doc: add link to [customizing util.inspect colors]. (Jesse McCarthy)
  • ] - doc: Updated streams simplified constructor API (Tom Gallacher)
  • ] - doc: add warning about Windows process groups (Roman Klauke)
  • ] - doc: added what buf.copy returns (Manuel B)
  • ] - doc: reword message.headers to indicate they are not read-only (Tristian Flanagan)
  • ] - doc: clarify duplicate header handling (Bryan English)
  • ] - doc: repl: add defineComand and displayPrompt (Bryan English)
  • ] - doc: sort tls alphabetically (Tristian Flanagan)
  • ] - doc: sort stream alphabetically (Tristian Flanagan)
  • ] - doc: sort net alphabetically (Tristian Flanagan)
  • ] - doc: sort process alphabetically (Tristian Flanagan)
  • ] - doc: sort zlib alphabetically (Tristian Flanagan)
  • ] - doc: sort util alphabetically (Tristian Flanagan)
  • ] - doc: sort https alphabetically (Tristian Flanagan)
  • ] - doc: sort http alphabetically (Tristian Flanagan)
  • ] - doc: sort modules alphabetically (Tristian Flanagan)
  • ] - doc: sort readline alphabetically (Tristian Flanagan)
  • ] - doc: sort repl alphabetically (Tristian Flanagan)
  • ] - doc: sort string_decoder alphabetically (Tristian Flanagan)
  • ] - doc: sort timers alphabetically (Tristian Flanagan)
  • ] - doc: sort tty alphabetically (Tristian Flanagan)
  • ] - doc: sort url alphabetically (Tristian Flanagan)
  • ] - doc: sort vm alphabetically (Tristian Flanagan)
  • ] - doc: sort querystring alphabetically (Tristian Flanagan)
  • ] - doc: sort punycode alphabetically (Tristian Flanagan)
  • ] - doc: sort path alphabetically (Tristian Flanagan)
  • ] - doc: sort os alphabetically (Tristian Flanagan)
  • ] - doc: sort globals alphabetically (Tristian Flanagan)
  • ] - doc: sort fs alphabetically (Tristian Flanagan)
  • ] - doc: sort events alphabetically (Tristian Flanagan)
  • ] - doc: sort errors alphabetically (Tristian Flanagan)
  • ] - doc: sort dgram alphabetically (Tristian Flanagan)
  • ] - doc: sort crypto alphabetically (Tristian Flanagan)
  • ] - doc: sort dns alphabetically (Tristian Flanagan)
  • ] - doc: sort console alphabetically (Tristian Flanagan)
  • ] - doc: sort cluster alphabetically (Tristian Flanagan)
  • ] - doc: sort child_process alphabetically (Tristian Flanagan)
  • ] - doc: sort buffer alphabetically (Tristian Flanagan)
  • ] - doc: sort assert alphabetically (Tristian Flanagan)
  • ] - doc: add note to util.isBuffer (Evan Lucas)
  • ] - doc: Describe FIPSDIR environment variable (Stefan Budeanu)
  • ] - doc: update lts description in the collaborator guide (James M Snell)
  • ] - doc: add note on tls connection meta data methods (Tyler Henkel)
  • ] - doc: add romankl to collaborators (Roman Klauke)
  • ] - doc: add thealphanerd to collaborators (Myles Borins)
  • ] - doc: add saghul as a collaborator (Saúl Ibarra Corretgé)
  • ] - doc: add method links in events.markdown (Alejandro Oviedo)
  • ] - doc: add caveats of algs and key size in crypto (Shigeki Ohtsu)
  • ] - doc: stdout/stderr can block when directed to file (Ben Noordhuis)
  • ] - doc: rename iojs- groups to nodejs- (Steven R. Loomis)
  • ] - doc: fix wrong date and known issue in changelog.md (James M Snell)
  • ] - doc: fix function param order in assert doc (David Woods)
  • ] - doc: typo fix in readme.md (Sam P Gallagher-Bishop)
  • ] - doc: add note about timeout delay > TIMEOUT_MAX (Guilherme Souza)
  • ] - doc: fix crypto spkac function descriptions (Jason Gerfen)
  • ] - doc: add final full stop in CONTRIBUTING.md (Emily Aviva Kapor-Mater)
  • ] - doc: made code spans more visible in the API docs (phijohns)
  • ] - docs: improve discoverability of Code of Conduct (Ashley Williams)
  • ] - docs: fs - change links to buffer encoding to Buffer class anchor (fansworld-claudio)
  • ] - docs: fs - remove encoding list and link to buffer (fansworld-claudio)
  • ] - fs: return null error on readFile() success (Zheng Chaoping)
  • ] - gitignore: don't ignore 'debug' in deps/npm (Rebecca Turner)
  • ] - http: remove unneeded cb check from setTimeout() (Ashok Suthar)
  • ] - lib: return boolean from child.send() (Rich Trott)
  • ] - module: cache regular expressions (Evan Lucas)
  • ] - module: remove unnecessary JSON.stringify (Andres Suarez)
  • ] - querystring: Parse multiple separator characters (Yosuke Furukawa)
  • ] - repl: To exit, press ^C again or type .exit. (Hemanth.HM)
  • ] - repl: don't crash if cannot open history file (Evan Lucas)
  • ] - src: Add missing va_end before return (Ömer Fadıl Usta)
  • ] - src: force line buffering for stderr (Rich Trott)
  • ] - src: Revert "nix stdin _readableState.reading" (Roman Reiss)
  • ] - src: wrap source before doing syntax check (Evan Lucas)
  • ] - Revert "src: fix stuck debugger process" (Ben Noordhuis)
  • ] - test: move test-specific function out of common (Rich Trott)
  • ] - test: fix flaky SmartOS test (Rich Trott)
  • ] - test: skip test if FreeBSD jail will break it (Rich Trott)
  • ] - test: fix path to module for repl test on Windows (Michael Cornacchia)
  • ] - test: increase crypto strength for FIPS standard (Stefan Budeanu)
  • ] - test: add test-zlib-flush-drain (Myles Borins)
  • ] - test: add hasFipsCrypto to test/common.js (Stefan Budeanu)
  • ] - test: add test for invalid DSA key size (Stefan Budeanu)
  • ] - test: Fix test-cluster-worker-exit.js for AIX (Imran Iqbal)
  • ] - test: run pipeline flood test in parallel (Rich Trott)
  • ] - test: stronger crypto in test fixtures (Stefan Budeanu)
  • ] - test: refactor test-http-pipeline-flood (Rich Trott)
  • ] - test: fix flaky test test-http-pipeline-flood (Devin Nakamura)
  • ] - test: enhance fs-watch-recursive test (Sakthipriyan Vairamani)
  • ] - test: fix test-module-loading-error for musl (Hugues Malphettes)
  • ] - test: use really invalid hostname (Sakthipriyan Vairamani)
  • ] - test: fix test-net-persistent-keepalive for AIX (Imran Iqbal)
  • ] - test: more regression tests for minDHSize option (Ben Noordhuis)
  • ] - test: add regression test for 512 bits DH key (Ben Noordhuis)
  • ] - test: mark http-pipeline-flood flaky (Rich Trott)
  • ] - test: remove flaky designation from ls-no-sslv3 (Rich Trott)
  • ] - test: add regression test for --debug-brk -e 0 (Ben Noordhuis)
  • ] - tls: Use SHA1 for sessionIdContext in FIPS mode (Stefan Budeanu)
  • ] - tls: copy client CAs and cert store on CertCb (Fedor Indutny)
  • ] - tools: add tap output to cpplint (Johan Bergström)
  • ] - tools: enforce throw new Error() with lint rule (Rich Trott)
  • ] - tools: Use throw new Error() consistently (Rich Trott)
  • ] - tools: update npm test tooling for 3.3.10+ (Rebecca Turner)
  • ] - tools: fix gyp to work on MacOSX without XCode (Shigeki Ohtsu)
  • ] - tools: update gyp to b3cef02 (Imran Iqbal)
  • ] - util: use Object.create(null) for dictionary object (Minwoo Jung)
  • ] - util: use regexp instead of str.replace().join() (qinjia)
  • ] - zlib: only apply drain listener if given callback (Craig Cavalier)
  • ] - zlib: pass kind to recursive calls to flush (Myles Borins)

Windows 32-bit Installer:

Windows 64-bit Installer:
Windows 32-bit Binary:
Windows 64-bit Binary:
Mac OS X 64-bit Installer:
Mac OS X 64-bit Binary:
Linux 32-bit Binary:
Linux 64-bit Binary:
SunOS 32-bit Binary:
SunOS 64-bit Binary:
ARMv6 32-bit Binary:
ARMv7 32-bit Binary:
ARMv8 64-bit Binary:
Source Code:
Other release files:
Documentation:

Shasums (GPG signing hash: SHA512, file hash: SHA256):

-----BEGIN PGP SIGNED MESSAGE-----Hash: SHA5124752961731e579a26dd45d765f76e67f70683b0026c0035fc4c30d70c7baf4f0  node-v5.1.0-darwin-x64.tar.gzb5fe63b95720c4d76cfeba06fabbea2cc30ad346ce3c781476b55c1edae4512d  node-v5.1.0-darwin-x64.tar.xz2dd57f72e3dc7bcce841b2390edd6c8e6257ec41ed85aa4ad4d380a3685cb768  node-v5.1.0-headers.tar.gzf2c631510630f20b1ccd5f4abb3d63676bc6eec136423ebca87bc938578f10d9  node-v5.1.0-headers.tar.xz8e6eb18b4499c4c509b4132d3393121a7d344d4053400798614c843977696ff3  node-v5.1.0-linux-arm64.tar.gz9474ffa69fdd737570123558ed28933ab0c08e5b8ee9f8592a104db095daff33  node-v5.1.0-linux-arm64.tar.xza6a64bf9d2e6b792505841b187eeb1c3ac971551840dab2a9a4a4719d1e7d150  node-v5.1.0-linux-armv6l.tar.gz0d1a715ae7b4bc4dc4c2dde448cbd2bbde235d30f0c52ee8ec820840493db2a3  node-v5.1.0-linux-armv6l.tar.xzc7bbb8c51bdaf9b46daffbebdc889ce561c8f7b6cdd3c804c5e8cb7314a4d40d  node-v5.1.0-linux-armv7l.tar.gzba9f8443eaf46ca13454a568174da28591a01fd6e4bfeffdee2a77610d1a54b1  node-v5.1.0-linux-armv7l.tar.xz510e7a2e8639a3ea036f5f6a9f7a66037e3acf8d0c953aeac8d093dea7e41d4c  node-v5.1.0-linux-x64.tar.gzf08c2cadb965a4f85700e1b3a8645faf3192e8fefe5c740b4c581c0d6110ced1  node-v5.1.0-linux-x86.tar.gza1088d6968a57a5e19c66628561c57825a7251045f3d20ab768b87c657bb87a0  node-v5.1.0.pkgeb4497a705e720e38ee71580c94c9d911922211dd5819eeb55d217f4f4839b69  node-v5.1.0-sunos-x64.tar.gzc59b474c8c43ceb0a368f07419f60f488f4b931ad43da1e4c8ac434c405b9ed6  node-v5.1.0-sunos-x64.tar.xzd51d05e57e77ca780f43e315a5477eee9fbb954822f473985ff6a8ce5d3b05ca  node-v5.1.0-sunos-x86.tar.gz7ebd42449b8998aae13b2741a7878b80b4e6b94fd693461800b4fe80adc4bb11  node-v5.1.0-sunos-x86.tar.xz25b2d3b7dd57fe47a483539fea240a3c6bbbdab4d89a45a812134cf1380ecb94  node-v5.1.0.tar.gz8f1235cfd61828084c0ebea3266faab231e0ec1a748f200a4bcfa02d5263eaea  node-v5.1.0.tar.xzd21c1bdff99c01983646af6f5a1448b81ec12527259a42d0ae5c30eaaf739ccc  node-v5.1.0-x64.msi31dff8ce817ebb7a30ad7a1588aeb7599c077398dad14b06aaaca61af611adae  node-v5.1.0-x86.msi237b38f781e5137b3f76658e1116f74557305d65e09e3211ad0842166a76795b  win-x64/node.exef675ba445f63fa720fb3136de4375393972602dc1806b37470d907a309e414c7  win-x64/node.libcedd73b96045b6c07007946c87725f2f6d98ca7cd92ba7eab9860befb873749a  win-x86/node.exe051086542859f57a829878977253a73b649279e8466f1d0f31ea75c73ff71d4e  win-x86/node.lib-----BEGIN PGP SIGNATURE-----Comment: GPGTools - https://gpgtools.orgiQIcBAEBCgAGBQJWS6BnAAoJEEX17r2BPa6OciwQALg6PWKmWiyNDQdFRzexGk/PsN/MyZ3zdwm+1vz646xQ5CSMeO1Pdhz1StR6SdOe8LWvyyDgF3GgyzMO4tJv5QSWcNei+v4FpqrB70BkCnZL5vorFGe/Sz21bG2ghHvq5qEQ/TRZOlLhpRLsOkfCLh1EYZFq1hwXqnpaM9zCmSCnuJeJokLwYv/LAPKs4pSTfBVzt4vdZu3liL0swsnxNJmutNXK5zSL2fWwa5CQS1Nq0+0i9ZuRcAkpUGN+bkURoo012144/CVK0INqT5+RBhqXAFDpNrZa78dC7wSIDTZgYebeQcAfS2uu4JiPmdV7GZgmMrA0HkxJk+1Kc34egmgFiw6Bs5G1hdDSGuKx4cZ/ObFkgbWMXmNEczbxVZOkIl2EI5yYFYt3qKGjXQJCKkOHmDjFMjJ8M9F6biZyKGfr2XcXs7g+SXB6JuqSAMohLJxjz2TWFwI12UfVP3fMgyTAGAuYzkFAmlTuUQe4kTrK8++XmQPjZtS19GBFwU1DN4v15uAa2mhW09ncU8q+rsI3zQczDfybsZd2umnhlssOCc3pIM+2brQ93ivvJMwX/ASicnDrGV98JfcYKSMnYLK0Dcs8jDyG0ctyoLAZ29Iga0t2EGTbXnJruxAJ4hWYN/Lc94RGxLbSjVqOsGN+sL00DxxpULMDf4Jmojgtg2+1=jm9B-----END PGP SIGNATURE-----

转载地址:http://iapja.baihongyu.com/

你可能感兴趣的文章
Google企业网盘Team Drives面向商业客户开放私测
查看>>
拉格朗日乘数法
查看>>
面对网络攻击,我们为何如此脆弱?
查看>>
智慧城市运营商中创智慧拟挂牌新三板
查看>>
绿色低碳成为数据中心重要发展方向
查看>>
五年后半导体晶体管不再缩小 摩尔定律步入黄昏
查看>>
“第二十一届北大CIO班”结业典礼隆重举行
查看>>
苹果发布系统更新修复激活漏洞
查看>>
拥有高起点的水面光伏会是昙花一现还是厚积薄发?
查看>>
媒体披露安防市场数据也不能随心所欲
查看>>
Check Point推出15000和23000系列安全设备
查看>>
苹果拟在爱尔兰建数据中心 当地居民抗议
查看>>
廊坊交警利用智能交通管控平台助力平安建设工作
查看>>
《EDIUS 6.5快刀手高效剪辑技法》——2.4 EDIUS的工具栏
查看>>
《Tableau数据可视化实战》——1.5节连接SQL Server数据库
查看>>
《NTFS文件系统扇区存储探秘》——1.5 文件目录表FDT
查看>>
《UNIX环境高级编程(第3版)》——2.10 小结
查看>>
12 个最好的免费网站速度和性能测试工具
查看>>
你愿意成为一名全栈设计师吗?
查看>>
SBDoc 2.1.0 发布,添加了导出到html文档的功能
查看>>