io.js 3.2.0 发布

jopen 9年前

io.js可以说是彻底从NodeJS里分离出来的一条分支,其事情始末可以查看这篇报道,此处便也不赘言。既然是分支,io.js便也基本兼容NodeJS的各种API,连执行指令也依旧兼容Node的 node XXX (新指令是 iojs XXX )。不过io.js采纳了最新版本的V8引擎,并也将会时刻跟进V8的更新,也因此我们可以轻松地在io.js上抢先使用那些JavaScript ECMA-262规范上的新特性。


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

  • events: Added EventEmitter#listenerCount(event) as a replacement for EventEmitter.listenerCount(emitter, event), which has now been marked as deprecated in the docs. (Sakthipriyan Vairamani) #2349

  • module: Fixed an error with preloaded modules when the current working directory doesn't exist. (Bradley Meck) #2353

  • node: Startup time is now about 5% faster when not passing V8 flags. (Evan Lucas) #2483

  • repl: Tab-completion now works better with arrays. (James M Snell) #2409

  • string_bytes: Fixed an unaligned write in the handling of UCS2 encoding. (Fedor Indutny) #2480

  • tls: Added a new --tls-cipher-list flag that can be used to override the built-in default cipher list. (James M Snell) #2412 Note: it is suggested you use the built-in cipher list as it has been carefully selected to reflect current security best practices and risk mitigation.

更多改进内容请看发行说明,下载:

https://github.com/nodejs/node/archive/v3.2.0.zip