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.
- Bump
@metamask/controller-utilsfrom^11.19.0to^11.20.0(#8344) - Bump
@metamask/messengerfrom^1.0.0to^1.2.0(#8364, #8373, #8632) - Bump
@metamask/base-controllerfrom^9.0.1to^9.1.0(#8457)
- Bump
@metamask/base-controllerfrom^9.0.0to^9.0.1(#8317) - Bump
@metamask/messengerfrom^0.3.0to^1.0.0(#8317)
- Expose missing public
LoggingControllermethods through its messenger (#8183)- The following action is now available:
LoggingController:clear
- Corresponding action type (
LoggingControllerClearAction) is available as well.
- The following action is now available:
- BREAKING: Standardize names of
LoggingControllermessenger action types (#8183)- All existing types for messenger actions have been renamed so they end in
Actionand 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
LoggingControllermessengers.
- All existing types for messenger actions have been renamed so they end in
- Bump
@metamask/controller-utilsfrom^11.16.0to^11.19.0(#7534, #7583, #7995)
- Bump
@metamask/controller-utilsfrom^11.15.0to^11.16.0(#7202)
- BREAKING: Use new
Messengerfrom@metamask/messenger(#6463)- Previously,
LoggingControlleraccepted aRestrictedMessengerinstance from@metamask/base-controller.
- Previously,
- BREAKING: Metadata property
anonymousrenamed toincludeInDebugSnapshot(#6463) - Bump
@metamask/base-controllerfrom^8.4.2to^9.0.0(#6962)
- Bump
@metamask/base-controllerfrom^8.4.1to^8.4.2(#6917)
- Add two new controller state metadata properties:
includeInStateLogsandusedInUi(#6473)
- Bump
@metamask/base-controllerfrom^8.0.0to^8.4.1(#5722, #6284, #6355, #6465, #6632, #6807) - Bump
@metamask/controller-utilsfrom^11.5.0to^11.14.1(#5439, #5583, #5765, #5812, #5935, #6069, #6303, #6620, #6629, #6807)
- Bump
@metamask/base-controllerfrom^7.0.2to^8.0.0(#5079), (#5305) - Bump
@metamask/controller-utilsfrom^11.4.4to^11.5.0(#5135), (#5272)
- Bump
@metamask/controller-utilsfrom^11.4.3to^11.4.4(#5012)
- Bump
@metamask/controller-utilsfrom^11.3.0to^11.4.3(#4870, #4862, #4834, #4915) - Bump
@metamask/base-controllerfrom^7.0.1to^^7.0.2(#4862)
- 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
exportsfield inpackage.jsonlinked 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.
- Previously, this package shipped with only one variant of type declaration
files, and these files were only CommonJS-compatible, and the
- 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.
- Define and export new types:
LoggingControllerGetStateAction,LoggingControllerStateChangeEvent,LoggingControllerEvents(#4633)
- BREAKING:
LoggingControllerMessengermust allow internal events defined in theLoggingControllerEventstype (#4633) LoggingControllerActionsis widened to include theLoggingController:getStateaction (#4633)- Bump
@metamask/base-controllerfrom^6.0.0to^7.0.0(#4517, #4544, #4625, #4643) - Bump
@metamask/controller-utilsfrom^11.0.0to^11.0.2(#4517, #4544) - Bump
typescriptfrom~4.9.5to~5.2.2and setmodule{,Resolution}option toNode16(#3645, #4576, #4584)
- BREAKING: Bump minimum Node version to 18.18 (#3611)
- Bump
@metamask/base-controllerto^6.0.0(#4352) - Bump
@metamask/controller-utilsto^11.0.0(#4352)
- BREAKING: Remove
EthSignfromSigningMethod(#4319)
- Fix
typesfield inpackage.json(#4047)
- BREAKING: Add ESM build (#3998)
- It's no longer possible to import files from
./distdirectly.
- It's no longer possible to import files from
- BREAKING: Bump
@metamask/base-controllerto^5.0.0(#4039)- This version has a number of breaking changes. See the changelog for more.
- Bump
@metamask/controller-utilsto^9.0.0(#4039)
- Bump
@metamask/controller-utilsto^8.0.4(#4007)
- Bump
@metamask/base-controllerto^4.1.1(#3760, #3821) - Bump
@metamask/controller-utilsto^8.0.2(#3821)
- Bump
@metamask/base-controllerto^4.0.1(#3695) - Bump
@metamask/controller-utilsto^8.0.1(#3695, #3678, #3667, #3580)
- BREAKING: Bump
@metamask/base-controllerto ^4.0.0 (#2063)- This is breaking because the type of the
messengerhas backward-incompatible changes. See the changelog for this package for more.
- This is breaking because the type of the
- Bump
@metamask/controller-utilsto ^6.0.0 (#2063)
- Bump dependency on
@metamask/base-controllerto ^3.2.3 (#1747) - Bump dependency on
@metamask/controller-utilsto ^5.0.2 (#1747)
- Update TypeScript to v4.8.x (#1718)
- Bump dependency on
@metamask/controller-utilsto ^5.0.0
- Bump dependency on
@metamask/base-controllerto ^3.2.1 - Bump dependency on
@metamask/controller-utilsto ^4.3.2
- Initial Release
- Add logging controller (#1089)