Skip to content

Latest commit

 

History

History
246 lines (158 loc) · 13.1 KB

File metadata and controls

246 lines (158 loc) · 13.1 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Changed

  • Bump @metamask/controller-utils from ^11.19.0 to ^11.20.0 (#8344)
  • Bump @metamask/messenger from ^1.0.0 to ^1.2.0 (#8364, #8373, #8632)
  • Bump @metamask/base-controller from ^9.0.1 to ^9.1.0 (#8457)

Changed

  • Bump @metamask/base-controller from ^9.0.0 to ^9.0.1 (#8317)
  • Bump @metamask/messenger from ^0.3.0 to ^1.0.0 (#8317)

Added

  • Expose missing public LoggingController methods through its messenger (#8183)
    • The following action is now available:
      • LoggingController:clear
    • Corresponding action type (LoggingControllerClearAction) is available as well.

Changed

  • BREAKING: Standardize names of LoggingController messenger action types (#8183)
    • All existing types for messenger actions have been renamed so they end in Action and include the controller name (e.g. AddLog -> LoggingControllerAddAction). You will need to update imports appropriately.
    • This change only affects the types. The action type strings themselves have not changed, so you do not need to update the list of actions you pass when initializing LoggingController messengers.
  • Bump @metamask/controller-utils from ^11.16.0 to ^11.19.0 (#7534, #7583, #7995)

Changed

  • Bump @metamask/controller-utils from ^11.15.0 to ^11.16.0 (#7202)

Changed

  • BREAKING: Use new Messenger from @metamask/messenger (#6463)
    • Previously, LoggingController accepted a RestrictedMessenger instance from @metamask/base-controller.
  • BREAKING: Metadata property anonymous renamed to includeInDebugSnapshot (#6463)
  • Bump @metamask/base-controller from ^8.4.2 to ^9.0.0 (#6962)

Changed

  • Bump @metamask/base-controller from ^8.4.1 to ^8.4.2 (#6917)

Added

  • Add two new controller state metadata properties: includeInStateLogs and usedInUi (#6473)

Changed

Changed

  • Bump @metamask/base-controller from ^7.0.2 to ^8.0.0 (#5079), (#5305)
  • Bump @metamask/controller-utils from ^11.4.4 to ^11.5.0 (#5135), (#5272)

Changed

  • Bump @metamask/controller-utils from ^11.4.3 to ^11.4.4 (#5012)

Changed

  • Bump @metamask/controller-utils from ^11.3.0 to ^11.4.3 (#4870, #4862, #4834, #4915)
  • Bump @metamask/base-controller from ^7.0.1 to ^^7.0.2 (#4862)

Fixed

  • Produce and export ESM-compatible TypeScript type declaration files in addition to CommonJS-compatible declaration files (#4648)
    • Previously, this package shipped with only one variant of type declaration files, and these files were only CommonJS-compatible, and the exports field in package.json linked to these files. This is an anti-pattern and was rightfully flagged by the "Are the Types Wrong?" tool as "masquerading as CJS". All of the ATTW checks now pass.
  • Remove chunk files (#4648).
    • Previously, the build tool we used to generate JavaScript files extracted common code to "chunk" files. While this was intended to make this package more tree-shakeable, it also made debugging more difficult for our development teams. These chunk files are no longer present.

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)

Changed

  • BREAKING: Bump minimum Node version to 18.18 (#3611)
  • Bump @metamask/base-controller to ^6.0.0 (#4352)
  • Bump @metamask/controller-utils to ^11.0.0 (#4352)

Changed

  • Bump @metamask/base-controller to ^5.0.2 (#4232)
  • Bump @metamask/controller-utils to ^10.0.0 (#4342)

Removed

  • BREAKING: Remove EthSign from SigningMethod (#4319)

Fixed

  • Fix types field in package.json (#4047)

Added

  • BREAKING: Add ESM build (#3998)
    • It's no longer possible to import files from ./dist directly.

Changed

  • BREAKING: Bump @metamask/base-controller to ^5.0.0 (#4039)
    • This version has a number of breaking changes. See the changelog for more.
  • Bump @metamask/controller-utils to ^9.0.0 (#4039)

Changed

  • Bump @metamask/controller-utils to ^8.0.4 (#4007)

Changed

  • Bump @metamask/base-controller to ^4.1.1 (#3760, #3821)
  • Bump @metamask/controller-utils to ^8.0.2 (#3821)

Changed

Changed

  • BREAKING: Bump @metamask/base-controller to ^4.0.0 (#2063)
    • This is breaking because the type of the messenger has backward-incompatible changes. See the changelog for this package for more.
  • Bump @metamask/controller-utils to ^6.0.0 (#2063)

Changed

  • Bump dependency on @metamask/base-controller to ^3.2.3 (#1747)
  • Bump dependency on @metamask/controller-utils to ^5.0.2 (#1747)

Changed

  • Update TypeScript to v4.8.x (#1718)

Changed

  • Bump dependency on @metamask/controller-utils to ^5.0.0

Changed

  • Bump dependency on @metamask/base-controller to ^3.2.1
  • Bump dependency on @metamask/controller-utils to ^4.3.2

Added

  • Initial Release
    • Add logging controller (#1089)