Node v6.9.2、v4.7.0 和 v7.2.1 发布了。Node.js 是一套用来编写高性能网络服务器的 JavaScript 工具包。
v6.9.2 'Boron' (LTS) 值得关注的更新:
buffer: 强制切片参数(Sakthipriyan Vairamani (thefourtheye))
deps:
从 V8 上游 cherry-pick 3c39bac (Cristian Cavalli)
从 V8 上游 cherry-pick 7166503 (Cristian Cavalli)
npm: 升级 npm 至 3.10.9 (Kat Marchán)
V8: 解构边缘情况的各种修复
gtest: 测试记录者现在输出点击评论为 yamlish (Johan Bergström)
inspector: 检查器现在提示用户使用 127.0.0.1 而不是 localhost (Eugene Ostroukhov)
tls: 修复在握手期间向 TLSWrap 实例写入数据时的内存泄漏
v4.7.0 'Argon' (LTS) 值得关注的更新:
The SEMVER-MINOR changes include:
build: export openssl symbols on Windows making it possible to build addons linking against the bundled version of openssl (Alex Hultman)
debugger: make listen address configurable in the debugger server (Ben Noordhuis)
dgram: generalized send queue to handle close fixing a potential throw when dgram socket is closed in the listening event handler. (Matteo Collina)
http: Introduce the 451 status code "Unavailable For Legal Reasons" (Max Barinov)
tls: introduce secureContext for tls.connect which is useful for caching client certificates, key, and CA certificates. (Fedor Indutny)
Notable SEMVER-PATCH changes include:
build:
introduce the configure --shared option for embedders (sxa555)
gtest: the test reporter now outputs tap comments as yamlish (Johan Bergström)
src: node no longer aborts when c-ares initialization fails (Ben Noordhuis)
tls: fix memory leak when writing data to TLSWrap instance during handshake (Fedor Indutny)
v7.2.1 值得关注的更新
buffer:
Reverted the runtime deprecation of calling Buffer() without new. (Anna Henningsen)
Fixed buffer.transcode() for single-byte character encodings to UCS2. (Anna Henningsen)
promise: --trace-warnings now produces useful stacktraces for Promise warnings. (Anna Henningsen)
repl: Fixed a bug preventing correct parsing of generator functions. (Teddy Katz)
V8: Fixed a significant instanceof performance regression. (Franziska Hinkelmann)
软件详情:https://nodejs.org/en/
下载地址:https://nodejs.org/en/blog/release/
来自:开源中国社区

