Releases: MetaMask/core
Releases · MetaMask/core
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)
289.0.0
288.0.0
@metamask/multichain 2.1.0
Added
- Add key Multichain API methods (#4813)
- Adds
getInternalScopesObject
andgetSessionScopes
helpers for transforming betweenNormalizedScopesObject
andInternalScopesObject
. - Adds handlers for
wallet_getSession
,wallet_invokeMethod
, andwallet_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 aNormalizedScopesObject
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 eachNormalizedScopeObject
in aNormalizedScopesObject
.
- Adds
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
@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
@metamask/queued-request-controller 9.0.0
Added
- BREAKING:
createQueuedRequestMiddleware
now expects auseRequestQueue
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
.
- This upgrade is not a breaking change because this package does not use
@metamask/selected-network-controller 21.0.0
Added
- BREAKING: The
SelectedNetworkController
constructor now expects bothuseRequestQueuePreference
andonPreferencesStateChange
options (#5065)- These were previously removed in 20.0.0, but have been re-added for compatibility with Mobile.