Releases: MetaMask/core
Releases · MetaMask/core
770.0.0
@metamask/assets-controllers 99.0.0
Changed
- Bump
@metamask/transaction-controllerfrom^62.9.2to^62.10.0(#7737) - Expand NFT auto-detection to include BSC, Polygon, Avalanche, and Base chains in addition to existing supported chains (#7730)
Removed
- BREAKING: Remove
clearingTokenListData()method fromTokenListController(#7743)- Token list cache is now persistent across network changes and should not be cleared
- BREAKING: Remove
preventPollingOnNetworkRestartstate property fromTokenListController(#7743)- Constructor parameter
preventPollingOnNetworkRestartis no longer accepted - Method
updatePreventPollingOnNetworkRestart()has been removed - State no longer includes
preventPollingOnNetworkRestartfield
- Constructor parameter
- Remove
StorageServiceRemoveItemActionfromTokenListControllerallowed actions (#7743)- No longer needed as cache clearing functionality has been removed
@metamask/bridge-controller 65.0.1
Changed
- Bump
@metamask/assets-controllersfrom^98.0.0to^99.0.0(#7751) - Bump
@metamask/transaction-controllerfrom^62.9.2to^62.10.0(#7737)
@metamask/transaction-pay-controller 12.0.1
Changed
769.0.0
768.0.0
@metamask/transaction-controller 62.10.0
Added
- Add support for enhanced transaction history retrieval via WebSocket events (#7689)
- Add support for
submitHistoryLimitfeature flag to configure the maximum number of entries in the submit history (#7648)- Defaults to 100 if not provided.
- Add support for
transactionHistoryLimitfeature flag to configure the maximum number of transactions stored in state (#7648)- Defaults to 40 if not provided.
- Add optional
callTraceErrorstosimulationData(#7641)
Changed
- DEPRECATED: The
transactionHistoryLimitconstructor option is now deprecated (#7648)- Use the
transactionHistoryLimitfeature flag inRemoteFeatureFlagControllerinstead. - This option will be removed in a future version.
- Use the
Fixed
- Ensure provided
batchIdis used inaddTransactionBatchwhen going through the publish batch hook route (#7705)
767.0.0
@metamask/subscription-controller 5.4.1
Added
- Added
CancelTypetoSubscriptionandCancelSubscriptionRequestforcancelSubscriptionmethod (#7720) - Added
cancelUrlproperty toStartSubscriptionRequestandUpdatePaymentMethodCardRequest(#7719)
Changed
- Bump
@metamask/polling-controllerfrom^16.0.0to^16.0.2(#7604, #7642) - Bump
@metamask/transaction-controllerfrom^62.4.0to^62.9.2(#7325, #7430, #7494, #7596, #7602, #7604, #7642) - Bump
@metamask/utilsfrom^11.8.1to^11.9.0(#7511) - Bump
@metamask/controller-utilsfrom^11.16.0to^11.18.0(#7534, #7583)
766.0.0
@metamask/assets-controllers 98.0.0
Changed
- BREAKING:
TokenListControllernow persiststokensChainsCacheviaStorageServiceand requires clients to callinitialize()after construction (#7413)- Each chain's token cache is stored in a separate file, reducing write amplification
- All chains are loaded in parallel at startup to maintain compatibility with TokenDetectionController
tokensChainsCachestate metadata now haspersist: falseto prevent duplicate persistence- Clients must call
await controller.initialize()before using the controller - State changes are automatically persisted via debounced subscription
@metamask/bridge-controller 65.0.0
Changed
- Bump
@metamask/assets-controllersfrom^97.0.0to^98.0.0(#7731) - Corrects the previous 64.8.2 release to document breaking changes that were missed:
- BREAKING: Remove
getMinimumBalanceForRentExemptionInLamports,getMinimumBalanceForRentExemptionRequest,selectMinimumBalanceForRentExemptionInSOL, andminimumBalanceForRentExemptionInLamportsfrom state (#7715)
- BREAKING: Remove
@metamask/bridge-status-controller 65.0.0
Changed
- Bump
@metamask/bridge-controllerfrom^64.8.2to^65.0.0(#7731)
@metamask/transaction-pay-controller 12.0.0
Changed
765.0.0
764.0.0
@metamask/assets-controllers 97.0.0
Added
- Add dynamic fetching of supported networks from
/v2/supportedNetworksAPI endpoint with fallback to hardcoded list (#7716)- Add
fetchSupportedNetworks(),getSupportedNetworks(), andresetSupportedNetworksCache()exports from token-prices-service - Add
setNativeAssetIdentifiers()method toCodefiTokenPricesServiceV2for CAIP-19 native token lookups - Add
updateSupportedNetworks()method toCodefiTokenPricesServiceV2 - Add
NativeAssetIdentifiersMaptype export from token-prices-service
- Add
Changed
- BREAKING: Integrate
TokenRatesControllerwithNetworkEnablementControllerto use native asset identifiers for token price lookups (#7716) - Bump
@metamask/keyring-controllerfrom^25.0.0to^25.1.0(#7713) - Add
@metamask/network-enablement-controlleras a dependency (#7716)
Removed
- BREAKING: Remove swaps token fetching functionality from TokenSearchDiscoveryDataController (#7712)
- Remove
swapsTokenAddressesByChainIdfrom controller state - Remove
swapsSupportedChainIds,fetchTokens, andfetchSwapsTokensThresholdMsconstructor parameters - Remove
fetchSwapsTokensmethod
- Remove
@metamask/bridge-controller 64.8.2
Changed
- Bump
@metamask/assets-controllersfrom^96.0.0to^97.0.0(#7722)
@metamask/transaction-pay-controller 11.1.1
Changed
763.0.0
@metamask/keyring-controller 25.1.0
Added
- Added new
KeyringBuildertype (#7334) - Added an action to call
removeAccount(#7241)- This action is meant to be consumed by the
MultichainAccountServiceto encapsulate the act of removing a wallet when seed phrase backup fails in the clients.
- This action is meant to be consumed by the
- Added new
KeyringControllerError(#7498)- All controller's errors are now using this error type.
- Keyring instance operation errors are also now also wrapped with this error type.
Changed
- Upgrade
@metamask/utilsfrom^11.8.1to^11.9.0(#7511)
762.0.0
@metamask/assets-controllers 96.0.0
Added
- Add dynamic fetching of supported currencies from
/v1/supportedVsCurrenciesAPI endpoint with fallback to hardcoded list (#7699)
Changed
- Removed call to NFT collections endpoint (#7687)
- Bump
@metamask/multichain-account-servicefrom^5.0.0to^5.1.0(#7678) - Set zero address for native token of Henesys/MSU (#7666)
Removed
- BREAKING: Remove unused deprecated
getNFTContractInfofunction from NftController (#7703)
Fixed
- Fix crash in
selectAllMultichainAssetsselector when asset metadata is missingunitsproperty (#7702)
@metamask/bridge-controller 64.8.1
Changed
- Bump
@metamask/assets-controllersfrom^95.3.0to^96.0.0(#7704)
@metamask/bridge-status-controller 64.4.4
Changed
@metamask/transaction-pay-controller 11.1.0
Added
- Add
slippageTokensfeature flag support for token-specific slippage configuration (#7673)