v0.16.0
Frequenz Microgrid API Release Notes
Summary
This version of the API introduces a number of breaking changes, and is not
backwards compatible with the previous version. The changes primarily include:
- RPC renames
- Upgrade to frequenz.api.common v0.5.0
Upgrading
-
The
CanStreamData
RPC has been removed. Users are recommended to check it
by calling theStreamComponentData
RPC. -
The message
microgrid.Location
has been removed, and
frequenz.api.common.location.Location
is being used instead. TheLocation
message from the common API also has acountry_code
member. -
The following gRPC methods have been renamed:
StreamComponentData
->ReceiveComponentDataStream
AddExclusionBounds
->AddComponentExclusionBounds
AddInclusionBounds
->AddComponentInclusionBounds
SetPowerActive
->SetComponentPowerActive
SetPowerReactive
->SetComponentPowerReactive
Start
->StartComponent
HotStandby
->HotStandbyComponent
ColdStandby
->PutComponentInStandby
Stop
->StopComponent
ErrorAck
->AckComponentError
-
The following gRPC method have been removed:
HotStandby
-
Introduced a dedicated RPC method for listing sensors in the microgrid,
separating them from the "component" category. -
The RPC parameters have been renamed to be more consistent with the RPC names,
and with each other. -
The package names have been changed from
frequenz.api.microgrid.<package>
to
frequenz.api.microgrid.v1.<package>
.v1
is the API's major version, and
will be incremented for breaking changes. -
The common protobuf dependency has been upgraded to
v0.5.0
. The protobuf
messages returned by the RPCs are now in thefrequenz.api.common.v1
package.
As a result, all files besidesmicrogrid.proto
became obsolete, and
therefore, have been removed. -
The request messages for receiving data streams have now been extended to
consist of a list of metrics to be streamed. This allows the user to request
only the metrics they are interested in, instead of receiving all of them.
If this list is empty, then no data will be streamed, and the service will
return an error. -
The RPC
SetComponentPowerActive
now returns a timestamp until which the
command will stay in effect. The component's active power will be set to 0
after this timestamp, if the API receives no further requests to change it
before then. By default, this timestamp will be the current time plus 60
seconds. -
The RPC
SetComponentPowerReactive
now returns a timestamp until which the
command will stay in effect. The component's reactive power will be set to 0
after this timestamp, if the API receives no further requests to change it
before then. By default, this timestamp will be the current time plus 60
seconds.
What's Changed
- Clear release notes by @llucax in #90
- Bump black from 23.3.0 to 23.7.0 by @dependabot in #96
- Bump mypy from 1.2.0 to 1.4.1 by @dependabot in #93
- Bump mkdocs-material from 9.1.16 to 9.1.21 by @dependabot in #94
- Bump pylint from 2.17.3 to 2.17.5 by @dependabot in #91
- Bump pytest from 7.3.1 to 7.4.0 by @dependabot in #92
- Remove the
CanStreamData
RPC by @tiyash-basu-frequenz in #87 - Clean old files after migration to repo-config by @llucax in #97
- Update frequenz-api-common to v0.3.1 by @tiyash-basu-frequenz in #98
- Update common API version in pyproject.toml by @tiyash-basu-frequenz in #100
- Use Location from the common API specs by @tiyash-basu-frequenz in #99
- Rename RPC StreamComponentData to SubscribeComponentData by @tiyash-basu-frequenz in #102
- Rename RPCs that act on Components by @tiyash-basu-frequenz in #103
- Bump mypy from 1.4.1 to 1.5.0 by @dependabot in #105
- Add relays and precharge components by @tiyash-basu-frequenz in #104
- Upgrade to repo-config v0.5.2 by @llucax in #108
- Bump mypy from 1.5.0 to 1.5.1 by @dependabot in #107
- Bump mkdocs-material from 9.1.21 to 9.2.3 by @dependabot in #113
- Bump mkdocs-material from 9.2.3 to 9.2.7 by @dependabot in #116
- Bump pytest from 7.4.0 to 7.4.1 by @dependabot in #120
- Bump mkdocstrings[python] from 0.22.0 to 0.23.0 by @dependabot in #117
- Bump pytest from 7.4.1 to 7.4.2 by @dependabot in #126
- Bump mkdocs-material from 9.2.7 to 9.3.1 by @dependabot in #130
- Bump black from 23.7.0 to 23.9.1 by @dependabot in #128
- Bump actions/checkout from 3 to 4 by @dependabot in #121
- Bump mkdocs-section-index from 0.3.5 to 0.3.6 by @dependabot in #123
- Bump mkdocs-literate-nav from 0.6.0 to 0.6.1 by @dependabot in #129
- Bump mkdocs-section-index from 0.3.6 to 0.3.7 by @dependabot in #132
- Bump mkdocs-material from 9.3.1 to 9.3.2 by @dependabot in #135
- Bump mkdocs-section-index from 0.3.7 to 0.3.8 by @dependabot in #137
- Bump mkdocs-material from 9.3.2 to 9.4.2 by @dependabot in #138
- Update frequenz-api-common to v0.4.0 by @tiyash-basu-frequenz in #140
- Rename precharge_module to precharger by @tiyash-basu-frequenz in #141
- Bump pylint from 2.17.5 to 2.17.6 by @dependabot in #139
- Bump pylint from 2.17.6 to 2.17.7 by @dependabot in #146
- Bump mkdocs-material from 9.4.2 to 9.4.3 by @dependabot in #148
- Change inverter DC metrics to repeated fields by @tiyash-basu-frequenz in #143
- Add fuse component by @tiyash-basu-frequenz in #144
- Remove sensors from component category and represent the separately by @tiyash-basu-frequenz in #145
- Rename RPC parameters to be more consistent with the RPC names by @tiyash-basu-frequenz in #150
- Add major version to package names by @tiyash-basu-frequenz in #151
- Change RPCs by @tiyash-basu-frequenz in #153
- Add overview and description of the Frequenz Microgrid API by @tiyash-basu-frequenz in #142
- Bump mkdocs-material from 9.4.3 to 9.4.4 by @dependabot in #154
- Bump pytest from 7.4.2 to 7.4.3 by @dependabot in #168
- Bump repo-config to v0.6.2 by @TalweSingh in #158
- Bump grpc-stubs from 1.53.0.2 to 1.53.0.3 by @dependabot in #170
- Bump the optional group with 4 updates by @dependabot in #169
- Bump yoheimuta/action-protolint from 1.0.0 to 1.1.0 by @dependabot in #171
- Bump the optional group with 1 update by @dependabot in #172
- Bump the optional group with 3 updates by @dependabot in #175
- Bump pylint from 2.17.7 to 3.0.2 by @dependabot in #166
- Update frequenz-api-common to v0.5.0 by @tiyash-basu-frequenz in #173
- Bump the optional group with 4 updates by @dependabot in #177
- Add support for filtering metrics in data streams by @tiyash-basu-frequenz in #179
- Return valid-until timestamps from set-power RPCs by @tiyash-basu-frequenz in #183
- Cleanup release notes for v0.16.0 release by @tiyash-basu-frequenz in #185
New Contributors
- @TalweSingh made their first contribution in #158
Full Changelog: v0.15.2...v0.16.0