Accessible from nodejs.org, Node.js 19 was unveiled Oct 18. Beginning with this launch, Node.js sets
keepAlive to real by default. So any outgoing HTTP(S) connection mechanically will use HTTP 1.1 Continue to keep-Alive, supplying far better throughput as connections are reused by default. There is a default waiting around window of 5 seconds. On top of that, Node’s HTTP Agent is able to parse the reaction
Maintain-Alive that servers could deliver. This header instructs the consumer on how extended to continue to be linked. The Node HTTP server now will mechanically disconnect idle consumers when
near() is invoked.
Node.js 19 will supplant Node.js 18 as the project’s “Current” release line when Node.js 18 enters Lengthy-Term Assistance position later on in October. Node.js 19 will be the Recent release until eventually April 2023.
Also in Node.js 19:
- An experimental
node --look atpossibility, out there since Node.js 18.11, restarts the course of action when an imported file is transformed.
- The V8 motor, which underpins Node.js, has been updated to model 10.7.
- Assistance for DTrace/SystemTap/ETW has been eliminated, with prioritization of resources offered as the reason.
--experimental-specifier-resolutionflag has been removed. This performance now can be carried out by using custom loaders.