Node.js 8.12.0 发布,服务器端的 JavaScript 运行环境

淡漠悠然
 淡漠悠然
发布于 2018年09月11日
收藏 1

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/

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:Node.js 8.12.0 发布,服务器端的 JavaScript 运行环境
加载中

最新评论(2

s
smallwhite110
NAPI正式稳定了。
ChengShuai
ChengShuai
看起来有不少更新点,明天都试试,看有没有升的必要
返回顶部
顶部