Skip to content

Releases: MetaMask/core

297.0.0

11 Feb 11:49
4b5ac13
Compare
Choose a tag to compare

@metamask/accounts-controller 23.0.1

Changed

  • Bump @metamask/base-controller from ^7.1.1 to ^8.0.0 (#5305)

@metamask/address-book-controller 6.0.3

Changed

  • Bump @metamask/base-controller from ^7.0.2 to ^8.0.0 (#5079), (#5135), (#5305)
  • Bump @metamask/controller-utils from ^11.4.4 to ^11.5.0 (#5135), (#5272)
  • Bump @metamask/rpc-errors from ^7.0.1 to ^7.0.2 (#5080)
  • Bump @metamask/utils from ^10.0.0 to ^11.1.0 (#5080), (#5223)

@metamask/announcement-controller 7.0.3

Changed

  • Bump @metamask/base-controller from ^7.0.2 to ^8.0.0 (#5079), (#5135), (#5305)

@metamask/approval-controller 7.1.3

Changed

  • Bump @metamask/base-controller from ^7.1.0 to ^8.0.0 (#5135), (#5305)
  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)

@metamask/assets-controllers 49.0.0

Added

  • Add new MultiChainTokensRatesController (#5175)
    • A controller that manages multi‑chain token conversion rates within MetaMask. Its primary goal is to periodically poll for updated conversion rates of tokens associated with non‑EVM accounts (those using Snap metadata), ensuring that the conversion data remains up‑to‑date across supported chains.
  • Add updateBalance to MultichainBalancesController (#5295)

Changed

  • BREAKING: MultichainBalancesController messenger must now allow MultichainAssetsController:getState action and MultichainAssetsController:stateChange event (#5295)
  • Update MultichainBalancesController to get the full list of assets from MultichainAssetsController state instead of only requesting the native token (#5295)
  • Bump @metamask/base-controller from ^7.1.1 to ^8.0.0 (#5305)
  • Bump @metamask/polling-controller from ^12.0.2 to ^12.0.3 (#5305)

Removed

  • BREAKING: NETWORK_ASSETS_MAP, MultichainNetworks, and MultichainNativeAssets are no longer exported (#5295)

@metamask/base-controller 8.0.0

Changed

  • BREAKING: Remove deprecated messenger-related exports and simplify RestrictedMessenger constructor (#5260)
    • Remove ControllerMessenger export which was an alias for Messenger. Consumers should import Messenger directly
    • Remove RestrictedControllerMessenger export which was an alias for RestrictedMessenger. Consumers should import RestrictedMessenger directly
    • Remove RestrictedControllerMessengerConstraint type export which was an alias for RestrictedMessengerConstraint. Consumers should use RestrictedMessengerConstraint type directly
    • Simplify RestrictedMessenger constructor by removing deprecated controllerMessenger parameter. The messenger instance should now be passed using only the messenger parameter instead of supporting both options
  • Widen input parameter for type guard isBaseController from ControllerInstance to unknown (#5018)
  • Bump @metamask/json-rpc-engine from ^10.0.2 to ^10.0.3 (#5272)
  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)

Removed

  • BREAKING: Remove class BaseControllerV1 and type guard isBaseControllerV1 (#5018)
  • BREAKING: Remove types BaseConfig, BaseControllerV1Instance, BaseState, ConfigConstraintV1, Listener, StateConstraintV1, LegacyControllerStateConstraint, ControllerInstance (#5018)

@metamask/build-utils 3.0.3

Changed

  • Bump @metamask/utils from ^10.0.0 to ^11.1.0 (#5080), (#5223)

@metamask/composable-controller 11.0.0

Changed

  • BREAKING: Re-define ComposableControllerStateConstraint type using StateConstraint instead of LegacyControllerStateConstraint (#5018)
  • BREAKING: Constrain the ComposableControllerState generic argument for the ComposableController class using ComposableControllerStateConstraint instead of LegacyComposableControllerStateConstraint (#5018)
  • Bump @metamask/base-controller from ^7.0.2 to ^8.0.0 (#5079), (#5135), (#5305)
  • Bump @metamask/json-rpc-engine from ^10.0.1 to ^10.0.3 (#5082), (#5272)

@metamask/earn-controller 0.2.1

Changed

  • Bump @metamask/base-controller from ^7.1.1 to ^8.0.0 (#5305)

@metamask/ens-controller 15.0.2

Changed

  • Bump @metamask/base-controller from ^7.0.2 to ^8.0.0 (#5079), (#5135), (#5305)
  • Bump @metamask/controller-utils from ^11.4.4 to ^11.5.0 (#5135), (#5272)
  • Bump @metamask/utils from ^10.0.0 to ^11.1.0 (#5080), (#5223)

@metamask/gas-fee-controller 22.0.3

Changed

  • Bump @metamask/base-controller from ^7.0.2 to ^8.0.0 (#5079), (#5305)
  • Bump @metamask/controller-utils from ^11.4.4 to ^11.5.0 (#5135), (#5272)
  • Bump @metamask/polling-controller from ^12.0.2 to ^12.0.3 (#5305)
  • Bump @metamask/utils from ^10.0.0 to ^11.1.0 (#5080), (#5223)

@metamask/json-rpc-middleware-stream 8.0.7

Changed

  • Bump @metamask/json-rpc-engine from ^10.0.2 to ^10.0.3 (#5272)
  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)

@metamask/keyring-controller 19.0.7

Changed

  • Bump @metamask/base-controller from ^7.1.1 to ^8.0.0 (#5305)
  • Bump @metamask/message-manager from ^12.0.0 to ^12.0.1 (#5305)

@metamask/logging-controller 6.0.4

Changed

  • Bump @metamask/base-controller from ^7.0.2 to ^8.0.0 (#5079), (#5305)
  • Bump @metamask/controller-utils from ^11.4.4 to ^11.5.0 (#5135), (#5272)

@metamask/message-manager 12.0.1

Changed

  • Bump @metamask/base-controller from ^7.1.0 to ^8.0.0 (#5135), (#5305)
  • Bump @metamask/controller-utils from ^11.4.4 to ^11.5.0 (#5135), (#5272)
  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)

@metamask/multichain 2.1.1

Changed

  • Bump @metamask/controller-utils from ^11.4.5 to ^11.5.0 (#5272)
  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)

@metamask/multichain-transactions-controller 0.3.0

Changed

  • Bump @metamask/base-controller from ^7.1.1 to ^8.0.0 (#5305)
  • Bump @metamask/polling-controller from ^12.0.2 to ^12.0.3 (#5305)

Removed

  • BREAKING: Remove NETWORK_ASSETS_MAP, MultichainNetwork and MultichainNativeAsset from exports, making them no longer available for consumers (#5295)

@metamask/name-controller 8.0.3

Changed

  • Bump @metamask/base-controller from ^7.1.0 to ^8.0.0 (#5135), (#5305)
  • Bump @metamask/controller-utils from ^11.4.4 to ^11.5.0 (#5135), (#5272)
  • Bump @metamask/utils from ^10.0.0 to ^11.1.0 (#5080), (#5223)
  • Bump `@metamask/base-contr...
Read more

296.0.0

06 Feb 11:07
5a84609
Compare
Choose a tag to compare

@metamask/accounts-controller 23.0.0

Changed

  • BREAKING: Bump @metamask/snaps-controllers peer dependency from ^9.7.0 to ^9.19.0 (#5265)
  • Bump @metamask/keyring-api" from ^16.1.0 to ^17.0.0 (#5280)
  • Bump @metamask/eth-snap-keyring from ^9.1.1 to ^10.0.0 (#5280)
  • Bump @metamask/snaps-sdk from ^6.7.0 to ^6.17.1 (#5220), (#5265)
  • Bump @metamask/snaps-utils from ^8.9.0 to ^8.10.0 (#5265)
  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)

Fixed

  • Properly exports public members (#5224)
    • The new events (AccountsController:account{AssetList,Balances,Transactions}Updated) from the previous versions but were not exported.

@metamask/assets-controllers 48.0.0

Added

  • Add MultichainAssetsController for non-EVM assets (#5138)

Changed

  • BREAKING: Bump @metamask/accounts-controller peer dependency from ^22.0.0 to ^23.0.0 (#5292)
  • Bump @metamask/keyring-api" from ^16.1.0 to ^17.0.0 (#5280)
  • Bump @metamask/snaps-utils from ^8.9.0 to ^8.10.0 (#5265)
  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)
  • Removed polling mechanism in the MultichainBalancesController and now relies on the new AccountsController:accountBalancesUpdated event (#5221)

Fixed

  • The tokens state is now updated only when the tokenChainId matches the currently selected chain ID. (#5257)

@metamask/earn-controller 0.2.0

Changed

  • BREAKING: Bump @metamask/accounts-controller peer dependency from ^22.0.0 to ^23.0.0 (#5292)
  • Bump @metamask/controller-utils dependency from ^11.4.5 to ^11.5.0(#5272)

@metamask/keyring-controller 19.0.6

Changed

  • Bump @metamask/keyring-api" from ^16.1.0 to ^17.0.0 (#5280)
  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)

@metamask/multichain-transactions-controller 0.2.0

Changed

  • BREAKING: Bump @metamask/accounts-controller peer dependency from ^22.0.0 to ^23.0.0 (#5292)
  • BREAKING: Bump @metamask/snaps-controllers peer dependency from ^9.10.0 to ^9.19.0 (#5265)
  • Bump @metamask/snaps-sdk from ^6.7.0 to ^6.17.1 (#5220), (#5265)
  • Bump @metamask/snaps-utils from ^8.9.0 to ^8.10.0 (#5265)
  • Bump @metamask/snaps-controllers from ^9.10.0 to ^9.19.0 (#5265)
  • Bump @metamask/keyring-api" from ^16.1.0 to ^17.0.0 (#5280)
  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)
  • Removed polling mechanism and now relies on the new AccountsController:accountTransactionsUpdated event (#5221)

@metamask/notification-services-controller 0.20.0

Changed

  • BREAKING: Bump peer dependency @metamask/profile-sync-controller from ^6.0.0 to ^7.0.0 (#5292)

@metamask/profile-sync-controller 7.0.0

Changed

  • BREAKING: Bump @metamask/accounts-controller peer dependency from ^22.0.0 to ^23.0.0 (#5292)

@metamask/transaction-controller 45.0.0

Changed

  • BREAKING: Bump @metamask/accounts-controller peer dependency from ^22.0.0 to ^23.0.0 (#5292)

@metamask/user-operation-controller 24.0.0

Changed

  • BREAKING: Bump @metamask/transaction-controller peer dependency from ^44.0.0 to ^45.0.0 (#5292)
  • Bump @metamask/controller-utils dependency from ^11.4.5 to ^11.5.0(#5272)
  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)

295.0.0

06 Feb 00:42
8d7c15e
Compare
Choose a tag to compare

@metamask/token-search-discovery-controller 2.0.0

Added

  • Introduce the logoUrl property to the TokenSearchApiService response (#5195)
    • Specifically in the TokenSearchResponseItem type
  • Introduce TokenDiscoveryApiService to keep discovery and search responsibilities separate (#5214)
    • This service is responsible for fetching discover related data
    • Add getTrendingTokens method to fetch trending tokens by chain
    • Add TokenTrendingResponseItem type for trending token responses
  • Export TokenSearchResponseItem type from the package index (#5214)

Changed

  • Bump @metamask/utils to v11.1.0 (#5223)
  • Update the TokenSearchApiService to use the updated URL for searchTokens (#5195)
    • The URL is now /tokens-search instead of /tokens-search/name
  • BREAKING: The searchTokens method now takes a query parameter instead of name (#5195)

294.0.0

05 Feb 16:36
694e6ff
Compare
Choose a tag to compare

@metamask/notification-services-controller 0.19.0

Changed

  • Improve logic & dependencies between profile sync, auth, user storage & notifications (#5275)
  • Rename ControllerMessenger to Messenger (#5242)
  • Bump @metamask/utils to v11.1.0 (#5223)

@metamask/profile-sync-controller 6.0.0

Changed

  • Improve logic & dependencies between profile sync, auth, user storage & notifications (#5275)
  • Mark @metamask/snaps-controllers peer dependency bump as breaking in CHANGELOG (#5267)
  • Fix eslint warnings & errors (#5261)
  • Rename ControllerMessenger to Messenger (#5244)
  • Bump snaps-sdk to v6.16.0 (#5220)
  • BREAKING: Bump @metamask/snaps-controllers peer dependency from ^9.10.0 to ^9.19.0 (#5265)
  • Bump @metamask/snaps-sdk from ^6.16.0 to ^6.17.1 (#5265)
  • Bump @metamask/snaps-utils from ^8.9.0 to ^8.10.0 (#5265)
  • Bump @metamask/keyring-api" from ^16.1.0 to ^17.0.0 (#5280)

Removed

  • BREAKING: Remove metametrics dependencies in UserStorageController (#5278)

293.0.0

04 Feb 20:05
67c7844
Compare
Choose a tag to compare

@metamask/controller-utils 11.5.0

Added

  • Add utility function createServicePolicy for reducing boilerplate for service classes (#5141, #5154, #5143, #5149, #5188, #5192, #5225)
    • Export constants DEFAULT_CIRCUIT_BREAK_DURATION, DEFAULT_DEGRADED_THRESHOLD, DEFAULT_MAX_CONSECUTIVE_FAILURES, and DEFAULT_MAX_RETRIES
    • Export types ServicePolicy and CreateServicePolicyOptions
    • Re-export BrokenCircuitError, CircuitState, handleAll, and handleWhen from cockatiel
    • Export CockatielEvent type, an alias of the Event type from cockatiel

Changed

  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)

@metamask/eth-json-rpc-provider 4.1.8

Changed

  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)

@metamask/json-rpc-engine 10.0.3

Changed

  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)

@metamask/network-controller 22.2.0

Added

  • Export AbstractRpcService type (#5263)

Changed

  • Bump @metamask/base-controller from ^7.0.0 to ^7.1.1 (#5079, #5135)
  • Bump @metamask/controller-utils from ^11.4.4 to ^11.5.0 (#5135, #5272)
  • Bump @metamask/eth-json-rpc-provider from ^4.1.6 to ^4.1.8 (#5082, #5272)
  • Bump @metamask/json-rpc-engine from ^10.0.1 to ^10.0.3 (#5082, #5272)
  • Bump @metamask/rpc-errors from ^7.0.1 to ^7.0.2 (#5080)
  • Bump @metamask/utils from ^10.0.0 to ^11.1.0 (#5080, #5223)

Fixed

  • Fix lookupNetwork so that it will no longer throw an error if networkDidChange subscriptions have been removed before it returns (#5116)
    • This error could occur if the NetworkController's messenger is cleared of subscriptions, as in a "destroy" step.
  • Fix race condition so that after adding a new RPC endpoint to a network, it is possible to access the new endpoint inside of a stateChange event listener via getNetworkConfigurationByNetworkClientId (#5122)
  • Fix selectAvailableNetworkClientIds so that it is properly memoized (#5193)

292.0.0

04 Feb 18:55
797b4d9
Compare
Choose a tag to compare

@metamask/earn-controller 0.1.0

Added

  • Initial release (#5271)

291.0.0

04 Feb 11:12
11845aa
Compare
Choose a tag to compare

@metamask/transaction-controller 44.1.0

Changed

  • Rename ControllerMessenger to Messenger (#5234)
  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)

Fixed

  • Prevent transaction resubmit on multiple endpoints (#5262)

290.0.0

30 Jan 12:22
7290a6d
Compare
Choose a tag to compare

@metamask/accounts-controller 22.0.0

Added

  • Add AccountsController:account{AssetList,Balances,Transactions}Updated events (#5190)
    • Those events are being sent from Account Snaps (through the Snap keyring) and are being re-published by the AccountController.

Changed

  • BREAKING: Now requires SnapKeyring:account{AssetList,Balances,Transactions}Updated events to be registered on the messenger (#5190)
  • Bump @metamask/keyring-api from ^14.0.0 to ^16.1.0 (#5190), (#5208)
  • Bump @metamask/keyring-internal-api from ^2.0.1 to ^4.0.1 (#5190), (#5208)
  • Bump @metamask/eth-snap-keyring from ^8.1.1 to ^9.1.1 (#5190), (#5208)

@metamask/assets-controllers 47.0.0

Added

  • Add onBreak and onDegraded methods to CodefiTokenPricesServiceV2 (#5109)
    • These serve the same purpose as the onBreak and onDegraded constructor options, but align more closely with the Cockatiel policy API.

Changed

  • BREAKING: Bump @metamask/accounts-controller peer dependency from ^21.0.0 to ^22.0.0 (#5218)
  • Deprecate ClientConfigApiService constructor options onBreak and onDegraded in favor of methods (#5109)
  • Add @metamask/controller-utils@^11.4.5 as a dependency (#5109)
    • cockatiel should still be in the dependency tree because it's now a dependency of @metamask/controller-utils
  • Re-introduce @metamask/keyring-api as a runtime dependency (#5206)
    • This was required since the introduction of the MultichainBalancesController.
  • Bump @metamask/keyring-api from ^14.0.0 to ^16.1.0 (#5190), (#5208)
  • Bump @metamask/keyring-internal-api from ^2.0.1 to ^4.0.1 (#5190), (#5208)
  • Bump @metamask/keyring-snap-client from ^3.0.0 to ^3.0.3 (#5190), (#5208)

@metamask/keyring-controller 19.0.5

Changed

  • Bump @metamask/keyring-api from ^14.0.0 to ^16.1.0 (#5190), (#5208)

@metamask/multichain-transactions-controller 0.1.0

Changed

  • BREAKING: Bump @metamask/accounts-controller peer dependency from ^21.0.0 to ^22.0.0 (#5218)
  • Bump @metamask/keyring-api from ^14.0.0 to ^16.1.0 (#5190), (#5208)
  • Bump @metamask/keyring-internal-api from ^2.0.1 to ^4.0.1 (#5190), (#5208)
  • Bump @metamask/keyring-snap-client from ^3.0.0 to ^3.0.3 (#5190), (#5208)

@metamask/notification-services-controller 0.18.0

Changed

  • BREAKING: Bump peer dependency @metamask/profile-sync-controller from ^4.0.0 to ^5.0.0 (#5218)

@metamask/profile-sync-controller 5.0.0

Changed

  • BREAKING: Bump @metamask/accounts-controller peer dependency from ^21.0.0 to ^22.0.0 (#5218)
  • Bump @metamask/keyring-api from ^14.0.0 to ^16.1.0 (#5190), (#5208)

@metamask/transaction-controller 44.0.0

Changed

  • BREAKING: Bump @metamask/accounts-controller peer dependency from ^21.0.0 to ^22.0.0 (#5218)

@metamask/user-operation-controller 23.0.0

Changed

  • BREAKING: Bump @metamask/transaction-controller peer dependency from ^43.0.0 to ^44.0.0 (#5218)

289.0.0

27 Jan 13:48
69b50e9
Compare
Choose a tag to compare

@metamask/notification-services-controller 0.17.0

Changed

  • BREAKING: Bump depenency firebase from ^10.11.0 to ^11.2.0 (#5196)

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).