Node.js v22.21.0 (LTS) released

Published by

Node.js version 22.21.0 has been released as the latest Long Term Support (LTS) edition, providing developers with a free, open-source, and cross-platform JavaScript runtime environment ideal for building servers, web applications, command-line tools, and scripts. This update includes several significant enhancements and new features aimed at improving performance and usability.

Key updates in Node.js 22.21.0 include:

1. Built-in Proxy Support: The introduction of built-in proxy support for HTTP and HTTPS requests allows developers to easily implement reverse proxies, facilitating better control over network requests.

2. Memory Management Enhancements: A new percentage support feature enables developers to allocate a specific percentage of memory for the garbage collector, enhancing resource management.

3. HTTP Module Improvements: The HTTP module has seen enhancements, including the addition of the `shouldUpgradeCallback` function, which gives servers greater control over HTTP upgrades.

4. Crypto Module Updates: The crypto module now supports async functions and promises for non-stub promise-returning functions, improving its functionality and performance.

5. Dependency Updates: The Node.js 22.21.0 release updates several important dependencies, including OpenSSL to version 3.5.4 and npm to version 10.9.4, along with other libraries such as amaro, archs files for OpenSSL, googletest, and undici.

6. Documentation Improvements: Updates to the Node.js documentation aim to enhance clarity and provide more comprehensive information about features like reverse proxies, along with practical usage examples.

7. Test Suite Enhancements: The test suite has been improved, incorporating new tests for HTTP proxy support and marking certain tests as flaky on specific platforms to ensure better reliability.

The release of Node.js 22.21.0 LTS reflects the ongoing commitment to improving the framework and addressing developers' needs. This version is particularly beneficial for those looking to enhance their applications with advanced network capabilities and better resource management.

As Node.js continues to evolve, developers can expect future updates to focus on further performance enhancements, security improvements, and additional features that streamline the development process. The Node.js community remains active in contributing to its growth and ensuring that it meets modern web development requirements

Node.js v22.21.0 (LTS) released

Node.js version 22.21.0 has been released as the latest Long Term Support (LTS) edition, offering a free, open-source, and cross-platform JavaScript runtime environment for creating servers, web applications, command-line tools, and scripts. Notable updates include built-in proxy support for HTTP and HTTPS requests, percentage support for setting maximum old-space size, and enhancements to the HTTP module, such as the shouldUpgradeCallback function for controlling HTTP upgrades. The release also includes various dependency updates, including OpenSSL sources upgraded to version 3.5.4 and npm upgraded to version 10.9.4. 

Node.js v22.21.0 (LTS) released @ Linux Compatible