Releases: MetaMask/core
Releases · MetaMask/core
383.0.0
382.0.0
@metamask/bridge-controller 20.0.0
Changed
- Bump
@metamask/base-controller
from ^8.0.0 to ^8.0.1 (#5722) - Update
Quote
type withbridgePriceData
, which includes metadata about transferred amounts and the trade's priceImpact (#5721) - Include submitted quote's
priceImpact
as a property in analytics events (#5721) - BREAKING: Add additional required properties to Submitted, Completed, Failed and SnapConfirmationViewed events (#5721)
- BREAKING: Use
RemoteFeatureFlagController
to fetch feature flags, removed client specific feature flag keys. The feature flags you receive are now client specific based on theRemoteFeatureFlagController
state. (#5708)
Fixed
- Update MetricsSwapType.SINGLE to
single_chain
to match segment events schema (#5721)
@metamask/bridge-status-controller 17.0.0
Changed
381.0.0
@metamask/network-controller 23.3.0
Added
- Add optional
getBlockTrackerOptions
argument to NetworkController constructor (#5702) - Add optional
rpcFailoverEnabled
option to NetworkController constructor (false
by default) (#5668) - Add
enableRpcFailover
anddisableRpcFailover
methods to NetworkController (#5668)
Changed
- Bump
@metamask/base-controller
from ^8.0.0 to ^8.0.1 (#5722) - Disable the RPC failover behavior by default (#5668)
- You are free to set the
failoverUrls
property on an RPC endpoint, but it won't have any effect - To enable this behavior, either pass
rpcFailoverEnabled: true
to the constructor or callenableRpcFailover
after initialization
- You are free to set the
380.0.0
379.0.0
378.0.0
@metamask/assets-controllers 60.0.0
Added
- Add support for 'Sonic Mainnet' chainId in the list of SUPPORTED_CHAIN_IDS. (#5711)
Changed
- Refactor
TokensController
to remove reliance on a single selected network (#5659)TokensController
methods now requirenetworkClientId
as an explicit parameter.- Token management logic is fully parameterized by
chainId
, allowing multi-chain token handling and improving reliability across network changes. - Internal state updates and token metadata fetching are scoped to the corresponding
chainId
Removed
- BREAKING: Remove deprecated
chainId
instance property fromTokensController
(#5659)- All chain context is now derived from
networkClientId
at the method level.
- All chain context is now derived from
@metamask/bridge-controller 19.0.0
Changed
- BREAKING: Bump
@metamask/assets-controllers
peer dependency to^60.0.0
(#5717)
@metamask/bridge-status-controller 16.0.0
Changed
- BREAKING: Bump
@metamask/bridge-controller
peer dependency to^19.0.0
(#5717) - Remove
@metamask/assets-controllers
peer dependency (#5716)
Fixed
- Fixes transaction polling failures caused by adding tokens with the incorrect account address to the TokensControler (#5716)
377.0.0
@metamask/chain-agnostic-permission 0.5.0
Added
- Added
getCaipAccountIdsFromCaip25CaveatValue
,isInternalAccountInPermittedAccountIds
, andisCaipAccountIdInPermittedAccountIds
account id functions. (#5609) - Added
getAllScopesFromCaip25CaveatValue
,getAllWalletNamespacesFromCaip25CaveatValue
,getAllScopesFromPermission
,getAllScopesFromCaip25CaveatValue
, andisNamespaceInScopesObject
scope functions. (#5609) - Added
getCaip25CaveatFromPermission
misc functions. (#5609)
Changed
- BREAKING: Renamed
setPermittedAccounts
tosetNonSCACaipAccountIdsInCaip25CaveatValue
. (#5609) - BREAKING: Renamed
setPermittedChainIds
tosetChainIdinCaip25CaveatValue
. (#5609) - BREAKING: Renamed
addPermittedChainId
toaddCaipChainIdInCaip25CaveatValue
. (#5609) - Bump
@metamask/controller-utils
to^11.7.0
(#5583) - Bump
@metamask/network-controller
to^23.2.0
(#5583)
376.0.0
375.0.0
@metamask/assets-controllers 59.0.0
Added
- Add
SEI
network support (#5610)- Add token detection support
- Add NFT detection support
Changed
- Refactor
TokenRatesController
to support processing multiple chains simultaneously (#5645)- The controller now accepts an array of chain IDs instead of a single value, streamlining the polling process by iterating over all chains in one loop
- Refactor
AccountTrackerController
to support processing multiple chains simultaneously (#5680)- The controller now accepts an array of chain IDs instead of a single value, streamlining the polling process by iterating over all chains in one loop
Removed
- BREAKING: Eliminate legacy network dependency handling in
TokenRatesController
(#5645)- We're no longer relying on the currently selected network.
- BREAKING: Eliminate legacy network dependency handling in
AccountTrackerController
(#5680)- We're no longer relying on the currently selected network.
@metamask/bridge-controller 18.0.0
Changed
- BREAKING: Bump
@metamask/assets-controllers
peer dependency to^59.0.0
(#5712)