Available from nodejs.org, Node.js 19 was released October 18. Beginning with this release, Node.js sets
keepAlive to real by default. Consequently any outgoing HTTP(S) link routinely will use HTTP 1.1 Retain-Alive, offering improved throughput as connections are reused by default. There is a default waiting window of 5 seconds. Also, Node’s HTTP Agent is ready to parse the reaction
Retain-Alive that servers could possibly send out. This header instructs the consumer on how very long to continue to be connected. The Node HTTP server now will automatically disconnect idle clientele 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-Expression Assist position later on in Oct. Node.js 19 will be the Latest launch until April 2023.
Also in Node.js 19:
- An experimental
node --watchchoice, offered given that Node.js 18.11, restarts the system when an imported file is adjusted.
- The V8 motor, which underpins Node.js, has been updated to version 10.7.
- Guidance for DTrace/SystemTap/ETW has been removed, with prioritization of sources presented as the motive.
--experimental-specifier-resolutionflag has been taken out. This features now can be applied via personalized loaders.
Copyright © 2022 IDG Communications, Inc.