Releases: MetaMask/core
Releases · MetaMask/core
299.0.0
@metamask/accounts-controller 24.0.0
Added
- BREAKING: Now requires
MultichainNetworkController:didNetworkChange
event to be registered on the messenger (#5215)- This will be used to keep accounts in sync with EVM and non-EVM network changes.
Changed
@metamask/assets-controllers 50.0.0
Changed
- BREAKING: Bump
@metamask/accounts-controller
peer dependency from^23.0.1
to^24.0.0
(#5318) - Removed legacy poll function to prevent redundant polling (#5321)
Fixed
- Ensure that the polling is not triggered on the constructor with the initialisation of the controller (#5321)
@metamask/earn-controller 0.3.0
Changed
- BREAKING: Bump
@metamask/accounts-controller
peer dependency from^23.0.0
to^24.0.0
(#5318)
@metamask/multichain-network-controller 0.1.0
Added
- Initial release (#5215)
- Handle both EVM and non-EVM network and account switching for the associated network.
- Act as a proxy for the
NetworkController
(for EVM network changes).
@metamask/multichain-transactions-controller 0.4.0
Changed
- BREAKING: Bump
@metamask/accounts-controller
peer dependency from^23.0.0
to^24.0.0
(#5318)
@metamask/notification-services-controller 0.21.0
Added
- Lock conditional checks when initializing accounts inside the
NotificationServicesController
(#5323) - Accounts initialize call when the wallet is unlocked (#5323)
Changed
- BREAKING: Bump
@metamask/profile-sync-controller
peer dependency from^7.0.0
to^8.0.0
(#5318)
@metamask/profile-sync-controller 8.0.0
Added
- Add
perform{BatchSetStorage,DeleteStorage,BatchDeleteStorage}
as messenger actions (#5311) - Add optional
validateAgainstSchema
option when creating user storage entry paths (#5326)
Changed
- BREAKING: Bump
@metamask/accounts-controller
peer dependency from^23.0.0
to^24.0.0
(#5318) - Change
maxNumberOfAccountsToAdd
default value from100
toInfinity
(#5322)
Removed
- Removed unused events from
UserStorageController
(#5324)
@metamask/transaction-controller 46.0.0
Added
- Adds ability of re-simulating transaction depending on the
isActive
property ontransactionMeta
(#5189)isActive
property is expected to set by client.- Re-simulation of transactions will occur every 3 seconds if
isActive
istrue
.
- Adds
setTransactionActive
function to update theisActive
property ontransactionMeta
. (#5189)
Changed
- BREAKING: Bump
@metamask/accounts-controller
peer dependency from^23.0.0
to^24.0.0
(#5318)
@metamask/user-operation-controller 25.0.0
Changed
- BREAKING: Bump
@metamask/transaction-controller
peer dependency from^45.0.0
to^46.0.0
(#5318)
298.0.0
297.0.0
@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
@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 andMultichainAssetsController:stateChange
event (#5295) - Update
MultichainBalancesController
to get the full list of assets fromMultichainAssetsController
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
, andMultichainNativeAssets
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 forMessenger
. Consumers should importMessenger
directly - Remove
RestrictedControllerMessenger
export which was an alias forRestrictedMessenger
. Consumers should importRestrictedMessenger
directly - Remove
RestrictedControllerMessengerConstraint
type export which was an alias forRestrictedMessengerConstraint
. Consumers should useRestrictedMessengerConstraint
type directly - Simplify
RestrictedMessenger
constructor by removing deprecatedcontrollerMessenger
parameter. The messenger instance should now be passed using only themessenger
parameter instead of supporting both options
- Remove
- Widen input parameter for type guard
isBaseController
fromControllerInstance
tounknown
(#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 guardisBaseControllerV1
(#5018) - BREAKING: Remove types
BaseConfig
,BaseControllerV1Instance
,BaseState
,ConfigConstraintV1
,Listener
,StateConstraintV1
,LegacyControllerStateConstraint
,ControllerInstance
(#5018)
@metamask/build-utils 3.0.3
Changed
@metamask/composable-controller 11.0.0
Changed
- BREAKING: Re-define
ComposableControllerStateConstraint
type usingStateConstraint
instead ofLegacyControllerStateConstraint
(#5018) - BREAKING: Constrain the
ComposableControllerState
generic argument for theComposableController
class usingComposableControllerStateConstraint
instead ofLegacyComposableControllerStateConstraint
(#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
andMultichainNativeAsset
from exports, making them no longer available for consumers (#5295)
@metamask/name-controller 8.0.3
Changed
296.0.0
@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.
- The new events (
@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 newAccountsController: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
295.0.0
@metamask/token-search-discovery-controller 2.0.0
Added
- Introduce the
logoUrl
property to theTokenSearchApiService
response (#5195)- Specifically in the
TokenSearchResponseItem
type
- Specifically in the
- 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
294.0.0
@metamask/notification-services-controller 0.19.0
Changed
- Improve logic & dependencies between profile sync, auth, user storage & notifications (#5275)
- Rename
ControllerMessenger
toMessenger
(#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
toMessenger
(#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
@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
, andDEFAULT_MAX_RETRIES
- Export types
ServicePolicy
andCreateServicePolicyOptions
- Re-export
BrokenCircuitError
,CircuitState
,handleAll
, andhandleWhen
fromcockatiel
- Export
CockatielEvent
type, an alias of theEvent
type fromcockatiel
- Export constants
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 ifnetworkDidChange
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 viagetNetworkConfigurationByNetworkClientId
(#5122) - Fix
selectAvailableNetworkClientIds
so that it is properly memoized (#5193)
292.0.0
291.0.0
290.0.0
@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
.
- Those events are being sent from Account Snaps (through the Snap keyring) and are being re-published by the
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
andonDegraded
methods toCodefiTokenPricesServiceV2
(#5109)- These serve the same purpose as the
onBreak
andonDegraded
constructor options, but align more closely with the Cockatiel policy API.
- These serve the same purpose as the
Changed
- BREAKING: Bump
@metamask/accounts-controller
peer dependency from^21.0.0
to^22.0.0
(#5218) - Deprecate
ClientConfigApiService
constructor optionsonBreak
andonDegraded
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
.
- This was required since the introduction of the
- 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
@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)