Node.js v24.12.0 (LTS) released
Node.js has recently released version 24.12.0, dubbed 'Krypton,' which commemorates an important date as an LTS (Long-Term Support) release. This update brings a slew of notable changes that enhance the performance and functionality of the platform.
One of the most significant additions is the introduction of the optimizeEmptyRequests server option for HTTP. This feature allows developers to optimize empty requests, leading to improved performance and reduced latency. Another notable change is the addition of options to util.deprecate, which enables more granular control over deprecation warnings.
In terms of stability, Node.js has marked type stripping as stable, providing a more predictable environment for developers. Additionally, the introduction of napi_create_object_with_properties enhances the node-api by allowing for the creation of objects with custom properties.
The 'Krypton' release also includes several under-the-hood improvements. For instance, the addition of CPU profiling in V8 allows developers to better understand and optimize their code's performance. Furthermore, the update introduces a watch config namespace, enabling more sophisticated configuration management.
Other notable changes include the introduction of a defensive flag for SQLite, allowing developers to set defensive behavior on a per-connection basis. The release also includes several bug fixes and improvements to various components, such as the inspector, perf_hooks, and test framework.
Overall, Node.js 24.12.0 'Krypton' brings a significant number of enhancements and improvements that will benefit developers working with the platform. Whether you're building high-performance applications or optimizing existing codebases, this release offers a wealth of new features and capabilities to explore.
Some of the key changes in this release include:
- The introduction of optimizeEmptyRequests server option for HTTP
- Addition of options to util.deprecate
- Marking type stripping as stable
- Introduction of napi_create_object_with_properties for node-api
- CPU profiling in V8
- Watch config namespace
- Defensive flag for SQLite
In terms of specific commits, some notable ones include:
- Benchmark improvements, including a focus on import.meta initialization and the addition of per-suite setup options.
- Buffer improvements, such as speeding up concat via TypedArray#set.
- Console optimizations, including single-string logging.
- Crypto enhancements, including ensured RSA-PSS saltLength default usage and fixes to argument validation in crypto.timingSafeEqual.
These are just a few examples of the many changes and improvements included in Node.js 24.12.0 'Krypton.' Whether you're building a new application or optimizing an existing one, this release offers a wealth of new features and capabilities to explore.
Node.js — Node.js v24.12.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.