v24.20.0
📦 node-jsView on GitHub →
✨ 9 features🐛 53 fixes🔧 20 symbols
Summary
This release introduces new features like package maps for loaders, `node:stream/iter`, and `--permission-audit`, alongside numerous bug fixes and improvements across various modules including buffer, crypto, and test runner.
✨ New Features
- Added `using` scopes to `AsyncLocalStorage`.
- Added `end` parameter to buffer methods.
- Added `permission.drop`.
- Implemented package maps for loaders.
- Added `--permission-audit` flag.
- Added `node:stream/iter` implementation.
- Added `context.log()` and `test:log` event to test runner.
- Reported `entryFile` in `TestStream` events.
- Enabled JSPI for WASM.
🐛 Bug Fixes
- Fixed TypeError on Maps with null keys in assert/util.
- Fixed calibrate-n option handling in benchmark.
- Addressed bytes variant to webstreams async-iterator in benchmark.
- Ensured stream/iter broadcast backpressure is respected in benchmark.
- Used Clamp conversion in Blob slice.
- Validated copyArrayBuffer offsets against buffer length.
- Normalized lone "\r" in Blob native line endings.
- Fixed Blob.stream() leaking source buffer.
- Fixed end parameter bugs in indexOf/lastIndexOf.
- Updated binary-upload to use correct tarball name.
- Pinned envinfo versions in github actions.
- Added QUIC CI job for PRs matching QUIC related paths.
- Fixed flags for ngtoh2 on IBM i.
- Added tests for binary linked with shared libnode.
- Fixed shared library cross-compile.
- Styled node --help output with util.styleText.
- Preserved OpenSSL errors from KDF failures in crypto.
- Handled XOF output allocation failure in crypto.
- Clarified missing cipher error in crypto.
- Reused X509 issuer result in crypto.
- Validated key generation options in crypto.
- Fixed Argon2 validation errors in crypto.
- Initialized KeyObjectData mutex eagerly in crypto.
- Handled DH operation failures in crypto.
- Preserved RSA-PSS legacy pubkey DER in crypto.
- Cleaned provider private key copies in crypto.
- Updated root certificates to NSS 3.125.
- Used validateBoolean for trackPromises in async_hooks.
- Fixed end parameter bugs in indexOf/lastIndexOf.
- Fixed Blob.stream() leaking source buffer.
- Normalized lone "\r" in Blob native line endings.
- Validated copyArrayBuffer offsets against buffer length.
- Used Clamp conversion in Blob slice.
- Fixed flags for ngtcp2 on IBM i.
- Fixed shared library cross-compile.
- Added tests for binary linked with shared libnode.
- Pinned envinfo versions in github actions.
- Updated binary-upload to use correct tarball name.
- Styled node --help output with util.styleText.
- Cleaned provider private key copies in crypto.
- Preserved RSA-PSS legacy pubkey DER in crypto.
- Handled DH operation failures in crypto.
- Initialized KeyObjectData mutex eagerly in crypto.
- Fixed Argon2 validation errors in crypto.
- Validated key generation options in crypto.
- Reused X509 issuer result in crypto.
- Clarified missing cipher error in crypto.
- Handled XOF output allocation failure in crypto.
- Preserved OpenSSL errors from KDF failures in crypto.
- Fixed TypeError on Maps with null keys in assert/util.
- Addressed bytes variant to webstreams async-iterator in benchmark.
- Ensured stream/iter broadcast backpressure is respected in benchmark.
- Fixed calibrate-n option handling in benchmark.