Node.js v11.0.0 正式发布!

栏目: 软件资讯 · 发布时间: 7年前

内容简介:Node.js v11.0.0 已正式发布!该版本主要侧重于对内部和性能方面的改进,以及升级到 V8 7.0 版本。 值得注意的是,从该版本起,Node.js 不再支持 FreeBSD 10。 值得关注的更新: Build FreeBSD 10 is no longer ...

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/

Node.js 是一个基于 Chrome V8 引擎的 JavaScript 运行时。 Node.js 使用高效、轻量级的事件驱动、非阻塞 I/O 模型。


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

世界是数字的

世界是数字的

[美] Brian W. Kernighan / 李松峰、徐建刚 / 人民邮电出版社 / 2013-6 / 49.00

家用电器、汽车、飞机、相机、手机、GPS 导航仪,还有游戏机,虽然你看不见,但这些设备都有计算能力。手机通信网络、有线电视网络、空中交通管制系统、电力系统、银行和金融服务系统等基础设施背后无一不是计算机在支撑。如今的世界是数字的,而计算机和计算无处不在。这本书就是要告诉大家数字世界有关计算机的一切。本书没有高深莫测的专业术语,但它全面解释了当今计算和通信领域的工作方式,包括硬件、软件、互联网、通信......一起来看看 《世界是数字的》 这本书的介绍吧!

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具