Releases: MetaMask/core
Releases · MetaMask/core
151.0.0
@metamask/network-controller 18.1.1
Added
- Export
BuiltInNetworkClientId
andCustomNetworkClientId
(#4247)
Changed
- Bump
@metamask/eth-json-rpc-provider
to^3.0.2
(#4234) - Bump
@metamask/json-rpc-engine
to^8.0.2
(#4234) - Bump
@metamask/base-controller
to^5.0.2
(#4232) - Bump
@metamask/controller-utils
to^9.1.0
(#4153)
@metamask/transaction-controller 29.0.1
Changed
- Bump
@metamask/gas-fee-controller
to^15.1.2
(#4275)
Fixed
- approveTransaction was throwing away the raw signed transaction that signTransaction was adding to the metadata.
This was causing some transaction with low gas to appear as "failed" when in fact they were still pending. (#4255)
150.0.0
149.0.0
@metamask/transaction-controller 29.0.0
Added
- Add
estimateGasFee
method (#4216)- Add
TestGasFeeFlow
that is activated by optionaltestGasFeeFlows
constructor option. - Add related types:
FeeMarketGasFeeEstimateForLevel
FeeMarketGasFeeEstimates
GasFeeEstimates
GasFeeEstimateLevel
GasFeeEstimateType
GasPriceGasFeeEstimates
LegacyGasFeeEstimates
- Add
Changed
- BREAKING: Update
GasFeeEstimates
type to support alternate estimate types (#4216) - Bump
@metamask/base-controller
to^5.0.2
(#4232) - Bump
@metamask/approval-controller
to^6.0.2
(#4234) - Bump
@metamask/gas-fee-controller
to^15.1.1
(#4234)
Removed
- BREAKING: Remove
gasFeeControllerEstimateType
property frommergeGasFeeEstimates
function (#4216)
@metamask/user-operation-controller 10.0.0
Changed
- BREAKING: Bump
@metamask/transaction-controller
peer dependency to^29.0.0
(#4272)
148.0.0
@metamask/queued-request-controller 0.10.0
Changed
- BREAKING: Bump peer dependency
@metamask/selected-network-controller
to^13.0.0
(#4260) - Bump
@metamask/json-rpc-engine
to^8.0.2
(#4234) - Bump
@metamask/base-controller
to^5.0.2
(#4232)
@metamask/selected-network-controller 13.0.0
Changed
getProviderAndBlockTracker
now returns theNetworkController
's globally selected network client proxy if thedomain
arg is eithermetamask
or a snap (identified as starting withnpm:
orlocal:
) (#4259)- BREAKING: Now when
setNetworkClientIdForDomain
is called with a snap's domain (identified as starting withnpm:
orlocal:
), thedomain
will not be added to state and no proxy will be created for this domain in thedomainProxyMap
(#4258)- In order to remove snaps that made it into
domains
state prior to this change, consumers will need to run a migration.
- In order to remove snaps that made it into
- Bump
@metamask/json-rpc-engine
to^8.0.2
(#4234) - Bump
@metamask/base-controller
to^5.0.2
(#4232)
147.0.0
@metamask/accounts-controller 14.0.0
Changed
- BREAKING Bump
@metamask/keyring-controller
peer dependency to ^16.0.0 (#4234) - Bump
@metamask/keyring-api
to 6.0.0,@metamask/eth-snap-keyring
to 4.0.0 and snap dependencies (#4193) - Bump
@metamask/base-controller
to^5.0.2
(#4232)
@metamask/approval-controller 6.0.2
Changed
@metamask/assets-controllers 29.0.0
Added
- Add token detection on 7 more networks (#4184)
- New supported networks are: cronos, celo, gnosis, fantom, polygon_zkevm, moonbeam, and moonriver
Changed
- BREAKING Changed
NftDetectionController
constructoroptions
argument (#4178)- Added
options.disabled
andoptions.selectedAddress
properties
- Added
- BREAKING Bump
@metamask/keyring-controller
peer dependency to ^16.0.0 (#4234) - BREAKING Bump
@metamask/accounts-controller
peer dependency to ^14.0.0 (#4234) - BREAKING Bump
@metamask/preferences-controller
peer dependency to ^11.0.0 (#4234) - Bump
@metamask/keyring-api
to^6.0.0
(#4193) - Lower number of tokens returned by API calls (#4207)
- Limit changed from
200
to50
- Limit changed from
- Bump
@metamask/base-controller
to^5.0.2
(#4232) - Bump
@metamask/approval-controller
to^6.0.2
(#4234) - Bump
@metamask/polling-controller
to^6.0.2
(#4234)
@metamask/eth-json-rpc-provider 3.0.2
Changed
@metamask/gas-fee-controller 15.1.1
Changed
- Bump
@metamask/polling-controller
to^6.0.2
(#4234)
Removed
- Remove fee history fallback in favour of
eth_gasPrice
call (#4210)
@metamask/json-rpc-engine 8.0.2
Changed
- Bump TypeScript version to
~4.9.5
(#4084)
@metamask/keyring-controller 16.0.0
Added
- Added
withKeyring
method (#4197)- Consumers can now use
withKeyring
to atomically select a keyring by address or type and execute a callback with the it as argument. - This method can be used instead of
getKeyringForAccount
,getKeyringsByType
andpersistAllKeyrings
, as the vault will be updated automatically after the callback execution, or rolled back in case of errors
- Consumers can now use
Changed
- BREAKING: Change various
KeyringController
methods so they no longer return the controller state (#4199)- Changed
addNewAccount
return type toPromise<string>
- Changed
addNewAccountWithoutUpdate
return type toPromise<string>
- Changed
createNewVaultAndKeychain
return type toPromise<void>
- Changed
createNewVaultAndRestore
return type toPromise<void>
- Changed
importAccountWithStrategy
return type toPromise<string>
- Changed
removeAccount
return type toPromise<void>
- Changed
setLocked
return type toPromise<void>
- Changed
submitEncryptionKey
return type toPromise<void>
- Changed
submitPassword
return type toPromise<void>
- Changed
- Bump
@metamask/keyring-api
to^6.0.0
(#4193) - Bump
@metamask/base-controller
to^5.0.2
(#4232) - Bump
@metamask/message-manager
to^8.0.2
(#4234)
Fixed
- Method calls that change controller state are now atomic (#4192)
- Each method will roll back keyring instances in case of errors
- Method calls that change controller state are now mutually exclusive (#4182)
- Check presence of
HDKeyring
when updating the vault (#4168) - Update state in single call when persisting or unlocking (#4154)
@metamask/message-manager 8.0.2
Changed
- Bump TypeScript version to
~4.9.5
(#4084) - Bump
@metamask/base-controller
to^5.0.2
(#4232) - Bump
@metamask/controller-utils
to^9.1.0
(#4153, #4065)
@metamask/polling-controller 6.0.2
Changed
- Bump TypeScript version to
~4.9.5
(#4084) - Bump
@metamask/network-controller
to^18.1.0
(#4121) - Bump
@metamask/controller-utils
to^9.1.0
(#4153, #4065)
@metamask/preferences-controller 11.0.0
Added
- Export
ETHERSCAN_SUPPORTED_CHAIN_IDS
constant (#4233)
Changed
- BREAKING Bump
@metamask/keyring-controller
peer dependency to ^16.0.0 (#4234) - Bump
@metamask/base-controller
to^5.0.2
(#4232)
@metamask/signature-controller 16.0.0
Changed
- BREAKING Bump
@metamask/keyring-controller
peer dependency to ^16.0.0 (#4234) - Bump
@metamask/base-controller
to^5.0.2
(#4232) - Bump
@metamask/approval-controller
to^6.0.2
(#4234) - Bump
@metamask/message-manager
to^8.0.2
(#4234)
@metamask/user-operation-controller 9.0.0
Changed
- BREAKING Bump
@metamask/keyring-controller
peer dependency to ^16.0.0 (#4234) - Bump
@metamask/base-controller
to^5.0.2
(#4232) - Bump
@metamask/transaction-controller
to^28.1.1
(#4229) - Bump
@metamask/gas-fee-controller
to^15.1.1
(#4220, #4234) - Bump
@metamask/approval-controller
to^6.0.2
(#4234) - Bump
@metamask/polling-controller
to^6.0.2
(#4234)
146.0.0
@metamask/base-controller 5.0.2
Changed
- Bump TypeScript version to
~4.9.5
(#4084)
@metamask/phishing-controller 9.0.2
Changed
145.0.0
144.0.0
@metamask/gas-fee-controller 15.1.0
Added
- Add nonRPCGasFeeApisDisabled property to the gas fee controller, allowing the user to specify that they want to prevent network request to gas estimate services, and only want gas estimates to be based on rpc requests (eth_feeHistory and eth_gasPrice) to the provider. (#4094)
Fixed
- Fix GasFeeController incorrectly setting globally selected state, so that state is only updated if the gasFeeEstimate fetched is for the currently selected network (#4214)
143.0.0
142.0.0
@metamask/selected-network-controller 12.0.1
Fixed
- When
getProviderAndBlockTracker
is called with adomain
for which there is no cachednetworkProxy
in thedomainProxyMap
, if theuseRequestQueue
preference is off and thedomain
does not have permissions the newly creatednetworkProxy
for thisdomain
will be pointed at theNetworkController
's own proxy of the globally selectednetworkClient
. (#4187)