Skip to content

v0.11.2

Choose a tag to compare

@github-actions github-actions released this 20 Aug 13:00
· 45 commits to v0.x.x since this release
v0.11.2
5b19025

Frequenz Dispatch Client Library Release Notes

Summary

This release updates the frequenz-api-dispatch dependency to v1.0.0-rc3 and adapts the client to the latest API changes. It introduces more specific component categories and new event names while maintaining backward compatibility.

Upgrading

  • InverterType.SOLAR is now deprecated in favor of InverterType.PV. The old name can still be used but will be removed in a future release.
  • The following dependencies were updated:
    • frequenz-api-dispatch to v1.0.0-rc3
    • frequenz-client-common to v0.3.6
    • grpcio to v1.72.1

New Features

  • ElectricalComponentCategory: The client now uses the more specific frequenz.client.common.microgrid.electrical_components.ElectricalComponentCategory for targeting components.
    • The new property TargetCategory.category2 will return an ElectricalComponentCategory.
    • The existing TargetCategory.category property is preserved for backward compatibility and returns the corresponding ComponentCategory.
  • Support secrets for signing and verifying messages.
    • Use the new env variable DISPATCH_API_SIGN_SECRET to set the secret key.
    • Use the new sign_secret parameter in the DispatchClient constructor to set the secret key.
  • Added auth_key parameter to the dispatch-cli and the new variable DISPATCH_API_AUTH_KEY to set the authentication key for the Dispatch API.

Bug Fixes

What's Changed

  • Support secrets and signing by @Marenz in #186
  • Bump types-markdown from 3.8.0.20250415 to 3.8.0.20250708 by @dependabot[bot] in #195
  • Bump pytest-asyncio from 1.0.0 to 1.1.0 by @dependabot[bot] in #194
  • Bump types-protobuf from 6.30.2.20250516 to 6.30.2.20250703 by @dependabot[bot] in #196
  • Bump the compatible group with 2 updates by @dependabot[bot] in #190
  • Bump mkdocstrings[python] from 0.29.1 to 0.30.0 in the mkdocstrings group by @dependabot[bot] in #191
  • Bump mkdocs-material from 9.6.15 to 9.6.16 in the patch group by @dependabot[bot] in #188
  • Bump async-solipsism from 0.7 to 0.8 by @dependabot[bot] in #192
  • Bump the minor group with 2 updates by @dependabot[bot] in #189
  • refactor: Adapt code to v1alpha8 API of frequenz-client-common by @Marenz in #197

Full Changelog: v0.11.1...v0.11.2