io.js 2.1.0 发布,服务器 JS 引擎
6月14日 上海 OSC 源创会开始报名啦,有很多机械键盘送哦!!!
io.js 2.1.0 发布,此版本值得关注的改进:
crypto: Diffie-Hellman key exchange (DHE) parameters (
'dhparams'
) must now be 1024 bits or longer or an error will be thrown. #1739.node: A new
--trace-sync-io
command line flag will print a warning and a stack trace whenever a synchronous API is used. #1707.node: To allow for chaining of methods, the
setTimeout()
,setKeepAlive()
,setNoDelay()
,ref()
andunref()
methods used in'net'
,'dgram'
,'http'
,'https'
and'tls'
now return the current instance instead ofundefined
(Roman Reiss & Evan Lucas) #1699 #1768 #1779.npm: Upgraded to v2.10.1, release notes can be found in https://github.com/npm/npm/releases/tag/v2.10.1 and https://github.com/npm/npm/releases/tag/v2.10.0.
util: A significant speed-up (in the order of 35%) for the common-case of a single string argument to
util.format()
, used byconsole.log()
(Сковорода Никита Андреевич) #1749.
此版本现已提供下载:https://github.com/nodejs/io.js/archive/v2.1.0.zip。
IO.js 是为 V8 引擎编写的基于事件 IO 的实现。
构建要求:
* `gcc` and `g++` 4.8 or newer, or
* `clang` and `clang++` 3.3 or newer
* Python 2.6 or 2.7
* GNU Make 3.81 or newer
* libexecinfo (FreeBSD and OpenBSD only)