Skip to content

Releases: MetaMask/core

157.0.0

29 May 20:01
6f563ff
Compare
Choose a tag to compare

@metamask/assets-controllers 30.0.0

Added

  • Adds a new field marketData to the state of TokenRatesController (#4206)
  • Adds a new RatesController to manage prices for non-EVM blockchains (#4242)

Changed

  • BREAKING: Changed price and token API endpoints from *.metafi.codefi.network to *.api.cx.metamask.io (#4301)
  • When fetching token list for Linea Mainnet, use occurrenceFloor parameter of 1 instead of 3, and filter tokens to those with a lineaTeam aggregator or more than 3 aggregators (#4253)
  • BREAKING: The NftController messenger must now allow the NetworkController:getNetworkClientById action (#4305)
  • BREAKING: Bump dependency and peer dependency @metamask/network-controller to ^18.1.2 (#4332)
  • Bump @metamask/keyring-api to ^6.1.1 (#4262)

Removed

  • BREAKING: Removed contractExchangeRates and contractExchangeRatesByChainId from the state of TokenRatesController (#4206)

Fixed

  • Only update NFT state when metadata actually changes (#4143)

@metamask/controller-utils 10.0.0

Changed

  • BREAKING: Changed price and token API endpoints from *.metafi.codefi.network to *.api.cx.metamask.io (#4301)

156.0.0

29 May 11:20
85832f4
Compare
Choose a tag to compare

@metamask/network-controller 18.1.2

Fixed

  • Update from eth-block-tracker to @metamask/eth-block-tracker ^9.0.2, mitigating redundant polling loops (#4309)

@metamask/transaction-controller 30.0.0

Fixed

  • BREAKING: Update from nonce-tracker@^3.0.0 to @metamask/nonce-tracker@^5.0.0 to mitigate issue with redundant polling loops in block tracker. (#4309)
    • The constructor now expects the blockTracker option being an instance of @metamask/eth-block-tracker instead ofeth-block-tracker.

155.0.0

28 May 16:14
63a1068
Compare
Choose a tag to compare

@metamask/permission-controller 9.1.0

Added

  • Add requestPermissionsIncremental() and caveat merger functions (#4222)
  • Enable passing additional metadata during permission requests (#4179)
  • Make permission request validation errors more informative (#4172)

154.0.0

23 May 20:05
04cbb47
Compare
Choose a tag to compare

@metamask/phishing-controller 9.0.3

Changed

  • Update phishing detection API endpoint from *.metafi.codefi.network to *.api.cx.metamask.io (#4301)

153.0.0

21 May 22:19
d9cae1e
Compare
Choose a tag to compare

@metamask/transaction-controller 29.1.0

Changed

  • handle Swap+Send transactions as Swaps transactions sub-category; add typing (#4298)

152.0.0

21 May 17:45
74a2168
Compare
Choose a tag to compare

@metamask/transaction-controller 29.0.2

Fixed

  • fix incorrect token balance changes for simulations of multiple tokens that include an NFT mint (#4290)

151.0.0

17 May 13:23
e3929c9
Compare
Choose a tag to compare

@metamask/network-controller 18.1.1

Added

  • Export BuiltInNetworkClientId and CustomNetworkClientId (#4247)

Changed

  • Bump @metamask/eth-json-rpc-provider to ^3.0.2 (#4234)
  • Bump @metamask/json-rpc-engine to ^8.0.2 (#4234)
  • Bump @metamask/base-controller to ^5.0.2 (#4232)
  • Bump @metamask/controller-utils to ^9.1.0 (#4153)

@metamask/transaction-controller 29.0.1

Changed

  • Bump @metamask/gas-fee-controller to ^15.1.2 (#4275)

Fixed

  • approveTransaction was throwing away the raw signed transaction that signTransaction was adding to the metadata.
    This was causing some transaction with low gas to appear as "failed" when in fact they were still pending. (#4255)

150.0.0

10 May 20:44
d30f7df
Compare
Choose a tag to compare

@metamask/gas-fee-controller 15.1.2

Fixed

  • Add a metadata property for nonRPCGasFeeApisDisabled (#4245)

149.0.0

09 May 14:23
652733f
Compare
Choose a tag to compare

@metamask/transaction-controller 29.0.0

Added

  • Add estimateGasFee method (#4216)
    • Add TestGasFeeFlow that is activated by optional testGasFeeFlows constructor option.
    • Add related types:
      • FeeMarketGasFeeEstimateForLevel
      • FeeMarketGasFeeEstimates
      • GasFeeEstimates
      • GasFeeEstimateLevel
      • GasFeeEstimateType
      • GasPriceGasFeeEstimates
      • LegacyGasFeeEstimates

Changed

  • BREAKING: Update GasFeeEstimates type to support alternate estimate types (#4216)
  • Bump @metamask/base-controller to ^5.0.2 (#4232)
  • Bump @metamask/approval-controller to ^6.0.2 (#4234)
  • Bump @metamask/gas-fee-controller to ^15.1.1 (#4234)

Removed

  • BREAKING: Remove gasFeeControllerEstimateType property from mergeGasFeeEstimates function (#4216)

@metamask/user-operation-controller 10.0.0

Changed

  • BREAKING: Bump @metamask/transaction-controller peer dependency to ^29.0.0 (#4272)

148.0.0

06 May 19:30
02de743
Compare
Choose a tag to compare

@metamask/queued-request-controller 0.10.0

Changed

  • BREAKING: Bump peer dependency @metamask/selected-network-controller to ^13.0.0 (#4260)
  • Bump @metamask/json-rpc-engine to ^8.0.2 (#4234)
  • Bump @metamask/base-controller to ^5.0.2 (#4232)

@metamask/selected-network-controller 13.0.0

Changed

  • getProviderAndBlockTracker now returns the NetworkController's globally selected network client proxy if the domain arg is either metamask or a snap (identified as starting with npm: or local:) (#4259)
  • BREAKING: Now when setNetworkClientIdForDomain is called with a snap's domain (identified as starting with npm: or local:), the domain will not be added to state and no proxy will be created for this domain in the domainProxyMap (#4258)
    • In order to remove snaps that made it into domains state prior to this change, consumers will need to run a migration.
  • Bump @metamask/json-rpc-engine to ^8.0.2 (#4234)
  • Bump @metamask/base-controller to ^5.0.2 (#4232)