Skip to content

Releases: MetaMask/core

24.0.0

05 Jan 14:46
b048670

Choose a tag to compare

Added

  • Add checkAndUpdateSingleCollectibleOwnershipStatus method (#669)

Changed

    • BREAKING: Rename checkAndUpdateCollectibleOwnershipStatus to checkAndUpdateAllCollectibleOwnershipStatus (#669)
    • Previously incorrectly released as minor version bump 23.1.0.
    • Consumers who used checkAndUpdateCollectibleOwnershipStatus must update it's name to checkAndUpdateAllCollectibleOwnershipStatus.

23.1.0

03 Jan 22:26
ccfd032

Choose a tag to compare

Added

  • add checkAndUpdateSingleCollectibleOwnershipStatus method (#669)

23.0.0

21 Dec 16:51
45fa757

Choose a tag to compare

Added

  • Add method to check and update collectible ownership state (#664)
  • Add method to set a collectible as favorite (#623)
  • Update GasFeeController to use eth_feeHistory to compute gas fee recommendations when MetaSwap API is down (#614)
  • Update GasFeeController to expose additional data sourced from the MetaSwap API in support of design updates to "edit gas fee" functionality in extension (#632), (#646, #660)

Changed

  • Breaking Add caller-specified error for ApprovalController.clear (#656)
    • The new caller-specified error is mandatory. Consumers must add this error when calling the clear method for method to function properly.

Fixed

  • Fix polling initialization for collectibles (#662)

22.0.0

03 Dec 18:15
47040d5

Choose a tag to compare

Added

  • BREAKING: Change IPFS URL generation to use subdomains and cidV1s over cidV0s, in order to enhance origin based security in our use of IPFS assets (#655)
  • Consumers using an IPFS gateway(s) which does not support IPFS subdomain formats will need to set the new config value 'useIPFSSubdomains' on CollectiblesController to false in order to have continued IPFS resolution support.

Removed

  • BREAKING: remove chainid normalization (#651)
    • This is breaking for anyone who adapted consumption of CollectiblesController to make use of v21.0.0. The chainId in the collectibles state shape is no longer normalized to decimal.

Fixed

  • Fix collectibles collection images (#650)

21.0.1

01 Dec 01:28
680c212

Choose a tag to compare

Fixed

  • Fix issue where chainId key in AllCollectibles & AllCollectibleContracts is formatted differently in manual collectible add and detection add flows. (#648)

21.0.0

30 Nov 23:35
aaae6f0

Choose a tag to compare

Added

  • BREAKING: Add openSeaEnabled preference (#645)
  • Consumers of the collectibleDetectionController and collectibleController who wish to continue use of OpenSea's API and AutoDetection will either need to configure openSeaEnabled to true after instantiating the controller now or expose a toggle for users to change the openSeaEnabled state in the preferences controller.

Changed

  • Change expected shape of OpenSea contract API to use collections (#628)
  • Modify requirements for adding OpenSea detected contract (#644)

Removed

  • BREAKING: Add detection params (userAddress, chainId) and remove duplicate source of truth (#636)
  • Both collectibles and collectibleContracts are removed from CollectiblesController state.
  • Consumers who use these pieces of state will need to migrate to use the AllCollectibles and AllCollectiblesContracts state instead.

20.1.0

24 Nov 16:31
4dcfacc

Choose a tag to compare

Added

  • Add new method addCollectibleVerifyOwnership to CollectiblesController (#635)
  • Add setting in PreferencesController to enable/disable collectible autoDetection and check against it in CollectibleDetectionController (#638)

Changed

  • Use user preferred ipfs gateway, as set in PreferencesController, to resolve ipfs based assets in CollectiblesController (#637)

20.0.0

16 Nov 15:46
a1270ae

Choose a tag to compare

Removed

  • BREAKING: Remove polling start call in detection controllers' constructors (#629)
    • Consumers of either of the TokenDetection and CollectibleDetection controllers who wish to immediately start polling upon instantiation will need to call the start method on the controller immediately after instantiation.
  • Remove ApprovalController.has signature overloads (#624)

19.0.0

04 Nov 17:55
a11c4f3

Choose a tag to compare

Changed

  • BREAKING: Split AssetsDetectionController into CollectiblesDetectionController and TokenDetectionController (#619)
    • Consumers of the AssetsDetectionController will have to now import both TokenDetectionController and CollectibleDetectionController and split up the calling of any methods accordingly.
  • BREAKING: Set the CurrencyRateController property conversionDate to null if fetching the data fails. (#621)
    • Consumers of the CurrencyRateController will need to ensure their code anticipates that conversionDate will sometimes be set to null.

18.0.0

29 Oct 18:38
ed2af37

Choose a tag to compare

Added

  • BREAKING: ERC1155 support (#615)
    • CollectiblesController requires getOwnerOf, balanceOfERC1155Collectible and uriERC1155Collectible properties in the constructor which are methods from AssetsContractController.
  • Add support for custom networks by querying the blockchain as default and add support for IPFS metadata URIs (#616)

Changed

  • Bump @metamask/contract-metadata from 1.29.0 to 1.30.0 (#607)