Skip to content

Releases: MetaMask/core

430.0.0

06 Jun 21:22
3cd5946
Compare
Choose a tag to compare

@metamask/assets-controllers 68.1.0

Added

  • Added Base Network for networks to track in TokenDetectionController (#5902)
    • Network changes were added in @metamask/controller-utils
  • Added Metamask pooled staking token for Ethereum Hoodi testnet (#5855)

Changed

  • Bump @metamask/controller-utils to ^11.10.0 (#5935)

@metamask/controller-utils 11.10.0

Added

  • Add TransactionBatch in approval types enum (#5793)
  • Add Base network to default networks (#5902)
    • Add base-mainnet to BUILT_IN_NETWORKS
    • Add base-mainnet to InfuraNetworkType
    • Add BaseMainnet to BuiltInNetworkName enum
    • Add base-mainnet to ChainId type
    • Add BaseMainnet to NetworksTicker enum
    • Add BaseMainnet to BlockExplorerUrl quasi-enum
    • Add BaseMainnet to NetworkNickname quasi-enum

@metamask/earn-controller 1.1.0

Changed

  • Replace hardcoded "lendingWithdraw" in LendingTransactionTypes with TransactionType.lendingWithdraw (#5936)
  • Bump @metamask/controller-utils to ^11.10.0 (#5935)

@metamask/network-controller 23.6.0

Added

  • Add Base network to default infura networks (#5902)
    • Network changes were added in @metamask/controller-utils

Changed

  • Bump @metamask/controller-utils to ^11.10.0 (#5935)

@metamask/transaction-controller 57.2.0

Added

  • Add lendingWithdraw to TransactionType (#5936)

Changed

  • Bump @metamask/controller-utils to ^11.10.0 (#5935)

Fixed

  • Avoid coercing publishBatchHook to a boolean (#5934)

429.0.0

05 Jun 15:13
140693b
Compare
Choose a tag to compare

@metamask/keyring-controller 22.0.2

Fixed

  • Fixed serialized keyring comparison when establishing whether a vault update is needed (#5928)
    • The vault update was being skipped when a keyring class returns an object shallow copy through .serialize().

428.0.0

05 Jun 14:03
4c88977
Compare
Choose a tag to compare

@metamask/account-tree-controller 0.1.0

Added

  • Initial release (#5847)
    • Grouping accounts into 3 main categories: Entropy source, Snap ID, keyring types.

427.0.0

05 Jun 00:58
9067fc2
Compare
Choose a tag to compare

@metamask/bridge-controller 32.1.1

Fixed

  • Fetch minimumBalanceForRentExemptionInLamports asynchronously to prevent blocking the getQuote network call (#5921)
  • Fix invalid getMinimumBalanceForRentExemption commitment parameter (#5921)

426.0.0

04 Jun 16:15
bfe96d8
Compare
Choose a tag to compare

@metamask/transaction-controller 57.1.0

Added

  • Add gas property to TransactionBatchMeta, populated using simulation API (#5852)

Changed

  • Include gas limit and gas fees in simulation requests (#5754)
    • Add optional fee property to GasFeeToken.
  • Default addTransactionBatch to EIP7702 if supported, otherwise use sequential batch (#5853)

425.0.0

04 Jun 00:27
b149f01
Compare
Choose a tag to compare

@metamask/bridge-controller 32.1.0

Added

  • Include all invalid quote properties in sentry logs (#5913)

@metamask/bridge-status-controller 29.1.0

Added

  • Include all invalid status properties in sentry logs (#5913)

424.0.0

03 Jun 21:50
787c256
Compare
Choose a tag to compare

@metamask/bridge-controller 32.0.1

Fixed

  • Remove error_message property from QuotesRequested event payload (#5900)
  • Fail gracefully when fee calculations return invalid value or throw errors
    • Filter out single quote if TransactionController.getLayer1GasFee returns undefined (#5910)
    • Filter out single quote if an error is thrown by getLayer1GasFee (#5910)
    • Filter out single quote if an error is thrown by Solana snap's getFeeForTransaction method (#5910)

423.0.0

03 Jun 19:08
884962a
Compare
Choose a tag to compare

@metamask/foundryup 1.0.0

Added

  • Initial release of the foundryup package (#5810, #5909)
    • foundryup is a cross-platform tool that installs and manages Foundry binaries with MetaMask-specific defaults for use in development and end-to-end testing workflows. Features included:
      • CLI tool for managing Foundry binaries in MetaMask's development environment
      • Support for downloading and installing forge, anvil, cast, and chisel binaries
      • Cross-platform support for Linux, macOS, and Windows with both amd64 and arm64 architectures
      • Binary integrity verification using SHA-256 checksums
      • Intelligent binary installation with automatic symlink creation (falls back to copy if symlink fails)
      • Configurable binary caching with local storage support
      • Cache management commands for cleaning downloaded binaries
      • Automatic version detection and management of Foundry releases

422.0.0

03 Jun 17:37
5052b72
Compare
Choose a tag to compare

@metamask/address-book-controller 6.1.0

Added

  • Add contact event system (#5779)
    • Add AddressBookControllerContactUpdatedEvent and AddressBookControllerContactDeletedEvent types for contact events
    • Add list method on AddressBookController to get all address book entries as an array
    • Register message handlers for list, set, and delete actions
    • Add optional lastUpdatedAt property to AddressBookEntry to track when contacts were last modified

Changed

  • Bump @metamask/base-controller from ^8.0.0 to ^8.0.1 (#5722)
  • Bump @metamask/controller-utils to ^11.9.0 (#5583, #5765, #5812)

Fixed

  • Fix delete method to clean up empty chainId objects when the last address in a chain is deleted (#5779)

@metamask/notification-services-controller 10.0.0

Changed

  • BREAKING: bump @metamask/profile-sync-controller peer dependency to ^17.0.0 (#5906)

@metamask/profile-sync-controller 17.0.0

Added

  • BREAKING: Add multi-SRP support for authentication and user storage (#5753)
    • Add entropySource based authentication support for multiple SRPs
    • Add entropySource optional parameter for UserStorageController CRUD methods
    • Rename sessionData in AuthenticationControllerState to srpSessionData
    • Update AuthenticationController.performSignIn to return string[] rather than string
    • Add AccountsController:updateAccounts as a required allowed action to the UserStorageController messenger
    • Add listEntropySources to UserStorageController
    • Render UserStorageController.syncInternalAccountsWithUserStorage compatible with multi-SRP

421.0.0

03 Jun 13:42
396e61e
Compare
Choose a tag to compare

@metamask/earn-controller 1.0.0

Added

  • BREAKING: Added addTransactionFn option to the controller contructor which accepts the TransactionController addTransaction method (#5828)
  • Added @ethersproject/bignumber as a dependency (#5828)
  • Added reselect as a dependency (#5828)
  • Added new lending-related types: (#5828)
    • LendingMarketWithPosition
    • LendingPositionWithMarket
    • LendingPositionWithMarketReference
  • Added new lending-related selectors: (#5828)
    • selectLendingMarkets
    • selectLendingPositions
    • selectLendingMarketsWithPosition
    • selectLendingPositionsByProtocol
    • selectLendingMarketByProtocolAndTokenAddress
    • selectLendingMarketForProtocolAndTokenAddress
    • selectLendingPositionsByChainId
    • selectLendingMarketsByChainId
    • selectLendingMarketsByProtocolAndId
    • selectLendingMarketForProtocolAndId
    • selectLendingPositionsWithMarket
    • selectLendingMarketsForChainId
    • selectIsLendingEligible
    • selectLendingPositionsByProtocolChainIdMarketId
    • selectLendingMarketsByTokenAddress
    • selectLendingMarketsByChainIdAndOutputTokenAddress
    • selectLendingMarketsByChainIdAndTokenAddress
  • Added exports from @metamask/stake-sdk: (#5828)
    • isSupportedLendingChain
    • isSupportedPooledStakingChain
    • CHAIN_ID_TO_AAVE_POOL_CONTRACT
  • Added new lending-related methods to EarnController: (#5828)
    • refreshLendingMarkets
    • refreshLendingPositions
    • refreshLendingEligibility
    • refreshLendingData
    • getLendingPositionHistory
    • getLendingMarketDailyApysAndAverages
    • executeLendingDeposit
    • executeLendingWithdraw
    • executeLendingTokenApprove
    • getLendingTokenAllowance
    • getLendingTokenMaxWithdraw
    • getLendingTokenMaxDeposit
  • BREAKING: Added lending key to the controller state to replace stablecoin_lending (#5828)
  • Added optional env option which accepts an EarnEnvironments enum (#5828)
  • Added async lending state data update on constructor initialization (#5828)
  • Added refresh of lending positions and market data when the network state is updated (#5828)
  • Added refresh of lending positions when the user account address is updated (#5828)
  • Added refresh of lending positions when a transaction matching lending type is confirmed (#5828)

Changed

  • BREAKING: Updated refreshPooledStakingVaultDailyApys method to take chain id as its first param (#5828)
  • BREAKING: bump @metamask/accounts-controller peer dependency to ^30.0.0 (#5888)
  • BREAKING: updates controller state to allow pooled staking data to be stored per supported chain id (#5828)
  • Updated refreshPooledStakingData to refresh pooled staking data for all supported chains (#5828)
  • Updated these methods to take an optional chain id to control which chain data is fetched for (#5828)
    • refreshPooledStakingVaultMetadata
    • refreshPooledStakes
    • refreshPooledStakingVaultDailyApys
    • refreshPooledStakingVaultApyAverages
  • Updated refreshStakingEligibility to update the eligibility in the lending state scope as well pooled staking (#5828)
  • Updated refreshPooledStakes method to take an optional chain id to control which chain data is fetched for (#5828)
  • Updated to refresh pooled staking data for all chains when the network state is updated (#5828)
  • Bump @metamask/controller-utils to ^11.9.0 (#5812)
  • Bump @metamask/stake-sdk dependency to ^3.2.0 (#5828)

Removed

  • BREAKING: Removed lending-related types: (#5828)
    • StablecoinLendingState
    • StablecoinVault
  • BREAKING: Removed stablecoin_lending key from the controller state to replace with lending (#5828)