Releases: paulmillr/scure-base
Releases · paulmillr/scure-base
2.0.0
- The package is now ESM-only. ESM can finally be loaded from common.js on node v20.19+
- Node v20.19 is now the minimum required version
- Package imports now work correctly in bundler-less environments, such as browsers
- Reduces npm package size (traffic consumed): 26.1KB => 24.5KB
- Reduces unpacked npm size (on-disk space): 165KB => 102KB
- Make bundle sizes smaller, compared to v1.x
- Upgrade typescript compilation env to ts5.9 and es2022
Full Changelog: 1.2.6...2.0.0
1.2.6
- base64: prohibit spaces when native mode is selected.
Full Changelog: 1.2.5...1.2.6
1.2.5
- base64: use native coding when available. 167x faster encoding on 1KB inputs
- hex: use native coding when available. 216x faster encoding on 1KB inputs.
- Standalone build files are now attested and can be verified, check out README
Full Changelog: 1.2.4...1.2.5
1.2.4
Fix broken common.js version
Full Changelog: 1.2.3...1.2.4
1.2.3
- Fix unpublished common.js version
Full Changelog: 1.2.2...1.2.3
1.2.2
- Publish to JSR.io
- Use typescript isolatedDeclarations and "safe types" for automatically generated documentation
- Use typescript verbatimModuleSyntax to support native type stripping
Full Changelog: 1.2.1...1.2.2
1.2.1
- Bring back NO_SIDE_EFFECTS directive for tree-shaking.
- Optimize performance
Full Changelog: 1.2.0...1.2.1
1.2.0
Improve encoding and decoding speed up to 4x. Decoding speed benchmarks:
- 32B hex: 240,442 => 1,046,025 ops per second
- 8KB hex: 1,026 => 4,096
- 32B base64: 346,981 => 1,148,105
- 8KB base64: 1,482 => 5,394
Reduce minified size. Speed-up bytes testing.
Full Changelog: 1.1.9...1.2.0
1.1.9
- Add Bech32.encodeFromBytes
- Fix typeof Bech32.encode
Full Changelog: 1.1.8...1.1.9