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 is because connections are reused.
Different new options embody:
- Assist for operating the runtime in “watch” mode, which restarts the method if an imported file is modified
- WebCrypto API is now steady
- Removing of assist for DTrace, SystemTap, and ETW
- Removing of the –experimental-specifier-resolution flag
In line with the crew, Node.js 19 will turn into the “Present” launch line after Node.js 18 enters Lengthy-Time period Assist on the finish of the month, and it’ll stay that method via April 2023.
“With over 1,150 commits for the reason that 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 onerous on making Node.js safer and performant, and I consider we’re getting higher and higher. If you happen to’re in energetic deployment, Node.js 18 LTS is for you. If you happen to’re serious about having access to options early, Node.js 19 is prepared,” mentioned Rafael Gonzaga, Node.js Core member. “Many due to our open supply contributors for making Node.js higher and higher.”