Software Engineering

Node.js 24.22.0 (LTS) adds crypto and perf_hooks enhancements

Key Takeaway

Node.js 24.22.0 LTS introduces significant updates to the crypto module, new performance monitoring tools, and utility functions.

Summary

The Node.js 24.22.0 Long Term Support (LTS) release, codenamed 'Krypton', focuses on expanding cryptographic capabilities and performance profiling. Key updates include new OpenSSL provider discovery for ciphers and hashes, additional perf_hooks implementations, and new utility functions like throttle and debounce.

Technical updates in Node.js 24.22.0

  • Crypto module: Added crypto.parsePKCS12(), a generic MAC API, and support for SIV and GCM-SIV modes.
  • OpenSSL integration: The runtime can now discover ciphers and hashes directly from OpenSSL providers.
  • perf_hooks: Implemented SlidingWindowHistogram, meanCI API, and added CBOR support for histogram exchange.
  • Utilities: New util.throttle and util.debounce functions have been implemented.
  • SQLite: Added StatementSync.prototype.close() and support for Symbol.dispose.

Why it matters

As an LTS release, these updates provide stability and improved security primitives for enterprise-grade Node.js applications.

Original reference: nodejs.org →