Releases: MetaMask/core
Releases · MetaMask/core
24.0.0
Added
- Add
checkAndUpdateSingleCollectibleOwnershipStatusmethod (#669)
Changed
-
- BREAKING: Rename
checkAndUpdateCollectibleOwnershipStatustocheckAndUpdateAllCollectibleOwnershipStatus(#669) - Previously incorrectly released as minor version bump 23.1.0.
- Consumers who used
checkAndUpdateCollectibleOwnershipStatusmust update it's name tocheckAndUpdateAllCollectibleOwnershipStatus.
- BREAKING: Rename
23.1.0
23.0.0
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_feeHistoryto 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
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
21.0.0
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
Added
- Add new method
addCollectibleVerifyOwnershipto 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
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
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
CurrencyRateControllerpropertyconversionDatetonullif fetching the data fails. (#621)- Consumers of the
CurrencyRateControllerwill need to ensure their code anticipates thatconversionDatewill sometimes be set tonull.
- Consumers of the
18.0.0
Added
- BREAKING: ERC1155 support (#615)
CollectiblesControllerrequiresgetOwnerOf,balanceOfERC1155CollectibleanduriERC1155Collectibleproperties in the constructor which are methods fromAssetsContractController.
- 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)