Skip to content

Latest commit

 

History

History
118 lines (80 loc) · 6.83 KB

File metadata and controls

118 lines (80 loc) · 6.83 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/network-controller from ^29.0.0 to ^30.0.0 (#7996)
  • Bump @metamask/controller-utils from ^11.18.0 to ^11.19.0 (#7995)

Changed

  • Bump @metamask/network-controller from ^28.0.0 to ^29.0.0 (#7642)

Changed

  • Upgrade @metamask/utils from ^11.8.1 to ^11.9.0 (#7511)
  • Move peer dependencies for controller and service packages to direct dependencies (#7209, #7258, #7534, #7583, #7604)
    • The dependencies moved are:
      • @metamask/network-controller (^28.0.0)
    • In clients, it is now possible for multiple versions of these packages to exist in the dependency tree.
      • For example, this scenario would be valid: a client relies on @metamask/controller-a 1.0.0 and @metamask/controller-b 1.0.0, and @metamask/controller-b depends on @metamask/controller-a 1.1.0.
    • Note, however, that the versions specified in the client's package.json always "win", and you are expected to keep them up to date so as not to break controller and service intercommunication.

Changed

  • BREAKING: Bump @metamask/network-controller from ^25.0.0 to ^26.0.0 (#7202)

Changed

  • BREAKING: Migrate to new Messenger class (#6335)
  • BREAKING: Rename metadata property anonymous to includeInDebugSnapshot (#6335)
  • BREAKING: Bump @metamask/network-controller from ^24.0.0 to ^25.0.0 (#6962)
  • 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)
  • Bump @metamask/network-controller from ^24.2.2 to ^24.3.0 (#6883)

Changed

  • Bump @metamask/utils from ^11.8.0 to ^11.8.1 (#6708)
  • Bump @metamask/base-controller from ^8.4.0 to ^8.4.1 (#6807)

Added

  • SampleGasPricesController.updateGasPrices is now callable via the messaging system (#6168)
    • An action type, SampleGasPricesControllerUpdateGasPricesAction, is now available for use
  • SamplePetnamesController.assignPetname is now callable via the messaging system (#6168)
    • An action type, SamplePetnamesControllerAssignPetnameAction, is now available for use
  • Export new types for SampleGasPricesService (#6168)
    • SampleGasPricesServiceActions
    • SampleGasPricesServiceEvents
    • SampleGasPricesServiceFetchGasPricesAction
    • SampleGasPricesServiceMessenger
  • Export getDefaultPetnamesControllerState (#6168)
  • Add two new controller state metadata properties: includeInStateLogs and usedInUi (#6471)

Changed

  • BREAKING: The messenger for SampleGasPricesController now expects NetworkController:getNetworkClientById to be allowed, and no longer expects NetworkController:getState to be allowed (#6168)
  • BREAKING: SampleGasPricesController.updateGasPrices now takes a required chainId option (#6168)
  • SampleGasPricesController will now automatically update gas prices when the globally selected chain changes (#6168)
  • Bump @metamask/base-controller from ^8.0.1 to ^8.4.0 (#6284, #6355, #6465, #6632)
  • Bump @metamask/utils from ^11.2.0 to ^11.4.2 (#6054)
  • Bump @metamask/utils from ^11.4.2 to ^11.8.0 (#6588)

Removed

  • BREAKING: SampleGasPricesController no longer takes a gasPricesService option (#6168)
    • The controller now expects SampleGasPricesService to have been instantiated ahead of time
  • BREAKING: Remove SampleAbstractGasPricesService (#6168)

Changed

  • BREAKING: Bump peer dependency @metamask/network-controller to ^24.0.0 (#5999)
  • Bump @metamask/base-controller from ^8.0.0 to ^8.0.1 (#5722)

Added

  • Initial release of @metamask/sample-controllers.