Accessible from nodejs.org, Node.js 19 was launched October 18. Starting with this launch, Node.js units
keepAlive to true by default. Thus any outgoing HTTP(S) connection mechanically will use HTTP 1.1 Hold-Alive, offering higher throughput as connections are reused by default. There’s a default ready window of 5 seconds. Moreover, Node’s HTTP Agent is ready to parse the response
Hold-Alive that servers may ship. This header instructs the shopper on how lengthy to remain related. The Node HTTP server now will mechanically disconnect idle shoppers when
shut() is invoked.
Node.js 19 will supplant Node.js 18 because the mission’s “Present” launch line when Node.js 18 enters Lengthy-Time period Assist standing later in October. Node.js 19 would be the Present launch till April 2023.
Additionally in Node.js 19:
- An experimental
node --watchchoice, obtainable since Node.js 18.11, restarts the method when an imported file is modified.
- The V8 engine, which underpins Node.js, has been up to date to model 10.7.
- Assist for DTrace/SystemTap/ETW has been eliminated, with prioritization of assets given as the explanation.
--experimental-specifier-resolutionflag has been eliminated. This performance now could be applied through customized loaders.