- Modules are now available with
.js
extension- Old:
@noble/ciphers/chacha
- New:
@noble/ciphers/chacha.js
- Old path is still available
- This simplifies working in browsers natively without transpilers
- Old:
- utils: use built-in Uint8Array toHex / fromHex when available. Gives 13x speed-up on 256b arrays, 20x speed-up on 32kb arrays
- utils.randomBytes: ensure same return type Uint8Array in old nodejs
- Move _assert into utils
- Rename siv to gcmsiv
- Standalone build files are now attested in CI. Check out README for verification guide
- Typescript source can now be used without compilation in node.js v24, due to erasableSyntaxOnly
Full Changelog: 1.2.1...1.3.0