v0.3.0 #24
v0.3.0
#24
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Frequenz Common API Release Notes
Summary
This release includes renaming the
EVChargerType
enum toEvChargerType
andthe addition of the
MetricAggregation
message.Upgrading
The submodule URL was changed to use HTTPS instead of SSH (to avoid problems trying to unlock SSH keys to do updates, etc.).
Make sure you sync your submodules to the new URL:
EVChargerType
enum refactoredThe enum with the oder variants was compiled into the following rust enum
(by prost):
Here the enum variants were unnecessarily prefixed with
EvchargerType
.This lead to accessing the enum variants in a very verbose manner, e.g.,
EvChargerType::EvchargerTypeHybrid
.The changed version of the enum in this commit results in the following
rust enum:
Here the unnecessary prefix
EvchargerType
is absent. This reduces theverbosity while accessing the enum variants, making the resulting rust code
more readable, e.g., as
EvChargerType::Hybrid
.This change also leads to renaming the enum from
EVChargerType
toEvChargerType
, to satisfy protolint requirements.New Features
Added
MetricAggregation
messageThe message
MetricAggregation
has been copied from frequenz-api-microgridinto this repository, so that it can be used by other APIs as well.
Bug Fixes
None
What's Changed
EVChargerType
enum variants by @tiyash-basu-frequenz in RefactorEVChargerType
enum variants #21MetricAggregation
message by @tiyash-basu-frequenz in AddMetricAggregation
message #22New Contributors
EVChargerType
enum variants #21Full Changelog: v0.2.0...v0.3.0
This discussion was created from the release v0.3.0.
Beta Was this translation helpful? Give feedback.
All reactions