io.js 1.6.0 發布,類似node.js的服務器端 JS 引擎

n7w77 9年前發布 | 7K 次閱讀 io.js

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

 本文由用戶 n7w77 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!