Obtainable from nodejs.org, Node.js 19 was introduced Oct 18. Beginning with this release, Node.js sets
keepAlive to true by default. So any outgoing HTTP(S) relationship instantly will use HTTP 1.1 Preserve-Alive, giving superior throughput as connections are reused by default. There is a default waiting window of 5 seconds. Furthermore, Node’s HTTP Agent is able to parse the response
Continue to keep-Alive that servers may well send out. This header instructs the client on how extensive to keep linked. The Node HTTP server now will immediately disconnect idle customers when
close() is invoked.
Node.js 19 will supplant Node.js 18 as the project’s “Current” release line when Node.js 18 enters Very long-Phrase Guidance standing afterwards in Oct. Node.js 19 will be the Existing release until finally April 2023.
Also in Node.js 19:
- An experimental
node --viewsolution, out there given that Node.js 18.11, restarts the process when an imported file is altered.
- The V8 engine, which underpins Node.js, has been updated to edition 10.7.
- Support for DTrace/SystemTap/ETW has been taken out, with prioritization of means supplied as the cause.
--experimental-specifier-resolutionflag has been eradicated. This features now can be applied through personalized loaders.
Copyright © 2022 IDG Communications, Inc.