Node.js 9.6.0 已发布,有以下值得关注的变化:
- async_hooks:
- deps:
- http:
- add options to http.createServer() for
IncomingMessage
andServerReponse
(Peter Marton) #15752
- add options to http.createServer() for
- http2:
- add http fallback options to .createServer (Peter Marton) #15752
- https:
- Adds the remaining options from tls.createSecureContext() to the string generated by Agent#getName(). This allows https.request() to accept the options and generate unique sockets appropriately. (Jeff Principe) #16402
- inspector:
- –inspect-brk for es modules (Guy Bedford) #18194
- lib:
- allow process kill by signal number (Sam Roberts) #16944
- module:
- n-api:
- add methods to open/close callback scope (Michael Dawson) #18089
- src:
- allow –perf-(basic-)?prof in NODE_OPTIONS (Leko) #17600
- vm:
- add support for es modules (Gus Caplan) #17560
下载地址:https://nodejs.org/en/download/current/
转自 http://www.oschina.net/news/93561/nodejs-9-6-0-released