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/network-controllerfrom^29.0.0to^30.0.0(#7996) - Bump
@metamask/controller-utilsfrom^11.18.0to^11.19.0(#7995)
- Bump
@metamask/network-controllerfrom^28.0.0to^29.0.0(#7642)
- Upgrade
@metamask/utilsfrom^11.8.1to^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-a1.0.0 and@metamask/controller-b1.0.0, and@metamask/controller-bdepends on@metamask/controller-a1.1.0.
- For example, this scenario would be valid: a client relies on
- Note, however, that the versions specified in the client's
package.jsonalways "win", and you are expected to keep them up to date so as not to break controller and service intercommunication.
- The dependencies moved are:
- BREAKING: Bump
@metamask/network-controllerfrom^25.0.0to^26.0.0(#7202)
- BREAKING: Migrate to new
Messengerclass (#6335) - BREAKING: Rename metadata property
anonymoustoincludeInDebugSnapshot(#6335) - BREAKING: Bump
@metamask/network-controllerfrom^24.0.0to^25.0.0(#6962) - Bump
@metamask/base-controllerfrom^8.4.2to^9.0.0(#6962)
- Bump
@metamask/base-controllerfrom^8.4.1to^8.4.2(#6917) - Bump
@metamask/network-controllerfrom^24.2.2to^24.3.0(#6883)
- Bump
@metamask/utilsfrom^11.8.0to^11.8.1(#6708) - Bump
@metamask/base-controllerfrom^8.4.0to^8.4.1(#6807)
SampleGasPricesController.updateGasPricesis now callable via the messaging system (#6168)- An action type,
SampleGasPricesControllerUpdateGasPricesAction, is now available for use
- An action type,
SamplePetnamesController.assignPetnameis now callable via the messaging system (#6168)- An action type,
SamplePetnamesControllerAssignPetnameAction, is now available for use
- An action type,
- Export new types for
SampleGasPricesService(#6168)SampleGasPricesServiceActionsSampleGasPricesServiceEventsSampleGasPricesServiceFetchGasPricesActionSampleGasPricesServiceMessenger
- Export
getDefaultPetnamesControllerState(#6168) - Add two new controller state metadata properties:
includeInStateLogsandusedInUi(#6471)
- BREAKING: The messenger for
SampleGasPricesControllernow expectsNetworkController:getNetworkClientByIdto be allowed, and no longer expectsNetworkController:getStateto be allowed (#6168) - BREAKING:
SampleGasPricesController.updateGasPricesnow takes a requiredchainIdoption (#6168) SampleGasPricesControllerwill now automatically update gas prices when the globally selected chain changes (#6168)- Bump
@metamask/base-controllerfrom^8.0.1to^8.4.0(#6284, #6355, #6465, #6632) - Bump
@metamask/utilsfrom^11.2.0to^11.4.2(#6054) - Bump
@metamask/utilsfrom^11.4.2to^11.8.0(#6588)
- BREAKING:
SampleGasPricesControllerno longer takes agasPricesServiceoption (#6168)- The controller now expects
SampleGasPricesServiceto have been instantiated ahead of time
- The controller now expects
- BREAKING: Remove
SampleAbstractGasPricesService(#6168)
- BREAKING: Bump peer dependency
@metamask/network-controllerto^24.0.0(#5999) - Bump
@metamask/base-controllerfrom ^8.0.0 to ^8.0.1 (#5722)
- Initial release of @metamask/sample-controllers.