Node.js 8.2.0 已發(fā)布,Node.js 是一個基于 Chrome V8 引擎的 JavaScript 運行時。 Node.js 使用高效、輕量級的事件驅動、非阻塞 I/O 模型。
Node.js 8.2.0 有以下值得關注的更新:
Async Hooks
已經(jīng)對 async_hooks 中的 Promise 支持進行了多項改進
Build
使用 GCC 構建 Node 的編譯器版本要求已經(jīng)升級到 GCC 4.9.4 [820b011ed6] #13466
Cluster
Users now have more fine-grained control over the inspector port used by individual cluster workers. Previously, cluster workers were restricted to incrementing from the master's debug port. [dfc46e262a]#14140
DNS
用于 DNS 查詢的服務器現(xiàn)在可以使用自定義端口 [ebe7bb29aa] #13723
添加對 dns.resolveAny() 的支持 [6e30e2558e] #13137
npm
The npm CLI has been updated to version 5.3.0. In particular, it now comes with the npx binary, which is also shipped with Node. [dc3f6b9ac1] #14235
發(fā)布主頁
下載地址