Skip to content

Releases: MetaMask/core

754.0.0

16 Jan 20:25
9f686b3

Choose a tag to compare

@metamask/ramps-controller 4.0.0

Added

  • Add preferredProvider state and setPreferredProvider() method to RampsController (#7617)

  • Export UserRegion type (#7646)

  • Add defaultAmount and quickAmounts fields to the Country type (#7645)

  • Add providers state and getProviders() method to RampsController. Providers are automatically fetched on init and when the region changes (#7652)

Changed

  • BREAKING: Change userRegion from string | null to UserRegion | null. Access region code via userRegion.regionCode. (#7646)

  • Update getCountries() endpoint to use v2 API (v2/regions/countries) (#7645)

  • Add getApiPath() helper function for versioned API paths with v2 default (#7645)

Removed

  • BREAKING: Remove eligibility concept from RampsController. The eligibility state, updateEligibility() method, and getEligibility() service method have been removed. The Eligibility type and RampsServiceGetEligibilityAction are no longer exported. (#7651)

753.0.0

16 Jan 14:50
d0cdd03

Choose a tag to compare

@metamask/profile-metrics-controller 3.0.0

Added

  • ProfileMetricsController contructor now accepts an optional initialDelayDuration parameter (#7624)
    • The parameter can be used to override the default time-based delay for the first data collection after opt-in
  • Add skipInitialDelay() method to ProfileMetricsController (#7624)
    • The method can be also called through the ProfileMetricsController:skipInitialDelay action via messenger

Changed

  • BREAKING: ProileMetricsControllerMessenger now requires the TransactionController:transactionSubmitted action to be allowed (#7624)
  • Set time-based delay for first ProfileMetricsController data collection after opt-in (#7624)
  • Upgrade @metamask/utils from ^11.8.1 to ^11.9.0 (#7511)
  • Bump @metamask/controller-utils from ^11.16.0 to ^11.18.0 (#7534, #7583)
  • Bump @metamask/accounts-controller from ^35.0.0 to ^35.0.2 (#7604, #7642)
  • Bump @metamask/polling-controller from ^16.0.0 to ^16.0.2 (#7604, #7642)

752.0.0

15 Jan 19:20
4a1b947

Choose a tag to compare

@metamask/accounts-controller 35.0.2

Changed

  • Bump @metamask/network-controller from ^28.0.0 to ^29.0.0 (#7642)

@metamask/assets-controllers 95.3.0

Added

  • Add BOB (0xed88) mapping to eip155:60808/erc20:0x0000000000000000000000000000000000000000 (#7635)

Changed

  • Bump @metamask/accounts-controller from ^35.0.1 to ^35.0.2 (#7642)
  • Bump @metamask/network-controller from ^28.0.0 to ^29.0.0 (#7642)
  • Bump @metamask/polling-controller from ^16.0.1 to ^16.0.2 (#7642)
  • Bump @metamask/transaction-controller from ^62.9.1 to ^62.9.2 (#7642)

Fixed

  • Fix native token fiat calculation for chains without market data by using currency rate fallback (#7636)

@metamask/bridge-controller 64.5.1

Changed

  • Bump @metamask/accounts-controller from ^35.0.1 to ^35.0.2 (#7642)
  • Bump @metamask/assets-controllers from ^95.2.0 to ^95.3.0 (#7642)
  • Bump @metamask/gas-fee-controller from ^26.0.1 to ^26.0.2 (#7642)
  • Bump @metamask/multichain-network-controller from ^3.0.1 to ^3.0.2 (#7642)
  • Bump @metamask/network-controller from ^28.0.0 to ^29.0.0 (#7642)
  • Bump @metamask/polling-controller from ^16.0.1 to ^16.0.2 (#7642)
  • Bump @metamask/transaction-controller from ^62.9.1 to ^62.9.2 (#7642)

@metamask/bridge-status-controller 64.4.3

Changed

  • Bump @metamask/accounts-controller from ^35.0.1 to ^35.0.2 (#7642)
  • Bump @metamask/gas-fee-controller from ^26.0.1 to ^26.0.2 (#7642)
  • Bump @metamask/network-controller from ^28.0.0 to ^29.0.0 (#7642)
  • Bump @metamask/polling-controller from ^16.0.1 to ^16.0.2 (#7642)
  • Bump @metamask/transaction-controller from ^62.9.1 to ^62.9.2 (#7642)
  • Bump @metamask/bridge-controller from ^64.4.1 to ^64.5.1 (#7622, #7642)

@metamask/connectivity-controller 0.1.0

Added

  • Initial release (#7623)

@metamask/earn-controller 11.1.0

Added

  • Add Tron staking APY support with tron_staking state, methods, and selectors (#7448)

Changed

  • Move peer dependencies for controller and service packages to direct dependencies (#7209, #7258, #7534, #7583, #7604, #7642)
    • The dependencies moved are:
      • @metamask/account-tree-controller (^4.0.0)
      • @metamask/network-controller (^29.0.0)
    • In clients, it is now possible for multiple versions of these packages to exist in the dependency tree.
      • For example, this scenario would be valid: a client relies on @metamask/controller-a 1.0.0 and @metamask/controller-b 1.0.0, and @metamask/controller-b depends on @metamask/controller-a 1.1.0.
    • Note, however, that the versions specified in the client's package.json always "win", and you are expected to keep them up to date so as not to break controller and service intercommunication.
  • Bump @metamask/controller-utils from ^11.16.0 to ^11.18.0 (#7534, #7583)

@metamask/ens-controller 19.0.2

Changed

  • Bump @metamask/network-controller from ^28.0.0 to ^29.0.0 (#7642)

@metamask/eth-block-tracker 15.0.1

Changed

  • Upgrade @metamask/utils from ^11.8.1 to ^11.9.0 (#7511)

@metamask/gas-fee-controller 26.0.2

Changed

  • Bump @metamask/network-controller from ^28.0.0 to ^29.0.0 (#7642)
  • Bump @metamask/polling-controller from ^16.0.1 to ^16.0.2 (#7642)

@metamask/json-rpc-engine 10.2.1

Changed

  • Upgrade @metamask/utils from ^11.8.1 to ^11.9.0 (#7511)

Fixed

  • Ensure non-object data in RPC errors is deserialized correctly when using JsonRpcEngine compatibility tools (#7638)

@metamask/multichain-api-middleware 1.2.6

Changed

  • Bump @metamask/json-rpc-engine from ^10.2.0 to ^10.2.1 (#7642)
  • Upgrade @metamask/utils from ^11.8.1 to ^11.9.0 (#7511)
  • Bump @metamask/network-controller from ^27.0.0 to ^29.0.0 (#7534, #7583, #7604, #7642)
  • Bump @metamask/controller-utils from ^11.16.0 to ^11.18.0 (#7534, #7583)
  • Bump @metamask/permission-controller from ^12.1.1 to ^12.2.0 (#7559)
  • Bump @metamask/chain-agnostic-permission from ^1.3.0 to ^1.4.0 (#7567)

Fixed

  • Fix wallet_revokeSession to handle cases where params is not provided (#7551)

@metamask/multichain-network-controller 3.0.2

Changed

  • Bump @metamask/accounts-controller from ^35.0.1 to ^35.0.2 (#7642)
  • Bump @metamask/network-controller from ^28.0.0 to ^29.0.0 (#7642)

@metamask/network-controller 29.0.0

Added

  • Add dependency @metamask/connectivity-controller ^0.1.0 (#7642)

Changed

  • Bump @metamask/eth-block-tracker from ^15.0.0 to ^15.0.1 (#7642)
  • Bump @metamask/json-rpc-engine from ^10.2.0 to ^10.2.1 (#7642)
  • Bump @metamask/eth-json-rpc-middleware from ^22.0.1 to ^23.0.0 (#7634)
  • BREAKING: NetworkController now requires ConnectivityController:getState action handler to be registered on the messenger (#7627)
    • The NetworkController now depends on the ConnectivityController to prevent retries and suppress events when the user is offline.
    • When offline, NetworkController:rpcEndpointUnavailable and NetworkController:rpcEndpointDegraded events are suppressed since retries don't occur and circuit breakers don't trigger.
    • You must register a ConnectivityController:getState action handler on your root messenger that returns an object with a connectivityStatus property ('online' or 'offline').
    • You must delegate the ConnectivityController:getState action from your root messenger to the NetworkControllerMessenger using rootMessenger.delegate({ messenger: networkControllerMessenger, actions: ['ConnectivityController:getState'] }).

@metamask/network-enablement-controller 4.1.0

Added

  • Add nativeAssetIdentifiers state property that maps CAIP-2 chain IDs to CAIP-19-like native asset identifiers (e.g., eip155:1/slip44:60) (#7609)
  • Add initNativeAssetIdentifiers method to populate nativeAssetIdentifiers state property (#7609)
    • This is designed to be called during controller initialization.
  • Add Slip44Service to look up SLIP-44 coin types by native currency symbol (#7609)
  • Add @metamask/slip44 dependency for SLIP-44 coin type lookups (#7609)
  • Subscribe to NetworkController:stateChange to update nativeAssetIdentifiers when a network's native currency changes (#7609)

Changed

Read more

751.0.0

15 Jan 17:33
9749c4b

Choose a tag to compare

@metamask/eth-json-rpc-middleware 23.0.0

Added

  • Support for wallet_getSupportedExecutionPermissions and wallet_getGrantedExecutionPermissions RPC methods (#7603)

Changed

  • Upgrade @metamask/utils from ^11.8.1 to ^11.9.0 (#7511)
  • BREAKING: Changed wallet_requestExecutionPermissions to comply with 7715 spec revisions.

@metamask/gator-permissions-controller 1.0.0

Changed

  • Bump @metamask/snaps-controllers from ^14.0.1 to ^17.2.0 (#7550)
  • Bump @metamask/snaps-sdk from ^9.0.0 to ^10.3.0 (#7550)
  • Bump @metamask/snaps-utils from ^11.0.0 to ^11.7.0 (#7550)
  • Upgrade @metamask/utils from ^11.8.1 to ^11.9.0 (#7511)
  • Bump @metamask/transaction-controller from ^62.5.0 to ^62.9.1 (#7430, #7494, #7596, #7602, #7604)
  • BREAKING: Gator Permissions Controller and Gator Permission Decoder core types have been updated to comply with 7715 spec revisions (#7613)
    • Bump @metamask/7715-permission-type from ^0.4.0 to ^0.5.0

@metamask/shield-controller 5.0.0

Changed

  • Bump @metamask/controller-utils from ^11.17.0 to ^11.18.0 (#7583)
  • BREAKING: Bump @metamask/signature-controller from ^38.0.0 to ^39.0.0 (#7604, #7634)
    • When passing a signature request to checkSignatureCoverage, the decodedPermission property of the request has a different shape. See changelog for @metamask/gator-permissions-controller 1.0.0 for more.
  • Bump @metamask/transaction-controller from ^62.7.0 to ^62.9.1 (#7596, #7602, #7604)

@metamask/signature-controller 39.0.0

Changed

  • Bump @metamask/gator-permissions-controller from 0.8.0 to 1.0.0 (#7634)

750.0.0

14 Jan 15:21
a3897fe

Choose a tag to compare

@metamask/assets-controllers 95.2.0

Added

  • Add RWA data to asset fetching endpoints (#7548)
  • Add Rootstock (0x1e) mapping to eip155:30/erc20:0x542fda317318ebf1d3deaf76e0b632741a7e677d for RBTC (#7601)

Changed

  • Bump @metamask/transaction-controller from ^62.8.0 to ^62.9.1 (#7602, #7604)
  • Bump @metamask/network-controller from ^27.2.0 to ^28.0.0 (#7604)
  • Bump @metamask/accounts-controller from ^35.0.0 to ^35.0.1 (#7604)
  • Bump @metamask/polling-controller from ^16.0.0 to ^16.0.1 (#7604)
  • Update Plasma (0x2611) mapping to eip155:9745/erc20:0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee for XPL (#7601)
  • TokensController.watchAsset now supports optional origin/page metadata and safely falls back for empty origins to avoid rejected approvals (#7612)
  • Refactor CurrencyRateController exchange rate fetching with improved fallback logic (#7606)
    • Improved partial success handling: when some currencies succeed via the Price API and others fail, only failed currencies trigger the fallback mechanism
    • Extracted helper methods for better code organization and testability

@metamask/bridge-controller 64.5.0

Added

  • Add has_gas_included_quote property to QuoteFetchData type and compute it in QuotesReceived event to indicate if any received quote has gas included (#7611)
  • Add optional usd_balance_source property to QuotesReceived event and getQuotesReceivedProperties utility to allow clients to pass the source token balance in USD (#7611)

Changed

  • Bump @metamask/assets-controllers from ^95.1.0 to ^95.2.0 (#7622)

749.0.0

13 Jan 20:24
5260907

Choose a tag to compare

@metamask/ramps-controller 3.0.0

Added

  • Add getTokens() method to RampsController for fetching available tokens by region and action (#7607)

Changed

  • BREAKING: Rename geolocation to userRegion and updateGeolocation() to updateUserRegion() in RampsController (#7563)

  • Bump @metamask/controller-utils from ^11.17.0 to ^11.18.0 (#7583)

748.0.0

13 Jan 15:39
2e79cb5

Choose a tag to compare

@metamask/accounts-controller 35.0.1

Changed

  • Bump @metamask/snaps-controllers from ^14.0.1 to ^17.2.0 (#7550)
  • Bump @metamask/snaps-sdk from ^9.0.0 to ^10.3.0 (#7550)
  • Bump @metamask/snaps-utils from ^11.0.0 to ^11.7.0 (#7550)
  • Upgrade @metamask/utils from ^11.8.1 to ^11.9.0 (#7511)
  • Move peer dependencies for controller and service packages to direct dependencies (#7209, #7258, #7534, #7583, #7604)
    • The dependencies moved are:
      • @metamask/keyring-controller (^25.0.0)
      • @metamask/network-controller (^28.0.0)
      • @metamask/snaps-controllers (^14.0.1)
    • In clients, it is now possible for multiple versions of these packages to exist in the dependency tree.
      • For example, this scenario would be valid: a client relies on @metamask/controller-a 1.0.0 and @metamask/controller-b 1.0.0, and @metamask/controller-b depends on @metamask/controller-a 1.1.0.
    • Note, however, that the versions specified in the client's package.json always "win", and you are expected to keep them up to date so as not to break controller and service intercommunication.

@metamask/bridge-controller 64.4.1

Changed

  • Bump @metamask/transaction-controller from ^62.8.0 to ^62.9.1 (#7602, #7604)
  • Bump @metamask/assets-controllers from ^95.0.0 to ^95.1.0 (#7600)
  • Bump @metamask/network-controller from ^27.2.0 to ^28.0.0 (#7604)
  • Bump @metamask/accounts-controller from ^35.0.0 to ^35.0.1 (#7604)
  • Bump @metamask/gas-fee-controller from ^26.0.0 to ^26.0.1 (#7604)
  • Bump @metamask/multichain-network-controller from ^3.0.0 to ^3.0.1 (#7604)

@metamask/bridge-status-controller 64.4.2

Changed

  • Bump @metamask/transaction-controller from ^62.8.0 to ^62.9.1 (#7602, #7604)
  • Bump @metamask/network-controller from ^27.2.0 to ^28.0.0 (#7604)
  • Bump @metamask/accounts-controller from ^35.0.0 to ^35.0.1 (#7604)
  • Bump @metamask/bridge-controller from ^64.4.0 to ^64.4.1 (#7604)
  • Bump @metamask/gas-fee-controller from ^26.0.0 to ^26.0.1 (#7604)
  • Bump @metamask/polling-controller from ^16.0.0 to ^16.0.1 (#7604)

@metamask/ens-controller 19.0.1

Changed

  • Upgrade @metamask/utils from ^11.8.1 to ^11.9.0 (#7511)
  • Move peer dependencies for controller and service packages to direct dependencies (#7209, #7258, #7534, #7583, #7604)
    • The dependencies moved are:
      • @metamask/network-controller (^28.0.0)
    • In clients, it is now possible for multiple versions of these packages to exist in the dependency tree.
      • For example, this scenario would be valid: a client relies on @metamask/controller-a 1.0.0 and @metamask/controller-b 1.0.0, and @metamask/controller-b depends on @metamask/controller-a 1.1.0.
    • Note, however, that the versions specified in the client's package.json always "win", and you are expected to keep them up to date so as not to break controller and service intercommunication.
  • Bump @metamask/controller-utils from ^11.16.0 to ^11.18.0 (#7534, #7583)

@metamask/gas-fee-controller 26.0.1

Changed

  • Upgrade @metamask/utils from ^11.8.1 to ^11.9.0 (#7511)
  • Move peer dependencies for controller and service packages to direct dependencies (#7209, #7258, #7534, #7583, #7604)
    • The dependencies moved are:
      • @metamask/network-controller (^28.0.0)
    • In clients, it is now possible for multiple versions of these packages to exist in the dependency tree.
      • For example, this scenario would be valid: a client relies on @metamask/controller-a 1.0.0 and @metamask/controller-b 1.0.0, and @metamask/controller-b depends on @metamask/controller-a 1.1.0.
    • Note, however, that the versions specified in the client's package.json always "win", and you are expected to keep them up to date so as not to break controller and service intercommunication.
  • Bump @metamask/controller-utils from ^11.16.0 to ^11.18.0 (#7534, #7583)
  • Bump @metamask/polling-controller from ^16.0.0 to ^16.0.1 (#7604)

@metamask/multichain-network-controller 3.0.1

Changed

  • Upgrade @metamask/utils from ^11.8.1 to ^11.9.0 (#7511)
  • Move peer dependencies for controller and service packages to direct dependencies (#7209, #7258, #7534, #7583, #7604)
    • The dependencies moved are:
      • @metamask/accounts-controller (^35.0.1)
      • @metamask/network-controller (^28.0.0)
    • In clients, it is now possible for multiple versions of these packages to exist in the dependency tree.
      • For example, this scenario would be valid: a client relies on @metamask/controller-a 1.0.0 and @metamask/controller-b 1.0.0, and @metamask/controller-b depends on @metamask/controller-a 1.1.0.
    • Note, however, that the versions specified in the client's package.json always "win", and you are expected to keep them up to date so as not to break controller and service intercommunication.
  • Bump @metamask/controller-utils from ^11.16.0 to ^11.18.0 (#7534, #7583)

@metamask/network-controller 28.0.0

Changed

  • Corrects the previous 27.2.0 release to document breaking changes that were missed:
    • BREAKING: Remove dependency on @metamask/error-reporting-service (#7542)
      • ErrorReportingService:captureException is no longer an allowed action on the NetworkController messenger. You do not need to delegate its ErrorReportingService:captureException action to the NetworkController messenger.

@metamask/polling-controller 16.0.1

Changed

  • Upgrade @metamask/utils from ^11.8.1 to ^11.9.0 (#7511)
  • Move peer dependencies for controller and service packages to direct dependencies (#7209, #7258, #7534, #7583, #7604)
    • The dependencies moved are:
      • @metamask/network-controller (^28.0.0)
    • In clients, it is now possible for multiple versions of these packages to exist in the dependency tree.
      • For example, this scenario would be valid: a client relies on @metamask/controller-a 1.0.0 and @metamask/controller-b 1.0.0, and @metamask/controller-b depends on @metamask/controller-a 1.1.0.
    • Note, however, that the versions specified in the client's package.json always "win", and you are expected to keep them up to date so as not to break controller and service intercommunication.
  • Bump @metamask/controller-utils from ^11.16.0 to ^11.18.0 (#7534, #7583)

@metamask/sample-controllers 4.0.1

Changed

  • Upgrade @metamask/utils from ^11.8.1 to ^11.9.0 (#7511)
  • Move peer dependencies for controller and service packages to direct dependencies (#7209, #7258, #7534, #7583, #7604)
    • The dependencies moved are:
      • @metamask/network-controller (^28.0.0)
    • In clients, it is now possible for multiple versions of these packages to exist in the dependency tree.
      • For example, this scenario would be valid: a client relies on @metamask/controller-a 1.0.0 and @metamask/controller-b 1.0.0, and @metamask/controller-b depends on @metamask/controller-a 1.1.0.
    • Note, however, that the versions specified in the client's package.json always "w...
Read more

747.0.0

12 Jan 10:53
d37909d

Choose a tag to compare

@metamask/transaction-controller 62.9.0

Added

  • Add optional targetFiat property to MetamaskPayMetadata type (#7562)

@metamask/transaction-pay-controller 11.0.0

Added

  • BREAKING: Support max amount quotes (#7562)
    • Add TransactionPayController:setIsMaxAmount messenger action.
    • Add isMaxAmount property to TransactionData type.
    • Add targetAmount property to TransactionPayQuote and TransactionPayTotals.
    • Update Relay quote requests to use EXACT_INPUT trade type when max amount is selected.
    • Update totals calculation to account for max amount selection.

Changed

  • Bump @metamask/controller-utils from ^11.17.0 to ^11.18.0 (#7583)
  • Bump @metamask/network-controller from ^27.1.0 to ^27.2.0 (#7583)
  • Bump @metamask/assets-controllers from ^94.0.0 to ^95.1.0 (#7584, #7600)
  • Bump @metamask/transaction-controller from ^62.7.0 to ^62.9.0 (#7596, #7602)
  • Bump @metamask/bridge-controller from ^64.3.0 to ^64.4.0 (#7596)
  • Bump @metamask/bridge-status-controller from ^64.3.0 to ^64.4.1 (#7596, #7597)

746.0.0

12 Jan 09:23
d8659d1

Choose a tag to compare

@metamask/assets-controllers 95.1.0

Added

  • Add RWA (Real World Assets) data support for token metadata endpoint (#7595)
    • Update token service to include RWA data in API requests by appending includeRwaData=true parameter to token list API calls
    • TokenListController now includes rwaData optional field in TokenListToken type to support RWA data in token list retrieval
    • Reduced TokenListController cache time from 24hrs to 4hrs.

Changed

  • Bump @metamask/multichain-account-service from ^4.1.0 to ^5.0.0 (#7594)
  • Bump @metamask/transaction-controller from ^62.7.0 to ^62.8.0 (#7596)
  • AccountTrackerController now triggers an immediate balance refresh when the keyring is unlocked, instead of waiting for the next polling cycle (#7585)

Fixed

  • Add missing native coin non-zero address for networks: Gnosis and MSU (#7592)

745.0.0

09 Jan 17:48
6e46ef2

Choose a tag to compare

@metamask/bridge-status-controller 64.4.1

Fixed

  • Use BRIDGE_PREFERRED_GAS_ESTIMATE from @metamask/bridge-controller for gas price estimates to align with validation (#7582)