
The Node.js staff has launched Node.js 19, which updates the V8 JavaScript engine to model 10.7 and allows 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 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
Based on the staff, Node.js 19 will develop into the “Present” launch line after Node.js 18 enters Lengthy-Time period Help on the finish of the month, and it’ll stay that manner 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 components of Node.js 19. We’ve been working arduous on making Node.js safer and performant, and I consider we’re getting higher and higher. If you happen to’re in lively deployment, Node.js 18 LTS is for you. If you happen to’re considering gaining 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.”