Skip to content

Releases: MetaMask/core

477.0.0

23 Jul 12:22
1691d07
Compare
Choose a tag to compare

@metamask/multichain-account-service 0.2.1

Fixed

  • Add missing name class field (#6173)

476.0.0

23 Jul 10:19
ce56b97
Compare
Choose a tag to compare

@metamask/account-tree-controller 0.6.0

Changed

  • BREAKING: Bump peer dependency @metamask/accounts-controller from ^31.0.0 to ^32.0.0 (#6171)

@metamask/accounts-controller 32.0.0

Added

  • Use new typed KeyringAccount.options for BIP-44 compatible accounts (#6122), (#6147)

Changed

  • BREAKING: Bump peer dependency @metamask/snaps-controllers from ^12.0.0 to ^14.0.0 (#6035)
  • Bump @metamask/snaps-sdk from ^7.1.0 to ^9.0.0 (#6035)
  • Bump @metamask/snaps-utils from ^9.4.0 to ^11.0.0 (#6035)
  • Bump @metamask/keyring-api from ^18.0.0 to ^19.0.0 (#6146)
  • Bump @metamask/keyring-internal-api from ^6.2.0 to ^7.0.0 (#6146)
  • Bump @metamask/keyring-utils from ^3.0.0 to ^3.1.0 (#6146)
  • Bump @metamask/eth-snap-keyring from ^13.0.0 to ^14.0.0 (#6146)
  • Bump @metamask/utils from ^11.2.0 to ^11.4.2 (#6054)

@metamask/assets-controllers 73.0.0

Changed

  • BREAKING: Bump peer dependency @metamask/accounts-controller to ^32.0.0 (#6171)
  • BREAKING: Bump peer dependency @metamask/transaction-controller to ^59.0.0 (#6171)
  • Improved TokenDetectionController token handling flow (#6012)
    • Detected tokens are now implicitly added directly to allTokens instead of being added to allDetectedTokens first
    • This simplifies the token import flow and improves performance by eliminating the manual UI import step
    • Enhanced TokenDetectionController to use direct RPC calls when basic functionality is disabled (#6012)
    • Token detection now falls back to direct RPC calls instead of API-based detection when basic functionality is turned off
  • Bump @metamask/keyring-api from ^18.0.0 to ^19.0.0 (#6146)

Fixed

  • Fix TokenDetectionController to respect the detection toggle setting (#6012)
    • Token detection will no longer run when the detection toggle is disabled, even during user refresh operations
  • Improved CurrencyRateController behavior when basic functionality is disabled (#6012)
    • Disabled requests to CryptoCompare when basic functionality is turned off to avoid unnecessary API calls
  • Improve error handling in MultichainAssetsRatesController for Snap request failures (#6104)
    • Enhanced #handleSnapRequest method with detailed error logging and graceful failure recovery
    • Added null safety checks to prevent crashes when Snap requests return null
    • Controller now continues operation when individual Snap requests fail instead of crashing
    • Added comprehensive unit tests covering various error scenarios including JSON-RPC errors and network failures

@metamask/bridge-controller 37.0.0

Changed

  • BREAKING: Bump peer dependency @metamask/accounts-controller from ^31.0.0 to ^32.0.0 (#6171)
  • BREAKING: Bump peer dependency @metamask/assets-controllers from ^72.0.0 to ^73.0.0 (#6171)
  • BREAKING: Bump peer dependency @metamask/transaction-controller from ^58.0.0 to ^59.0.0 (#6171), (#6027)

@metamask/bridge-status-controller 37.0.0

Changed

  • BREAKING: Bump peer dependency @metamask/accounts-controller to ^32.0.0 (#6171)
  • BREAKING: Bump peer dependency @metamask/bridge-controller to ^37.0.0 (#6171)
  • BREAKING: Bump peer dependency @metamask/transaction-controller to ^59.0.0 (#6171), (#6027)

@metamask/delegation-controller 0.6.0

Changed

  • BREAKING: Bump peer dependency @metamask/accounts-controller to ^32.0.0 (#6171)
  • Bump @metamask/utils from ^11.2.0 to ^11.4.2 (#6054)

@metamask/earn-controller 4.0.0

Changed

  • BREAKING: Bump peer dependency @metamask/accounts-controller to ^32.0.0 (#6171)

@metamask/multichain-account-service 0.2.0

Changed

  • BREAKING: Bump peer dependency @metamask/accounts-controller from ^31.0.0 to ^32.0.0 (#6171)

@metamask/multichain-network-controller 0.11.0

Changed

  • BREAKING: Bump peer dependency @metamask/accounts-controller from ^31.0.0 to ^32.0.0 (#6171)
  • Bump @metamask/keyring-api from ^18.0.0 to ^19.0.0 (#6146)
  • Bump @metamask/keyring-internal-api from ^6.2.0 to ^7.0.0 (#6146)

@metamask/multichain-transactions-controller 4.0.0

Changed

  • BREAKING: Bump peer dependency @metamask/accounts-controller from ^31.0.0 to ^32.0.0 (#6171)
  • BREAKING: Bump peer dependency @metamask/snaps-controllers from ^12.0.0 to ^14.0.0 (#6035)
  • Bump @metamask/snaps-sdk from ^7.1.0 to ^9.0.0 (#6035)
  • Bump @metamask/snaps-utils from ^9.4.0 to ^11.0.0 (#6035)
  • Bump @metamask/keyring-api from ^18.0.0 to ^19.0.0 (#6146)
  • Bump @metamask/keyring-internal-api from ^6.2.0 to ^7.0.0 (#6146)
  • Bump @metamask/keyring-snap-client from ^5.0.0 to ^6.0.0 (#6146)
  • Bump @metamask/utils from ^11.2.0 to ^11.4.2 (#6054)

@metamask/notification-services-controller 15.0.0

Added

  • Add BASE chain to notification UI config in ui/constants.ts (#6124)

Changed

  • BREAKING: Bump peer dependency @metamask/profile-sync-controller to ^22.0.0 (#6171)
  • Update push notification utility getChainSymbol in get-notification-message.ts to use UI constants (#6124)

Removed

  • BREAKING: Cleanup old config/constants (#6124)
    • Remove NOTIFICATION_CHAINS constant from notification-schema.ts
    • Remove CHAIN_SYMBOLS constant from notification-schema.ts
    • Remove SUPPORTED_CHAINS constant from notification-schema.ts
    • Remove Trigger type from notification-schema.ts
    • Remove TRIGGERS constant from notification-schema.ts

@metamask/profile-sync-controller 22.0.0

Changed

  • BREAKING: Bump peer dependency @metamask/accounts-controller from ^31.0.0 to ^32.0.0 (#6171)

@metamask/signature-controller 32.0.0

Changed

  • BREAKING: Bump peer dependency @metamask/accounts-controller to ^32.0.0 (#6171)

@metamask/transaction-controller 59.0.0

Added

  • Add fallback to the sequential hook when publishBatchHook returns empty (#6063)

Changed

  • BREAKING: Bump peer dependency @metamask/accounts-controller to ^32.0.0 (#6171)

Fixed

  • Normalize transaction data to ensure case-insensitive detection (#6102)

@metamask/user-operation-controller 38.0.0

Changed

  • BREAKING: Bump peer dependency @metamask/transaction-controller to ^59.0.0 (#6171), (#6027)
  • Bump @metamask/controller-utils from ^11.10.0 to ^11.11.0 (#6069)
  • Bump @metamask/utils from ^11.2.0 to ^11.4.2 (#6054)

475.0.0

23 Jul 08:17
74ce224
Compare
Choose a tag to compare

@metamask/multichain-account-service 0.1.0

Added

  • Add MultichainAccountService (#6141)
    • This service manages multichain accounts/wallets.

474.0.0

22 Jul 18:22
0f069b6
Compare
Choose a tag to compare

@metamask/bridge-controller 36.2.0

Changed

  • Bump @metamask/keyring-api from ^18.0.0 to ^19.0.0 (#6146)

@metamask/bridge-status-controller 36.1.0

Added

  • Add restartPollingForFailedAttempts action to restart polling for txs that are not in a final state but have too many failed attempts (#6149)

Changed

  • Bump @metamask/keyring-api from ^18.0.0 to ^19.0.0 (#6146)

Fixed

  • Don't poll indefinitely for bridge tx status if the tx is not found. Implement exponential backoff to prevent overwhelming the bridge API. (#6149)

473.0.0

21 Jul 21:00
0952aa6
Compare
Choose a tag to compare

@metamask/permission-log-controller 4.0.0

Changed

  • BREAKING: Stop persisting permissionActivityLog state (#6156)
    • This will require a migration to delete existing persisted state.
  • Bump @metamask/utils from ^11.1.0 to ^11.4.2 (#5301, #6054)
  • Bump @metamask/base-controller from ^8.0.0 to ^8.0.1 (#5722)

472.0.0

21 Jul 17:16
e4c824f
Compare
Choose a tag to compare

@metamask/seedless-onboarding-controller 2.4.0

Fixed

  • Retrieve accessToken from the encrypted vault if it's not available as an in-memory state. (#6155)

471.0.0

21 Jul 10:30
571f26f
Compare
Choose a tag to compare

@metamask/account-tree-controller 0.5.0

Changed

  • BREAKING: Add @metamask/account-api peer dependency (#6115), (#6146)
  • BREAKING: Types AccountWallet and AccountGroup have been respectively renamed to AccountWalletObject and AccountGroupObject (#6115)
    • Those names are now used by the @metamask/account-api package to define higher-level interfaces.
  • BREAKING: Bump peer dependency @metamask/snaps-controllers from ^12.0.0 to ^14.0.0 (#6035)
  • Bump @metamask/snaps-sdk from ^7.1.0 to ^9.0.0 (#6035)
  • Bump @metamask/snaps-utils from ^9.4.0 to ^11.0.0 (#6035)
  • Properly export AccountWalletCategory constant and conversion functions (#6062)

Removed

  • BREAKING: No longer export AccountWalletCategory, toAccountWalletId, toAccountGroupId and toDefaultAccountGroupId (#6115)
    • You should now import them from the @metamask/account-api package (peer dependency).

470.0.0

18 Jul 17:43
f1b9848
Compare
Choose a tag to compare

@metamask/network-controller 24.0.1

Changed

  • Requests to an RPC endpoint that returns a 502 response ("bad gateway") will now be retried (#5923)
  • All JSON-RPC errors that represent 4xx and 5xx responses from RPC endpoints now include the HTTP status code under data.httpStatus (#5923)
  • 3xx responses from RPC endpoints are no longer treated as errors (#5923)
  • Bump @metamask/controller-utils from ^11.10.0 to ^11.11.0 (#6069)
  • Bump @metamask/utils from ^11.2.0 to ^11.4.2 (#6054)

Fixed

  • If an RPC endpoint returns invalid/unparseable JSON, it is now represented as a JSON-RPC error with code -32700 (parse error) instead of -32603 (internal error) (#5923)
  • If an RPC endpoint returns a 401 response, it is now represented as a JSON-RPC error with code -32006 (unauthorized) instead of -32603 (internal error) (#5923)
  • If an RPC endpoint returns a 405 response, it is now represented as a JSON-RPC error with code -32080 (client error) instead of -32601 (method not found) (#5923)
  • If an RPC endpoint returns a 402, 404, or 5xx response, it is now represented as a JSON-RPC error with code -32002 (resource unavailable error) instead of -32603 (internal error) (#5923)
  • If an RPC endpoint returns a 4xx response besides 401, 402, 404, 405, or 429, it is now represented as a JSON-RPC error with code -32080 (client error) instead of -32603 (internal error) (#5923)
  • Improve detection of partial JSON responses from RPC endpoints (#5923)
  • Fix "Request cannot be constructed from a URL that includes credentials" error when using RPC endpoints with embedded credentials (#6116)

469.0.0

18 Jul 06:31
acd53b9
Compare
Choose a tag to compare

@metamask/seedless-onboarding-controller 2.3.0

Uncategorized

  • Seedless onboarding controller: Remove usage of Buffer (#6140)

Added

  • Added a optional param maxKeyChainLength in submitGlobalPassword function.(#6134)
  • Separated vault update logic from revokeRefreshToken, revokeRefreshToken now accepts a revokeToken instead of password. (#6134)

Changed

  • revokeRefreshToken is removed and a private function named revokeRefreshTokenAndUpdateState is added as a replacement.(#6136)

468.0.0

17 Jul 14:13
2433d0e
Compare
Choose a tag to compare

@metamask/seedless-onboarding-controller 2.2.0

Added

  • Added a optional param maxKeyChainLength in submitGlobalPassword function.(#6134)

Fixed

  • remove access_token validation when the wallet is locked. (#6133)