Skip to content

2.2.0

Latest

Choose a tag to compare

@paulmillrpaulmillr released this 11 Apr 21:34
· 13 commits to main since this release
Immutable release. Only release title and notes can be modified.
2.2.0
b097e68
  • March 2026 self-audit (all files): no major issues found
    • Audited for spec compliance and security
    • Fix: ctr from webcrypto submodule used wrong counter wrapping
    • Fix: MAC no longer corrupts oversized outputs
    • Align CMAC API to other MACs
  • Fix all Byte Array types, to ensure proper work in both TypeScript 5.6 & TypeScript 5.9+
    • TS 5.6 has Uint8Array, while TS 5.9+ made it generic Uint8Array<ArrayBuffer>
    • This creates incompatibility of code between versions
    • Previously, it was hard to use and constantly emitted errors similar to TS2345
    • See typescript#62240 for more context
  • Fix compilation issues on TypeScript v6
  • Zeroization improvements by @ChALkeR in #67, #68
  • Make package Big Endian friendly. All tests pass on s390x
  • Improve tree-shaking, reduce bundle sizes
  • Add massive amounts of documentation everywhere

Full Changelog: 2.1.1...2.2.0