Node.js 8.2.0 已發(fā)布,Node.js 是一個(gè)基于 Chrome V8 引擎的 JavaScript 運(yùn)行時(shí)。 Node.js 使用高效、輕量級(jí)的事件驅(qū)動(dòng)、非阻塞 I/O 模型。
Node.js 8.2.0 有以下值得關(guān)注的更新:
Async Hooks
已經(jīng)對(duì) async_hooks 中的 Promise 支持進(jìn)行了多項(xiàng)改進(jìn)
Build
使用 GCC 構(gòu)建 Node 的編譯器版本要求已經(jīng)升級(jí)到 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 查詢的服務(wù)器現(xiàn)在可以使用自定義端口 [ebe7bb29aa] #13723
添加對(duì) 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ā)布主頁(yè)
下載地址