Node.js 22.21.0 LTS released
Node.js version 22.21.0 has been released as the latest Long Term Support (LTS) edition of this popular JavaScript runtime environment. As a free, open-source, and cross-platform framework, Node.js enables developers to create servers, web applications, command-line tools, and scripts.
Notable updates in this release include several significant features and improvements. One of these is the introduction of built-in proxy support for HTTP and HTTPS requests. This enhancement allows developers to easily implement reverse proxies using Node.js's built-in modules.
Another notable update is the addition of percentage support for setting the maximum old-space size. This new feature enables developers to allocate a specific percentage of memory for the garbage collector, providing more flexibility in managing system resources.
Several other improvements have been made to the HTTP module, including enhancements to HTTP proxy support and the introduction of a shouldUpgradeCallback function that allows servers to control HTTP upgrades.
The release also includes updates to the crypto module, such as the use of async functions and promises for non-stub promise-returning functions. Additionally, several changes have been made to improve performance and security.
In terms of dependencies, Node.js has updated its OpenSSL sources to version 3.5.4 and upgraded npm to version 10.9.4. Furthermore, several other dependencies, including amaro, archs files for openssl-3.5.4, googletest, and undici, have been updated as well.
Several changes have also been made to the Node.js documentation to improve clarity and accuracy. These updates include new information about reverse proxies and examples of their usage.
Other notable updates include improvements to the test suite, including the addition of new tests for HTTP proxy support and the marking of certain tests as flaky on specific platforms.
Node.js — Node.js v22.21.0 (LTS)
Node.js
is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.
is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.