当前位置

网站首页> 程序设计 > 程序资讯 > 软件更新资讯 > 浏览文章

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

作者:小梦 来源: 网络 时间: 2024-06-28 阅读:

5月23日 西安 OSC 源创会开始报名啦,存储、虚拟机、Docker 等干货分享

io.js 2.0.2 发布,此版本值得关注的改进如下:

  • win,node-gyp: the delay-load hook for windows addons has now been correctly enabled by default, it had wrongly defaulted to off in the release version of 2.0.0 (Bert Belder) #1433

  • os: tmpdir()'s trailing slash stripping has been refined to fix an issue when the temp directory is at '/'. Also considers which slash is used by the operating system. (cjihrig) #1673

  • tls: default ciphers have been updated to use gcm and aes128 (Mike MacCana) #1660

  • build: v8 snapshots have been re-enabled by default as suggested by the v8 team, since prior security issues have been resolved. This should give some perf improvements to both startup and vm context creation. (Trevor Norris) #1663

  • src: fixed preload modules not working when other flags were used before --require (Yosuke Furukawa) #1694

  • dgram: fixed send()'s callback not being asynchronous (Yosuke Furukawa) #1313

  • readline: emitKeys now keeps buffering data until it has enough to parse. This fixes an issue with parsing split escapes. (Alex Kocharin) #1601

  • cluster: works now properly emit 'disconnect' to cluser.worker (Oleg Elifantiev) #1386

  • events: uncaught errors now provide some context (Evan Lucas) #1654

此版本现已提供下载:https://github.com/nodejs/io.js/archive/v2.0.2.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)

热点阅读

网友最爱