Obtainable from nodejs.org, Node.js 19 was produced Oct 18. Starting with this release, Node.js sets
keepAlive to accurate by default. Therefore any outgoing HTTP(S) link mechanically will use HTTP 1.1 Retain-Alive, delivering superior throughput as connections are reused by default. There is a default waiting window of 5 seconds. In addition, Node’s HTTP Agent is ready to parse the response
Hold-Alive that servers may mail. This header instructs the client on how long to keep linked. The Node HTTP server now will instantly disconnect idle shoppers 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-Phrase Guidance standing later in October. Node.js 19 will be the Latest release right up until April 2023.
Also in Node.js 19:
- An experimental
node --observepossibility, out there due to the fact Node.js 18.11, restarts the approach when an imported file is adjusted.
- The V8 engine, which underpins Node.js, has been updated to model 10.7.
- Assistance for DTrace/SystemTap/ETW has been eliminated, with prioritization of methods given as the explanation.
--experimental-specifier-resolutionflag has been taken out. This operation now can be carried out via custom loaders.
Copyright © 2022 IDG Communications, Inc.