Releases: MetaMask/core
Releases · MetaMask/core
624.0.0
@metamask/eip-5792-middleware 1.2.3
Changed
- Bump
@metamask/transaction-controllerfrom^60.6.1to^60.7.0(#6841)
@metamask/network-controller 24.2.2
Changed
623.0.0
@metamask/core-backend 2.1.0
Added
- Add optional
traceFnparameter toAccountActivityServiceconstructor for performance tracing integration (#6842)- Enables tracing of transaction message receipt with elapsed time from transaction timestamp to message arrival
- Trace captures
chain,status, andelapsed_msfor monitoring transaction delivery latency
Fixed
- Fix race condition in
BackendWebSocketService.connect()that could create multiple concurrent WebSocket connections when called simultaneously from multiple event sources (e.g.,KeyringController:unlock,AuthenticationController:stateChange, andMetaMaskController.isClientOpen) (#6842)- Connection promise is now set synchronously before any async operations to prevent duplicate connections
622.0.0
621.0.0
@metamask/remote-feature-flag-controller 1.9.0
Added
- Export additional controller types from package index (#6835)
- Export
RemoteFeatureFlagControllerActions- union type of all controller actions - Export
RemoteFeatureFlagControllerUpdateRemoteFeatureFlagsAction- action type for updating feature flags - Export
RemoteFeatureFlagControllerEvents- union type of all controller events - Export
RemoteFeatureFlagControllerStateChangeEvent- state change event type
- Export
@metamask/token-search-discovery-controller 3.5.0
Added
- Export additional controller types from package index (#6837)
- Export
TokenSearchDiscoveryControllerActions- union type of all controller actions - Export
TokenSearchDiscoveryControllerGetStateAction- action type for getting controller state - Export
TokenSearchDiscoveryControllerEvents- union type of all controller events - Export
TokenSearchDiscoveryControllerStateChangeEvent- state change event type
- Export
620.0.0
@metamask/account-tree-controller 1.5.0
Changed
- Use non-EVM account names for group names (#6831)
- EVM accounts still take precedence over non-EVM accounts.
- Before accounts get re-aligned, it is possible that a group contains only non-EVM accounts, in which case, the first non-EVM account name will be used for that account group.
Fixed
- Fix wallet metadata cleanup when wallets are completely removed (#6813)
619.0.0
@metamask/assets-controllers 81.0.0
Changed
- BREAKING: Bump peer dependency
@metamask/core-backendfrom^1.0.1to^2.0.0(#6834)
Fixed
- Fix address casing in WebSocket-based token balance updates to ensure consistency (#6819)
@metamask/bridge-controller 52.0.0
Changed
- BREAKING: Bump peer dependency
@metamask/assets-controllersfrom^80.0.0to^81.0.0(#6834)
@metamask/bridge-status-controller 51.0.0
Changed
- BREAKING: Bump peer dependency
@metamask/bridge-controllerfrom^51.0.0to^52.0.0(#6834)
@metamask/core-backend 2.0.0
Added
- BREAKING: Add required argument
channelTypetoBackendWebSocketService.subscribemethod (#6819)- Add
channelTypeto argument of theBackendWebSocketService:subscribemessenger action - Add
channelTypetoWebSocketSubscriptiontype
- Add
- BREAKING: Update
Assettype definition: add requireddecimalsfield for proper token amount formatting (#6819) - Add optional
traceFnparameter toBackendWebSocketServiceconstructor for performance tracing integration (e.g., Sentry) (#6819)- Enables tracing of WebSocket operations including connect, disconnect methods
- Trace function receives operation metadata and callback to wrap for performance monitoring
- Add optional
timestampproperty toServerNotificationMessageandSystemNoticationDatatypes (#6819) - Add optional
timestampproperty toAccountActivityService:statusChangedevent and corresponding event type (#6819)
Changed
- BREAKING: Update
BackendWebSocketServiceto automatically manage WebSocket connections based on wallet lock state (#6819)KeyringController:lockandKeyringController:unlockare now required events in theBackendWebSocketServicemessenger
- BREAKING: Update
Transactiontype definition: renamehashfield toidfor consistency with backend API (#6819) - BREAKING: Add peer dependency on
@metamask/keyring-controller(^23.0.0) (#6819) - Update
BackendWebSocketServiceto simplify reconnection logic: auto-reconnect on any unexpected disconnect (not just code 1000), stay disconnected when manually disconnecting viadisconnect(#6819) - Improve error handling in
BackendWebSocketService.connect()to properly rethrow errors to callers (#6819) - Update
AccountActivityServiceto replace API-based chain support detection with system notification-driven chain tracking (#6819)- Instead of hardcoding a list of supported chains, assume that the backend has the list
- When receiving a system notification, capture the backend-tracked status of each chain instead of assuming it is up or down
- Flush all tracked chains as 'down' on disconnect/error (instead of using hardcoded list)
- Update documentation in
README.mdto reflect new connection management model and chain tracking behavior (#6819)- Add "WebSocket Connection Management" section explaining connection requirements and behavior
- Update sequence diagram to show system notification-driven chain status flow
- Update key flow characteristics to reflect internal chain tracking mechanism
Removed
- BREAKING: Remove
getSupportedChainsmethod fromAccountActivityService(#6819)
618.0.0
@metamask/subscription-controller 2.0.0
Added
- BREAKING: Added two new public methods,
getSubscriptionsEligibilitiesandsubmitUserEventtoSubscriptionServiceandISubscriptionServiceinterface. (#6826)getSubscriptionsEligibilities(get user eligibilities for subscriptions).submitUserEvent(submit user UI events, e.g. EntryModalViewed).
- Added two new public methods,
getSubscriptionsEligibilitiesandsubmitUserEventto controller. (#6826) - Exported
SubscriptionUserEventfrom the Controller. (#6826)
617.0.0
@metamask/subscription-controller 1.1.0
Added
- BREAKING: Added two new public methods,
getSubscriptionsEligibilitiesandsubmitUserEventtoSubscriptionServiceandISubscriptionServiceinterface. (#6826)getSubscriptionsEligibilities(get user eligibilities for subscriptions).submitUserEvent(submit user UI events, e.g. EntryModalViewed).
- Added two new public methods,
getSubscriptionsEligibilitiesandsubmitUserEventto controller. (#6826) - Exported
SubscriptionUserEventfrom the Controller. (#6826)
616.0.0
@metamask/bridge-controller 51.0.0
Added
- Introduce server‑sent events quote streaming and integrates incremental quote updates into the bridge controller polling flow (#6760)
- Add private
handleQuoteStreamingmethod that callsgetQuoteStreamwhen thesseEnabledflag is enabled in LaunchDarkly - Reuse existing polling, metrics and validation utilities when processing server-sent quotes
- Add private
- Add dependency on
@microsoft/fetch-event-sourceat^2.0.1(#6760)- Note that clients need to patch this library such that it rejects instead of resolving when the quote request is cancelled. This preserves the controller's expected request cancellation behavior
Changed
- Extract some logic from bridge-controller and move them to utility files for better readability (#6760)
Removed
- Remove cache options from spot-prices and getQuote api calls since they are only required by the extension client (#6760)
Fixed
- Pass abortSignal to fetchAssetPricesForCurrency in order to cancel exchange rate fetching when quote parameters change (#6760)
@metamask/bridge-status-controller 50.1.0
Changed
- Bump peer dependency
@metamask/bridge-controllerfrom^50.0.0to^51.0.0(#6824)