红联Linux门户
Linux帮助

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

发布时间:2017-03-22 09:17:11来源:红联作者:baihuo
Node v7.7.4, v6.10.1 和 v4.8.1 发布了。

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

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

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

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

v6.10.1:

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

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

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

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

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

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

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

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

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

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

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)

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

http:

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

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

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

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

v4.8.1:

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

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

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

http:

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

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

软件详情:https://nodejs.org/

下载地址:https://nodejs.org/en/download/

来自:开源中国社区
文章评论

共有 0 条评论