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) #10927buffer.toJSON()
is up to 2859% faster on average. (Brian White) #10895fs.*statSync()
functions are now up to 9.3% faster on average. (Brian White) #11522os.loadavg
is up to 151% faster. (Brian White) #11516process.memoryUsage()
is up to 34% faster. (Brian White) #11497querystring.unescape()
forBuffer
s is 15% faster on average. (Brian White) #10837querystring.stringify()
is up to 7.8% faster on average. (Brian White) #10852querystring.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 nullstatus
when child is terminated by a signal. (cjihrig) #11288- This fixes the behavior to act like
spawn()
does.
- This fixes the behavior to act like
- http:
- 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
- Control characters are now always rejected when using
- node: Heap statistics now support values larger than 4GB. (Ben Noordhuis) #10186
点此查看发布主页,完整版更新内容,请查看 Changelog。
转自 http://www.oschina.net/news/83116/node-js-7-7-4