皇上,还记得我吗?我就是1999年那个Linux伊甸园啊-----24小时滚动更新开源资讯,全年无休!

Node.js v11.0.0 正式发布!

Node.js v11.0.0 已正式发布 !该版本主要侧重于对内部和性能方面的改进,以及升级到 V8 7.0 版本。

值得注意的是,从该版本起,Node.js 不再支持 FreeBSD 10。

值得关注的更新:

  • Build
    • FreeBSD 10 is no longer supported. #22617
  • child_process
    • The default value of the windowsHide option has been changed to true#21316
  • console
    • console.countReset() will emit a warning if the timer being reset does not exist. #21649
    • console.time() will no longer reset a timer if it already exists. #20442
  • Dependencies
    • V8 has been updated to 7.0. #22754
  • fs
    • The fs.read() method now requires a callback. #22146
    • The previously deprecated fs.SyncWriteStream utility has been removed.#20735
  • http
    • The httphttps, and tls modules now use the WHATWG URL parser by default. #20270
  • General
    • Use of process.binding() has been deprecated. Userland code using process.binding() should re-evaluate that use and begin migrating. If there are no supported API alternatives, please open an issue in the Node.js GitHub repository so that a suitable alternative may be discussed.
    • An experimental implementation of queueMicrotask() has been added. #22951
  • Internal
    • Windows performance-counter support has been removed. #22485
    • The --expose-http2 command-line option has been removed. #20887
  • Timers
    • Interval timers will be rescheduled even if previous interval threw an error. #20002
    • nextTick queue will be run after each immediate and timer. #22842
  • util
    • The WHATWG TextEncoder and TextDecoder are now globals. #22281
    • util.inspect() output size is limited to 128 MB by default. #22756
    • A runtime warning will be emitted when NODE_DEBUG is set for either http or http2#21914

点此查看完整的更新日志

下载地址:https://nodejs.org/en/download/current/

转自 https://www.oschina.net/news/101115/nodejs-11-0-0-released

分享到:更多 ()