This repository was archived by the owner on Oct 7, 2024. It is now read-only.
Releases: MetaMask/KeyringController
Releases · MetaMask/KeyringController
17.0.1
17.0.0
Changed
16.0.0
Changed
- BREAKING: Bump
@metamask/obs-storefrom^8.1.0to^9.0.0(#306)- The
storeandmemStoreproperties now expose streams confirming toreadable-stream@^3.6.2
- The
- BREAKING: Replace
GenericEncryptor.updateVaultwithGenericEncryptor.isVaultUpdated(#310)) - Bump
@metamask/browser-passworderfrom^4.2.0to^4.3.0(#310 #311)
Fixed
- Prefer cached
encryptionKeyover password when possible (#307)
v15.1.0
Added
- Added optional
isVaultUpdatedproperty toGenericEncryptortype (#312)
Changed
- Bump
@metamask/browser-passworderto^4.3.0(#312)
Removed
- Removed
updateVaultoptional property fromGenericEncryptortype (#312)
Fixed
- Improved encryption performance when the controller is constructed with
cacheEncryptionKey: true(#312)
15.0.0
Changed
- BREAKING Removed
encryptorclass variable (#293) - BREAKING Removed
cacheEncryptionKeyclass variable (#293) - BREAKING Changed
encryptorconstructor option property type toGenericEncryptor | ExportableKeyEncryptor | undefined(#293)- When the controller is instantiated with
cacheEncryptionKey = true, theencryptortype is restricted toExportableKeyEncryptor | undefined
- When the controller is instantiated with
14.0.1
14.0.0
13.0.1
13.0.0
Added
- Added
KeyringControllerPersistentStatetype which includes only persistent state, an optional string property with keyvault(#247) - Added
KeyringObjecttype for how keyrings are represented inmemStore(#247)
Changed
- BREAKING: Add types for store and fix type discrepancies (#247)
- BREAKING: Constructor parameter
KeyringControllerArgsfields changed (#247): - BREAKING: type of
storeandmemStorepublic properties changed (#247):KeyringController.storeis now anObservableStore<KeyringControllerPersistentState>KeyringController.memStoreis now anObservableStore<KeyringControllerState>
- BREAKING:
updateMemStoreKeyringsmethod return type changed toPromise<void>(#247) - BREAKING:
KeyringControllerStatetype changed to include only non-persistent state (#247):- Now
undefinedis used instead ofnullwhenencryptionKeyandencryptionSaltare unset keyringsis now of typeKeyringObject[]instead ofKeyring<Json>password,store,memStorehave been removed - note that in practice this change only affects types- This changes cause the following methods also to change the return type:
createNewVaultAndKeychaincreateNewVaultAndRestoresetLockedsubmitPasswordsubmitEncryptionKeyaddNewAccountremoveAccountfullUpdate
- Now
- BREAKING: When constructing a simple keyring with
addNewKeyring, the second parameter (opts) is now expected to be an array of private keys rather than an object with aprivateKeysproperty (#253) - Restored support for keyrings with non-object serialized state (#253)
- Narrow return type of
signTypedMessageand encryption methods (#249)- The methods
signTypedMessage,getEncryptionPublicKey, anddecryptMessagenow returnstringrather thanBytes
- The methods