io.js 1.5.0 發布,服務器端 JS 引擎

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

IO.js 是為 V8 引擎編寫的基于事件 IO 的實現。io.js就是node.js的一個分支,或者說是替代技術。io.js是node.js是原班開發隊伍由于不滿官方運營商 Joyent 而另起爐灶fork出來的一個分支,它目前來看完全兼容 npm ,和node.js的語法。io.js在其官方主頁 https://iojs.org 上顯示1.0穩定版支持Linux、Win32、Win64和Mac平臺。

io.js 1.5.0 發布,此版本值得關注的改進如下:

  • buffer: 新 Buffer#indexOf() 方法

  • fs: 在 'fs' 方法的  options 對象屬性不再執行一個 hasOwnProperty() 檢測

  • tls: 解決了 PayPal 報告的類似 TLS 的內存泄漏問題

  • npm: 升級 npm 到 2.7.0 版本

    • 145af65#4887 Replace calls to thenode-gyp script bundled with npm by passing the--node-gyp=/path/to/node-gyp option to npm. Swap in pangyp or a version of node-gyp modified to work better with io.js without having to touch npm's code!  (@ackalker)

    • 2f6a1df#1999 Only run stop and startscripts (plus their pre- and post- scripts) when there's no restart script defined. This makes it easier to support graceful restarts of services managed by npm.  (@watilde /@scien)

    • 448efd0#2853 Add support for --dev and--prod to npm ls, so that you can list only the trees of production or development dependencies, as desired. (@watilde)

    • a0a8777#7463 Split the list printed bynpm run-script into lifecycle scripts and scripts directly invoked via npm run-script. (@watilde)

    • a5edc17#6749 init-package-json@1.3.1: Support for passing scopes to npm init so packages are initialized as part of that scope / organization / team. (@watilde)

  • TC: Colin Ihrig (@cjihrig) resigned from the TC due to his desire to do more code and fewer meetings.

已知問題

  • Possible TLS-related memory leak, details at #1075.

  • Windows still reports some minor test failures and we are continuing to address all of these as a priority. See #1005.

  • Surrogate pair in REPL can freeze terminal #690

  • Not possible to build io.js as a static library #686

  • process.send() is not synchronous as the docs suggest, a regression introduced in 1.0.2, see #760 and fix in #774

  • Calling dns.setServers() while a DNS query is in progress can cause the process to crash on a failed assertion #894

詳細內容請看發行說明,此版本現已提供下載:https://github.com/iojs/io.js/archive/v1.5.0.zip

構建要求:

* `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)

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