Available from nodejs.org, Node.js 19 was produced October 18. Beginning with this launch, Node.js sets
keepAlive to real by default. Consequently any outgoing HTTP(S) link mechanically will use HTTP 1.1 Preserve-Alive, offering superior throughput as connections are reused by default. There is a default ready window of 5 seconds. Moreover, Node’s HTTP Agent is able to parse the response
Preserve-Alive that servers may ship. This header instructs the customer on how extended to continue to be related. The Node HTTP server now will automatically disconnect idle shoppers when
shut() is invoked.
Node.js 19 will supplant Node.js 18 as the project’s “Current” release line when Node.js 18 enters Extended-Term Assistance position afterwards in October. Node.js 19 will be the Latest release right until April 2023.
Also in Node.js 19:
- An experimental
node --watchchoice, accessible given that Node.js 18.11, restarts the procedure when an imported file is transformed.
- The V8 motor, which underpins Node.js, has been up-to-date to version 10.7.
- Guidance for DTrace/SystemTap/ETW has been taken off, with prioritization of assets provided as the reason.
--experimental-specifier-resolutionflag has been removed. This performance now can be applied by using customized loaders.
Copyright © 2022 IDG Communications, Inc.