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/utilsfrom^11.9.0to^11.11.0(#9074) - Bump
@metamask/json-rpc-enginefrom^10.2.4to^10.5.0(#8661, #8746, #8753) - Bump
@metamask/messengerfrom^1.0.0to^2.0.0(#8364, #8373, #8632, #9392) - Bump
@metamask/base-controllerfrom^9.0.1to^9.1.0(#8457)
- Expose missing public
PermissionLogControllermethods through its messenger (#8201)- The following actions are now available:
PermissionLogController:createMiddlewarePermissionLogController:updateAccountsHistory
- Corresponding action types
(e.g.
PermissionLogControllerCreateMiddlewareAction) are available as well.
- The following actions are now available:
- Bump
@metamask/base-controllerfrom^9.0.0to^9.0.1(#8317) - Bump
@metamask/messengerfrom^0.3.0to^1.0.0(#8317) - Upgrade
@metamask/utilsfrom^11.8.1to^11.9.0(#7511) - Bump
@metamask/json-rpc-enginefrom^10.1.1to^10.2.4(#7202, #7642, #7856, #8078, #8317)
- Export new messenger action and event types:
PermissionLogControllerActions,PermissionLogControllerGetStateAction,PermissionLogControllerEvents, andPermissionLogControllerStateChangeEvent(#6536)
- BREAKING: Use new
Messengerfrom@metamask/messenger(#6536)- Previously,
PermissionLogControlleraccepted aRestrictedMessengerinstance from@metamask/base-controller.
- Previously,
- BREAKING: Metadata property
anonymousrenamed toincludeInDebugSnapshot(#6536) - 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(#6525)
- Bump
@metamask/utilsfrom^11.4.2to^11.8.1(#6588, #6708) - Bump
@metamask/base-controllerfrom^8.0.1to^8.4.1(#6284, #6355, #6465, #6632, #6807) - Bump
@metamask/json-rpc-enginefrom^10.0.3to^10.1.1(#6678, #6807)
- BREAKING: Stop persisting
permissionActivityLogstate (#6156)- This will require a migration to delete existing persisted state.
- Bump
@metamask/utilsfrom^11.1.0to^11.4.2(#5301, #6054) - Bump
@metamask/base-controllerfrom ^8.0.0 to ^8.0.1 (#5722)
- Bump
@metamask/base-controllerfrom^7.0.0to^8.0.0(#5079), (#5135), (#5305) - Bump
@metamask/json-rpc-enginefrom^10.0.1to^10.0.3(#5082), (#5272) - Bump
@metamask/utilsfrom^10.0.0to^11.1.0(#5080), (#5223) - Bump
nanoidfrom^3.1.31to^3.3.8(#5073)
- Bump
@metamask/utilsfrom^9.1.0to^10.0.0(#4831) - Bump
@metamask/base-controllerfrom^7.0.1to^7.0.2(#4862) - Bump
@metamask/json-rpc-enginefrom^9.0.3to^10.0.1(#4798, #4862)
- Correct ESM-compatible build so that imports of the following packages that re-export other modules via
export *are no longer corrupted: (#5011)deep-freeze-strict
- Bump
@metamask/utilsfrom^8.3.0to^9.1.0(#4516, #4529) - Bump
@metamask/rpc-errorsfrom^6.2.1to^6.3.1(#4516) - Bump TypeScript from
~4.9.5to~5.2.2and setmoduleResolutionoption toNode16(#3645, #4576, #4584)
- 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.
- BREAKING: Bump minimum Node version to 18.18 (#3611)
- Bump
@metamask/base-controllerto^6.0.0(#4352) - Bump
@metamask/json-rpc-engineto^9.0.0(#4352)
- 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/json-rpc-engineto^8.0.0(#4039)
- Initial release