This repository was archived by the owner on Sep 11, 2026. It is now read-only.
Releases: MetaMask/utils
Releases · MetaMask/utils
Release list
12.0.0
Changed
- BREAKING: Bump TypeScript target to ES2022 (#333)
- This package now ships ES2022 code, requiring a compatible modern environment or bundler configuration to consume.
- BREAKING: Drop support for Node 18 and 20 (#328)
- BREAKING: Drop CommonJS support (#9536)
- This package is now ESM-only, but can still be used in CommonJS projects via
require(esm)in modern Node.js versions (22+), or dynamic imports in older Node.js versions.
- This package is now ESM-only, but can still be used in CommonJS projects via
- Bump
@ethereumjs/txfrom^4.2.0to^5.4.0(#321)- The deprecated
Keyring.signTransactionnow returnsLegacyTxDatarather thanTxData. These describe the same shape:@ethereumjs/tx@5repurposed the nameTxDatafor a map keyed by transaction type and renamed the old meaning toLegacyTxData. Implementations do not need changing.
- The deprecated
- Bump
@metamask/scure-bip39from^2.0.3to^2.1.1(#311) - Bump
@metamask/superstructfrom^3.1.0to^3.4.1(#311) - Bump
@noble/hashesfrom^1.3.1to^1.8.0(#311) - Bump
@scure/basefrom^1.1.3to^1.2.6(#311) - Bump
semverfrom^7.5.4to^7.6.3(#311)
11.12.1
Fixed
- Fix ESM compatibility for the BIP-39 mnemonic utilities (#309)
11.12.0
Added
- Add
uint8ArrayToMnemonicandconvertMnemonicToWordlistIndicesutilities (#300)uint8ArrayToMnemonicconverts little-endianUint16English BIP-39 wordlist indices into a mnemonic string.convertMnemonicToWordlistIndicesconverts a mnemonic string into little-endianUint16wordlist indices encoded as aUint8Array.
- Add
@metamask/scure-bip39as a dependency (#300) - Add optimized
sha512andsha384utility functions (#305)
11.11.0
Added
- Add Stellar CAIP namespace (#278)
11.10.0
Added
- Add ensureError utility for converting unknown values to error (#275)
11.9.0
Added
- Add
sha256utility function (#273)
11.8.1
Changed
- Replace
superstruct.iswith faster regex checks forisCaip*functions (#270)- Those calls were slow especially on our mobile client.
11.8.0
Added
- Add
areUint8ArraysEqualfunction to compare twoUint8Arraytypes (#268)