Skip to content

v0.9.0-beta

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Sep 06:59
· 22 commits to main since this release
0a10758

Features

  • Added limited Temporal support, with improved compatibility for Instant, Duration, ZonedDateTime and round() (@nabetti1720)
  • Added util.inspect and util.inspect.custom (@richarddavison)
  • Added util.styleText (@richarddavison)
  • Added TextEncoderStream and TextDecoderStream (@richarddavison)
  • Added execFile to child_process (@richarddavison)
  • Added streaming request and response bodies to fetch (@richarddavison)
  • Implemented an ESM module cache (@nabetti1720)
  • Improved console namespace compatibility (@nabetti1720)
  • Improved Blob compatibility with web standards (@nabetti1720)
  • Improved FormData compatibility (@nabetti1720)
  • Improved CryptoKey compatibility (@nabetti1720)
  • Improved crypto.getRandomValues() compatibility (@nabetti1720)
  • Added support for Intl.supportedValuesOf (@nabetti1720)
  • Exposed the bundled AWS SDK version (@dills122)
  • Exposed base64 encode/decode from the codec library (@nabetti1720)
  • Increased WPT compatibility and expanded the WPT test targets, including Intl402/Temporal (@richarddavison, @nabetti1720)
  • Added modern WebCrypto algorithms: SHA-3, cSHAKE, TurboSHAKE, ChaCha20-Poly1305, ML-DSA, ML-KEM and hybrid KEMs (@panva)
  • Added SubtleCrypto.getPublicKey and SubtleCrypto.supports (@panva)
  • Added raw key format aliases for WebCrypto import and export (@panva)

Fixes

  • Validate offsets against view bounds to prevent OOB panics and cross-view corruption in buffer and crypto (@richarddavison)
  • Validate ObjectBytes DataView ranges (@dills122)
  • Align WebCrypto sign and verify with the specification (@dills122)
  • Improve subtle.generateKey compatibility (@nabetti1720)
  • Improve encrypt and decrypt compatibility (@nabetti1720)
  • Improve deriveBits and deriveKey compatibility (@nabetti1720)
  • Support string encryption algorithm identifiers (@dills122)
  • Validate JWK extractability (@dills122)
  • Allow RSA JWK imports without alg (@dills122)
  • Allow Uint8Array for wrappedKey in crypto.unwrapKey (@nabetti1720)
  • Fix OKP key representation for Ed25519 and X25519 (@nabetti1720)
  • Improve key import validation and HMAC key length handling (@nabetti1720)
  • Preserve pipe option order in streams (@dills122)
  • Preserve transform backpressure in streams (@dills122)
  • Coerce highWaterMark values (@dills122)
  • Use byte length instead of buffer length for queueTotalSize accounting (@richarddavison)
  • Enforce maxOutputLength in the zlib, brotli and zstd convenience methods (@richarddavison)
  • Discard malformed null-body connections in fetch (@richarddavison)
  • Reject fetch connection failures with TypeError: Failed to fetch (@richarddavison)
  • Fix cookie handling not working with the Hono framework (@perpil)
  • Throw when constructing a Request with an empty-string URL (@richarddavison)
  • Drop the error type prefix from lambda errorMessage to match the Node.js shape (@SAY-5)
  • Fix broken module resolution path called by createRequire (@nabetti1720)
  • Allow IPv6 in dns.lookup() results (@nabetti1720)
  • Escape JSON content properly when loading via import() (@richarddavison)
  • Prevent subdomain bypass in hostname matching (@hieuit095)
  • Improve endpoint resolver support (@richarddavison)
  • Fix string hasher (@richarddavison)
  • Get rustls-graviola from crates.io (@nabetti1720)
  • Fix incompatibilities caused by the latest cargo fix (@nabetti1720)
  • Clear test output after a successful test (@richarddavison)
  • Align WebCrypto validation, key derivation and key import/export behaviour with the specification (@panva)
  • Derive ECDH shared secrets into KDF keys and limit derived output lengths (@panva)
  • Compare HMAC signatures in constant time (@panva)

Maintenance

Thanks for all the reports and contributors

Full list of changes:
v0.8.1-beta...v0.9.0-beta