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

Bump @metamask/controllers from 5.1.0 to 32.0.2 #24

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 14, 2022

Bumps @metamask/controllers from 5.1.0 to 32.0.2.

Release notes

Sourced from @​metamask/controllers's releases.

32.0.2

Fixed

  • Fix issue introduced in v32.0.1 where EthQuery is not instantiated correctly on GasFeeController when constructed (#936)

32.0.1

Fixed

  • Make both callback and messaging system options for TokenListController & GasFeeController when listening to NetworkController (#932)
  • Add error handling when eth_estimateGas fails in TransactionController (#920)

32.0.0

Added

  • Add isOutOfDate to the PhishingController, for checking whether the phishing lists are out-of-date. (#929)

Changed

  • BREAKING: Make the PhishingController test synchronous (#929)
    • Rather than being polled regularly (as it was pre-v31), or updated on fetch (as in v31), the phishing lists are no longer updated automatically at all. You will need to manually call isOutOfDate to check whether they are out-of-date, and then call updatePhishingLists to update them.
  • BREAKING: Migrate NetworkController to BaseControllerV2 (#903)
    • There is no more "controller configuration" with BaseControllerV2. Instead configuration is set by constructor parameters.
    • The constructor accepts a single "options" object rather than separate parameters. The initial state is now passed as part of this options object, via the state property.
    • The constructor must be passed the infuraProjectId and messenger options. The messenger should be a restricted controller messenger.
    • Controller subscriptions must be registered through the controller messenger, rather than through the controller directly.
    • A providerChange event has been added. This is dispatched when the provider instance variable is updated.
      • When there is a network switch, this is dispatched after the network has been fully initialized.
    • A new getEthQuery action has been added, for obtaining an EthQuery instance that is already setup with the current provider
      • Note that it will stop working when the provider changes, so you should call this again each time the providerChange event is dispatched.

Fixed

  • Prevent parallel phishing configuration updates (#930)
  • Fix issues with empty responses in ERC20Standard (#927)
    • Calling getTokenSymbol and getTokenDecimals on contracts that return empty values (0x) for symbol() and decimals() will now throw an error.

31.2.0

Changed

  • Update phishing configuration update URL to reduce cache delay (#915)
  • Update @keystonehq/metamask-airgapped-keyring from ^0.3.0 to ^0.6.1 (#913)

Fixed

  • Allow Optimism & Optimism Testnet to be added via wallet_addEthereumChain (#910)
  • Fix regression where a phishing configuration update network failure would cause the test method to fail (#915)
  • Prevent duplicate phishing configuration update network requests (#915)

31.1.0

Added

  • Add new error type - ApprovalRequestNotFoundError (#909)

Changed

  • Replace ethers with submodules (@ethersproject/**) (#907)

31.0.0

Added

... (truncated)

Changelog

Sourced from @​metamask/controllers's changelog.

[32.0.2]

Fixed

  • Fix issue introduced in v32.0.1 where EthQuery is not instantiated correctly on GasFeeController when constructed (#936)

[32.0.1]

Fixed

  • Make both callback and messaging system options for TokenListController & GasFeeController when listening to NetworkController (#932)
  • Add error handling when eth_estimateGas fails in TransactionController (#920)

[32.0.0]

Added

  • Add isOutOfDate to the PhishingController, for checking whether the phishing lists are out-of-date. (#929)

Changed

  • BREAKING: Make the PhishingController test synchronous (#929)
    • Rather than being polled regularly (as it was pre-v31), or updated on fetch (as in v31), the phishing lists are no longer updated automatically at all. You will need to manually call isOutOfDate to check whether they are out-of-date, and then call updatePhishingLists to update them.
  • BREAKING: Migrate NetworkController to BaseControllerV2 (#903)
    • There is no more "controller configuration" with BaseControllerV2. Instead configuration is set by constructor parameters.
    • The constructor accepts a single "options" object rather than separate parameters. The initial state is now passed as part of this options object, via the state property.
    • The constructor must be passed the infuraProjectId and messenger options. The messenger should be a restricted controller messenger.
    • Controller subscriptions must be registered through the controller messenger, rather than through the controller directly.
    • A providerChange event has been added. This is dispatched when the provider instance variable is updated.
      • When there is a network switch, this is dispatched after the network has been fully initialized.
    • A new getEthQuery action has been added, for obtaining an EthQuery instance that is already setup with the current provider
      • Note that it will stop working when the provider changes, so you should call this again each time the providerChange event is dispatched.

Fixed

  • Prevent parallel phishing configuration updates (#930)
  • Fix issues with empty responses in ERC20Standard (#927)
    • Calling getTokenSymbol and getTokenDecimals on contracts that return empty values (0x) for symbol() and decimals() will now throw an error.

[31.2.0]

Changed

  • Update phishing configuration update URL to reduce cache delay (#915)
  • Update @keystonehq/metamask-airgapped-keyring from ^0.3.0 to ^0.6.1 (#913)

Fixed

  • Allow Optimism & Optimism Testnet to be added via wallet_addEthereumChain (#910)
  • Fix regression where a phishing configuration update network failure would cause the test method to fail (#915)
  • Prevent duplicate phishing configuration update network requests (#915)

[31.1.0]

Added

  • Add new error type - ApprovalRequestNotFoundError (#909)

Changed

  • Replace ethers with submodules (@ethersproject/**) (#907)

[31.0.0]

Added

... (truncated)

Commits
  • d6108df 32.0.2 (#940)
  • aaa85c0 fix issue where ethQuery is not instantiated correctly when GasFeeController ...
  • 4c70024 Fix occasional type errors when running tests (#935)
  • 7c3ec37 32.0.1 (#933)
  • bcea6ad Make both callback and messaging system options for TokenListController & `...
  • 4fec100 Handling the error when eth_estimateGas fails (#920)
  • c7d670c 32.0.0 (#931)
  • a7de559 Make the PhishingController test synchronous (#929)
  • 0adfc97 Prevent parallel phishing configuration updates (#930)
  • 0b03d58 Fix issues with empty responses in ERC20Standard (#927)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by metamaskbot, a new releaser for @​metamask/controllers since your current version.


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 5.1.0 to 32.0.2.
- [Release notes](https://github.com/MetaMask/controllers/releases)
- [Changelog](https://github.com/MetaMask/controllers/blob/main/CHANGELOG.md)
- [Commits](MetaMask/core@v5.1.0...v32.0.2)

---
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 added the dependencies Pull requests that update a dependency file label Oct 14, 2022
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.

0 participants