Skip to content

Latest commit

 

History

History
175 lines (118 loc) · 10.1 KB

File metadata and controls

175 lines (118 loc) · 10.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/utils from ^11.9.0 to ^11.11.0 (#9074)
  • Bump @metamask/json-rpc-engine from ^10.2.4 to ^10.5.0 (#8661, #8746, #8753)
  • Bump @metamask/messenger from ^1.0.0 to ^2.0.0 (#8364, #8373, #8632, #9392)
  • Bump @metamask/base-controller from ^9.0.1 to ^9.1.0 (#8457)

Added

  • Expose missing public PermissionLogController methods through its messenger (#8201)
    • The following actions are now available:
      • PermissionLogController:createMiddleware
      • PermissionLogController:updateAccountsHistory
    • Corresponding action types (e.g. PermissionLogControllerCreateMiddlewareAction) are available as well.

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)
  • Upgrade @metamask/utils from ^11.8.1 to ^11.9.0 (#7511)
  • Bump @metamask/json-rpc-engine from ^10.1.1 to ^10.2.4 (#7202, #7642, #7856, #8078, #8317)

Added

  • Export new messenger action and event types: PermissionLogControllerActions, PermissionLogControllerGetStateAction, PermissionLogControllerEvents, and PermissionLogControllerStateChangeEvent (#6536)

Changed

  • BREAKING: Use new Messenger from @metamask/messenger (#6536)
    • Previously, PermissionLogController accepted a RestrictedMessenger instance from @metamask/base-controller.
  • BREAKING: Metadata property anonymous renamed to includeInDebugSnapshot (#6536)
  • 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 (#6525)

Changed

Changed

  • BREAKING: Stop persisting permissionActivityLog state (#6156)
    • This will require a migration to delete existing persisted state.
  • Bump @metamask/utils from ^11.1.0 to ^11.4.2 (#5301, #6054)
  • Bump @metamask/base-controller from ^8.0.0 to ^8.0.1 (#5722)

Changed

  • Bump @metamask/base-controller from ^7.0.0 to ^8.0.0 (#5079), (#5135), (#5305)
  • Bump @metamask/json-rpc-engine from ^10.0.1 to ^10.0.3 (#5082), (#5272)
  • Bump @metamask/utils from ^10.0.0 to ^11.1.0 (#5080), (#5223)
  • Bump nanoid from ^3.1.31 to ^3.3.8 (#5073)

Changed

  • Bump @metamask/utils from ^9.1.0 to ^10.0.0 (#4831)
  • Bump @metamask/base-controller from ^7.0.1 to ^7.0.2 (#4862)
  • Bump @metamask/json-rpc-engine from ^9.0.3 to ^10.0.1 (#4798, #4862)

Fixed

  • 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

Changed

  • Bump @metamask/utils from ^8.3.0 to ^9.1.0 (#4516, #4529)
  • Bump @metamask/rpc-errors from ^6.2.1 to ^6.3.1 (#4516)
  • Bump TypeScript from ~4.9.5 to ~5.2.2 and set moduleResolution option to Node16 (#3645, #4576, #4584)

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.

Changed

  • BREAKING: Bump minimum Node version to 18.18 (#3611)
  • Bump @metamask/base-controller to ^6.0.0 (#4352)
  • Bump @metamask/json-rpc-engine to ^9.0.0 (#4352)

Changed

  • Bump @metamask/base-controller to ^5.0.2 (#4234)
  • Bump @metamask/json-rpc-engine to ^8.0.2 (#4232)

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/json-rpc-engine to ^8.0.0 (#4039)

Added

  • Initial release