Node.js 15.1.0 released, new diagnostic channel module added

Node.js 15.1.0 is released. This update adds some experimental new features. The update includes:

  • Added diagnostic channel diagnostics_channel . This is a new experimental module that provides an API for creating named channels to report arbitrary message data for diagnosis.

  • After the child process is successfully spawned, the ChildProcesscurrent instance will emit a new 'spawn'event.

  • You can now set Resolverthe local IP address that the instance uses to send its requests.

  •  

    Two new methods have been added to control the NODE_V8_COVERAGEcoverage of V8 activated by environment variables.

  •  

     

    WorkerExamples now has a performanceproperty that has a eventLoopUtilizationmethod that can be used to collect information 'online'and 'exit'information on the events between helper event loop utilization.

 

 

 

  • With new --heapsnapshot-near-heap-limit=max_countexperimental command line flags, it is now possible to automatically generate a heap snapshot when the V8 heap usage is close to the heap limit.

 

 

For detailed update information, please check: https://github.com/nodejs/node/releases/tag/v15.1.0

 

 

 

 

Guess you like

Origin www.oschina.net/news/119710/node-js-15-1-0-released