当前位置: > Linux新闻 >

Node v7.7.4, v6.10.1 和 v4.8.1 发布

时间:2017-03-22 16:39来源:linux.it.net.cn 作者:IT

Node v7.7.4, v6.10.1 和 v4.8.1 发布了。

v7.7.4 值得关注的更新如下:

  • deps: 升级内部地节点检查版本为 1.10.6,包含几个修复程序 (Jan Krems) #11869

  • inspector: 绑定到 0.0.0.0 时使用正确的 WebSocket URL(Eugene Ostroukhov) #11850

  • tls: 修复了在部分读取后手柄被销毁时的 segfault (Ben Noordhuis) #11898

点此查看发布主页,完整版更新内容,请查看 Changelog

v6.10.1:

  • performance: 几个 API 的性能已得到改进

    • Buffer.compare() is up to 35% faster on average. (Brian White) #10927

    • buffer.toJSON() is up to 2859% faster on average. (Brian White) #10895

    • fs.*statSync() functions are now up to 9.3% faster on average. (Brian White) #11522

    • os.loadavg is up to 151% faster. (Brian White) #11516

    • process.memoryUsage() is up to 34% faster. (Brian White) #11497

    • querystring.unescape() for Buffers is 15% faster on average. (Brian White) #10837

    • querystring.stringify() is up to 7.8% faster on average. (Brian White) #10852

    • querystring.parse() is up to 21% faster on average. (Brian White) #10874

  • IPC: Batched writes have been enabled for process IPC on platforms that support Unix Domain Sockets. (Alexey Orlenko) #10677

    • Performance gains may be up to 40% for some workloads.

  • child_process: spawnSync now returns a null status when child is terminated by a signal. (cjihrig) #11288

    • This fixes the behavior to act like spawn() does.

  • http:

    • Control characters are now always rejected when using http.request(). (Ben Noordhuis) #8923

    • Debug messages have been added for cases when headers contain invalid values. (Evan Lucas) #9195

  • node: Heap statistics now support values larger than 4GB. (Ben Noordhuis) #10186

  • timers: Timer callbacks now always maintain order when interacting with domain error handling. (John Barboza) #10522

点此查看发布主页,完整版更新内容,请查看 Changelog

v4.8.1:

  • buffer: The performance of .toJSON() is now up to 2859% faster on average. (Brian White) #10895

  • IPC: Batched writes have been enabled for process IPC on platforms that support Unix Domain Sockets. (Alexey Orlenko) #10677

    • Performance gains may be up to 40% for some workloads.

  • http:

    • Control characters are now always rejected when using http.request(). (Ben Noordhuis) #8923

  • node: Heap statistics now support values larger than 4GB. (Ben Noordhuis) #10186

点此查看发布主页,完整版更新内容,请查看 Changelog

下载地址




(责任编辑:IT)
------分隔线----------------------------
栏目列表
推荐内容