Skip to content

2.4.0

Latest

Choose a tag to compare

@paulmillr paulmillr released this 28 Aug 10:43
· 2 commits to main since this release
Immutable release. Only release title and notes can be modified.
2.4.0
d93da4f
  • Added base36 coder (lowercase alphanumeric, multibase k payload as used by IPFS/IPNS addresses)
  • Limit base58 and base36 to 2048 bytes due to quadratic complexity. Real-world inputs are less than that.
  • bech32.decodeToBytes / bech32m.decodeToBytes now enforce the 90-char BIP-173 length limit by default (previously unbounded); pass limit: false or a number to override
  • bech32/bech32m: encode rejects non-printable-ASCII prefixes, and decode rejects non-printable-ASCII input instead of letting case folding normalize non-ASCII characters into valid strings
  • base32crockford.decode: non-ASCII input that only becomes valid via case folding is now rejected

Full Changelog: 2.3.0...2.4.0