Releases: MetaMask/core
Releases · MetaMask/core
179.0.0
@metamask/approval-controller 7.0.2
Changed
- Bump TypeScript version to
~5.0.4
and setmoduleResolution
option toNode16
(#3645) - Bump
@metamask/base-controller
from^6.0.1
from^6.0.2
(#4544) - Bump
@metamask/utils
from^9.0.0
to^9.1.0
(#4529)
@metamask/base-controller 6.0.2
Changed
- Bump TypeScript version to
~5.0.4
and setmoduleResolution
option toNode16
(#3645) - Bump
@metamask/utils
from^9.0.0
to^9.1.0
(#4529)
@metamask/controller-utils 11.0.2
Changed
- Bump TypeScript version to
~5.0.4
and setmoduleResolution
option toNode16
(#3645) - Bump
@metamask/utils
from^9.0.0
to^9.1.0
(#4529)
@metamask/json-rpc-engine 9.0.2
Changed
- Bump TypeScript version to
~5.0.4
and setmoduleResolution
option toNode16
(#3645) - Bump
@metamask/utils
from^9.0.0
to^9.1.0
(#4529)
@metamask/json-rpc-middleware-stream 8.0.2
Uncategorized
- Bump TypeScript version to
~5.0.4
and setmoduleResolution
option toNode16
(#3645) - Bump
@metamask/utils
from^9.0.0
to^9.1.0
(#4529)
@metamask/permission-controller 11.0.0
Changed
- BREAKING: Rename enum property names to match PascalCase instead of camelCase (#4521)
- The affected enums are:
CaveatMutatorOperations
,MethodNames
.
- The affected enums are:
- Bump TypeScript version to
~5.0.4
and setmoduleResolution
option toNode16
(#3645) - Bump
@metamask/base-controller
from^6.0.1
to^6.0.2
(#4544) - Bump
@metamask/controller-utils
from^11.0.1
to^11.0.2
(#4544) - Bump
@metamask/json-rpc-engine
from^9.0.1
to^9.0.2
(#4544) - Bump
@metamask/utils
from^9.0.0
to^9.1.0
(#4529)
@metamask/phishing-controller 10.1.1
Changed
178.0.0
@metamask/notification-services-controller 0.1.2
Added
-
added catch statements in NotificationServicesController to silently fail push notifications (#4536)
-
added checks to see feature announcement environments before fetching announcements (#4530)
Removed
- removed retries when fetching announcements and wallet notifications. Clients are to handle retries now. (#4531)
@metamask/profile-sync-controller 0.1.4
Added
-
added
LoginResponse
validation in profile syncing SDK (#4541) -
added snap caching when calling the message signing snap (#4532)
Removed
- removed a server-side node dependency from profile-sync-sdk (#4539)
Fixed
- removed a catch statement call in AuthenticationController to prevent infinite crashes. (#4533)
177.0.0
176.0.0
@metamask/keyring-controller 17.1.1
Changed
- Bump
@metamask/utils
to^9.0.0
,@metamask/rpc-errors
to^6.3.1
(#4516)
Fixed
- Clear encryption salt and key in
setLocked
and#createNewVaultWithKeyring
to ensure that encryption key is always generated with the latest password (#4514)
@metamask/message-manager 10.0.1
Changed
- Bump
@metamask/utils
to^9.0.0
,@metamask/rpc-errors
to^6.3.1
(#4516)
Fixed
- Add
EventEmitter
type annotation to thehub
class field ofAbstractMessageManager
(#4510)- This ensures that
hub
is not inferred to be a generic type, which would break types for downstream consumers.
- This ensures that
175.0.0
@metamask/assets-controllers 36.0.0
Added
- Add optional
topBid
property to theNftMetadata
type. This property must be of typeTopBid
. (#4522) - Add optional
floorAsk
property to theTokenCollection
type. This property must be of typeFloorAskCollection
. (#4522) - Add linea mainnet support to nft detection supported networks (#4515)
- The
Collection
type is expanded to include the following 'string'-type optional properties:contractDeployedAt
,creator
,ownerCount
, and an optional propertytopBid
of the typeTopBid & { sourceDomain?: string; }
. (#4443)
Changed
- Fetch NFT collections data from the NFT-API
Get Collections
endpoint when calling thedetectNfts
method ofNftDetectionController
, and theupdateNftMetadata
andwatchNft
methods ofNftController
. (#4443) - Bump
@metamask/utils
to^9.0.0
(#4516) - Bump
@metamask/rpc-errors
to^6.3.1
(#4516)
Fixed
- BREAKING: The
attributes
property of theNftMetadata
type must be of typeAttributes[]
(#4522)- The
attributes
property was added and typed asAttributes
onv28.0.0
.
- The
174.0.0
173.0.0
@metamask/eth-json-rpc-provider 4.1.1
Changed
- Bump
@metamask/json-rpc-engine
to^9.0.1
(#4517) - Bump
@metamask/rpc-errors
to^6.3.1
(#4516) - Bump
@metamask/utils
to^9.0.0
(#4516)
@metamask/json-rpc-middleware-stream 8.0.1
Changed
- Bump
@metamask/json-rpc-engine
to^9.0.1
(#4517) - Bump
@metamask/rpc-errors
to^6.3.1
(#4516) - Bump
@metamask/utils
to^9.0.0
(#4516)
Fixed
- Fix incorrect notification detection logic (#4427)
- Previously, response objects with a falsy
id
property were detected as notifications. Now, we check for the absence of theid
property.
- Previously, response objects with a falsy
172.0.0
@metamask/approval-controller 7.0.1
Changed
- Bump
@metamask/rpc-errors
from6.2.1
to^6.3.1
(#4516) - Bump
@metamask/utils
from^8.3.0
to^9.0.0
(#4516) - Bump
@metamask/base-controller
to^6.0.1
(#4517)
@metamask/base-controller 6.0.1
Changed
- Bump
@metamask/rpc-errors
from6.2.1
to^6.3.1
(#4516) - Bump
@metamask/utils
from^8.3.0
to^9.0.0
(#4516)
@metamask/controller-utils 11.0.1
Changed
- Bump
@metamask/rpc-errors
from6.2.1
to^6.3.1
(#4516) - Bump
@metamask/utils
from^8.3.0
to^9.0.0
(#4516)
@metamask/json-rpc-engine 9.0.1
Changed
- Bump
@metamask/rpc-errors
from6.2.1
to^6.3.1
(#4516) - Bump
@metamask/utils
from^8.3.0
to^9.0.0
(#4516)
@metamask/permission-controller 10.0.1
Changed
171.0.0
@metamask/assets-controllers 35.0.0
Changed
- BREAKING: Bump peerDependency
@metamask/network-controller
to^20.0.0
(#4508) - Bump
@metamask/polling-controller
to^9.0.0
(#4508) - Bump
@metamask/accounts-controller
to^17.2.0
(#4498)
Fixed
- Add support for tokenURI encoded images to
NftController
methodsaddNft
,watchNft
andupdateNftMetadata
(#4482)
@metamask/ens-controller 13.0.0
Changed
- BREAKING: Bump peerDependency
@metamask/network-controller
to^20.0.0
(#4508)
@metamask/eth-json-rpc-provider 4.1.0
Added
- Make
SafeEventEmitterProvider
EIP-1193 compatible by adding arequest
method (#4422)- Now
SafeEventEmitterProvider
is compatible with@metamask/eth-query
,@metamask/ethjs-query
,BrowserProvider
from Ethers v6 andWeb3Provider
from Ethers v5
- Now
Deprecated
- Mark
sendAsync
method as deprecated in favor ofrequest
method (#4422)
@metamask/gas-fee-controller 19.0.0
Changed
- BREAKING: Bump peerDependency
@metamask/network-controller
to^20.0.0
(#4508) - Bump
@metamask/polling-controller
to^9.0.0
(#4508)
@metamask/network-controller 20.0.0
Added
- Add a new
log
argument to the constructor (#4440)- The new
log
argument must be aLogger
object from theloglevel
package and will be used to log a message when we fail to connect to a network or the network responds with an unknown error
- The new
Changed
- BREAKING: Update
networksMetadata
state property so that the keys in the object will only ever be network client IDs and not RPC URLs (#4254)- Some keys could have been RPC URLs if the initial network controller state had a
providerConfig
with an emptyid
, but sinceproviderConfig
is being removed, that won't happen anymore.
- Some keys could have been RPC URLs if the initial network controller state had a
- Bump
@metamask/eth-block-tracker
to^9.0.3
(#4418) - Bump
@metamask/eth-json-rpc-provider
to^4.1.0
(#4508)
Removed
- BREAKING: Remove
providerConfig
property from state along withProviderConfig
type andNetworkController:getProviderConfig
messenger action (#4254)- The best way to obtain the equivalent configuration object, e.g. to access the chain ID of the currently selected network, is to get
selectedNetworkClientId
from state, pass this to theNetworkController:getNetworkClientId
messenger action, and then use theconfiguration
property on the network client.
- The best way to obtain the equivalent configuration object, e.g. to access the chain ID of the currently selected network, is to get
@metamask/polling-controller 9.0.0
Changed
- BREAKING: Bump peerDependency
@metamask/network-controller
to^20.0.0
(#4508)
@metamask/queued-request-controller 3.0.0
Changed
- BREAKING: Bump peerDependency
@metamask/network-controller
to^20.0.0
(#4508) - BREAKING: Bump peerDependency
@metamask/selected-network-controller
to^16.0.0
(#4508)
@metamask/selected-network-controller 16.0.0
Changed
- BREAKING: Bump peerDependency
@metamask/network-controller
to^20.0.0
(#4508)
@metamask/transaction-controller 35.0.0
Changed
- BREAKING: Bump peerDependency
@metamask/network-controller
to^20.0.0
(#4508) - BREAKING: Bump peerDependency
@metamask/gas-fee-controller
to^19.0.0
(#4508)
@metamask/user-operation-controller 14.0.0
Changed
170.0.0
@metamask/accounts-controller 17.2.0
Added
- Add internal actions and events to
AccountsController
(#4496, #4497)- Add events
AccountsController:accountAdded
,AccountsController:accountRemoved
, and export corresponding event typesAccountsControllerAccountAddedEvent
,AccountsControllerAccountRemovedEvent
. - Export action types
AccountsControllerListMultichainAccountsAction
,AccountsControllerGetSelectedMultichainAccountAction
,AccountsControllerGetNextAvailableAccountNameAction
.
- Add events
Changed
- Improve support of non-EVM accounts (#4494)
- We now use
listMultichainAccounts
instead oflistAccounts
for non-EVM specific multichain methods
- We now use
- Emit
selectedAccountChange
and updatelastSelected
for initial account (#4494)
@metamask/gas-fee-controller 18.0.0
Added
- BREAKING: Add constructor options to
GasFeeController
:EIP1559APIEndpoint
(required), andlegacyAPIEndpoint
(optional) which defaults toLEGACY_GAS_PRICES_API_URL
. (#4446)- These URLs are no longer hardcoded within the controller.
Removed
- BREAKING: Remove
infuraAPIKey
as a constructor option forGasFeeController
. This class field was previously used to construct and send theAuthorization
header for Infura gas API requests. (#4446)
@metamask/transaction-controller 34.0.0
Changed
- BREAKING: Bump dependency and peer dependency
@metamask/gas-fee-controller
to^18.0.0
(#4498) - Bump dependency
@metamask/accounts-controller
to^17.2.0
(#4498)