Tags: frequenz-floss/frequenz-dispatch-python
Tags
# Dispatch Highlevel Interface Release Notes ## Summary <!-- Here goes a general summary of what this release is about --> ## Upgrading <!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with --> ## New Features <!-- Here goes the main new features and examples or instructions on how to use them --> ## Bug Fixes <!-- Here goes notable bug fixes that are worth a special mention or explanation --> * 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.
# 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 <!-- Here goes notable bug fixes that are worth a special mention or explanation -->
# Dispatch Highlevel Interface Release Notes ## Summary <!-- Here goes a general summary of what this release is about --> ## 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 <!-- Here goes notable bug fixes that are worth a special mention or explanation -->
# Dispatch Highlevel Interface Release Notes ## Summary <!-- Here goes a general summary of what this release is about --> ## 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 <!-- Here goes notable bug fixes that are worth a special mention or explanation -->
# Dispatch Highlevel Interface Release Notes ## Summary <!-- Here goes a general summary of what this release is about --> ## Upgrading <!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with --> ## New Features <!-- Here goes the main new features and examples or instructions on how to use them --> ## 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.
# Dispatch Highlevel Interface Release Notes ## Summary <!-- Here goes a general summary of what this release is about --> ## 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.
# Dispatch Highlevel Interface Release Notes ## Summary <!-- Here goes a general summary of what this release is about --> ## Upgrading The `frequenz.disptach.TargetComponents` tye 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.
# Dispatch Highlevel Interface Release Notes ## Summary <!-- Here goes a general summary of what this release is about --> ## Upgrading <!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with --> ## New Features <!-- Here goes the main new features and examples or instructions on how to use them --> ## Bug Fixes <!-- Here goes notable bug fixes that are worth a special mention or explanation -->
PreviousNext