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 mechanically use it and it’ll present higher throughput. It’s because connections are reused.
Different new options embody:
- Help for working the runtime in “watch” mode, which restarts the method if an imported file is modified
- WebCrypto API is now steady
- Elimination of help for DTrace, SystemTap, and ETW
- Elimination 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 approach 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 exhausting on making Node.js safer and performant, and I imagine we’re getting higher and higher. In case you’re in energetic deployment, Node.js 18 LTS is for you. In case you’re concerned about having access to options early, Node.js 19 is prepared,” stated Rafael Gonzaga, Node.js Core member. “Many because of our open supply contributors for making Node.js higher and higher.”