Skip to content

Releases: MetaMask/core

229.0.0

24 Oct 17:56
2a198a2
Compare
Choose a tag to compare

@metamask/phishing-controller 12.1.0

Fixed

  • Update the phishing detector validation to drop invalid configs from detector (#4820)

228.0.0

23 Oct 18:32
7898e35
Compare
Choose a tag to compare

@metamask/network-controller 22.0.0

Changed

  • Corrects the previous 21.1.0 release to document breaking changes that were missed:
    • BREAKING: Bump @metamask/eth-block-tracker from ^10.0.0 to ^11.0.2 (#4769)
    • BREAKING: Bump @metamask/eth-json-rpc-middleware from ^13.0.0 to ^15.0.0 (#4769)
    • BREAKING: Bump @metamask/json-rpc-engine from ^9.0.3 to ^10.0.0 (#4769)
    • BREAKING: Bump @metamask/rpc-errors from ^6.3.1 to ^7.0.0 (#4769)
    • BREAKING: Bump @metamask/eth-json-rpc-infura from ^9.1.0 to ^10.0.0 (#4769)
    • Bump @metamask/eth-json-rpc-provider from ^4.1.4 to ^4.1.5 (#4798)
      • This update was recorded in the v21.1.0 changelog, but is listed here again because that release has been deprecated.
  • Bump @metamask/controller-utils from ^11.3.0 to ^11.4.0 (#4834)

227.0.0

23 Oct 15:43
cd3ba52
Compare
Choose a tag to compare

@metamask/notification-services-controller 0.12.0

Added

  • Export snap types (#4836)

Fixed

  • fix: add publish event in deleteNotificationsById (#4836)

226.0.0

23 Oct 15:03
dc045a2
Compare
Choose a tag to compare

@metamask/controller-utils 11.4.0

Added

  • Add isEqualCaseInsensitive function for case-insensitive string comparison (#4811)

225.0.0

22 Oct 13:18
24d257a
Compare
Choose a tag to compare

@metamask/signature-controller 20.1.0

Added

  • Add additional properties to message parameter types (#4822)
    • Add metamaskId to MessageParams.
    • Add version to MessageParamsTyped.

Changed

  • Update required arguments in methods (#4822)
    • Make request argument optional in newUnsignedPersonalMessage and newUnsignedTypedMessage.
    • Make signingOptions argument optional in newUnsignedTypedMessage.
  • Bump eth-sig-util from ^7.0.1 to ^8.0.0 (#4830)
  • Bump @metamask/keyring-controller from ^17.2.2 to ^17.3.0 (#4643)

224.0.0

22 Oct 10:20
4aa4b8b
Compare
Choose a tag to compare

@metamask/notification-services-controller 0.11.0

Added

  • Added support for an optional FCM token parameter for push notifications on mobile platforms, allowing native handling of FCM token creation through the Firebase SDK (#4823)

Changed

  • update the types described in types/on-chain-notification/schema and types/on-chain-notification/on-chain-notification (#4818)

    • adds new notifications: aave_v3_health_factor; ens_expiration; lido_staking_rewards; notional_loan_expiration; rocketpool_staking_rewards; spark_fi_health_factor
    • splits Wallet Notifications from Web 3 Notifications
  • updated and added new notification mocks (#4818)

    • can be accessed through @metamask/notification-services-controller/notification-services/mocks

Fixed

  • made updateMetamaskNotificationsList function work correctly by making the message handler async and moving the publish call outside of the update function. This ensures the NotificationServicesController:notificationsListUpdated event is received by the extension (#4826)

223.0.0

21 Oct 15:49
5c04d50
Compare
Choose a tag to compare

@metamask/assets-controllers 39.0.0

Changed

  • BREAKING: AccountTrackerController, CurrencyRateController, TokenDetectionController, TokenListController, and TokenRatesController now use a new polling interface that accepts the generic parameter PollingInput (#4752)
  • BREAKING: The inherited AbstractPollingController method startPollingByNetworkClientId has been renamed to startPolling (#4752)
  • BREAKING: The inherited AbstractPollingController method onPollingComplete now returns the entire input object of type PollingInput, instead of a network client id (#4752)

@metamask/gas-fee-controller 21.0.0

Changed

  • BREAKING: GasFeeController now uses a new polling interface that accepts the generic parameter PollingInput (#4752)
  • BREAKING: The inherited AbstractPollingController method startPollingByNetworkClientId has been renamed to startPolling (#4752)
  • BREAKING: The inherited AbstractPollingController method onPollingComplete now returns the entire input object of type PollingInput, instead of a network client id (#4752)

@metamask/keyring-controller 17.3.0

Changed

  • Bump @metamask/message-manager from ^10.1.1 to ^11.0.0 (#4805)

@metamask/network-controller 21.1.0

Changed

  • Bump @metamask/eth-json-rpc-provider from ^4.1.4 to ^4.1.5 (#4798)

@metamask/polling-controller 11.0.0

Changed

  • BREAKING: AbstractPollingController now accepts a generic type parameter PollingInput which is polymorphic, unlike the previous monomorphic required input of a network client id (#4752)
  • BREAKING: The AbstractPollingController method startPollingByNetworkClientId has been renamed to startPolling (#4752)
  • BREAKING: The AbstractPollingController method onPollingComplete now returns the entire input object of type PollingInput, instead of a network client id (#4752)

@metamask/preferences-controller 13.1.0

Changed

  • Bump @metamask/keyring-controller from ^17.2.1 to ^17.2.2 (#4734)

@metamask/user-operation-controller 16.0.0

Added

  • Added new entries bridge, bridgeApproval to the TransactionType enum (#4714)

Changed

  • BREAKING: PendingUserOperationTracker now uses a new polling interface that accepts the generic parameter PollingInput (#4752)
  • BREAKING: The inherited AbstractPollingController method startPollingByNetworkClientId has been renamed to startPolling (#4752)
  • BREAKING: The inherited AbstractPollingController method onPollingComplete now returns the entire input object of type PollingInput, instead of a network client id (#4752)
  • Bump @metamask/transaction-controller from ^37.1.0 to ^37.3.0 (#4754,#4805)
  • Bump @metamask/approval-controller from ^7.0.4 to ^7.1.0 (#4734)
  • Bump @metamask/keyring-controller from ^17.2.1 to ^17.2.2 (#4734)
  • Bump @metamask/transaction-controller from ^37.0.0 to ^37.1.0 (#4734)

222.0.0

17 Oct 14:39
8fb04fc
Compare
Choose a tag to compare

@metamask/selected-network-controller 18.0.2

Fixed

  • Ensure that the networkClientID is updated in domains state before fetching the network proxy for a given domain. This ensures that the network proxy being fetched has not already been garbage collected. (#4801)

221.0.0

17 Oct 12:33
d6bbdff
Compare
Choose a tag to compare

@metamask/message-manager 11.0.0

Removed

  • Remove all code related to @metamask/signature-controller (#4785)
    • Remove TypedMessageManager.
    • Remove PersonalMessageManager.
    • Remove utils:
      • validateSignMessageData
      • validateTypedSignMessageDataV1
      • validateTypedSignMessageDataV3V4

@metamask/signature-controller 20.0.0

Added

  • Remove usage of @metamask/message-manager package (#4785)
    • Add signatureRequests object to state to include all messages with all types and statuses.
    • Add optional state option to constructor to provide initial state.
    • Add equivalent types formerly in @metamask/message-manager:
      • OriginalRequest
      • TypedSigningOptions
      • MessageParams
      • MessageParamsPersonal
      • MessageParamsTyped
      • SignatureRequest
      • SignatureRequestStatus
      • SignatureRequestType

Changed

  • Remove usage of @metamask/message-manager package (#4785)
    • BREAKING Change type property in message state to enum values rather than string.
    • Deprecate the following state since the same data can be derived from signatureRequests:
      • unapprovedPersonalMsgs
      • unapprovedTypedMessages
      • unapprovedPersonalMsgCount
      • unapprovedTypedMessagesCount
    • Deprecate the following properties since the same data can be derived from the state:
      • unapprovedPersonalMessagesCount
      • unapprovedTypedMessagesCount
      • messages
    • Deprecate the following constructor options since they are no longer used:
      • getAllState
      • securityProviderRequest

@metamask/transaction-controller 37.3.0

Added

  • Add types for bridge transactions (#4714)

Changed

  • Reduce gas limit fallback from 95% to 35% of the block gas limit on failed gas limit estimations (#4739)

Fixed

  • Use contract ABIs to decode the token balance responses (#4775)

220.0.0

16 Oct 21:45
c0e7783
Compare
Choose a tag to compare

@metamask/eth-json-rpc-provider 4.1.5

Fixed

  • Bump @metamask/json-rpc-engine to ^10.0.0 (#4798)

@metamask/json-rpc-engine 10.0.0

Fixed

  • BREAKING: Bump @metamask/rpc-errors from ^6.3.1 to ^7.0.0 (#4773)
    • This modifies the top-level error message for serialized internal JSON-RPC errors to include the actual error message, instead of the generic Internal JSON-RPC Error. string.

@metamask/json-rpc-middleware-stream 8.0.4

Fixed

  • Bump @metamask/json-rpc-engine to ^10.0.0 (#4798)