Skip to content

Releases: MetaMask/core

288.0.0

22 Jan 21:40
77f5051
Compare
Choose a tag to compare

@metamask/multichain 2.1.0

Added

  • Add key Multichain API methods (#4813)
    • Adds getInternalScopesObject and getSessionScopes helpers for transforming between NormalizedScopesObject and InternalScopesObject.
    • Adds handlers for wallet_getSession, wallet_invokeMethod, and wallet_revokeSession methods.
    • Adds multichainMethodCallValidatorMiddleware for validating Multichain API method params as defined in @metamask/api-specs.
    • Adds MultichainMiddlewareManager to multiplex a request to other middleware based on requested scope.
    • Adds MultichainSubscriptionManager to handle concurrent subscriptions across multiple scopes.
    • Adds bucketScopes which groups the scopes in a NormalizedScopesObject based on if the scopes are already supported, could be supported, or are not supportable.
    • Adds getSupportedScopeObjects helper for getting only the supported methods and notifications from each NormalizedScopeObject in a NormalizedScopesObject.

Changed

  • Bump @metamask/controller-utils from ^11.4.4 to ^11.4.5 (#5012)
  • Bump @metamask/permission-controller from ^11.0.4 to ^11.0.5 (#5012)
  • Bump @metamask/utils to ^11.0.1 and @metamask/rpc-errors to ^7.0.2 (#5080)

Fixed

  • Fixes removeScope mutator incorrectly returning malformed CAIP-25 caveat values (#5183).

287.0.0

22 Jan 12:28
dd6b00b
Compare
Choose a tag to compare

@metamask/accounts-controller 21.0.2

Changed

  • Bump @metamask/keyring-api from ^13.0.0 to ^14.0.0 (#5177)
  • Bump @metamask/keyring-internal-api from ^2.0.0 to ^2.0.1 (#5177)
  • Bump @metamask/eth-snap-keyring from ^8.1.0 to ^8.1.1 (#5177)

@metamask/assets-controllers 46.0.1

Changed

  • Bump @metamask/keyring-api from ^13.0.0 to ^14.0.0 (#5177)
  • Bump @metamask/keyring-internal-api from ^2.0.0 to ^2.0.1 (#5177)
  • Bump @metamask/keyring-snap-client from ^2.0.0 to ^3.0.0 (#5177)

Fixed

  • Fix type issue in ERC721Standard.getDetails (#4985)
    • The image variable now returns a string instead of a promise when the token image uses the 'ipfs://' protocol.
  • Relax NFTs metadata RPC calls (#5134)
    • We now check the number of NFTs to update against a threshold value (500) to avoid sending an excessive amount of RPC calls to fetch NFTs metadata.

@metamask/keyring-controller 19.0.4

Changed

  • Bump @metamask/keyring-api from ^13.0.0 to ^14.0.0 (#5177)
  • Bump @metamask/keyring-internal-api from ^2.0.0 to ^2.0.1 (#5177)
  • Bump @metamask/message-manager from ^12.0.0 to ^11.0.3 (#5169)

@metamask/multichain-transactions-controller 0.0.1

Added

@metamask/profile-sync-controller 4.1.1

Changed

  • Bump @metamask/keyring-api from ^13.0.0 to ^14.0.0 (#5177)

286.0.0

21 Jan 19:33
1a79b53
Compare
Choose a tag to compare

@metamask/queued-request-controller 9.0.0

Added

  • BREAKING: createQueuedRequestMiddleware now expects a useRequestQueue option (#5065)
    • This was previously removed in 20.0.0, but has been re-added for compatibility with Mobile.

Changed

  • BREAKING: Bump peer dependency @metamask/selected-network-controller from ^20.0.2 to ^21.0.0 (#5178)
  • Bump @metamask/base-controller from ^7.0.0 to ^7.1.1 (#5079), #5135)
  • Bump @metamask/controller-utils from ^11.4.4 to ^11.4.5 (#5135)
  • Bump @metamask/json-rpc-engine from ^10.0.1 to ^10.0.2 (#5082)
  • Bump @metamask/rpc-errors from ^7.0.1 to ^7.0.2 (#5080)
  • Bump @metamask/utils from ^10.0.0 to ^11.0.1 (#5080)
    • This upgrade is not a breaking change because this package does not use generateRandomMnemonic.

@metamask/selected-network-controller 21.0.0

Added

  • BREAKING: The SelectedNetworkController constructor now expects both useRequestQueuePreference and onPreferencesStateChange options (#5065)
    • These were previously removed in 20.0.0, but have been re-added for compatibility with Mobile.

Changed

  • Bump @metamask/base-controller from ^7.0.0 to ^7.1.1 (#5079), #5135)
  • Bump @metamask/json-rpc-engine from ^10.0.1 to ^10.0.2 (#5082)
  • Bump @metamask/utils from ^10.0.0 to ^11.0.1 (#5080)
    • This upgrade is not a breaking change because this package does not use generateRandomMnemonic.

285.0.0

17 Jan 20:18
409e083
Compare
Choose a tag to compare

@metamask/token-search-discovery-controller 1.0.0

Added

  • Introduce the TokenSearchDiscoveryController (#5142)
    • This controller manages token search and discovery through the Portfolio API
  • Introduce the TokenSearchApiService (#5142)
    • This service is responsible for making requests to the Portfolio API
    • Specifically, it handles the tokens-search endpoint which returns a list of tokens based on the provided query parameters

284.0.0

17 Jan 10:08
52d1c16
Compare
Choose a tag to compare

@metamask/accounts-controller 21.0.1

Changed

  • Bump @metamask/eth-snap-keyring from ^8.0.0 to ^8.1.0 (#5167)

@metamask/message-manager 12.0.0

Changed

  • BREAKING: Base class of DecryptMessageManager and EncryptionPublicKeyManager(AbstractMessageManager) now expects new options to initialise (#5103)
  • Bump @metamask/base-controller from ^7.0.0 to ^7.1.0 (#5079)

Removed

  • BREAKING: Removed internal event emitter (hub property) from AbstractMessageManager (#5103)
  • BREAKING: unapprovedMessage and updateBadge removed from internal events. These events are now emitted from messaging system (#5103)
    • Controllers should now listen to DerivedManagerName:X event instead of using internal event emitter.

283.0.0

14 Jan 17:42
74f6d9c
Compare
Choose a tag to compare

@metamask/profile-sync-controller 4.1.0

Changed

  • Persist isAccountSyncingReadyToBeDispatched state value (#5147)

282.0.0

14 Jan 11:03
4612b82
Compare
Choose a tag to compare

@metamask/profile-sync-controller 4.0.1

Added

  • Add optional sentry context parameter to erroneous situation callbacks (#5139)

281.0.0

13 Jan 22:53
adea818
Compare
Choose a tag to compare

@metamask/accounts-controller 21.0.0

Changed

  • BREAKING: Add scopes field to KeyringAccount (#5066), (#5136)
    • This field is now required and will be used to identify the supported chains (using CAIP-2 chain IDs) for every accounts.
  • Bump @metamask/base-controller from ^7.0.0 to ^7.1.1 (#5079), (#5135)
  • Bump @metamask/utils to ^11.0.1 (#5080)
  • Bump @metamask/rpc-errors to ^7.0.2 (#5080)

@metamask/assets-controllers 46.0.0

Added

  • Add new MultichainBalancesController (#4965)
    • This controller has been migrated from the MetaMask extension codebase.
  • Added utility function getKeyByValue (#5099)

Changed

  • BREAKING: Bump @metamask/accounts-controller peer dependency from ^20.0.0 to ^21.0.0 (#5140)
  • Bump @metamask/base-controller from ^7.0.0 to ^7.1.1 (#5079), (#5135)
  • Bump @metamask/keyring-api from ^12.0.0 to ^13.0.0 (#5066)
  • Bump @metamask/utils to ^11.0.1 (#5080)
  • Bump @metamask/rpc-errors to ^7.0.2 (#5080)

Fixed

  • Fix Mantle price when calling fetchMultiExchangeRate (#5099)
  • Fix multicall revert in TokenBalancesController (#5083)
    • TokenBalancesController was fixed to fetch erc20 token balances even if there's an invalid token in state whose address does not point to a smart contract.
  • Fix state changes for ignoreTokens for non-selected networks (#5014)

@metamask/keyring-controller 19.0.3

Changed

  • Bump @metamask/base-controller from ^7.0.0 to ^7.1.1 (#5079), (#5135)
  • Bump @metamask/keyring-api from ^12.0.0 to ^13.0.0 (#5066)
  • Bump @metamask/keyring-internal-api from ^1.0.0 to ^2.0.0 (#5066), (#5136)
  • Bump @metamask/utils to ^11.0.1 (#5080)
  • Bump @metamask/rpc-errors to ^7.0.2 (#5080)

Fixed

  • Make verifySeedPhrase mutually exclusive (#5077)

@metamask/notification-services-controller 0.16.0

Changed

  • BREAKING: Bump peer dependency @metamask/profile-sync-controller from ^3.0.0 to ^4.0.0 (#5140)
  • Bump @metamask/base-controller from ^7.0.0 to ^7.1.0 (#5079)

@metamask/profile-sync-controller 4.0.0

Changed

  • BREAKING: Bump @metamask/accounts-controller peer dependency from ^20.0.0 to ^21.0.0 (#5140)
  • Bump @metamask/base-controller from 7.1.0 to ^7.1.1 (#5135)
  • Bump @metamask/keyring-api from ^12.0.0 to ^13.0.0 (#5066)
  • Bump @metamask/keyring-internal-api from ^1.0.0 to ^2.0.0 (#5066), (#5136)
  • Bump @metamask/keyring-controller from ^19.0.2 to ^19.0.3 (#5140)

@metamask/transaction-controller 43.0.0

Added

  • Add gasLimitNoBuffer property to TransactionMeta type (#5113)
    • gasLimitNoBuffer is the estimated gas for the transaction without any buffer applied.

Changed

  • BREAKING: Bump @metamask/accounts-controller peer dependency from ^20.0.0 to ^21.0.0 (#5140)
  • Bump @metamask/base-controller from 7.1.0 to ^7.1.1 (#5135)

@metamask/user-operation-controller 22.0.0

Changed

  • BREAKING: Bump @metamask/transaction-controller peer dependency from ^42.0.0 to ^43.0.0 (#5140)
  • Bump @metamask/base-controller from ^7.0.0 to ^7.1.0 (#5079)

280.0.0

13 Jan 13:33
a3c783d
Compare
Choose a tag to compare

@metamask/approval-controller 7.1.2

Changed

  • Bump nanoid from ^3.1.31 to ^3.3.8 (#5073)
  • Bump @metamask/utils from ^10.0.0 to ^11.0.1 (#5080)
  • Bump @metamask/rpc-errors from ^7.0.0 to ^7.0.2 (#5080)
  • Bump @metamask/base-controller from ^7.0.0 to ^7.1.0 (#5079)

@metamask/base-controller 7.1.1

Changed

  • Bump @metamask/utils from ^10.0.0 to ^11.0.1 (#5080)

@metamask/controller-utils 11.4.5

Changed

  • Bump @metamask/utils from ^10.0.0 to ^11.0.1 (#5080)

@metamask/permission-controller 11.0.5

Changed

  • Remove redundant caveat validator calls (#5062)
    • In some cases, caveats were being validated multiple times or without the
      possibility of being changed.
    • The intended purpose of permission and caveat validators has also been
      documented. See ARCHITECTURE.md.
  • Bump nanoid from ^3.1.31 to ^3.3.8 (#5073)
  • Bump @metamask/utils from ^10.0.0 to ^11.0.1 (#5080)
  • Bump @metamask/rpc-errors from ^7.0.0 to ^7.0.2 (#5080)
  • Bump @metamask/base-controller from ^7.0.0 to ^7.1.0 (#5079)

279.0.0

13 Jan 08:36
76af6eb
Compare
Choose a tag to compare

@metamask/profile-sync-controller 3.3.0

Added

  • Add a customProvider option to the sdk JwtBearerAuth class (#5105)

Changed

  • Bump eslint to ^9.11.1 and migrate to flat config (#4727)
  • Bump @metamask/keyring-api from ^12.0.0 to ^13.0.0 and @metamask/keyring-internal-api from ^1.0.0 to ^1.1.0 (#5066)