Releases: MetaMask/core
Releases · MetaMask/core
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.
Changed
285.0.0
@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
@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
andEncryptionPublicKeyManager
(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) fromAbstractMessageManager
(#5103) - BREAKING:
unapprovedMessage
andupdateBadge
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.
- Controllers should now listen to
283.0.0
282.0.0
281.0.0
@metamask/accounts-controller 21.0.0
Changed
- BREAKING: Add
scopes
field toKeyringAccount
(#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
from7.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 toTransactionMeta
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
from7.1.0
to^7.1.1
(#5135)
@metamask/user-operation-controller 22.0.0
Changed
280.0.0
@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. SeeARCHITECTURE.md
.
- In some cases, caveats were being validated multiple times or without the
- 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)