Skip to content

Releases: MetaMask/core

411.0.0

27 May 20:10
f2bf003
Compare
Choose a tag to compare

@metamask/token-search-discovery-controller 3.2.0

Changed

  • Bump @metamask/base-controller from ^8.0.0 to ^8.0.1 (#5722)
  • Add swappable param to token discovery controller and API service (#5819)

410.0.0

26 May 17:13
fa64c4a
Compare
Choose a tag to compare

@metamask/multichain-api-middleware 0.4.0

Added

  • When wallet_createSession handler is called with solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp (solana mainnet) as a requested scope, but there are not currently any accounts in the wallet supporting this scope, we now add a promptToCreateSolanaAccount to a metadata object on the requestPermissions call forwarded to the PermissionsController.

409.0.0

26 May 14:56
86df720
Compare
Choose a tag to compare

@metamask/assets-controllers 65.0.0

Added

  • BREAKING: Add event listener for TransactionController:transactionConfirmed on TokenDetectionController to trigger token detection (#5859)

Changed

  • BREAKING: Add event listener for KeyringController:accountRemoved instead of AccountsController:accountRemoved in TokenBalancesController and TokensController (#5859)

@metamask/bridge-controller 28.0.0

Changed

  • BREAKING: Bump @metamask/assets-controller peer dependency to ^65.0.0 (#5863)

@metamask/bridge-status-controller 25.0.0

Changed

  • BREAKING: Bump @metamask/bridge-controller peer dependency to ^28.0.0 (#5863)

408.0.0

23 May 14:21
1f9c597
Compare
Choose a tag to compare

@metamask/assets-controllers 64.0.0

Added

  • BREAKING: Add event listener for AccountsController:accountRemoved on TokenBalancesController to remove token balances for the removed account (#5726)

  • BREAKING: Add event listener for AccountsController:accountRemoved on TokensController to remove tokens for the removed account (#5726)

  • BREAKING: Add listAccounts action to TokensController (#5726)

  • BREAKING: Add listAccounts action to TokenBalancesController (#5726)

Changed

  • TokenBalancesController will now check if balances has changed before updating the state (#5726)

@metamask/bridge-controller 27.0.0

Changed

  • BREAKING: Bump @metamask/assets-controller peer dependency to ^64.0.0 (#5854)

@metamask/bridge-status-controller 24.0.0

Changed

  • BREAKING: Bump @metamask/bridge-controller peer dependency to ^27.0.0 (#5845)

407.0.0

23 May 09:12
a5384b9
Compare
Choose a tag to compare

@metamask/assets-controllers 63.1.0

Changed

  • Added optional account parameter to fetchHistoricalPricesForAsset method in MultichainAssetsRatesController (#5833)
  • Updated TokenListController fetchTokenList method to bail if cache is valid (#5804)
    • also cleaned up internal state update logic
  • Bump @metamask/controller-utils to ^11.9.0 (#5812)

406.0.0

22 May 11:16
1e14fed
Compare
Choose a tag to compare

@metamask/transaction-controller 56.2.0

Added

  • Add sequential batch support when publishBatchHook is not defined (#5762)

Fixed

  • Fix userFeeLevel as dappSuggested initially when dApp suggested gas values for legacy transactions (#5821)
  • Fix addTransaction function to correctly identify a transaction as a simpleSend type when the recipient is a smart account (#5822)
  • Fix gas fee randomisation with many decimal places (#5839)

405.0.0

21 May 18:06
7a55ad3
Compare
Choose a tag to compare

@metamask/bridge-controller 26.0.0

Added

  • BREAKING: Added a required minimumVersion to feature flag response schema (#5834)

Changed

  • Consume bridgeConfigV2 in the feature flag response schema for Mobile and export DEFAULT_FEATURE_FLAG_CONFIG (#5837)

@metamask/bridge-status-controller 23.0.0

Added

  • Subscribe to TransactionController and MultichainTransactionsController tx confirmed and failed events for swaps (#5829)

Changed

  • BREAKING: bump @metamask/bridge-controller peer dependency to ^26.0.0 (#5842)
  • BREAKING: Remove the published bridgeTransactionComplete and bridgeTransactionFailed events (#5829)
  • Modify events to use swap and swapApproval TransactionTypes when src and dest chain are the same (#5829)

404.0.0

20 May 17:40
452c0c3
Compare
Choose a tag to compare

@metamask/bridge-status-controller 22.0.0

Added

  • Error logs for invalid getTxStatus responses (#5816)

Changed

  • Bump @metamask/bridge-controller peer dependency to ^25.0.1 (#5811)
  • Bump @metamask/controller-utils to ^11.9.0 (#5812)

Fixed

  • Don't start or restart getTxStatus polling if transaction is a swap (#5831)

403.0.0

19 May 19:22
5e355fd
Compare
Choose a tag to compare

@metamask/bridge-controller 25.1.0

Added

  • Added optional isUnifiedUIEnabled flag to chain-level feature-flag ChainConfiguration type and updated the validation schema to accept the new flag (#5783)
  • Add and export calcSlippagePercentage, a utility that calculates the absolute slippage percentage based on the adjusted return and the sent amount (#5723).
  • Error logs for invalid getQuote responses (#5816)

Changed

  • Bump @metamask/controller-utils to ^11.9.0 (#5812)

402.0.0

16 May 09:49
9b02979
Compare
Choose a tag to compare

@metamask/multichain-transactions-controller 1.0.0

Changed

  • BREAKING: Store transactions by chain IDs (#5756)
  • Remove Solana mainnet filtering to support other Solana networks (devnet, testnet) (#5756)

@metamask/selected-network-controller 22.1.0

Added

  • Add support for Snaps (#4602)

Changed

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