Skip to content

Releases: frequenz-floss/frequenz-dispatch-python

v1.0.3

Choose a tag to compare

@github-actions github-actions released this 12 Mar 10:18
Immutable release. Only release title and notes can be modified.
v1.0.3
8e716a9

Dispatch Highlevel Interface Release Notes

Bug Fixes

  • Fixed bugs that could cause a dispatch actor not to stop when an update arrives exactly at the moment a dispatch window closes. Also fixed a related issue that could cause incorrect event ordering when multiple dispatches are updated concurrently.

What's Changed

Full Changelog: v1.0.2...v1.0.3

v1.0.2

Choose a tag to compare

@github-actions github-actions released this 09 Dec 10:31
Immutable release. Only release title and notes can be modified.
v1.0.2
25022c4

Dispatch Highlevel Interface Release Notes

Summary

This release just updates some dependencies to allow compatibility with newer versions.

What's Changed

  • Add auto-approve and auto-merge for Dependabot PRs by @Marenz in #211
  • Use commit hash for dependabot-auto-approve action by @Marenz in #212
  • Fix wrong dependabot-auto-approve hash by @Marenz in #213
  • Widen dependency for the SDK to work with the microgrid API v0.18 by @llucax in #219
  • Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #203
  • Bump frequenz-floss/gh-action-nox from 1.0.1 to 1.1.0 in the compatible group by @dependabot[bot] in #216
  • Bump actions/download-artifact from 5 to 6 by @dependabot[bot] in #204
  • Bump pydoclint from 0.7.3 to 0.8.3 by @dependabot[bot] in #214
  • Bump the minor group across 1 directory with 8 updates by @dependabot[bot] in #215

Full Changelog: v1.0.1...v1.0.2

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 30 Oct 10:45
Immutable release. Only release title and notes can be modified.
v1.0.1
49e2bb6

Dispatch Highlevel Interface Release Notes

Summary

This is a patch release that widens the dependency of the frequenz-client-dispatch package to < 2.0.0.

What's Changed

  • Update frequenz-client-dispatch requirement from <1.0.0,>=0.11.3 to >=0.11.3,<2.0.0 by @dependabot[bot] in #208

Full Changelog: v1.0.0...v1.0.1

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 15:40
Immutable release. Only release title and notes can be modified.
v1.0.0
adb6451

Dispatch Highlevel Interface Release Notes

Summary

This is the first major version release with authentication parameter updates and dependency version expansion.

Upgrading

  • The key parameter in the Dispatcher constructor is deprecated. Use auth_key instead.
  • The sign_secret parameter is available and should be used for authentication. It will be soon required.
  • The components property in DispatchInfo is deprecated. Use target instead.

New Features

  • dry_run status is now considered when merging dispatches. Dispatches with different dry_run values will no longer be merged, ensuring that dry-run and operational dispatches are handled by separate actors.
  • Two new parameters were added to the Dispatcher constructor:
    • sign_secret: A secret key used for signing messages.
    • auth_key: An authentication key for the Dispatch API.
  • Dispatcher now only fetches ongoing dispatches, excluding completed ones, to optimize performance and relevance.

Bug Fixes

What's Changed

  • Bump the minor group with 6 updates by @dependabot[bot] in #198
  • Prepare for v1: Update auth parameters and client version by @Marenz in #202

Full Changelog: v0.10.4...v1.0.0

v0.10.4

Choose a tag to compare

@github-actions github-actions released this 01 Oct 10:25
Immutable release. Only release title and notes can be modified.
v0.10.4
4cea8eb

Dispatch Highlevel Interface Release Notes

Summary

Upgrading

  • The key parameter in the Dispatcher constructor is now deprecated. Use auth_key instead. The sign_secret parameter is an additional optional parameter for signing.
  • The components property in DispatchInfo is now deprecated. Use target instead.

New Features

  • dry_run status is now considered when merging dispatches. Dispatches with different dry_run values will no longer be merged, ensuring that dry-run and operational dispatches are handled by separate actors.
  • Two new parameters were added to the Dispatcher constructor:
    • sign_secret: A secret key used for signing messages.
    • auth_key: An authentication key for the Dispatch API.
  • Dispatcher now only fetches ongoing dispatches, excluding completed ones, to optimize performance and relevance.

Bug Fixes

What's Changed

Full Changelog: v0.10.3...v0.10.4

v0.10.3

Choose a tag to compare

@github-actions github-actions released this 30 Sep 10:53
Immutable release. Only release title and notes can be modified.
v0.10.3
cb74e80

❗ ❗ THIS RELEASE HAS BEEN YANKED DUE TO INCOMPLETE BACKWARDS COMPATIBILITY ❗ ❗

Dispatch Highlevel Interface Release Notes

Summary

Upgrading

  • The key parameter in the Dispatcher constructor is now deprecated. Use auth_key instead. The sign_secret parameter is an additional optional parameter for signing.
  • The components property in DispatchInfo is now deprecated. Use target instead.

New Features

  • dry_run status is now considered when merging dispatches. Dispatches with different dry_run values will no longer be merged, ensuring that dry-run and operational dispatches are handled by separate actors.
  • Two new parameters were added to the Dispatcher constructor:
    • sign_secret: A secret key used for signing messages.
    • auth_key: An authentication key for the Dispatch API.
  • Dispatcher now only fetches ongoing dispatches, excluding completed ones, to optimize performance and relevance.

Bug Fixes

What's Changed

  • Bump mkdocs-material from 9.6.14 to 9.6.16 in the patch group by @dependabot[bot] in #177
  • Bump the minor group with 2 updates by @dependabot[bot] in #178
  • Bump async-solipsism from 0.7 to 0.8 by @dependabot[bot] in #180
  • Bump types-markdown from 3.8.0.20250415 to 3.8.0.20250708 by @dependabot[bot] in #181
  • Bump the compatible group with 2 updates by @dependabot[bot] in #183
  • Bump pytest-asyncio from 1.0.0 to 1.1.0 by @dependabot[bot] in #182
  • Bump mkdocstrings[python] from 0.29.1 to 0.30.0 in the mkdocstrings group by @dependabot[bot] in #179
  • Support key signing and handle dry_run cleaner by @Marenz in #184
  • Bump pydoclint from 0.6.6 to 0.6.11 by @dependabot[bot] in #186
  • Bump mkdocstrings-python from 1.16.12 to 1.18.2 in the mkdocstrings group by @dependabot[bot] in #191
  • Bump actions/checkout from 4 to 5 by @dependabot[bot] in #192
  • Bump types-markdown from 3.8.0.20250708 to 3.8.0.20250809 by @dependabot[bot] in #188
  • Bump setuptools-scm[toml] from 8.3.1 to 9.2.0 by @dependabot[bot] in #189
  • Bump time-machine from 2.16.0 to 2.19.0 in the minor group by @dependabot[bot] in #190
  • Bump the patch group with 4 updates by @dependabot[bot] in #187
  • Bump actions/download-artifact from 4 to 5 in the artifacts group by @dependabot[bot] in #193
  • Deprecate DispatchInfo.components in favor of target by @Marenz in #194
  • Fetch only ongoing dispatches by @Marenz in #195

Full Changelog: v0.10.2...v0.10.3

v0.10.2

Choose a tag to compare

@github-actions github-actions released this 29 Jul 08:17
v0.10.2
49ebc13

Dispatch Highlevel Interface Release Notes

Summary

Upgrading

New Features

Bug Fixes

  • The merge by type class now uses the correct logger path.
  • The merge by type was made more robust under heavy load, making sure to use the same now for all dispatches that are checked.
  • Fix that the merge filter was using an outdated dispatches dict once fetch() ran.

What's Changed

  • Bump pytest-asyncio from 0.26.0 to 1.0.0 by @dependabot[bot] in #171
  • Bump the minor group with 2 updates by @dependabot[bot] in #172
  • Bump the patch group with 6 updates by @dependabot[bot] in #173
  • Fix dispatch dict passed to MergeStrategy not getting updated for future fetch's by @Marenz in #174

Full Changelog: v0.10.1...v0.10.2

v0.10.1

Choose a tag to compare

@github-actions github-actions released this 27 Jun 08:50
v0.10.1
eb84518

Dispatch Highlevel Interface Release Notes

Summary

Upgrading

The frequenz.dispatch.TargetComponents type was removed, use frequenz.client.dispatch.TargetComponents instead.

New Features

  • The dispatcher offers two new parameters to control the client's call and stream timeout:
    • call_timeout: The maximum time to wait for a response from the client.
    • stream_timeout: The maximum time to wait before restarting a stream.
  • While the dispatch stream restarts we refresh our dispatch cache as well, to ensure we didn't miss any updates.

Bug Fixes

  • Fixed that dispatches are never retried on failure, but instead an infinite loop of retry logs is triggered.

What's Changed

Full Changelog: v0.10.0...v0.10.1

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 06 Jun 11:18
v0.9.0
3fd81e0

Dispatch Highlevel Interface Release Notes

Upgrading

  • Change minimum version of the frequenz-sdk dependency from >= 1.0.0-rc2000 to >= 1.0.0-rc1900

What's Changed

Full Changelog: v0.8.1...v0.9.0

v0.8.1

Choose a tag to compare

@github-actions github-actions released this 05 Jun 08:59
v0.8.1
0f1a52a

Dispatch Highlevel Interface Release Notes

Bug Fixes

  • Make DispatchInfo components type: TargetComponent public

What's Changed

Full Changelog: v0.8.0...v0.8.1