Skip to content

Releases: MetaMask/core

383.0.0

01 May 09:46
cfb040d
Compare
Choose a tag to compare

@metamask/transaction-controller 54.4.0

Changed

  • Bump @metamask/network-controller from ^23.2.0 to ^23.3.0 (#5729)
  • Remove validation of from if origin is internal (#5707)

382.0.0

30 Apr 16:39
c5b19f4
Compare
Choose a tag to compare

@metamask/bridge-controller 20.0.0

Changed

  • Bump @metamask/base-controller from ^8.0.0 to ^8.0.1 (#5722)
  • Update Quote type with bridgePriceData, 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 the RemoteFeatureFlagController state. (#5708)

Fixed

  • Update MetricsSwapType.SINGLE to single_chain to match segment events schema (#5721)

@metamask/bridge-status-controller 17.0.0

Changed

  • Includes submitted quote's priceImpact as a property in analytics events (#5721)
  • Bump @metamask/base-controller from ^8.0.0 to ^8.0.1 (#5722)

381.0.0

29 Apr 20:50
6e8000b
Compare
Choose a tag to compare

@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 and disableRpcFailover 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 call enableRpcFailover after initialization

380.0.0

29 Apr 15:56
b0b9afb
Compare
Choose a tag to compare

@metamask/transaction-controller 54.3.0

Added

  • Add optional gasTransfer property to GasFeeToken (#5681)

Changed

  • Bump @metamask/base-controller from ^8.0.0 to ^8.0.1 (#5722)

379.0.0

29 Apr 09:07
cf37f30
Compare
Choose a tag to compare

@metamask/base-controller 8.0.1

Changed

  • Don't emit :stateChange from BaseController unnecessarily (#5480)

378.0.0

28 Apr 16:23
04001ea
Compare
Choose a tag to compare

@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 require networkClientId 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 from TokensController (#5659)
    • All chain context is now derived from networkClientId at the method level.

@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

28 Apr 14:04
cf8c4dc
Compare
Choose a tag to compare

@metamask/chain-agnostic-permission 0.5.0

Added

  • Added getCaipAccountIdsFromCaip25CaveatValue, isInternalAccountInPermittedAccountIds, and isCaipAccountIdInPermittedAccountIds account id functions. (#5609)
  • Added getAllScopesFromCaip25CaveatValue, getAllWalletNamespacesFromCaip25CaveatValue, getAllScopesFromPermission, getAllScopesFromCaip25CaveatValue, and isNamespaceInScopesObject
    scope functions. (#5609)
  • Added getCaip25CaveatFromPermission misc functions. (#5609)

Changed

  • BREAKING: Renamed setPermittedAccounts to setNonSCACaipAccountIdsInCaip25CaveatValue. (#5609)
  • BREAKING: Renamed setPermittedChainIds to setChainIdinCaip25CaveatValue. (#5609)
  • BREAKING: Renamed addPermittedChainId to addCaipChainIdInCaip25CaveatValue. (#5609)
  • Bump @metamask/controller-utils to ^11.7.0 (#5583)
  • Bump @metamask/network-controller to ^23.2.0 (#5583)

376.0.0

25 Apr 11:29
7e1e77b
Compare
Choose a tag to compare

@metamask/keyring-controller 21.0.4

Fixed

  • Ensure no duplicate accounts are persisted (#5710)

375.0.0

25 Apr 09:23
83b624a
Compare
Choose a tag to compare

@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)

@metamask/bridge-status-controller 15.0.0

Changed

  • BREAKING: Bump @metamask/assets-controllers peer dependency to ^59.0.0 (#5712)
  • BREAKING: Bump @metamask/bridge-controller peer dependency to ^18.0.0 (#5712)

374.0.0

24 Apr 11:21
9ed0318
Compare
Choose a tag to compare

@metamask/transaction-controller 54.2.0

Added

  • Add optional afterAdd hook to constructor (#5692)
    • Add optional txParamsOriginal property to TransactionMeta.
    • Add AfterAddHook type.

Fixed

  • Handle errors in isAtomicBatchSupported method (#5704)