Skip to content

Releases: MetaMask/core

995.0.0

20 May 20:27
83cbba5

Choose a tag to compare

@metamask/gator-permissions-controller 4.2.0

Added

  • Add token-approval-revocation execution permission type decoding (#8823)

Changed

  • Bump @metamask/transaction-controller from ^65.3.0 to ^66.0.0 (#8796, #8848)

994.0.0

20 May 17:17
8d01168

Choose a tag to compare

@metamask/assets-controller 8.0.0

Changed

  • Bump @metamask/transaction-controller from ^65.3.0 to ^66.0.0 (#8796, #8848)
  • Bump @metamask/core-backend from ^6.2.2 to ^6.3.0 (#8813)
  • Bump @metamask/phishing-controller from ^17.1.2 to ^17.2.0 (#8819)
  • Bump @metamask/network-enablement-controller from ^5.1.1 to ^5.2.0 (#8834)
  • Bump @metamask/polling-controller from ^16.0.5 to ^16.0.6 (#8834)

Fixed

  • AccountsApiDataSource no longer treats non-EVM chains (e.g. Solana) returned by the Accounts API as active chains; only eip155: networks are now included (#8864)
  • BREAKING: SnapDataSource: SnapControllerSnapInstalledEvent has been added to SnapDataSourceAllowedEvents. Hosts that restrict which events flow through the AssetsController messenger must now also delegate SnapController:snapInstalled; failing to do so will prevent snap chain re-discovery after install. Re-run keyring snap discovery when a new snap is installed so that snap-backed chains (Bitcoin, Solana, Tron, etc.) become available immediately after install (#8862)
  • Non-EVM assets with a slip44 asset namespace (e.g. Bitcoin, Solana native, TRON) are now correctly typed as native instead of erc20 in assetsInfo (#8811)
  • Solana SPL tokens (CAIP-19 solana:.../token:<address>) are now correctly typed as spl instead of erc20 in assetsInfo (#8811)

@metamask/bridge-controller 73.0.1

Changed

  • Bump @metamask/assets-controller from ^7.1.2 to ^8.0.0 (#8866)

Fixed

  • Fix calcSentAmount double-counting fees for intent-based swap quotes (#8845)

@metamask/transaction-pay-controller 22.6.3

Changed

  • Bump @metamask/assets-controller from ^7.1.2 to ^8.0.0 (#8866)
  • Bump @metamask/bridge-controller from ^73.0.0 to ^73.0.1 (#8866)

993.0.0

20 May 13:19
4756aa2

Choose a tag to compare

@metamask/ramps-controller 14.0.0

Added

  • Authenticate ramps requests by sourcing a bearer token from AuthenticationController:getBearerToken and sending it as an Authorization: Bearer <token> header for getBuyWidgetUrl (#8843)
  • Add @metamask/profile-sync-controller ^28.1.0 as a runtime dependency (#8843)

Changed

  • BREAKING: RampsServiceMessenger now requires the AuthenticationController:getBearerToken action to be delegated to it; consumers must register this action handler before calling getBuyWidgetUrl, otherwise the call will throw (#8843)
  • Bump @metamask/controller-utils from ^12.0.0 to ^12.1.0 (#8774)

@metamask/transaction-pay-controller 22.6.2

Changed

  • Bump @metamask/ramps-controller from ^13.3.1 to ^14.0.0 (#8859)

992.0.0

19 May 22:00
35b0460

Choose a tag to compare

@metamask/transaction-pay-controller 22.6.1

Changed

  • Bump @metamask/bridge-controller from ^72.0.4 to ^73.0.0 (#8850)
  • Remove unnecessary type assertions for bridge quotes (#8805)

Fixed

  • Treat perpsDepositAndOrder transactions identically to perpsDeposit in the Relay strategy (#8851)

991.0.0

19 May 21:40
6504719

Choose a tag to compare

@metamask/bridge-controller 73.0.0

Added

  • Implement transaction batch and fee fetching for BatchSell quotes (#8805)
    • add new states batchSellTrades and batchSellTradesLoadingStatus to contain transaction data and its fetch status
    • support transaction batch data fetching with the new updateBatchSellTrades handler. Clients will need to call this whenever the recommended quotes update
    • implement selectBatchSellTrades selector which returns whether a batch is submittable, and the totalNetworkFee provided by the obtainGaslessBatch endpoint and its converted values

Changed

  • BREAKING: Narrow TxData validation from generic string to Hex ([#8805](https://github.com/MetaMask/core/pull/
  • Bump @metamask/assets-controller from ^7.1.1 to ^7.1.2 (#8783)
  • Bump @metamask/assets-controllers from ^108.0.0 to ^108.1.0 (#8783)
  • Bump @metamask/profile-sync-controller from ^28.0.2 to ^28.1.0 (#8783)
  • Bump @metamask/transaction-controller from ^65.3.0 to ^66.0.0 (#8796, #8848)
  • Bump @metamask/gas-fee-controller from ^26.2.1 to ^26.2.2 (#8834)
  • Bump @metamask/multichain-network-controller from ^3.1.1 to ^3.1.2 (#8834)
  • Bump @metamask/polling-controller from ^16.0.5 to ^16.0.6 (#8834)

Removed

  • BREAKING: Remove totalNetworkFee from the selectBatchSellQuotes's results. Clients should use selectBatchSellTrades instead (#8805)

Fixed

  • fix non-evm token type detection (#8811)

990.0.0

19 May 15:07
89ffb46

Choose a tag to compare

@metamask/bridge-status-controller 71.2.0

Changed

  • Pass isInternal: true to all internal addTransaction / addTransactionBatch calls to adopt the explicit isInternal flag introduced in @metamask/transaction-controller (#8633)
  • Bump @metamask/profile-sync-controller from ^28.0.2 to ^28.1.0 (#8783)
  • Bump @metamask/transaction-controller from ^65.3.0 to ^66.0.0 (#8796, #8848)
  • Bump @metamask/gas-fee-controller from ^26.2.1 to ^26.2.2 (#8834)
  • Bump @metamask/polling-controller from ^16.0.5 to ^16.0.6 (#8834)

@metamask/earn-controller 12.2.0

Changed

  • Pass isInternal: true to addTransactionFn in executeLendingDeposit, executeLendingWithdraw, and executeLendingTokenApprove so lending transactions bypass dapp-origin restrictions (#8633)
  • Bump @metamask/account-tree-controller from ^7.3.0 to ^7.4.0 (#8783)
  • Bump @metamask/transaction-controller from ^65.3.0 to ^66.0.0 (#8796, #8848)

@metamask/perps-controller 6.2.0

Changed

  • Pass isInternal: true to all internal addTransaction calls to adopt the explicit isInternal flag introduced in @metamask/transaction-controller (#8633)
  • Bump @metamask/transaction-controller from ^65.4.0 to ^66.0.0 (#8848)

@metamask/transaction-controller 66.0.0

Changed

  • BREAKING: Replace implicit origin === 'metamask' trust checks with an explicit isInternal flag on AddTransactionOptions, TransactionBatchRequest, TransactionMeta, and TransactionBatchMeta; internal callers must now pass isInternal: true (#8633)
  • Bump @metamask/core-backend from ^6.2.2 to ^6.3.0 (#8813)
  • Bump @metamask/gas-fee-controller from ^26.2.1 to ^26.2.2 (#8834)

Fixed

  • Respect excludeNativeTokenForFee when publishing transactions with a selected gas fee token (#8762)

@metamask/transaction-pay-controller 22.6.0

Changed

  • Pass isInternal: true to all internal addTransaction calls to adopt the explicit isInternal flag introduced in @metamask/transaction-controller (#8633)
  • Bump @metamask/bridge-status-controller from ^71.1.4 to ^71.2.0 (#8848)
  • Bump @metamask/transaction-controller from ^65.4.0 to ^66.0.0 (#8848)
  • Bump @metamask/gas-fee-controller from ^26.2.1 to ^26.2.2 (#8834)

Fixed

  • Fix BigNumber crash when exchange rate numbers exceed 15 significant digits (#8808)
  • Handle gas-station and prefunded gas-estimate edge cases for Across Predict withdraw quotes (#8762)

989.0.0

18 May 15:32
1142f20

Choose a tag to compare

@metamask/snap-account-service 0.2.0

Added

  • Add SnapAccountService{GetLegacySnapKeyring,HandleKeyringSnapMessage}Action (#8842)

988.0.0

15 May 13:33
10ae080

Choose a tag to compare

@metamask/gas-fee-controller 26.2.2

Changed

  • Bump @metamask/network-controller from ^31.0.0 to ^32.0.0 (#8765, #8774)
  • Bump @metamask/controller-utils from ^12.0.0 to ^12.1.0 (#8774)
  • Bump @metamask/polling-controller from ^16.0.5 to ^16.0.6 (#8834)

@metamask/multichain-network-controller 3.1.2

Changed

  • Bump @metamask/network-controller from ^31.0.0 to ^32.0.0 (#8765, #8774)
  • Bump @metamask/accounts-controller from ^38.1.0 to ^38.1.1 (#8774)
  • Bump @metamask/controller-utils from ^12.0.0 to ^12.1.0 (#8774)

@metamask/network-enablement-controller 5.2.0

Added

  • Add Monad mainnet (0x8f, chain ID 143) to the default enabled network map for new users (#8743)

Changed

  • Bump @metamask/network-controller from ^31.0.0 to ^32.0.0 (#8765, #8774)
  • Bump @metamask/controller-utils from ^12.0.0 to ^12.1.0 (#8774)
  • Bump @metamask/transaction-controller from ^65.3.0 to ^65.4.0 (#8796)
  • Bump @metamask/multichain-network-controller from ^3.1.1 to ^3.1.2 (#8834)

@metamask/polling-controller 16.0.6

Changed

  • Bump @metamask/network-controller from ^31.0.0 to ^32.0.0 (#8765, #8774)
  • Bump @metamask/controller-utils from ^12.0.0 to ^12.1.0 (#8774)

987.0.0

14 May 17:36
deb8da1

Choose a tag to compare

@metamask/phishing-controller 17.2.0

Added

  • Add findSimilarAddresses utility and PhishingController:checkAddressPoisoning messenger action to detect address poisoning attempts against known recipients (#8171)
    • The controller now hydrates and maintains a set of known recipient addresses from confirmed transactions (TransactionController) and the address book (AddressBookController)
    • Exposes match metadata including prefix/suffix match lengths, poisoning score, and diff indices
  • Add @metamask/address-book-controller as a dependency (#8171)
  • Support path-based phishing lists (blocklistPaths, whitelistPaths) and path-aware URL scanning for shared gateways (for example IPFS gateways and sites.google.com) via getPhishingDetectionScanUrlParam, isPhishingDetectionPathBasedHostname, and PHISHING_DETECTION_PATH_BASED_ROOT_DOMAINS (#8662)

Changed

  • Bump @metamask/controller-utils from ^12.0.0 to ^12.1.0 (#8774)
  • Bump @metamask/transaction-controller from ^65.3.0 to ^65.4.0 (#8796)

986.0.0

14 May 16:00
2080746

Choose a tag to compare

@metamask/notification-services-controller 24.1.0

Added

  • Add registerPushNotifications to NotificationServicesControllerEnableNotificationsOptions so clients can enable MetaMask notifications without registering push notifications. (#8782)
  • Add optional mobile OS and app version metadata to push token registrations so clients can provide Firebase error attribution data. (#8782)