Releases: MetaMask/core
Releases · MetaMask/core
239.0.0
238.0.0
@metamask/assets-controllers 42.0.0
Added
- Add
resetState
method toNftController
,TokensController
,TokenBalancesController
andTokenRatesController
to reset the controller's state back to their default state (#4880)
Changed
- BREAKING: A
platform
argument must now be passed to theTokenDetectionController
constructor, indicating whether the platform is extension or mobile. (#4877) - BREAKING: The
TokenRatesController
now accepts{chainId: Hex}
as its polling input tostartPolling()
instead of{networkClientId: NetworkClientId}
(#4887) - When the
TokenRatesController
's subscription toTokensController:stateChange
is fired, token prices are now updated across all chain IDs whose tokens changed, instead of just the current chain. (#4866) - The
TokenDetectionController
now passes ax-metamask-clientproduct
header when calling the account API. (#4877)
237.0.0
@metamask/transaction-controller 38.2.0
Added
- Add staking transaction types (#4874)
stakingClaim
stakingDeposit
stakingUnstake
Changed
236.0.0
@metamask/accounts-controller 18.2.3
Changed
- Bump
@metamask/base-controller
from^7.0.1
to^7.0.2
(#4862) - Bump
@metamask/utils
from^9.1.0
to^10.0.0
(#4831) - Bump dev dependency
@metamask/keyring-controller
from^17.2.2
to^17.3.1
(#4810, #4870)
@metamask/assets-controllers 41.0.0
Changed
- BREAKING: The polling input accepted by
CurrencyRateController
is now an object with anativeCurrencies
property that is defined as astring
array type (#4852)- The
input
parameters of the controller's_executePoll
,_startPolling
,onPollingComplete
methods now only accept this new polling input type. - The
nativeCurrency
property (string
type) has been removed.
- The
- BREAKING:
RatesController
now types theconversionRate
andusdConversionRate
in its state asnumber
instead ofstring
, to match what it was actually storing. (#4852) - Bump
@metamask/base-controller
from^7.0.1
to^7.0.2
(#4862) - Bump
@metamask/controller-utils
from^11.4.0
to^11.4.1
(#4862) - Bump dev dependency
@metamask/approval-controller
from^7.1.0
to^7.1.1
(#4862)
@metamask/controller-utils 11.4.2
Changed
- Move BigNumber.js from devDependencies to dependencies (#4873)
@metamask/keyring-controller 17.3.1
Changed
- Bump
@metamask/base-controller
from^7.0.1
to^7.0.2
(#4862) - Bump
@metamask/utils
from^9.1.0
to^10.0.0
(#4831) - Bump
@metamask/eth-sig-util
from^7.0.1
to^8.0.0
(#4830)
@metamask/message-manager 11.0.1
Changed
- Bump
@metamask/base-controller
from^7.0.1
to^7.0.2
(#4862) - Bump
@metamask/controller-utils
from^11.3.0
to^11.4.2
(#4834, #4862, #4870) - Bump
@metamask/utils
from^9.1.0
to^10.0.0
(#4831) - Bump
@metamask/eth-sig-util
from^7.0.1
to^8.0.0
(#4830)
@metamask/network-controller 22.0.1
Changed
- Bump
@metamask/base-controller
from^7.0.1
to^7.0.2
(#4862) - Bump
@metamask/controller-utils
from^11.4.0
to^11.4.2
(#4862, #4870) - Bump
@metamask/eth-json-rpc-provider
from^4.1.5
to^4.1.6
(#4862) - Bump
@metamask/json-rpc-engine
from^10.0.0
to^10.0.1
(#4862) - Bump
@metamask/rpc-errors
from^7.0.0
to^7.0.1
(#4831)
@metamask/polling-controller 12.0.1
Changed
- Bump
@metamask/base-controller
from^7.0.1
to^7.0.2
(#4862) - Bump
@metamask/controller-utils
from^11.4.0
to^11.4.2
(#4862, #4870)
@metamask/preferences-controller 13.2.0
Added
- Add
useSafeChainsListValidation
preference (#4860)- Add
useSafeChainsListValidation
property to thePreferencesController
state (default:true
) - Add
setUseSafeChainsListValidation
method to set this property
- Add
- Add
tokenSortConfig
preference (#4860)- Add
tokenSortConfig
property to thePreferencesController
state (default value:{ key: 'tokenFiatAmount', order: 'dsc', sortCallback: 'stringNumeric' }
) - Add
setTokenSortConfig
method to set this property
- Add
- Add
privacyMode
preference (#4860)- Add
privacyMode
property to thePreferencesController
state (default value:false
) - Add
setPrivacyMode
method to set this property
- Add
- Add
useMultiRpcMigration
preference (#4732)
Changed
235.0.0
@metamask/queued-request-controller 7.0.0
Added
- BREAKING: The
QueuedRequestController
now requires thecanRequestSwitchNetworkWithoutApproval
callback in its constructor params. (#4846)
Changed
- The
QueuedRequestController
now ensures that a request that can switch the globally selected network without approval is queued behind any existing pending requests. (#4846)
Fixed
- The
QueuedRequestController
now ensures that any queued requests for a origin are failed if a request that can switch the globally selected network without approval actually does change the globally selected network for that origin. (#4846)
234.0.0
@metamask/signature-controller 21.0.0
Added
- Add
chainId
andnetworkClientId
toSignatureRequest
andLegacyStateMessage
types (#4797) - Add
networkClientId
toOriginalRequest
type (#4797)
Changed
- BREAKING: Make
request
argument required innewUnsignedPersonalMessage
andnewUnsignedTypedMessage
methods (#4797) - Throw if no
networkClientId
inrequest
or if chain ID cannot be determined (#4797) - Bump
@metamask/approval-controller
from^7.1.0
to^7.1.1
(#4862) - Bump
@metamask/controller-utils
from^11.4.0
to^11.4.1
(#4862) - Bump
@metamask/base-controller
from7.0.1
to^7.0.2
(#4862) - Bump
@metamask/utils
from^9.1.0
to^10.0.0
(#4831) - Bump
@metamask/controller-utils
from^11.3.0
to^11.4.0
(#4834)
Removed
- Remove
getCurrentChainId
andgetAllState
callbacks from constructor options (#4797)
@metamask/transaction-controller 38.1.0
Added
- Automatically re-simulate transactions based on security criteria (#4792)
- If the security provider marks the transaction as malicious.
- If the simulated native balance change does not match the
value
. - Set new
isUpdatedAfterSecurityCheck
property totrue
if the subsequent simulation response has changed.
Changed
233.0.0
@metamask/approval-controller 7.1.1
Changed
- Bump
@metamask/utils
from^9.1.0
to^10.0.0
(#4831)
@metamask/base-controller 7.0.2
Changed
- Bump
@metamask/utils
from^9.1.0
to^10.0.0
(#4831)
@metamask/controller-utils 11.4.1
Changed
- Bump
@metamask/utils
from^9.1.0
to^10.0.0
(#4831)
@metamask/eth-json-rpc-provider 4.1.6
Changed
- Bump
@metamask/utils
from^9.1.0
to^10.0.0
(#4831) - Bump
@metamask/rpc-errors
from^6.3.1
to^7.0.0
(#4769)
@metamask/json-rpc-engine 10.0.1
Changed
- Bump
@metamask/utils
from^9.1.0
to^10.0.0
(#4831)
@metamask/json-rpc-middleware-stream 8.0.5
Changed
- Bump
@metamask/utils
from^9.1.0
to^10.0.0
(#4831)
@metamask/permission-controller 11.0.3
Changed
- Bump
@metamask/utils
from^9.1.0
to^10.0.0
(#4831)
232.0.0
@metamask/assets-controllers 40.0.0
Changed
- BREAKING: The CurrencyRateController polling input is now
{ nativeCurrency: string }
instead of a network client ID (#4839) - BREAKING: Bump
@metamask/network-controller
peer dependency to^22.0.0
(#4841) - Bump
@metamask/controller-utils
to^11.4.0
(#4834) - Bump
@metamask/rpc-errors
to^7.0.1
(#4831) - Bump
@metamask/utils
to^10.0.0
(#4831)
Fixed
- Update TokenRatesController to not reset market data just after network switch but before loading new market data (#4832)
@metamask/ens-controller 15.0.0
Changed
- BREAKING: Bump
@metamask/network-controller
peer dependency to^22.0.0
(#4841) - Bump
@metamask/controller-utils
to^11.4.0
(#4834) - Bump
@metamask/utils
to^10.0.0
(#4831)
@metamask/gas-fee-controller 22.0.0
Changed
- BREAKING: Bump
@metamask/network-controller
peer dependency to^22.0.0
(#4841) - Bump
@metamask/controller-utils
to^11.4.0
(#4834) - Bump
@metamask/utils
to^10.0.0
(#4831)
@metamask/polling-controller 12.0.0
Changed
- BREAKING: Bump
@metamask/network-controller
peer dependency to^22.0.0
(#4841) - Bump
@metamask/controller-utils
to^11.4.0
(#4834) - Bump
@metamask/utils
to^10.0.0
(#4831)
@metamask/queued-request-controller 6.0.0
Changed
- BREAKING: Bump
@metamask/network-controller
peer dependency from^21.0.0
to^22.0.0
(#4841) - Bump
@metamask/controller-utils
to^11.4.0
(#4834) - Bump
@metamask/rpc-errors
to^7.0.1
(#4831) - Bump
@metamask/utils
to^10.0.0
(#4831)
@metamask/selected-network-controller 19.0.0
Changed
- BREAKING: Bump
@metamask/network-controller
peer dependency from^21.0.0
to^22.0.0
(#4841) - Bump
@metamask/utils
to^10.0.0
(#4831)
@metamask/transaction-controller 38.0.0
Changed
- BREAKING: Bump
@metamask/gas-fee-controller
peer dependency from^20.0.0
to^21.0.0
(#4810) - BREAKING: Bump
@metamask/network-controller
peer dependency from^21.0.0
to^22.0.0
(#4841) - Bump
@metamask/controller-utils
to^11.4.0
(#4834) - Bump
@metamask/rpc-errors
to^7.0.1
(#4831) - Bump
@metamask/utils
to^10.0.0
(#4831)