Skip to content

Releases: MetaMask/core

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)

147.0.0

01 May 13:34
3227bd5
Compare
Choose a tag to compare

@metamask/accounts-controller 14.0.0

Changed

  • BREAKING Bump @metamask/keyring-controller peer dependency to ^16.0.0 (#4234)
  • Bump @metamask/keyring-api to 6.0.0, @metamask/eth-snap-keyring to 4.0.0 and snap dependencies (#4193)
  • Bump @metamask/base-controller to ^5.0.2 (#4232)

@metamask/approval-controller 6.0.2

Changed

  • Bump TypeScript version to ~4.9.5 (#4084)
  • Bump @metamask/base-controller to ^5.0.2 (#4232)

@metamask/assets-controllers 29.0.0

Added

  • Add token detection on 7 more networks (#4184)
    • New supported networks are: cronos, celo, gnosis, fantom, polygon_zkevm, moonbeam, and moonriver

Changed

  • BREAKING Changed NftDetectionController constructor options argument (#4178)
    • Added options.disabled and options.selectedAddress properties
  • BREAKING Bump @metamask/keyring-controller peer dependency to ^16.0.0 (#4234)
  • BREAKING Bump @metamask/accounts-controller peer dependency to ^14.0.0 (#4234)
  • BREAKING Bump @metamask/preferences-controller peer dependency to ^11.0.0 (#4234)
  • Bump @metamask/keyring-api to ^6.0.0 (#4193)
  • Lower number of tokens returned by API calls (#4207)
    • Limit changed from 200 to 50
  • Bump @metamask/base-controller to ^5.0.2 (#4232)
  • Bump @metamask/approval-controller to ^6.0.2 (#4234)
  • Bump @metamask/polling-controller to ^6.0.2 (#4234)

@metamask/eth-json-rpc-provider 3.0.2

Changed

  • Bump TypeScript version to ~4.9.5 (#4084)
  • Bump @metamask/json-rpc-engine to ^8.0.2 (#4234)

@metamask/gas-fee-controller 15.1.1

Changed

  • Bump @metamask/polling-controller to ^6.0.2 (#4234)

Removed

  • Remove fee history fallback in favour of eth_gasPrice call (#4210)

@metamask/json-rpc-engine 8.0.2

Changed

  • Bump TypeScript version to ~4.9.5 (#4084)

@metamask/keyring-controller 16.0.0

Added

  • Added withKeyring method (#4197)
    • Consumers can now use withKeyring to atomically select a keyring by address or type and execute a callback with the it as argument.
    • This method can be used instead of getKeyringForAccount, getKeyringsByType and persistAllKeyrings, as the vault will be updated automatically after the callback execution, or rolled back in case of errors

Changed

  • BREAKING: Change various KeyringController methods so they no longer return the controller state (#4199)
    • Changed addNewAccount return type to Promise<string>
    • Changed addNewAccountWithoutUpdate return type to Promise<string>
    • Changed createNewVaultAndKeychain return type to Promise<void>
    • Changed createNewVaultAndRestore return type to Promise<void>
    • Changed importAccountWithStrategy return type to Promise<string>
    • Changed removeAccount return type to Promise<void>
    • Changed setLocked return type to Promise<void>
    • Changed submitEncryptionKey return type to Promise<void>
    • Changed submitPassword return type to Promise<void>
  • Bump @metamask/keyring-api to ^6.0.0 (#4193)
  • Bump @metamask/base-controller to ^5.0.2 (#4232)
  • Bump @metamask/message-manager to ^8.0.2 (#4234)

Fixed

  • Method calls that change controller state are now atomic (#4192)
    • Each method will roll back keyring instances in case of errors
  • Method calls that change controller state are now mutually exclusive (#4182)
  • Check presence of HDKeyring when updating the vault (#4168)
  • Update state in single call when persisting or unlocking (#4154)

@metamask/message-manager 8.0.2

Changed

  • Bump TypeScript version to ~4.9.5 (#4084)
  • Bump @metamask/base-controller to ^5.0.2 (#4232)
  • Bump @metamask/controller-utils to ^9.1.0 (#4153, #4065)

@metamask/polling-controller 6.0.2

Changed

  • Bump TypeScript version to ~4.9.5 (#4084)
  • Bump @metamask/network-controller to ^18.1.0 (#4121)
  • Bump @metamask/controller-utils to ^9.1.0 (#4153, #4065)

@metamask/preferences-controller 11.0.0

Added

  • Export ETHERSCAN_SUPPORTED_CHAIN_IDS constant (#4233)

Changed

  • BREAKING Bump @metamask/keyring-controller peer dependency to ^16.0.0 (#4234)
  • Bump @metamask/base-controller to ^5.0.2 (#4232)

@metamask/signature-controller 16.0.0

Changed

  • BREAKING Bump @metamask/keyring-controller peer dependency to ^16.0.0 (#4234)
  • Bump @metamask/base-controller to ^5.0.2 (#4232)
  • Bump @metamask/approval-controller to ^6.0.2 (#4234)
  • Bump @metamask/message-manager to ^8.0.2 (#4234)

@metamask/user-operation-controller 9.0.0

Changed

  • BREAKING Bump @metamask/keyring-controller peer dependency to ^16.0.0 (#4234)
  • Bump @metamask/base-controller to ^5.0.2 (#4232)
  • Bump @metamask/transaction-controller to ^28.1.1 (#4229)
  • Bump @metamask/gas-fee-controller to ^15.1.1 (#4220, #4234)
  • Bump @metamask/approval-controller to ^6.0.2 (#4234)
  • Bump @metamask/polling-controller to ^6.0.2 (#4234)

146.0.0

30 Apr 15:32
109ebe0
Compare
Choose a tag to compare

@metamask/base-controller 5.0.2

Changed

  • Bump TypeScript version to ~4.9.5 (#4084)

@metamask/phishing-controller 9.0.2

Changed

  • Changed Stalelist and hotlist update intervals (#4202)
    • Updated the Stalelist update interval to 30 days and the hotlist update interval to 5 mins
  • Bump @metamask/controller-utils version to ~9.1.0 (#4153)
  • Bump TypeScript version to ~4.9.5 (#4084)
  • Bump @metamask/base-controller to ^5.0.2

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)