Releases: MetaMask/core
Releases · MetaMask/core
833.0.0
832.0.0
@metamask/assets-controllers 100.0.3
Changed
- Bump
@metamask/transaction-controllerfrom^62.17.1to^62.18.0(#8005)
Fixed
- Fix token search API parameter to use
firstinstead oflimitfor pagination (#8019)- Clamp limit to a maximum of 50 results for regular queries
- Allow up to 500 results for Ondo token queries; limits exceeding 500 are clamped to 50
831.0.0
@metamask/bridge-controller 67.2.0
Changed
830.0.0
@metamask/ramps-controller 10.0.0
Changed
- BREAKING: Remove
state.quotesandstate.widgetUrlfrom RampsController state. Quote and widget URL data are now managed by consuming components (#8013) - BREAKING: Remove
fetchQuotesForSelection()andsetSelectedQuote(). Components callgetQuotes()directly and manage selection locally (#8013) - Simplify
getWidgetUrl()to a pure fetch-and-return API; it no longer reads or writes controller state (#8013) - Improve
TransakServiceerror handling (#8010) - BREAKING: Replace
startQuotePolling()/stopQuotePolling()withfetchQuotesForSelection()— quotes are now fetched once per call instead of polling on a 15-second interval (#7999)
Removed
- Remove
stopQuotePolling()method (no interval to stop) (#7999) - Remove internal polling restart logic (
#restartPollingIfActive) fromsetSelectedProvider,setSelectedToken, andsetSelectedPaymentMethod(#7999)
Fixed
- Fix RampsController flaky test (#8018)
829.0.0
@metamask/compliance-controller 1.0.1
@metamask/seedless-onboarding-controller 8.1.0
Changed
refreshAuthTokensnow coalesces concurrent calls — if a refresh is already in-flight, subsequent callers share the same promise rather than issuing duplicate HTTP requests with the same token (#7989)refreshAuthTokensnow uses the livestate.refreshTokenvalue when callingauthenticateafter a successful HTTP refresh, preventing a stale-capture bug that could overwrite a concurrently-renewed token with an older one (#7989)renewRefreshTokennow queues the old token for revocation only after#createNewVaultWithAuthDatasucceeds, ensuring tokens are not queued if vault creation fails (#7989)
Fixed
- Fixed
refreshAuthTokensthrowing the genericFailedToRefreshJWTTokenserror for all HTTP failures — a 401 response (permanently revoked token) now throwsInvalidRefreshTokeninstead, giving callers a distinct signal to distinguish permanent from transient failures (#7989)
828.0.0
@metamask/transaction-controller 62.18.0
Added
- Add
predictRelayDepositandperpsRelayDeposittoTransactionTypeenum (#7947)
@metamask/transaction-pay-controller 16.0.0
Added
- BREAKING: Add live on-chain balance validation for pay transactions (#7935)
- Refresh payment token balance via chain before each quote update.
- Validate source token balance via chain before submitting Relay deposits.
- Requires
NetworkController:getNetworkClientByIdmessenger action permission inTransactionControllerpublish hook.
Changed
827.0.0
@metamask/assets-controllers 100.0.2
Changed
- Blockaid token filtering in
MultichainAssetsControllernow only removes tokens flagged asMalicious(#8003)Spam,Warning, andBenigntokens are no longer filtered out
@metamask/compliance-controller 1.0.0
Added
- Initial release (#7945)
- Add
ComplianceControllerfor managing OFAC compliance state for wallet addresses. - Add
ComplianceServicefor fetching compliance data from the Compliance API.
- Add
Changed
- Bump
@metamask/controller-utilsfrom^11.18.0to^11.19.0(#7995)
826.0.0
@metamask/ramps-controller 9.0.0
Added
- Add
getOrderandgetOrderFromCallbackmethods toRampsServiceandRampsControllerfor V2 unified order polling, along with newRampsOrder,RampsOrderFiatCurrency,RampsOrderCryptoCurrency,RampsOrderPaymentMethod, andRampsOrderStatustypes (#7934)
Changed
825.0.0
@metamask/accounts-controller 36.0.1
Changed
- Bump
@metamask/network-controllerfrom^29.0.0to^30.0.0(#7996)
@metamask/assets-controller 2.0.2
Changed
- Bump
@metamask/assets-controllersfrom^100.0.0to^100.0.1(#7996) - Bump
@metamask/network-controllerfrom^29.0.0to^30.0.0(#7996) - Bump
@metamask/network-enablement-controllerfrom^4.1.1to^4.1.2(#7996) - Bump
@metamask/polling-controllerfrom^16.0.2to^16.0.3(#7996) - Bump
@metamask/transaction-controllerfrom^62.17.0to^62.17.1(#7996)
@metamask/assets-controllers 100.0.1
Changed
- Bump
@metamask/accounts-controllerfrom^36.0.0to^36.0.1(#7996) - Bump
@metamask/network-controllerfrom^29.0.0to^30.0.0(#7996) - Bump
@metamask/network-enablement-controllerfrom^4.1.1to^4.1.2(#7996) - Bump
@metamask/polling-controllerfrom^16.0.2to^16.0.3(#7996) - Bump
@metamask/transaction-controllerfrom^62.17.0to^62.17.1(#7996)
@metamask/bridge-controller 67.1.1
Changed
- Bump
@metamask/accounts-controllerfrom^36.0.0to^36.0.1(#7996) - Bump
@metamask/assets-controllersfrom^100.0.0to^100.0.1(#7996) - Bump
@metamask/gas-fee-controllerfrom^26.0.2to^26.0.3(#7996) - Bump
@metamask/multichain-network-controllerfrom^3.0.3to^3.0.4(#7996) - Bump
@metamask/network-controllerfrom^29.0.0to^30.0.0(#7996) - Bump
@metamask/polling-controllerfrom^16.0.2to^16.0.3(#7996) - Bump
@metamask/transaction-controllerfrom^62.17.0to^62.17.1(#7996)
@metamask/bridge-status-controller 67.0.1
Changed
- Bump
@metamask/accounts-controllerfrom^36.0.0to^36.0.1(#7996) - Bump
@metamask/gas-fee-controllerfrom^26.0.2to^26.0.3(#7996) - Bump
@metamask/network-controllerfrom^29.0.0to^30.0.0(#7996) - Bump
@metamask/polling-controllerfrom^16.0.2to^16.0.3(#7996) - Bump
@metamask/transaction-controllerfrom^62.17.0to^62.17.1(#7996) - Bump
@metamask/controller-utilsfrom^11.18.0to^11.19.0(#7995) - Bump
@metamask/bridge-controllerfrom^67.0.0to^67.1.1(#7995, #7996)
@metamask/earn-controller 11.1.1
Changed
- Bump
@metamask/network-controllerfrom^29.0.0to^30.0.0(#7996) - Bump
@metamask/keyring-apifrom^21.0.0to^21.5.0(#7857) - Bump
@metamask/account-tree-controllerfrom^4.0.0to^4.1.1(#7869), (#7897) - Bump
@metamask/controller-utilsfrom^11.18.0to^11.19.0(#7995)
@metamask/ens-controller 19.0.3
Changed
- Bump
@metamask/network-controllerfrom^29.0.0to^30.0.0(#7996) - Bump
@metamask/controller-utilsfrom^11.18.0to^11.19.0(#7995)
@metamask/gas-fee-controller 26.0.3
Changed
- Bump
@metamask/network-controllerfrom^29.0.0to^30.0.0(#7996) - Bump
@metamask/polling-controllerfrom^16.0.2to^16.0.3(#7996) - Bump
@metamask/controller-utilsfrom^11.18.0to^11.19.0(#7995)
@metamask/multichain-api-middleware 1.2.7
Changed
- Bump
@metamask/network-controllerfrom^29.0.0to^30.0.0(#7996) - Bump
@metamask/json-rpc-enginefrom^10.2.1to^10.2.2(#7856) - Bump
@metamask/multichain-transactions-controllerfrom7.0.0to7.0.1(#7897) - Bump
@metamask/controller-utilsfrom^11.18.0to^11.19.0(#7995)
@metamask/multichain-network-controller 3.0.4
Changed
- Bump
@metamask/accounts-controllerfrom^36.0.0to^36.0.1(#7996) - Bump
@metamask/network-controllerfrom^29.0.0to^30.0.0(#7996) - Bump
@metamask/controller-utilsfrom^11.18.0to^11.19.0(#7995)
@metamask/network-controller 30.0.0
Added
- Add
rpcMethodNametoNetworkController:rpcEndpointDegradedandNetworkController:rpcEndpointChainDegradedevent payloads (#7954)- This field contains the JSON-RPC method name (e.g.
eth_blockNumber) that was being processed when the event fired, enabling identification of which methods produce the most slow requests or retry exhaustions.
- This field contains the JSON-RPC method name (e.g.
- Add
typeandretryReasontoNetworkController:rpcEndpointDegradedandNetworkController:rpcEndpointChainDegradedevent payloads (#7988)type(DegradedEventType) is'slow_success'when the request succeeded but was slow, or'retries_exhausted'when retries ran out.retryReason(RetryReason, only present whentypeis'retries_exhausted') classifies the error that was retried (e.g.'non_successful_http_status','timed_out','connection_failed').
Changed
- BREAKING: The
RpcServiceRequestabletype'sonDegradedlistener now receivesrpcMethodName: stringin its data parameter (#7954)- Implementors of this interface will need to accept the new field in their
onDegradedcallback signature.
- Implementors of this interface will need to accept the new field in their
- Bump
@metamask/eth-json-rpc-middlewarefrom^23.0.0to^23.1.0(#7810) - Bump
@metamask/json-rpc-enginefrom^10.2.1to^10.2.2(#7856) - Bump
@metamask/controller-utilsfrom^11.18.0to^11.19.0(#7995)
@metamask/network-enablement-controller 4.1.2
Changed
- Bump
@metamask/multichain-network-controllerfrom^3.0.3to^3.0.4(#7996) - Bump
@metamask/network-controllerfrom^29.0.0to^30.0.0(#7996) - Bump
@metamask/transaction-controllerfrom^62.17.0to^62.17.1(#7996) - Bump
@metamask/controller-utilsfrom^11.18.0to^11.19.0(#7995)
@metamask/polling-controller 16.0.3
Changed
- Bump
@metamask/network-controllerfrom^29.0.0to^30.0.0(#7996) - Bump
@metamask/controller-utilsfrom^11.18.0to^11.19.0(#7995)
@metamask/sample-controllers 4.0.3
Changed
- Bump
@metamask/network-controllerfrom^29.0.0to^30.0.0(#7996) - Bump
@metamask/controller-utilsfrom^11.18.0to^11.19.0(#7995)
@metamask/selected-network-controller 26.0.3
Changed
- Bump
@metamask/network-controllerfrom^29.0.0to^30.0.0(#7996) - Bump
@metamask/json-rpc-enginefrom^10.2.1to^10.2.2(#7856)
@metamask/signature-controller 39.0.4
Changed
- Bump
@metamask/accounts-controllerfrom^36.0.0to^36.0.1(#7996) - Bump
@metamask/network-controllerfrom^29.0.0to^30.0.0(#7996) - Bump
@metamask/controller-utilsfrom^11.18.0to^11.19.0(#7995)
@metamask/transaction-controller 62.17.1
Changed
- Bump
@metamask/accounts-controllerfrom^36.0.0to^36.0.1(#7996) - Bump
@metamask/gas-fee-controllerfrom^26.0.2to^26.0.3(#7996) - Bump
@metamask/network-controllerfrom^29.0.0to^30.0.0(#7996) - Bump
@metamask/core-backendfrom5.0.0to^6.0.0(#7993) - Bump
@metamask/controller-utilsfrom^11.18.0to^11.19.0(#7995)
@metamask/transaction-pay-controller 15.1.2
Changed
- Bump
@metamask/assets-controllersfrom^100.0.0to^100.0.1(#7996) - Bump `@metamask/...
824.0.0
@metamask/assets-controller 2.0.1
Changed
- Refactor data source tests to use shared
MockAssetControllerMessengerfixture (#7958)- Export
STAKING_INTERFACEfrom the staked balance fetcher for use with the staking contract ABI. StakedBalanceDataSourceteardown now uses the messenger'sclearEventSubscriptions; custom messenger implementations must support it for correct cleanup.
- Export
- Bump
@metamask/network-enablement-controllerfrom^4.1.0to^4.1.1(#7984) - Bump
@metamask/core-backendfrom^5.1.1to^6.0.0(#7993) - Bump
@metamask/assets-controllersfrom^99.4.0to^100.0.0(#7995) - Bump
@metamask/controller-utilsfrom^11.18.0to^11.19.0(#7995)
@metamask/assets-controllers 100.0.0
Added
- BREAKING:
MultichainAssetsControllerMessengernow requires thePhishingController:bulkScanTokensaction to be allowed (#7923)- Consumers constructing the messenger must include this action in the allowed actions list
- Add Blockaid token security scanning to
MultichainAssetsControllerto filter out spam, malicious, and warning tokens during automatic asset detection (#7923)- Tokens with
assetNamespaceof "token" (e.g. SPL tokens) are scanned via thePhishingController:bulkScanTokensmessenger action - Only tokens with a
Benignresult are kept; native assets (e.g.slip44) are not scanned - The filter fails open: if the scan is unreachable or returns an error, all tokens are kept
- Filtering applies to account-added and asset-list-updated events;
addAssets(curated list) is not filtered - Token addresses are batched into groups of 100 to stay within the
bulkScanTokensper-request limit
- Tokens with
Changed
- Bump
@metamask/phishing-controllerfrom^16.2.0to^16.3.0(#7979) - Bump
@metamask/network-enablement-controllerfrom^4.1.0to^4.1.1(#7984) - Bump
@metamask/core-backendfrom^5.0.0to^6.0.0(#7993) - Change MegaETH mainnet occurences filtering for getTokensURL (#7994)
- Bump
@metamask/controller-utilsfrom^11.18.0to^11.19.0(#7995)
@metamask/bridge-controller 67.1.0
Added
- Added optional
input_amount_presetproperty to theInputChangedevent inRequiredEventContextFromClient(#7987)
Changed
- Bump
@metamask/assets-controllersfrom^99.4.0to^100.0.0(#7995) - Bump
@metamask/controller-utilsfrom^11.18.0to^11.19.0(#7995)
@metamask/controller-utils 11.19.0
Added
- Add
megaeth-mainnettoBUILT_IN_NETWORKS(#7994)