Skip to content

Releases: MetaMask/core

252.0.0

20 Nov 19:22
73b9eb9
Compare
Choose a tag to compare

@metamask/assets-controllers 44.1.0

Changed

  • An argument networkClientId is added to TokensController.ignoreTokens, allowing tokens to be ignored on specific chains. (#4949)

251.0.0

20 Nov 10:46
a32578e
Compare
Choose a tag to compare

@metamask/profile-sync-controller 1.0.2

Added

  • new analytics callback and various helpers & improvements (#4944)
    • new UserStorageController state keys: hasAccountSyncingSyncedAtLeastOnce and isAccountSyncingReadyToBeDispatched
    • new onAccountSyncErroneousSituation analytics callback to track how often erroneous situations happen during account syncing

Changed

  • set hasAccountSyncingSyncedAtLeastOnce also for a profile id that has never synced accounts before (#4944)

250.0.0

20 Nov 00:59
10fade9
Compare
Choose a tag to compare

@metamask/assets-controllers 44.0.1

Changed

  • Fixes an issue where the token detection was unnecessarily falling back to an RPC approach, causing redundant detections. (#4928)

  • Fixes an issue where TokensController.addTokens was not respecting the network client id passed to it. (#4940)

249.0.0

19 Nov 08:37
f47d5b4
Compare
Choose a tag to compare

@metamask/profile-sync-controller 1.0.1

Added

  • add batch delete endpoint support for both UserStorageController & SDK (#4938)

Changed

  • use better type system for user storage (#4907)

Fixed

  • account sync infinite account creation bug (#4933)

248.0.0

13 Nov 19:30
db83e28
Compare
Choose a tag to compare

@metamask/assets-controllers 44.0.0

Changed

  • BREAKING: The TokenBalancesController state is now across all chains and accounts under the field tokenBalances, as a mapping from account address -> chain id -> token address -> balance. (#4782)

  • BREAKING: The TokenBalancesController now extends StaticIntervalPollingController, and the new polling API startPolling must be used to initiate polling (startPolling, stopPollingByPollingToken). (#4782)

  • BREAKING: TokenBalancesController now requires subscriptions to the PreferencesController:stateChange and NetworkController:stateChange events. And access to the NetworkController:getNetworkClientById, NetworkController:getState, TokensController:getState, and PreferencesController:getState actions. (#4782)

  • BREAKING: TokensController requires a subscription to the NetworkController:stateChange event. It now now removes state for chain IDs when their network is removed. (#4782)

  • TokenRatesController now removes state for chain IDs when their network is removed. (#4782)

247.0.0

13 Nov 17:23
6859854
Compare
Choose a tag to compare

@metamask/assets-controllers 43.1.1

Changed

  • Fix a bug in TokensController.addTokens where tokens could be added from the wrong chain. (#4924)

246.0.0

13 Nov 15:34
e06caee
Compare
Choose a tag to compare

@metamask/assets-controllers 43.1.0

Added

  • Add Solana to the polled exchange rates (#4914)

245.0.0

12 Nov 20:28
05bd4c7
Compare
Choose a tag to compare

@metamask/accounts-controller 19.0.0

Changed

  • BREAKING: Bump peer dependency @metamask/keyring-controller from ^17.0.0 to ^18.0.0 (#4915)

@metamask/assets-controllers 43.0.0

Added

  • AccountTrackerController now tracks balances of staked ETH for each account, under the state property stakedBalance. (#4879)

Changed

  • BREAKING: The polling input forTokenListController is now {chainId: Hex} instead of {networkClientId: NetworkClientId}. (#4878)
  • BREAKING: The polling input forTokenDetectionController is now { chainIds: Hex[]; address: string; } instead of { networkClientId: NetworkClientId; address: string; }. (#4894)
  • BREAKING: Bump @metamask/keyring-controller peer dependency from ^17.0.0 to ^18.0.0 (#4195)
  • BREAKING: Bump @metamask/preferences-controller peer dependency from ^13.2.0 to ^14.0.0 (#4909, #4915)
  • BREAKING: Bump @metamask/accounts-controller peer dependency from ^18.0.0 to ^19.0.0 (#4915)
  • Bump @metamask/controller-utils from ^11.4.2 to ^11.4.3 (#4195)

@metamask/controller-utils 11.4.3

Changed

  • The NetworkNickname for mainnet is now Ethereum Mainnet instead of Mainnet. And the display name for Linea is now Linea instead of Linea Mainnet. (#4865)

@metamask/gas-fee-controller 22.0.1

Changed

  • Bump @metamask/polling-controller from ^12.0.0 to ^12.0.1 (#4870)
  • Bump @metamask/base-controller from ^7.0.1 to ^7.0.2 (#4862)
  • Bump @metamask/controller-utils from ^11.4.0 to ^11.4.3 (#4862, #4870, #4195)

@metamask/keyring-controller 18.0.0

Removed

  • BREAKING Remove addNewAccountWithoutUpdate method (#4845)

@metamask/logging-controller 6.0.2

Changed

  • Bump @metamask/controller-utils from ^11.3.0 to ^11.4.3 (#4870, #4862, #4834, #4915)
  • Bump @metamask/base-controller from ^7.0.1 to ^^7.0.2 (#4862)

@metamask/network-controller 22.0.2

Changed

  • getDefaultNetworkConfigurationsByChainId returns the updated display names for mainnet and linea. Ethereum Mainnet instead of Mainnet, and Linea instead of Linea Mainnet. (#4865)
  • Bump @metamask/controller-utils from ^11.4.2 to ^11.4.3 (#4915)

@metamask/notification-services-controller 0.13.0

Changed

  • BREAKING: Bump @metamask/keyring-controller peer dependency from ^17.0.0 to ^18.0.0 (#4195)
  • BREAKING: Bump @metamask/profile-sync-controller peer dependency from ^0.9.7 to ^1.0.0 (#4902)
  • Bump @metamask/controller-utils from ^11.4.2 to ^11.4.3 (#4195)

@metamask/preferences-controller 14.0.0

Changed

  • BREAKING: Bump @metamask/keyring-controller peer dependency from ^17.0.0 to ^18.0.0 (#4915)
  • Bump @metamask/controller-utils from ^11.4.2 to ^11.4.3 (#4915)

@metamask/profile-sync-controller 1.0.0

Changed

  • BREAKING: Bump @metamask/keyring-controller peer dependency from ^17.2.0 to ^18.0.0 (#4915)
  • BREAKING: Bump @metamask/accounts-controller peer dependency from ^18.1.1 to ^19.0.0 (#4915)

@metamask/signature-controller 22.0.0

Changed

  • BREAKING: Bump @metamask/keyring-controller peer dependency from ^17.0.0 to ^18.0.0 (#4915)
  • Bump @metamask/controller-utils from ^11.4.2 to ^11.4.3 (#4915)

@metamask/transaction-controller 39.0.0

Changed

  • BREAKING: Bump peer dependency @metamask/accounts-controller from ^18.0.0 to ^19.0.0 (#4915)
  • Bump @metamask/controller-utils from ^11.4.2 to ^11.4.3 (#4915)

@metamask/user-operation-controller 18.0.0

Changed

  • BREAKING: Bump peer depepdency @metamask/accounts-controller from ^38.0.0 to ^39.0.0 (#4915)
  • BREAKING: Bump peer depepdency @metamask/keyring-controller from ^17.0.0 to ^18.0.0 (#4915)
  • Bump @metamask/polling-controller from ^12.0.0 to ^12.0.1 (#4870)
  • Bump @metamask/base-controller from ^7.0.1 to ^7.0.2 (#4862)
  • Bump @metamask/controller-utils from ^11.4.0 to ^11.4.3 (#4862, #4870, #4915)

244.0.0

08 Nov 16:52
13567c0
Compare
Choose a tag to compare

@metamask/preferences-controller 13.3.0

Changed

  • Enable smart transactions by default for new users (#4885)

243.0.0

08 Nov 16:33
d18e7f8
Compare
Choose a tag to compare

@metamask/signature-controller 21.1.0

Added

  • Add isDecodeSignatureRequestEnabled constructor callback to determine if decoding API should be used (#4903)
  • Add decodingApiUrl constructor property to specify URL of API to provide additional decoding data. (#4855)