Software Engineering

Node.js 26.12.0 released with HTTP and Crypto improvements

Key Takeaway

Node.js 26.12.0 introduces new WebSocket masking utilities and significant performance optimizations in the crypto module.

Summary

The Node.js 26.12.0 release includes several minor version updates, notably adding websocketMask() and websocketUnmask() to the http module. The update also features extensive refactoring in the crypto module to remove various key locking mechanisms and updates several core dependencies including SQLite and V8.

Technical changes in Node.js 26.12.0

  • HTTP module: Added websocketMask() and websocketUnmask() functions.
  • Crypto module: Removed various key locking mechanisms (KEM, RSA-OAEP, EC PKCS8) and mutex allocations to improve efficiency.
  • Dependencies: Updated SQLite to 3.54.0, acorn to 8.19.0, and simdjson to 5.0.3.
  • Build system: Added support for Python 3.15.
  • Stream/Iter: Significant updates to stream/iter behaviors, including pipeToSync() options and improved error handling.

Why it matters

These updates improve the performance of cryptographic operations and provide more granular control over WebSocket data handling for web developers.

Original reference: nodejs.org →