io.js 1.6.0 发布,类似node.js的服务器端 JS 引擎

n7w77 10年前

io.js 1.6.0 发布,此版本现已提供下载:https://github.com/iojs/io.js/archive/v1.6.0.zip

值得关注的更新如下:

  • node: a new -r or --require command-line option can be used to pre-load modules at start-up (Ali Ijaz Sheikh) #881.

  • querystring: parse() and stringify() are now faster (Brian White) #847.

  • http: the http.ClientRequest#flush() method has been deprecated and replaced with http.ClientRequest#flushHeaders() to match the same change now in Node.js v0.12 as per joyent/node#9048 (Yosuke Furukawa) #1156.

  • net: allow server.listen() to accept a String option for port, e.g. { port: "1234" }, to match the same option being accepted in net.connect() as of joyent/node#9268 (Ben Noordhuis) #1116.

  • tls: further work on the reported memory leak although there appears to be a minor leak remaining for the use-case in question, track progress at #1075.

  • v8: backport a fix for an integer overflow when --max_old_space_size values above 4096 are used (Ben Noordhuis) #1166.

  • platforms: the io.js CI system now reports passes on FreeBSD and SmartOS (Solaris).

  • npm: upgrade npm to 2.7.1. See npm CHANGELOG.md for details. Summary:

    • 6823807 #7121 npm install --save for Git dependencies saves the URL passed in, instead of the temporary directory used to clone the remote repo. Fixes using Git dependencies when shrinkwwapping. In the process, rewrote the Git dependency caching code. Again. No more single-letter variable names, and a much clearer workflow. (@othiym23)

    • abdd040 read-package-json@1.3.2: Provide more helpful error messages when JSON parse errors are encountered by using a more forgiving JSON parser than JSON.parse. (@smikes)

    • c56cfcd #7525 npm dedupe handles scoped packages. (@KidkArolis)

    • 4ef1412 #7075 If you try to tag a release as a valid semver range, npm publish and npm tag will error early instead of proceeding. (@smikes)

更多内容请看发行说明

IO.js 是为 V8 引擎编写的基于事件 IO 的实现,拆分自node.js。

构建要求:

* `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/news/60704/io-js-1-6-0