Accessible from nodejs.org, Node.js 19 was produced October 18. Starting with this launch, Node.js sets
keepAlive to genuine by default. Hence any outgoing HTTP(S) link immediately will use HTTP 1.1 Preserve-Alive, giving improved throughput as connections are reused by default. There is a default ready window of 5 seconds. Moreover, Node’s HTTP Agent is capable to parse the reaction
Preserve-Alive that servers may well deliver. This header instructs the shopper on how long to stay related. The Node HTTP server now will mechanically disconnect idle clients when
close() is invoked.
Node.js 19 will supplant Node.js 18 as the project’s “Current” release line when Node.js 18 enters Lengthy-Expression Assist standing later on in Oct. Node.js 19 will be the Current release till April 2023.
Also in Node.js 19:
- An experimental
node --check outchoice, accessible given that Node.js 18.11, restarts the process when an imported file is adjusted.
- The V8 motor, which underpins Node.js, has been updated to model 10.7.
- Support for DTrace/SystemTap/ETW has been removed, with prioritization of methods supplied as the motive.
--experimental-specifier-resolutionflag has been taken out. This features now can be applied through customized loaders.