Node.js v24 - Best New Features

Alvaro PaçóAlvaro Paçó
2 min read

Node.js v24, released on May 6, 2025, brings key enhancements in performance, security, and developer ergonomics. It is the "Current" release and will enter LTS in October 2025.


🚀 Highlights of Node.js v24

1. V8 Engine Upgraded to 13.6

  • Float16Array for optimized numerical processing.

  • RegExp.escape() simplifies working with regular expressions.

  • Error.isError() provides standard error validation.

  • WebAssembly Memory64 support.

  • using and await using statements for resource management.

2. npm Updated to Version 11

  • Faster package installations.

  • Improved security and audit capabilities.

  • Enhanced compatibility with ES modules.

3. Improved Permission Model

  • CLI flag renamed to --permission, no longer experimental.

  • Fine-grained control over file system, subprocess, and environment access.

4. Global URLPattern API

  • Available globally without explicit imports.

  • Great for URL routing and matching patterns.

5. Test Runner Enhancements

  • Subtests now automatically awaited.

  • Cleaner syntax and better handling of async test cases.

6. Undici Upgraded to v7

  • More performant native HTTP client.

  • Better standards compliance for fetch operations.

7. Deprecated or Removed APIs

  • url.parse() deprecated.

  • tls.createSecurePair removed.

  • SlowBuffer runtime-deprecated.

  • Zlib usage without new deprecated.

  • Deprecation on passing args to spawn/execFile.


🛠️ Platform & Build Updates

  • Windows: MSVC support removed. Use ClangCL.

  • macOS: Minimum version now 13.5; Xcode 16.1 or higher required.


📅 Release Lifecycle

  • Current: As of May 2025

  • LTS: Planned for October 2025


For full release notes, visit Node.js Blog

0
Subscribe to my newsletter

Read articles from Alvaro Paçó directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Alvaro Paçó
Alvaro Paçó