Node.js 8.12.0 已发布,有以下值得关注的更新
- async_hooks:
- rename PromiseWrap.parentId (Ali Ijaz Sheikh) #18633
- remove runtime deprecation (Ali Ijaz Sheikh) #19517
- deprecate unsafe emit{Before,After} (Ali Ijaz Sheikh) #18513
- cluster:
- add cwd to cluster.settings (cjihrig) #18399
- support windowsHide option for workers (Todd Wong) #17412
- crypto:
- allow passing null as IV unless required (Tobias Nießen) #18644
- deps:
- upgrade npm to 6.4.1 (Kat Marchán) #22591
- upgrade libuv to 1.19.2 (cjihrig) #18918
- Upgrade node-inspect to 1.11.5 (Jan Krems) #21055
- fs,net:
- support as and as+ flags in stringToFlags() (Sarat Addepalli) #18801
- emit ‘ready’ for fs streams and sockets (Sameer Srivastava) #19408
- http, http2:
- add options to http.createServer() (Peter Marton) #15752–
- add 103 Early Hints status code (Yosuke Furukawa) #16644
- add http fallback options to .createServer (Peter Marton) #15752
- n-api:
- take n-api out of experimental (Michael Dawson) #19262
- perf_hooks:
- add warning when too many entries in the timeline (James M Snell) #18087
- src:
- add public API for managing NodePlatform (Cheng Zhao) #16981
- allow –perf-(basic-)?prof in NODE_OPTIONS (Leko) #17600
- node internals’ postmortem metadata (Matheus Marchini) #14901
- tls:
- expose Finished messages in TLSSocket (Anton Salikhmetov) #19102
- trace_events:
- add file pattern cli option (Andreas Madsen) #18480
- util:
- implement util.getSystemErrorName() (Joyee Cheung) #18186
点此查看完整的更新日志
下载地址 https://nodejs.org/en/download/
转自 https://www.oschina.net/news/99851/nodejs-8-12-0-released