Skip to content

193.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Aug 14:57
8eb7cde

@metamask/approval-controller 7.0.3

Changed

  • Bump @metamask/base-controller from ^6.0.2 to ^7.0.0 (#4625, #4643)
  • Bump typescript from ~5.0.4 to ~5.2.2 (#4576, #4584)

@metamask/base-controller 7.0.0

Added

  • Migrate from @metamask/[email protected] into @metamask/base-controller: types LegacyControllerStateConstraint, RestrictedControllerMessengerConstraint and type guard functions isBaseController, isBaseControllerV1 (#4581)
  • Add and export types ControllerInstance, BaseControllerInstance, StateDeriverConstraint, StateMetadataConstraint, StatePropertyMetadataConstraint, BaseControllerV1Instance, ConfigConstraintV1, StateConstraintV1 (#4581)

Fixed

  • BREAKING: Fix StateMetadata type so that it requires associated metadata for all optional and non-optional top-level state properties (#4612)
    • Fixes issue of runtime error being thrown during BaseController instantiation due to missing metadata for optional state properties.

@metamask/composable-controller 9.0.0

Changed

  • Bump @metamask/base-controller from ^6.0.3 to ^7.0.0 (#4643)

Removed

  • BREAKING: Remove exports for types LegacyControllerStateConstraint, RestrictedControllerMessengerConstraint, and type guard functions isBaseController, isBaseControllerV1 (#4467)

@metamask/keyring-controller 17.2.0

Added

  • Add KeyringController:addNewAccount messenger action (#4565)
    • Add and export KeyringControllerAddNewAccountAction type.
    • Widen KeyringControllerActions to include KeyringControllerAddNewAccountAction type.
    • KeyringControllerMessenger must allow KeyringControllerAddNewAccountAction type.

Changed

  • Bump @metamask/base-controller from ^6.0.2 to ^7.0.0 (#4625, #4643)
  • Bump @metamask/keyring-api from ^8.0.1 to ^8.1.0 (#4594)
  • Bump @metamask/message-manager from ^10.0.2 to ^10.0.3 (#4643)
  • Bump typescript from ~5.0.4 to ~5.2.2 (#4576, #4584)

@metamask/logging-controller 6.0.0

Added

  • Define and export new types: LoggingControllerGetStateAction, LoggingControllerStateChangeEvent, LoggingControllerEvents (#4633)

Changed

  • BREAKING: LoggingControllerMessenger must allow internal events defined in the LoggingControllerEvents type (#4633)
  • LoggingControllerActions is widened to include the LoggingController:getState action (#4633)
  • Bump @metamask/base-controller from ^6.0.0 to ^7.0.0 (#4517, #4544, #4625, #4643)
  • Bump @metamask/controller-utils from ^11.0.0 to ^11.0.2 (#4517, #4544)
  • Bump typescript from ~4.9.5 to ~5.2.2 and set module{,Resolution} option to Node16 (#3645, #4576, #4584)

@metamask/message-manager 10.0.3

Changed

  • Bump @metamask/base-controller from ^6.0.2 to ^7.0.0 (#4625, #4643)
  • Bump typescript from ~5.0.4 to ~5.2.2 (#4576, #4584)

@metamask/phishing-controller 12.0.1

Added

  • Add getHostnameFromUrl utility function to standardize hostname extraction from URLs (#4645)

Fixed

  • Update test, isBlockedRequest, and bypass methods to use the hostname for allowlist checks instead of the full origin (#4645)
    • The previous approach of using the full origin had limitations in dealing with subdomains or variations in the URL structure, which could lead to inconsistent results or false negatives.

@metamask/signature-controller 19.0.0

Changed

  • BREAKING: Bump dependency and peerDependency @metamask/logging-controller from ^5.0.0 to ^6.0.0 (#4643)
  • Bump @metamask/base-controller from ^6.0.2 to ^7.0.0 (#4625, #4643)
  • Bump @metamask/message-manager from ^10.0.2 to ^10.0.3 (#4643)
  • Bump typescript from ~5.0.4 to ~5.2.2 (#4576, #4584)