
The Node.js crew has launched Node.js 19, which updates the V8 JavaScript engine to model 10.7 and permits HTTP(s)/1.1 KeepAlive by default.
Model 10.7 of the V8 JavaScript engine provides to the JavaScript API the newest model of Intl.NumberFormat, which lets builders create a formatter occasion that’s reusable and that helps locale-aware quantity formatting.
By having HTTP(s)/1.1 KeepAlive enabled by default, any outgoing connection will robotically use it and it’ll present higher throughput. It’s because connections are reused.
Different new options embody:
- Help for operating the runtime in “watch” mode, which restarts the method if an imported file is modified
- WebCrypto API is now steady
- Removing of help for DTrace, SystemTap, and ETW
- Removing of the –experimental-specifier-resolution flag
In line with the crew, Node.js 19 will turn out to be the “Present” launch line after Node.js 18 enters Lengthy-Time period Help on the finish of the month, and it’ll stay that means via April 2023.
“With over 1,150 commits because the final launch, Node.js continues to enhance alongside a broad spectrum of performance. Enhancements in connectivity, efficiency and throughput are vital elements of Node.js 19. We’ve been working arduous on making Node.js safer and performant, and I imagine we’re getting higher and higher. In the event you’re in lively deployment, Node.js 18 LTS is for you. In the event you’re taken with having access to options early, Node.js 19 is prepared,” stated Rafael Gonzaga, Node.js Core member. “Many due to our open supply contributors for making Node.js higher and higher.”