Node.js: 2026-04-01, Version 25.9.0 (Current), @aduh95
Component: nodejs · Channel: stable. Automated analysis, not a compatibility certification. How this works.
Analysis updated: 2026-11-19.
Node.js v25.9.0 introduces a refactored mock module API and several enhancements including support for new Web Cryptography algorithms and improved heap management. Developers using the test runner's module mocking should utilize the provided codemod to migrate to the consolidated 'exports' configuration.
💻 Software Engineers & Devs
Engineers utilizing the built-in test runner must migrate their `MockModuleOptions` configuration to use the new `exports` property.
📊 Product & Engineering Leads
This release expands security capabilities through new cryptographic standards and allows for more granular memory tuning for production workloads.
⚙️ DevOps & Security
The addition of the `--max-heap-size` CLI option provides better control over memory footprint in containerized deployment environments.
✨ New Features & Capabilities (5)
- Added support for TurboSHAKE and KangarooTwelve Web Cryptography algorithms
- Added --max-heap-size CLI option
- Added using scopes to AsyncLocalStorage
- Added stream/iter implementation
- Added diagnostics channels for web locks
⚡ Performance & Enhancements (4)
- Consolidated MockModuleOptions.defaultExport and namedExports into a single MockModuleOptions.exports property
- Improved performance of multiple Buffer operations
- Enabled support for code cache for ESM entrypoints in Single Executable Applications (SEA)
- Optimized EC JWK import performance
🔧 Bug Fixes & Patches (4)
- Fixed cpSync to handle non-ASCII characters
- Fixed path normalization in ESM finalizeResolution
- Fixed coverage of mocked CJS modules imported from ESM
- Fixed filterFunc dangling reference in sqlite integration
❓ Frequently Asked Questions
Does Node.js v25.9.0 contain breaking changes?
Yes, the test runner's module mocking API has been changed; `defaultExport` and `namedExports` are now consolidated into a single `exports` property, requiring a migration.
What is the primary highlight of v25.9.0?
The primary highlight is the refinement of the test runner mocking utilities and the expansion of the cryptographic suite with new Web Crypto algorithms.
How should teams prepare to upgrade to v25.9.0?
Teams should run the provided migration tool 'npx codemod @nodejs/mock-module-exports' if they currently utilize module mocking in their test suites and review the new deprecations for module.register() and CryptoKey.