转载

io.js 2.1.0 发布,服务器 JS 引擎

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() and unref() methods used in 'net' , 'dgram' , 'http' , 'https' and 'tls' now return the current instance instead of undefined (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 by console.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)

文章转载自: 开源中国社区 [ http://www.oschina.net

]

本文标题:io.js 2.1.0 发布,服务器 JS 引擎

本文地址:

http://www.oschina.net/news/62720/io-js-2-1-0

正文到此结束
Loading...