Skip to content

Releases: MetaMask/core

691.0.0

21 Nov 18:58
aeed98a

Choose a tag to compare

@metamask/transaction-controller 62.2.0

Added

  • Add musdConversion transaction type (#7218)

Changed

  • Move peer dependencies for controller and service packages to direct dependencies (#7209)
    • The dependencies moved are:
      • @metamask/accounts-controller (^35.0.0)
      • @metamask/approval-controller (^8.0.0)
      • @metamask/gas-fee-controller (^26.0.0)
      • @metamask/network-controller (^26.0.0)
      • @metamask/remote-feature-flag-controller (^2.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.

690.0.0

21 Nov 09:54
4238ec7

Choose a tag to compare

@metamask/transaction-controller 62.1.0

Changed

  • Performance optimisations in addTransaction and addTransactionBatch methods (#7205)
    • Add skipInitialGasEstimate option to addTransaction and addTransactionBatch methods.
    • Add disableUpgrade option to addTransactionBatch method.

689.0.0

20 Nov 21:35
2785995

Choose a tag to compare

@metamask/phishing-controller 16.1.0

Added

  • Export TokenScanCacheData and TokenScanResultType to allow consumers to have a type to reference if grabbing values directly from the controller's state (#7208)

688.0.0

20 Nov 15:55
7dda377

Choose a tag to compare

@metamask/assets-controllers 91.0.0

Changed

  • BREAKING: Update spot-prices endpoint to use Price API v3 (#7119)
    • Update AbstractTokenPricesService.fetchTokenPrices arguments and return type
    • Update CodefiTokenPricesServiceV2 list of supported currencies
    • Update TokenRatesController to fetch prices by native currency instead of by chain
    • Remove legacy polling code and unused events from TokenRatesController

@metamask/bridge-controller 63.0.0

Changed

  • BREAKING: Bump @metamask/assets-controllers from ^90.0.0 to ^91.0.0 (#7207)

@metamask/bridge-status-controller 63.0.0

Changed

  • BREAKING: Bump @metamask/bridge-controller from ^62.0.0 to ^63.0.0 (#7207)

@metamask/transaction-pay-controller 10.0.0

Added

  • Use gas fee token for Relay deposit transactions if insufficient native balance (#7193)
    • Add optional fees.isSourceGasFeeToken property to TransactionPayQuote and TransactionPayTotals type.

Changed

  • BREAKING: Bump @metamask/bridge-status-controller from ^62.0.0 to ^63.0.0 (#7207)
  • BREAKING: Bump @metamask/bridge-controller from ^62.0.0 to ^63.0.0 (#7207)
  • BREAKING: Bump @metamask/assets-controllers from ^90.0.0 to ^91.0.0 (#7207)

687.0.0

20 Nov 12:08
fcb43e6

Choose a tag to compare

@metamask/account-tree-controller 4.0.0

Changed

  • BREAKING: Bump @metamask/profile-sync-controller from ^26.0.0 to ^27.0.0 (#7202)
  • BREAKING: Bump @metamask/multichain-account-service from ^3.0.0 to ^4.0.0 (#7202)
  • BREAKING: Bump @metamask/keyring-controller from ^24.0.0 to ^25.0.0 (#7202)
  • BREAKING: Bump @metamask/accounts-controller from ^34.0.0 to ^35.0.0 (#7202)

@metamask/accounts-controller 35.0.0

Changed

  • BREAKING: Bump @metamask/network-controller from ^25.0.0 to ^26.0.0 (#7202)
  • BREAKING: Bump @metamask/keyring-controller from ^24.0.0 to ^25.0.0 (#7202)

@metamask/address-book-controller 7.0.1

Changed

  • Bump @metamask/controller-utils from ^11.15.0 to ^11.16.0 (#7202)

@metamask/assets-controllers 90.0.0

Added

  • Added optional filtering of Tron staking tokens (energy, bandwidth) in asset selectors selectAssetsBySelectedAccountGroup (defaults to true) (#7198)

Changed

  • Bump @metamask/polling-controller from ^15.0.0 to ^16.0.0 (#7202)
  • Bump @metamask/controller-utils from ^11.15.0 to ^11.16.0 (#7202)
  • BREAKING: Bump @metamask/transaction-controller from ^61.0.0 to ^62.0.0 (#7202)
  • BREAKING: Bump @metamask/preferences-controller from ^21.0.0 to ^22.0.0 (#7202)
  • BREAKING: Bump @metamask/phishing-controller from ^15.0.0 to ^16.0.0 (#7202)
  • BREAKING: Bump @metamask/network-controller from ^25.0.0 to ^26.0.0 (#7202)
  • BREAKING: Bump @metamask/keyring-controller from ^24.0.0 to ^25.0.0 (#7202)
  • BREAKING: Bump @metamask/core-backend from ^4.1.0 to ^5.0.0 (#7202)
  • BREAKING: Bump @metamask/accounts-controller from ^34.0.0 to ^35.0.0 (#7202)
  • BREAKING: Bump @metamask/account-tree-controller from ^3.0.0 to ^4.0.0 (#7202)

@metamask/bridge-controller 62.0.0

Added

  • Add and export getQuotesReceivedProperties utility to build the metrics payload for clients (#7182)

Changed

  • Bump @metamask/polling-controller from ^15.0.0 to ^16.0.0 (#7202)
  • Bump @metamask/multichain-network-controller from ^2.0.0 to ^3.0.0 (#7202)
  • Bump @metamask/gas-fee-controller from ^25.0.0 to ^26.0.0 (#7202)
  • Bump @metamask/controller-utils from ^11.15.0 to ^11.16.0 (#7202)
  • BREAKING: Bump @metamask/transaction-controller from ^61.0.0 to ^62.0.0 (#7202)
  • BREAKING: Bump @metamask/network-controller from ^25.0.0 to ^26.0.0 (#7202)
  • BREAKING: Bump @metamask/assets-controllers from ^89.0.0 to ^90.0.0 (#7202)
  • BREAKING: Bump @metamask/accounts-controller from ^34.0.0 to ^35.0.0 (#7202)

@metamask/bridge-status-controller 62.0.0

Changed

  • Bump @metamask/polling-controller from ^15.0.0 to ^16.0.0 (#7202)
  • Bump @metamask/controller-utils from ^11.15.0 to ^11.16.0 (#7202)
  • BREAKING: Bump @metamask/transaction-controller from ^61.0.0 to ^62.0.0 (#7202)
  • BREAKING: Bump @metamask/network-controller from ^25.0.0 to ^26.0.0 (#7202)
  • BREAKING: Bump @metamask/gas-fee-controller from ^25.0.0 to ^26.0.0 (#7202)
  • BREAKING: Bump @metamask/bridge-controller from ^61.0.0 to ^62.0.0 (#7202)
  • BREAKING: Bump @metamask/accounts-controller from ^34.0.0 to ^35.0.0 (#7202)
  • Update submitTx handler to accept optional isLoading and warnings arguments. When isLoading=true, the QuotesReceived event is published (#7182)

@metamask/controller-utils 11.16.0

Added

  • Add getCircuitState method to ServicePolicy (#7164)
    • This can be used when working with a chain of services to know whether a service's underlying circuit is open or closed.
  • Add onAvailable method to ServicePolicy (#7164)
    • This can be used to listen for the initial successful execution of the service, or the first successful execution after the service becomes degraded or the circuit breaks.
  • Add reset method to ServicePolicy (#7164)
    • This can be used when working with a chain of services to reset the state of the circuit breaker policy (e.g. if a primary recovers and we want to reset the failovers).
  • Export CockatielEventEmitter and CockatielFailureReason from Cockatiel (#7164)
    • These can be used to further transform types for event emitters/listeners.

@metamask/core-backend 5.0.0

Changed

  • Bump @metamask/profile-sync-controller from ^26.0.0 to ^27.0.0 (#7202)
  • Bump @metamask/controller-utils from ^11.15.0 to ^11.16.0 (#7202)
  • BREAKING: Bump @metamask/keyring-controller from ^24.0.0 to ^25.0.0 (#7202)
  • BREAKING: Bump @metamask/accounts-controller from ^34.0.0 to ^35.0.0 (#7202)

@metamask/delegation-controller 2.0.0

Changed

  • BREAKING: Bump @metamask/keyring-controller from ^24.0.0 to ^25.0.0 (#7202)
  • BREAKING: Bump @metamask/accounts-controller from ^34.0.0 to ^35.0.0 (#7202)

@metamask/earn-controller 11.0.0

Changed

  • Bump @metamask/controller-utils from ^11.15.0 to ^11.16.0 (#7202)
  • BREAKING: Bump @metamask/network-controller from ^25.0.0 to ^26.0.0 (#7202)
  • BREAKING: Bump @metamask/account-tree-controller from ^3.0.0 to ^4.0.0 (#7202)

@metamask/ens-controller 19.0.0

Changed

  • Bump @metamask/controller-utils from ^11.15.0 to ^11.16.0 (#7202)
  • BREAKING: Bump @metamask/network-controller from ^25.0.0 to ^26.0.0 (#7202)

@metamask/eth-block-tracker 15.0.0

Added

  • Add Context generic parameter to PollingBlockTracker (#7061)
    • This enables passing providers with different context types to the block tracker.

Changed

  • Bump @metamask/eth-json-rpc-provider from ^5.0.1 to ^6.0.0 (#7202)
  • BREAKING: Use InternalProvider instead of SafeEventEmitterProvider (#6796)
    • The block tracker expects a provider with an InternalProvider instead of a SafeEventEmitterProvider.
  • BREAKING: Migrate to JsonRpcEngineV2 (#7001)

@metamask/eth-json-rpc-middleware 22.0.0

Added

  • Add new function providerAsMiddlewareV2 for converting an InternalProvider into a JsonRpcEngine v2-compatible middleware (#7138)

Changed

  • BREAKING: Migrate all middleware from JsonRpcEngine to JsonRpcEngineV2 (#7065)
    • To continue using this package with the legacy JsonRpcEngine, use the asLegacyMiddleware backwards compatibility function.
  • BREAKING: Change the signatures of hooks for createWalletMiddleware (#7065)
    • To wit:
      • getAccounts takes an origin argument (string) instead of a JsonRpcRequest
      • processDecryptMessage and processEncryptionPublicKey take a MessageRequest from @metamask/message-manager instead of JsonRpcRequest
      • processPersonalMessage, processTransaction, processSignTransaction, processTypedMessage, processTypedMessageV3 and processTypedMessageV4 take a context as the third argument, before any other arguments
    • Be advised that request objects are now deeply frozen, and cannot be mutated.
  • BREAKING: Use InternalProvider instead of SafeEventEmitterProvider (#6796)
    • Wherever a SafeEventEmitterProvider was expected, an InternalProvider is now expected instead.
  • BREAKING: Stop retrying undefined results for methods that include a block...
Read more

686.0.0

19 Nov 10:05
3317996

Choose a tag to compare

@metamask/assets-controllers 89.0.1

Fixed

  • Fix duplicate native token address in CurrencyRateController spot price fallback API requests (#7181)

685.0.0

19 Nov 09:15
b46f15b

Choose a tag to compare

@metamask/gator-permissions-controller 0.5.0

Fixed

  • Does not add a pending revocation if user cancels the transaction (#7157)
  • BREAKING The GatorPermissionsController messenger must allow TransactionController:transactionApproved and TransactionController:transactionRejected events (#7157)

684.0.0

19 Nov 04:21
8d81699

Choose a tag to compare

@metamask/shield-controller 2.1.1

Added

  • Added transactionMeta.rawTx to the logTransaction request body. (#7178)

Changed

  • Skipped transaction coverage check when the transaction is submitted or confirmed. (#7178)

683.0.0

18 Nov 16:12
775ce93

Choose a tag to compare

@metamask/assets-controllers 89.0.0

Changed

  • BREAKING: Remove fallback to CryptoCompare on CurrencyRatesController and TokenRatesController (#7167)
  • Bump @metamask/core-backend from ^4.0.0 to ^4.1.0

Fixed

  • Enable RPC fallback when Accounts API fails or times out in TokenBalancesController (#7155)
    • Add 30-second timeout protection for Accounts API balance fetching requests
    • Propagate API errors to TokenBalancesController to trigger automatic RPC fallback
    • Remove error catching that prevented RPC fetcher from processing failed chains
    • Ensures native and staked balances are always fetched via RPC when API is unavailable
  • Add 30-second timeout protection for Accounts API calls in TokenDetectionController to prevent hanging requests (#7106)
    • Prevents token detection from hanging indefinitely on slow or unresponsive API requests
    • Automatically falls back to RPC-based token detection when API call times out or fails
    • Includes error logging for debugging timeout and failure events
  • Handle unprocessedNetworks from Accounts API responses to ensure complete token detection coverage (#7106)
    • When Accounts API returns networks it cannot process, those networks are automatically added to RPC detection
    • Applies to both TokenDetectionController and TokenBalancesController
    • Ensures all requested networks are processed even if API has partial support

@metamask/bridge-controller 61.0.0

Changed

  • BREAKING: Bump @metamask/assets-controller from ^88.0.0 to ^89.0.0 (#7179)

@metamask/bridge-status-controller 61.0.0

Changed

  • BREAKING: Bump @metamask/bridge-controller from ^60.0.0 to ^61.0.0 (#7179)

@metamask/transaction-pay-controller 8.0.0

Changed

  • BREAKING: Bump @metamask/assets-controller from ^88.0.0 to ^89.0.0 (#7179)
  • BREAKING: Bump @metamask/bridge-controller from ^60.0.0 to ^61.0.0 (#7179)
  • BREAKING: Bump @metamask/bridge-status-controller from ^60.0.0 to ^61.0.0 (#7179)