Skip to content

Releases: MetaMask/core

145.0.0

30 Apr 12:03
a04eeb6
Compare
Choose a tag to compare

@metamask/transaction-controller 28.1.1

Changed

  • Bump @metamask/gas-fee-controller to ^15.1.0 (#4220)

Fixed

  • Fixed simulating minting NFTs where the nft owner was checked before minting, causing a revert. (#4217)

144.0.0

26 Apr 13:09
5cf233b
Compare
Choose a tag to compare

@metamask/gas-fee-controller 15.1.0

Added

  • Add nonRPCGasFeeApisDisabled property to the gas fee controller, allowing the user to specify that they want to prevent network request to gas estimate services, and only want gas estimates to be based on rpc requests (eth_feeHistory and eth_gasPrice) to the provider. (#4094)

Fixed

  • Fix GasFeeController incorrectly setting globally selected state, so that state is only updated if the gasFeeEstimate fetched is for the currently selected network (#4214)

143.0.0

25 Apr 08:36
c6f4dbc
Compare
Choose a tag to compare

@metamask/user-operation-controller 8.0.1

Fixed

  • Support number gas values in user operation receipts (#4161)

142.0.0

19 Apr 16:34
a5049c8
Compare
Choose a tag to compare

@metamask/selected-network-controller 12.0.1

Fixed

  • When getProviderAndBlockTracker is called with a domain for which there is no cached networkProxy in the domainProxyMap, if the useRequestQueue preference is off and the domain does not have permissions the newly created networkProxy for this domain will be pointed at the NetworkController's own proxy of the globally selected networkClient. (#4187)

141.0.0

18 Apr 15:35
b432d1c
Compare
Choose a tag to compare

@metamask/transaction-controller 28.1.0

Added

  • Support retrieval of layer 1 gas fees on Scroll networks (#4155)

140.0.0

17 Apr 14:56
ad25a2a
Compare
Choose a tag to compare

@metamask/accounts-controller 13.0.0

Changed

  • Fix update setSelectedAccount to throw if the id is not found (#4167)
  • Fix normal account indexing naming with index gap (#4089)
  • BREAKING Bump peer dependency @metamask/snaps-controllers to ^6.0.3 and dependencies @metamask/snaps-sdk to ^3.1.1, @metamask/eth-snap-keyring to ^3.0.0(#4090)

@metamask/assets-controllers 28.0.0

Added

  • Add reservoir migration (#4030)

Changed

  • Fix getting nft tokenURI (#4136)
  • BREAKING Bump peer dependency on @metamask/keyring-controller (#4090)
  • Fix token detection during account change (#4133)
  • Fix update nft metadata when toggles off (#4096)
  • Adds tokenMethodIncreaseAllowance (#4069)
  • Fix mantle token mispriced (#4045)

@metamask/keyring-controller 15.0.0

Changed

  • BREAKING use getAccounts on HD Keyring when calling addNewAccount (#4158)
  • Pass CAIP-2 scope to execution context (#4090)
  • Allow gas limits to be changed during #addPaymasterData (#3942)

@metamask/preferences-controller 10.0.0

Changed

  • BREAKING Bump peer dependency on @metamask/keyring-controller to ^15.0.0 (#4090)
  • Restore previous behavior of toChecksumHexAddress (#4046)

@metamask/signature-controller 15.0.0

Changed

  • BREAKING Bump peer dependency on @metamask/keyring-controller to ^15.0.0 (#4090)

@metamask/user-operation-controller 8.0.0

Changed

  • BREAKING Bump peer dependency on @metamask/keyring-controller to ^15.0.0 and Pass CAIP-2 scope to execution context (#4090)
  • Allow gas limits to be changed during #addPaymasterData (#3942)

139.0.0

16 Apr 20:30
1551844
Compare
Choose a tag to compare

@metamask/queued-request-controller 0.9.0

Changed

  • BREAKING: Bump peer dependency @metamask/selected-network-controller to ^12.0.0 (#4173)

@metamask/selected-network-controller 12.0.0

Added

  • These changes keep the per domain proxies (stored in domainProxyMap) pointing to the correct network client instance when the "Select networks for each site" toggle is turned on and off.
    • BREAKING: A parameter useRequestQueuePreference which should point to the current preferences state for useRequestQueue is now required by the constructor (#4130)
      • BREAKING: An onPreferencesStateChange argument that should subscribe to PreferencesController state changes and call a callback with the updated state is now a required parameter in the constructor options object. (#4130)

Removed

  • The getUseRequestQueue parameter is no longer expected by the constructor. (#4130)

138.0.0

16 Apr 18:58
bdeb992
Compare
Choose a tag to compare

@metamask/queued-request-controller 0.8.0

Added

  • BREAKING: The QueuedRequestMiddleware constructor now requires the methodsWithConfirmation param which should be a list of methods that can trigger confirmations (#4066)
  • BREAKING: The QueuedRequestController constructor now requires the methodsRequiringNetworkSwitch param which should be a list of methods that need the globally selected network to switched to the dapp selected network before being processed (#4066)
  • BREAKING: Clear pending confirmations (for both queued and non-queued requests) after processing revokePermissions. We now require a function to be passed into the constructor (clearPendingConfirmations) which will be called when permissions are revoked for a domain who currently has pending confirmations that are not queued. This is done by piggybacking on SelectedNetworkController:stateChange in order to serve as a proxy for permissions being revoked. (#4165)
  • BREAKING: The QueuedRequestController will now flush the RequestQueue after a dapp switches networks. QueuedRequestController now requires a subscription on SelectedNetworkController:stateChange, and upon receiving stateChanges for adding or replacing selectedNetworkController.state.domains, we flush the queue for the domain in question. (#4139)

Changed

  • BREAKING: QueuedRequestController.enqueueRequest() now ensures the globally selected network matches the dapp selected network before processing methods listed in the methodsRequiringNetworkSwitch constructor param. This replaces the previous behavior of switching for all methods except eth_requestAccounts. (#4066)

137.0.0

15 Apr 09:42
254d434
Compare
Choose a tag to compare

@metamask/transaction-controller 28.0.0

Changed

  • BREAKING: Change getLayer1GasFee arguments to a request object (#4149)

Fixed

  • Fix automatic update of layer 1 gas fee after interval (#4149)

136.0.0

12 Apr 18:46
34542cf
Compare
Choose a tag to compare

@metamask/controller-utils 9.1.0

Added

  • Export new constant for the NFT API's url (#4030)
  • Add support for wider range of SIWE messages (#4141)

Changed

  • Bump TypeScript version to ~4.9.5 (#4084)

Fixed

  • Add guards against prototype-polluting assignments (#4041)