Node.js 9.3.0 已发布,Node.js 是一个基于 Chrome V8 引擎的 JavaScript 运行时。 Node.js 使用高效、轻量级的事件驱动、非阻塞 I/O 模型。
主要更新内容如下:
async_hooks:
add trace events to async_hooks (Andreas Madsen)
add provider types for net server (Andreas Madsen)
console:
console.debug can now be used outside of the inspector (Benjamin Zaslavsky)
deps:
upgrade libuv to 1.18.0 (cjihrig)
patch V8 to 6.2.414.46 (Myles Borins)
module:
module.builtinModules will return a list of built in modules (Jon Moss)
n-api:
add helper for addons to get the event loop (Anna Henningsen)
process:
process.setUncaughtExceptionCaptureCallback can now be used to customize behavior for --abort-on-uncaught-exception (Anna Henningsen)
A signal handler is now able to receive the signal code that triggered the handler. (Robert Rossmann)
src:
embedders can now use Node::CreatePlatform to create an instance of NodePlatform (Cheng Zhao)
stream:
writable.writableHighWaterMark and readable.readableHighWaterMark will return the values the stream object was instantiated with (Calvin Metcalf)
Added new collaborators
maclover7 Jon Moss
guybedford Guy Bedford
hashseed Yang Guo
完整更新内容及下载地址:https://nodejs.org/en/blog/release/v9.3.0/
来自:开源中国社区

