2.3.0
- 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 theSomeCoderstype. Those were always internal. The coders (base16,base64, …) are unaffected.
Full Changelog: 2.2.0...2.3.0