发布于 2016-03-10 01:50:54 | 182 次阅读 | 评论: 0 | 来源: 网友投递
Node.js 服务器端的JavaScript
Node.js 是一个基于Chrome JavaScript 运行时建立的一个平台, 用来方便地搭建快速的 易于扩展的网络应用· Node.js 借助事件驱动, 非阻塞I/O 模型变得轻量和高效, 非常适合 运行在分布式设备 的 数据密集型 的实时应用
Node.js 今天发布两个更新版本,分别是:
4.4.0
SEMVER-MINOR 变化包括:
deps:
An update to v8 that introduces a new flag --perf_basic_prof_only_functions (Ali Ijaz Sheikh) #3609
http:
A new feature in http(s) agent that catches errors on keep alived connections (José F. Romaniello) #4482
src:
Better support for Big-Endian systems (Bryon Leung) #3410
tls:
A new feature that allows you to pass common SSL options to tls.createSecurePair
(Коренберг Марк) #2441
tools:
a new flag --prof-process
which will execute the tick processor on the provided isolate files (Matt Loring) #4021
Notable semver patch changes include:
build:
Support python path that includes spaces. This should be of particular interest to our Windows users who may have python living in c:/Program Files
(Felix Becker) #4841
https:
installer:
More readable profiling information from isolate tick logs (Matt Loring) #3032
npm:
upgrade to npm 2.14.20 (Kat Marchán) #5510
process:
Add support for symbols in event emitters. Symbols didn't exist when it was written ¯_(ツ)_/¯ (cjihrig) #4798
querystring:
querystring.parse() is now 13-22% faster! (Brian White) #4675
streams:
performance improvements for moving small buffers that shows a 5% throughput gain. IoT projects have been seen to be as much as 10% faster with this change! (Matteo Collina) #4354
tools:
eslint has been updated to version 2.1.0 (Rich Trott) #5214
5.8.0 值得关注的改进内容:
child_process: send()
now accepts an options parameter (cjihrig) #5283.
Currently the only option is keepOpen
, which keeps the underlying socket open after the message is sent.
constants: ENGINE_METHOD_RSA
is now correctly exposed (Sam Roberts) #5463.
Fixed two regressions which originated in v5.7.0:
repl: start()
no longer requires an options parameter (cjihrig) #5388.
util: Improved format()
performance 50-300% (Evan Lucas) #5360.
相关链接:
https://nodejs.org/en/blog/release/v4.4.0/
https://nodejs.org/en/blog/release/v5.8.0/