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
ChildProcess
current instance will emit a new'spawn'
event. -
You can now set
Resolver
the local IP address that the instance uses to send its requests. -
Two new methods have been added to control the
NODE_V8_COVERAGE
coverage of V8 activated by environment variables. -
Worker
Examples now has aperformance
property that has aeventLoopUtilization
method 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_count
experimental 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