Skip to content

2.3.0

Choose a tag to compare

@paulmillr paulmillr released this 08 Aug 03:29
· 7 commits to main since this release
Immutable release. Only release title and notes can be modified.
2.3.0
5b846f5
  • Massive speed-up of all algorithms. 1 MB speed:
    • base64 encode: 18x, 22mb/s => 395 mb/s
    • base32 encode: 23x, 16mb/s => 367 mb/s
    • base16 encode: 20x, 15mb/s => 294 mb/s
    • bech32 toWords: 8x, 38mb/s => 296 mb/s
    • base58 decode: 8x, 8mb/s => 67.2 mb/s
  • -3.4% reduce of minified bundle size.
  • Reduce on-disk package size: 163kb → 136kb (-27.4kb), by disabling source maps (they became less relevant).
  • Better error messages and stricter type checks
  • Breaking: we've removed internal utils: utils, bytesToString / str, stringToBytes / bytes,
    and the SomeCoders type. Those were always internal. The coders (base16, base64, …) are unaffected.

Full Changelog: 2.2.0...2.3.0