Skip to content

Releases: frequenz-floss/frequenz-api-dispatch

v1.0.0

09 Oct 14:17
Immutable release. Only release title and notes can be modified.
v1.0.0
0e0e661

Choose a tag to compare

Frequenz Dispatch API Release Notes

Summary

This is the v1.0.0 release. It is equivalent to v1.0.0-rc3 and introduces a period of API stabilization.

What's Changed

  • Extend documentation of duration by @Marenz in #200
  • Bump the required group across 1 directory with 13 updates by @dependabot[bot] in #201
  • Bump the required group with 2 updates by @dependabot[bot] in #203
  • Rename selector to target by @Marenz in #204
  • Changed time interval to be inclusive on both sides by @Marenz in #207
  • Reset release notes by @Marenz in #209
  • Improve documentation by @Marenz in #208
  • Add start_immediately to create RPC by @Marenz in #206
  • Bump the required group with 7 updates by @dependabot[bot] in #211
  • Prepare release notes by @Marenz in #212
  • Bump setuptools-scm[toml] from 7.1.0 to 8.1.0 by @dependabot[bot] in #215
  • Bump the required group with 9 updates by @dependabot[bot] in #213
  • Add proper permissions to the protolint job in the CI workflow by @llucax in #220
  • Bump the required group across 1 directory with 2 updates by @dependabot[bot] in #219
  • Bump the required group with 6 updates by @dependabot[bot] in #222
  • Bump types-markdown from 3.7.0.20240822 to 3.7.0.20241204 by @dependabot[bot] in #223
  • Allow targeting specific battery, inverter and EV charger types by @llucax in #217
  • Make category/type update backwards compatible. by @Marenz in #224
  • Bump black from 24.10.0 to 25.1.0 by @dependabot[bot] in #226
  • Bump the required group with 7 updates by @dependabot[bot] in #225
  • Bump isort from 5.13.2 to 6.0.0 by @dependabot[bot] in #227
  • Bump nox from 2024.10.9 to 2025.2.9 by @dependabot[bot] in #229
  • Update to repo-config v0.13.2 by @llucax in #233
  • Bump the patch group with 7 updates by @dependabot[bot] in #234
  • Bump setuptools from 75.8.0 to 78.1.0 by @dependabot[bot] in #237
  • Bump types-markdown from 3.7.0.20241204 to 3.7.0.20250322 by @dependabot[bot] in #238
  • Bump pydoclint from 0.6.0 to 0.6.5 by @dependabot[bot] in #239
  • Bump the minor group with 3 updates by @dependabot[bot] in #235
  • Rename Timestamp fields to follow Protobuf guidelines by @Marenz in #241
  • Bump pydoclint from 0.6.5 to 0.6.6 by @dependabot[bot] in #247
  • Bump the patch group with 4 updates by @dependabot[bot] in #244
  • Bump grpc-stubs from 1.53.0.5 to 1.53.0.6 by @dependabot[bot] in #246
  • Bump the minor group with 4 updates by @dependabot[bot] in #245
  • Bump the patch group with 6 updates by @dependabot[bot] in #249
  • Bump mypy from 1.15.0 to 1.16.0 in the minor group by @dependabot[bot] in #250
  • Bump setuptools from 78.1.0 to 80.9.0 by @dependabot[bot] in #251
  • dependabot: Group grpc/protobuf updates together by @llucax in #257
  • Bump the patch group with 6 updates by @dependabot[bot] in #254
  • Bump the minor group across 1 directory with 2 updates by @dependabot[bot] in #258
  • Bump the compatible group with 2 updates by @dependabot[bot] in #267
  • Bump mkdocs-material from 9.6.15 to 9.6.16 in the patch group by @dependabot[bot] in #261
  • Bump mkdocstrings[python] from 0.29.1 to 0.30.0 in the mkdocstrings group by @dependabot[bot] in #263
  • Update to common-proto api v0.8.0 by @Marenz in #259
  • Use types from common repo alpha8 by @Marenz in #260
  • Add id and q filter options by @Marenz in #268
  • Bump types-markdown from 3.8.0.20250415 to 3.8.0.20250708 by @dependabot[bot] in #265
  • Bump mypy from 1.16.1 to 1.17.1 in the minor group by @dependabot[bot] in #262
  • docs: Clarify indefinite and recurring dispatches by @Marenz in #273
  • Mark deprecated fields with deprecated option in protobuf by @Copilot in #269
  • Use Event message from common api by @Marenz in #270
  • Update dispatch.proto to clarify payload usage by @Marenz in #274
  • Bump types-markdown from 3.8.0.20250708 to 3.8.0.20250809 by @dependabot[bot] in #280
  • Bump pydoclint from 0.6.6 to 0.7.0 by @dependabot[bot] in #282
  • Bump the patch group with 3 updates by @dependabot[bot] in #279
  • Bump setuptools-scm[toml] from 8.3.1 to 9.2.0 by @dependabot[bot] in #278
  • Bump mkdocstrings-python from 1.16.12 to 1.18.2 in the mkdocstrings group by @dependabot[bot] in #277
  • Bump actions/download-artifact from 4 to 5 in the artifacts group by @dependabot[bot] in #275
  • Bump actions/checkout from 3 to 5 by @dependabot[bot] in #276
  • Bump the minor group with 6 updates by @dependabot[bot] in #285
  • Bump actions/labeler from 5.0.0 to 6.0.1 by @dependabot[bot] in #283
  • Bump the patch group across 1 directory with 4 updates by @dependabot[bot] in #286

New Contributors

  • @Copilot made their first contribution in #269

Full Changelog: v0.15.1...v1.0.0

v1.0.0-rc3

13 Aug 13:02
v1.0.0-rc3
80e4521

Choose a tag to compare

v1.0.0-rc3 Pre-release
Pre-release

Frequenz Dispatch API Release Notes

Summary

  • Use frequenz.api.common.v1alpha8.streaming.Event message instead of the local Event message.
  • Updated all frequenz.api.common imports from v1 to v1alpha8.
  • Removed the TimeIntervalFilter message, replacing its usage with the new frequenz.api.common.v1alpha8.types.Interval type.
  • In the DispatchFilter message, the start_time_interval, end_time_interval, and update_time_interval fields were updated to use the new Interval type.
  • In the TargetComponents message:
    • The CategorySet message's categories field was updated to use the new ElectricalComponentCategory enum.
    • The CategoryAndType message's category field was also updated to use the new ElectricalComponentCategory enum, and the nested battery, inverter, and ev_charger fields were updated to use their corresponding new types.
  • The ListMicrogridDispatchesRequest message's pagination_params field was updated to use the new PaginationParams type.
  • The ListMicrogridDispatchesResponse message's pagination_info field was updated to use the new PaginationInfo type.

Upgrading

  • The CategorySet message and component_categories field in TargetComponents are now properly marked as deprecated in the protobuf schema using the deprecated option. Code generators will now emit deprecation warnings when these deprecated elements are used. Use CategoryTypeSet and component_categories_types instead.

New Features

  • In the DispatchFilter message, new fields dispatch_ids, and queries were added to allow filtering dispatches by ID and a free-text search query across the id and type fields.

Bug Fixes

What's Changed

  • Bump the patch group with 6 updates by @dependabot[bot] in #249
  • Bump mypy from 1.15.0 to 1.16.0 in the minor group by @dependabot[bot] in #250
  • Bump setuptools from 78.1.0 to 80.9.0 by @dependabot[bot] in #251
  • dependabot: Group grpc/protobuf updates together by @llucax in #257
  • Bump the patch group with 6 updates by @dependabot[bot] in #254
  • Bump the minor group across 1 directory with 2 updates by @dependabot[bot] in #258
  • Bump the compatible group with 2 updates by @dependabot[bot] in #267
  • Bump mkdocs-material from 9.6.15 to 9.6.16 in the patch group by @dependabot[bot] in #261
  • Bump mkdocstrings[python] from 0.29.1 to 0.30.0 in the mkdocstrings group by @dependabot[bot] in #263
  • Update to common-proto api v0.8.0 by @Marenz in #259
  • Use types from common repo alpha8 by @Marenz in #260
  • Add id and q filter options by @Marenz in #268
  • Bump types-markdown from 3.8.0.20250415 to 3.8.0.20250708 by @dependabot[bot] in #265
  • Bump mypy from 1.16.1 to 1.17.1 in the minor group by @dependabot[bot] in #262
  • docs: Clarify indefinite and recurring dispatches by @Marenz in #273
  • Mark deprecated fields with deprecated option in protobuf by @Copilot in #269
  • Use Event message from common api by @Marenz in #270
  • Update dispatch.proto to clarify payload usage by @Marenz in #274

New Contributors

  • @Copilot made their first contribution in #269

Full Changelog: v1.0.0-rc2...v1.0.0-rc3

v1.0.0-rc2

28 May 10:26
v1.0.0-rc2
4274d1a

Choose a tag to compare

v1.0.0-rc2 Pre-release
Pre-release

Frequenz Dispatch API Release Notes

Summary

This update introduces the possibility to target specific types of batteries, inverters and EV chargers.

Deprecations

  • In the TargetComponents message, the field components.component_categories is now deprecated. See the upgrading section for details.

Changes

  • Renamed several google.protobuf.Timestamp fields in Protobuf messages to align with Google API Design Guide naming conventions (*_time suffix):
    • DispatchMetadata.modification_time is now update_time.
    • TimeIntervalFilter.from is now from_time.
    • TimeIntervalFilter.to is now to_time.
    • RecurrenceRule.EndCriteria.until is now until_time.
    • Note: This is a breaking change for clients using the old field names.

Upgrading

  • The TargetComponents message now accepts an optional type too. .components.component_categories is now deprecated. Instead .components.component_categories_types, a new CategoryAndType message that has a required category (ComponentCategory) and an optional type (oneof BatteryType, EVChargerType, InverterType) should be used.

New Features

  • Now specific types of batteries, inverters and EV chargers can be targeted.

Bug Fixes

What's Changed

Full Changelog: v1.0.0-rc1...v1.0.0-rc2

v1.0.0-rc1

06 Nov 11:48
v1.0.0-rc1
fac284e

Choose a tag to compare

v1.0.0-rc1 Pre-release
Pre-release

Frequenz Dispatch API Release Notes

New Features

  • Added start_immediately to the create RPC.

What's Changed

Full Changelog: v0.15.1...v1.0.0-rc1

v0.15.1

14 Aug 13:35
v0.15.1
ab65375

Choose a tag to compare

Frequenz Dispatch API Release Notes

Summary

This update focuses on pagination.

Upgrading

  • Updated to the latest common-api which provides slighlty modified pagination messages.

New Features

  • Added more detailed documentation on how to use pagination.

Bug Fixes

  • Fixed pagination fields in the response (pagination_params -> pagination_info)

What's Changed

Full Changelog: v0.15.0...v0.15.1

v0.15.0

18 Jul 10:19
v0.15.0
e1f0978

Choose a tag to compare

Frequenz Dispatch API Release Notes

Summary

This is just a minor update that changes the Dispatch message structure a bit.

Upgrading

  • DispatchDetail is now Dispatch
  • Dispatch became DispatchData
  • Member part of Dispatch is now the new message DispatchMedatata

What's Changed

Full Changelog: v0.14.0...v0.15.0

v0.14.0

15 Jul 15:12
v0.14.0
5af579c

Choose a tag to compare

Frequenz Dispatch API Release Notes

Summary

In this release, we have made some changes to the API to improve the user experience and to fix some bugs.
This might be the last breaking release, at least I tried hard to make it so.
Fingers crossed.

Note: The API supporting a feature does not mean that the service or client supports it as well, just yet.

Upgrading

  • The dispatch message was split into into metadata and data.
  • microgrid_id is required for all requests.
  • id was renamed to dispatch_id in all requests.
  • Naming conventions were updated to match API projects.
  • The possibility to update the dry_run and type fields was removed.
  • The ComponentSelector now can contain multiple component categories.
  • Improve description of the EndCriteria.until field.

New Features

  • Create and Update request now returns the new dispatch object.
  • Documentation about authentication and encryption was added.
  • Enhanced payload documentation.
  • Add RPC streaming methods.
  • Add YEARLY frequency to the recurrence definition.
  • Add parameters for pagination and sorting.
  • Documentation of valid values for count and interval fields was added.
  • Extended DispatchFilter to support filtering by recurrence and end_time.
  • Add new field end_time to the DispatchDetail.

Bug Fixes

  • The field bymonthdays the recurrence definition also supports negative values and was updated accordingly.

What's Changed

New Contributors

Full Changelog: v0.13.0...v0.14.0

v0.13.0

23 Apr 10:41
v0.13.0
4c345ad

Choose a tag to compare

Frequenz Dispatch API Release Notes

Upgrading

  • Queries that compare against a time interval filter should check for the end time inside the recurrence rule.
  • end_time has been renamed until and is mutually exclusive with count.
  • Update request handlers should check the field mask for which attributes to update.
  • The common api dependency has been udpated so that the v1 paths for ComponentCategory is used.

What's Changed

New Contributors

Full Changelog: v0.12.0...v0.13.0

v0.12.0

27 Sep 09:16
v0.12.0
a0aa48d

Choose a tag to compare

Frequenz Dispatch API Release Notes

Summary

  • End time has been moved to the recurrence rule object, replaced by duration on the base dispatch object.
  • Update requests now use a FieldMask to indicate which fields should be updated.

Upgrading

  • Queries that compare against a time interval filter should check for the end time inside the recurrence rule.
  • end_time has been renamed until and is mutually exclusive with count.
  • Update request handlers should check the field mask for which attributes to update.

New Features

  • Introduced a new field duration.
  • Introduced FieldMask to the update request.

Bug Fixes

What's Changed

Full Changelog: v0.11.0...v0.12.0

v0.11.0

11 Sep 09:29
v0.11.0
3c6b2d2

Choose a tag to compare

Frequenz Dispatch API Release Notes

Summary

This release is mainly about updating the names of some objects, and improving documentation.

Upgrading

  • Service and its methods have been renamed to MicrogridDispatchService
  • DispatchComponentSelector has been renamed to ComponentSelector
  • DispatchComponentIDs has been renamed to ComponentIDs

New Features

  • DispatchFilter now supports filtering by is_active and is_dry_run

Bug Fixes

What's Changed

Full Changelog: v0.10.0...v0.11.0