Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump @metamask/controllers from 20.1.0 to 25.1.0 #44

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 25, 2022

Bumps @metamask/controllers from 20.1.0 to 25.1.0.

Release notes

Sourced from @​metamask/controllers's releases.

25.1.0

Changed

  • Make the userAddress argument to the getDetails method on the ERC20Standard class optional. (#674)

25.0.0

Added

  • Add optional third argument to method checkAndUpdateSingleCollectibleOwnershipStatus on CollectiblesController, which contains the userAddress and chainId to check asset ownership against. If not included, the method will still check against the currently configured selectedAddress and chainId configured in the CollectiblesController (#672)
  • Add getTokenStandardAndDetails method on AssetsContractController which determines whether the input contract conforms to particular known token standard (ERC20, ERC721 or ERC1155) and returns the detected standard along with some key values/details about that the contract and/or specified token within that contract (#667)

Changed

    • BREAKING - Standardize ERC721/1155/20 method names (#667)
    • Renames many methods on the AssetsContractController to include the contract type they are used by in the name in a standardized structure (i.e. getAssetName -> getERC721AssetName and balanceOfERC1155Collectible -> getERC1155BalanceOf).
    • Consumers will need to look at the AssetsContractController for any methods they consume and adapt names accordingly.

24.0.0

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

Added

  • add checkAndUpdateSingleCollectibleOwnershipStatus method (#669)

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_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

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.

... (truncated)

Changelog

Sourced from @​metamask/controllers's changelog.

[25.1.0]

Changed

  • Make the userAddress argument to the getDetails method on the ERC20Standard class optional. (#674)

[25.0.0]

Added

  • Add optional third argument to method checkAndUpdateSingleCollectibleOwnershipStatus on CollectiblesController, which contains the userAddress and chainId to check asset ownership against. If not included, the method will still check against the currently configured selectedAddress and chainId configured in the CollectiblesController (#672)
  • Add getTokenStandardAndDetails method on AssetsContractController which determines whether the input contract conforms to particular known token standard (ERC20, ERC721 or ERC1155) and returns the detected standard along with some key values/details about that the contract and/or specified token within that contract (#667)

Changed

    • BREAKING - Standardize ERC721/1155/20 method names (#667)
    • Renames many methods on the AssetsContractController to include the contract type they are used by in the name in a standardized structure (i.e. getAssetName -> getERC721AssetName and balanceOfERC1155Collectible -> getERC1155BalanceOf).
    • Consumers will need to look at the AssetsContractController for any methods they consume and adapt names accordingly.

[24.0.0]

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] [DEPRECATED]

Added

  • Add checkAndUpdateSingleCollectibleOwnershipStatus method (#669)

[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_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]

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.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@metamask/controllers](https://github.com/MetaMask/controllers) from 20.1.0 to 25.1.0.
- [Release notes](https://github.com/MetaMask/controllers/releases)
- [Changelog](https://github.com/MetaMask/controllers/blob/main/CHANGELOG.md)
- [Commits](MetaMask/core@v20.1.0...v25.1.0)

---
updated-dependencies:
- dependency-name: "@metamask/controllers"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner January 25, 2022 06:21
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 25, 2022
@dan437 dan437 merged commit 31698b0 into main Jan 26, 2022
@dan437 dan437 deleted the dependabot/npm_and_yarn/main/metamask/controllers-25.1.0 branch January 26, 2022 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant