v26.6.0
📦 node-jsView on GitHub →
✨ 3 features🐛 16 fixes🔧 10 symbols
Summary
This release introduces new features to the ffi and test_runner modules, alongside numerous bug fixes and dependency updates. Notably, the crypto module has undergone significant backend restructuring.
Migration Steps
- The `crypto` module has split its backends for OpenSSL 3, BoringSSL, and legacy implementations. Review your crypto usage if you rely on specific backend behaviors.
✨ New Features
- Added `getCurrentEventLoop` to the `ffi` module.
- Added `context.log()` and `test:log` event to the `test_runner`.
- The `test_runner` now reports `entryFile` in `TestStream` events.
🐛 Bug Fixes
- Fixed TypeError on Maps with null keys in `assert` and `util` modules.
- Normalized lone "\r" in Blob native line endings.
- Fixed Blob.stream() leaking source buffer.
- Preserved RSA-PSS legacy pubkey DER.
- Cleaned up provider private key copies.
- Handled incomplete RSA private keys.
- Retained legacy DH validation.
- Limited KangarooTwelveParams customization to 512 bytes.
- Fixed dnsPromises.lookup verbatim default.
- Fixed import.meta example for vm.SourceTextModule.
- Fixed typo in releases guide.
- Fixed broken links and cleaned up type map in documentation.
- Removed unsupported syntax from `stream_iter.md`.
- Clarified rules for adding new built-in modules.
- Mentioned DEPENDENCY custom field for H1 reports.
- Mentioned crypto.hash() for better performance.