Skip to content

67.0.0

Choose a tag to compare

@github-actions github-actions released this 18 Jul 20:28
· 5265 commits to main since this release
bc16181

@metamask/address-book-controller

Changed

  • Update @metamask/utils to ^6.2.0 (#1514)

@metamask/approval-controller

Changed

  • Update @metamask/utils to ^6.2.0 (#1514)

@metamask/assets-controllers

Added

  • Add a stop method to stop polling

Changed

  • BREAKING: New required constructor parameters for the TokenRatesController (#1497, #1511)
    • The new required parameters are ticker, onSelectedAddress, and onPreferencesStateChange
  • BREAKING: Remove onCurrencyRateStateChange constructor parameter from TokenRatesController (#1496)
  • BREAKING: Disable TokenRatesController automatic polling (#1501)
    • Polling must be started explicitly by calling the start method
    • The token rates are not updated upon state changes when polling is disabled.
  • BREAKING: Replace the poll method with start (#1501)
    • The start method does not offer a way to change the interval. That must be done by calling .configure instead
  • BREAKING: Remove TokenRatecontroller setter for chainId and tokens properties (#1505)
  • Bump @metamask/abi-utils from 1.2.0 to 2.0.1 (#1525)
  • Update @metamask/utils to ^6.2.0 (#1514)
  • Remove unnecessary babel-runtime dependency (#1504)

Fixed

  • Fix bug where token rates were incorrect after first update if initialized with a non-Ethereum selected network (#1497)
  • Fix bug where token rates would be invalid if event handlers were triggered in the wrong order (#1496, #1511)
  • Prevent redundant token rate updates (#1512)

@metamask/base-controller

Changed

  • When deriving state, skip properties with invalid metadata (#1529)
    • The previous behavior was to throw an error
    • An error is thrown in a timeout handler so that it can still be captured in the console, and by global unhandled error handlers.
  • Update @metamask/utils to ^6.2.0 (#1514)

@metamask/controller-utils

Changed

  • Update @metamask/utils to ^6.2.0 (#1514)
  • Remove unnecessary babel-runtime dependency (#1504)

@metamask/ens-controller

Changed

  • Update @metamask/utils to ^6.2.0 (#1514)

@metamask/gas-fee-controller

Changed

  • Update @metamask/utils to ^6.2.0 (#1514)
  • Remove unnecessary babel-runtime dependencies (#1504)

@metamask/keyring-controller

Changed

  • BREAKING: Remove keyringTypes property from the KeyringController state (#1441)
  • BREAKING: Constructor KeyringControllerOptions type changed (#1441)
    • The KeyringControllerOptions.state accepted type is now { vault?: string }
    • The KeyringControllerOptions.keyringBuilders type is now { (): Keyring<Json>; type: string }[]
  • BREAKING: The address type accepted by the removeAccount method is now Hex (#1441)
  • BREAKING: The signTypedMessage method now returns a Promise<string> (#1441)
  • BREAKING: The signTransaction method now requires a TypedTransaction from @ethereumjs/tx@^4 for the transaction argument, and returns a Promise<TxData> (#1441)
  • BREAKING: Rename Keyring type to KeyringObject (#1441)
  • BREAKING: addNewAccount now throws if address of new account is not a hex string (#1441)
  • BREAKING: exportSeedPhrase now throws if first keyring does not have a mnemonic (#1441)
  • BREAKING: verifySeedPhrase now throws if HD keyring does not have a mnemonic (#1441)
  • Update return type of getAccountKeyringType to Promise<string> (#1441)
  • Update @metamask/eth-keyring-controller to ^13.0.0 (#1441)
  • Update @metamask/utils to ^6.2.0 (#1514)
  • Update @ethereumjs/tx to ^4.2.0 (#1514)
  • Update @ethereumjs/common to ^3.2.0 (#1514)
  • Update @keystonehq/metamask-airgapped-keyring to ^0.13.1 (#1514)

@metamask/message-manager

Changed

  • Update @metamask/utils to ^6.2.0 (#1514)

@metamask/network-controller

Changed

  • BREAKING: Require ticker to be included in the providerConfig state (#1495)
    • This requires a state migration, setting providerConfig.ticker to ETH if it's missing.
  • Update @metamask/utils to ^6.2.0 (#1514)
  • Bump @metamask/eth-json-rpc-infura from 8.1.0 to 8.1.1 (#1517)
  • Remove unnecessary babel-runtime dependency (#1504)

@metamask/notification-controller

Changed

  • Update @metamask/utils to ^6.2.0 (#1514)

@metamask/permission-controller

Changed

  • Update @metamask/utils to ^6.2.0 (#1514)

@metamask/phishing-controller

Changed

  • BREAKING: Remove fallback phishing configuration (#1527)
    • The default configuration is now blank. A custom initial configuration can still be specified via the constructor to preserve the old behavior.

@metamask/signature-controller

Added

  • Add new methods setDeferredSignSuccess and setDeferredSignError (#1506)

Changed

  • Update @metamask/utils to ^6.2.0 (#1514)

@metamask/transaction-controller

Changed

  • BREAKING: Change babel-runtime from a dependency to a peerDependency (#1504)
  • Update @metamask/utils to ^6.2.0 (#1514)