发布于 2016-12-07 02:29:59 | 80 次阅读 | 评论: 0 | 来源: 网友投递
Node.js 服务器端的JavaScript
Node.js 是一个基于Chrome JavaScript 运行时建立的一个平台, 用来方便地搭建快速的 易于扩展的网络应用· Node.js 借助事件驱动, 非阻塞I/O 模型变得轻量和高效, 非常适合 运行在分布式设备 的 数据密集型 的实时应用
Node v6.9.2、v4.7.0 和 v7.2.1 发布了。
v6.9.2 'Boron' (LTS) 值得关注的更新:
buffer: 强制切片参数(Sakthipriyan Vairamani (thefourtheye)) #9101
deps:
gtest: 测试记录者现在输出点击评论为 yamlish (Johan Bergström) #9262
inspector: 检查器现在提示用户使用 127.0.0.1 而不是 localhost (Eugene Ostroukhov) #9451
tls: 修复在握手期间向 TLSWrap 实例写入数据时的内存泄漏 #9586
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) #7576
debugger: make listen address configurable in the debugger server (Ben Noordhuis) #3316
dgram: generalized send queue to handle close fixing a potential throw when dgram socket is closed in the listening event handler. (Matteo Collina) #7066
http: Introduce the 451 status code "Unavailable For Legal Reasons" (Max Barinov) #4377
tls: introduce secureContext
for tls.connect
which is useful for caching client certificates, key, and CA certificates. (Fedor Indutny) #4246
Notable SEMVER-PATCH changes include:
build:
introduce the configure --shared option for embedders (sxa555) #6994
gtest: the test reporter now outputs tap comments as yamlish (Johan Bergström) #9262
src: node no longer aborts when c-ares initialization fails (Ben Noordhuis) #8710
tls: fix memory leak when writing data to TLSWrap instance during handshake (Fedor Indutny) #9586
v7.2.1 值得关注的更新
buffer:
promise: --trace-warnings
now produces useful stacktraces for Promise warnings. (Anna Henningsen) #9525
repl: Fixed a bug preventing correct parsing of generator functions. (Teddy Katz) #9852
V8: Fixed a significant instanceof
performance regression. (Franziska Hinkelmann) #9730