Skip to content

Releases: MetaMask/core

682.0.0

17 Nov 16:28
0681fcb

Choose a tag to compare

@metamask/transaction-pay-controller 7.0.0

Added

  • BREAKING: Add sourceAmount to TransactionPayQuote (#7159)
    • Add estimate and max properties to fee.sourceNetwork in TransactionPayQuote.
    • Add isTargetGasFeeToken to fee in TransactionPayQuote.
    • Add matching properties to TransactionPayTotals.
    • Use fixed fiat rate for Polygon USDCe and Arbitrum USDC.

681.0.0

17 Nov 12:06
0720b9f

Choose a tag to compare

@metamask/core-backend 4.1.0

Changed

  • Improve WebSocket connection lifecycle tracing in BackendWebSocketService (#7101)
    • WebSocket connection duration is now properly reflected in trace span duration instead of only in custom data
    • Trace all disconnections (both manual and unexpected) to provide complete connection lifecycle visibility in traces
    • Omit connectionDuration_ms from disconnection traces when connection never established (onClose without onOpen)
  • Update BackendWebSocketService default exponential backoff options for reconnection (#7101)
    • Increase default reconnectDelay from 500 milliseconds to 10 seconds
    • Increase default maxReconnectDelay from 30 seconds to 60 seconds
  • Simplify WebSocket disconnection code in BackendWebSocketService (#7101)
    • Centralize all disconnection logic in ws.onclose handler for single source of truth
    • Centralize all state changes within #establishConnection method - state transitions only occur in onopen (CONNECTING → CONNECTED) and onclose (any state → DISCONNECTED)
    • Add MANUAL_DISCONNECT_CODE (4999) and MANUAL_DISCONNECT_REASON constants to distinguish manual from unexpected disconnects
  • Update typescript to v5.3 (#7081)
  • Bump @ts-bridge/cli from ^0.6.1 to ^0.6.4 (#7039)

Removed

  • Remove BackendWebSocketService Channel Message trace as it provided no useful performance insights (#7101)

Fixed

  • Fix build script not working because of missing @ts-bridge/cli dependency (#7040)

680.0.0

14 Nov 18:12
1048b3c

Choose a tag to compare

@metamask/phishing-controller 15.0.1

Changed

  • Bump typescript to v5.3 (#7081)

Fixed

  • Fixed the Transaction Controller listener to correctly pick up state changes for mobile (#7139)
  • Fixed auto-fixable ESLint warnings (#7105)
  • Fixed build script not working because of missing @ts-bridge/cli dependency (#7040)

679.0.0

13 Nov 15:34
ba9a5cc

Choose a tag to compare

@metamask/transaction-controller 61.3.0

Added

  • Add optional gasFeeToken property to addTransaction and addTransactionBatch methods (#7123)
    • Also add optional gasFeeToken and isGasFeeTokenIgnoredIfBalance properties to TransactionMeta.

@metamask/transaction-pay-controller 6.0.0

Fixed

  • BREAKING: Always retrieve quote if using Relay strategy and required token is Arbitrum USDC, even if payment token matches (#7146)
    • Change getStrategy constructor option from asynchronous to synchronous.

678.0.0

13 Nov 13:43
49615f6

Choose a tag to compare

@metamask/subscription-controller 4.2.2

Changed

  • Trigger triggerAccessTokenRefresh everytime subscription state change instead of only when polling (#7149)
  • Remove triggerAccessTokenRefresh after startShieldSubscriptionWithCard (#7149)

677.0.0

13 Nov 12:42
d703297

Choose a tag to compare

@metamask/notification-services-controller 20.0.0

Changed

  • BREAKING: Moved Notification API from v2 to v3 (#7102)
    • API Endpoint Changes: Updated from /api/v2/notifications to /api/v3/notifications for listing notifications and marking as read
    • Request Format: The list notifications endpoint now expects { addresses: string[], locale?: string } instead of { address: string }[]
    • Response Structure: Notifications now include a notification_type field ('on-chain' or 'platform') and nested payload structure
      • On-chain notifications: data moved from root level to payload.data
      • Platform notifications: new type with template containing localized content (title, body, image_url, cta)
    • Type System Overhaul:
      • OnChainRawNotificationNormalisedAPINotification (union of on-chain and platform)
      • UnprocessedOnChainRawNotificationUnprocessedRawNotification
      • Removed specific DeFi notification types (Aave, ENS, Lido rewards, etc.) - now will be handled generically
      • Added TRIGGER_TYPES.PLATFORM for platform notifications
    • Function Signatures:
      • getOnChainNotifications()getAPINotifications() with new locale parameter
      • getOnChainNotificationsConfigCached()getNotificationsApiConfigCached()
      • processOnChainNotification()processAPINotifications()
    • Service Imports: Update imports from onchain-notifications to api-notifications
    • Auto-expiry: Reduced from 90 days to 30 days for notification auto-expiry
    • Locale Support: Added locale parameter to controller constructor for localized server notifications

676.0.0

13 Nov 12:07
bfc7658

Choose a tag to compare

@metamask/shield-controller 2.1.0

Added

  • Added metrics in the Shield coverage response to track the latency ( #7133)

675.0.0

12 Nov 15:11
be86c60

Choose a tag to compare

@metamask/bridge-controller 60.1.0

Uncategorized

  • Release/671.0.0 (#7126)
  • chore: Fix all auto-fixable ESLint warnings (#7105)

Added

  • Added support for bridging and swapping tokens on the Tron blockchain (#6862)

@metamask/bridge-status-controller 60.1.0

Uncategorized

  • Release/671.0.0 (#7126)

Added

  • Added support for bridging and swapping tokens on the Tron blockchain (#6862)

674.0.0

12 Nov 14:47
d92309d

Choose a tag to compare

@metamask/transaction-pay-controller 5.0.0

Added

  • BREAKING: Include transactions in Relay quotes via EIP-7702 and delegation (#7122)
    • Requires new getDelegationTransaction constructor option.

Changed

  • Updated getBridgeBatchTransactions types to account for multichain approvals (#6862)

Fixed

  • Read Relay provider fees directly from response (#7098)

673.0.0

12 Nov 13:23
a5d7def

Choose a tag to compare

@metamask/subscription-controller 4.2.1

Added

  • Add missing start crypto useTestClock param from lastSelectedPaymentMethod in submitShieldSubscriptionCryptoApproval (#7131)