v0.8.0
Frequenz Microgrid API Client Release Notes
Summary
This release introduces sensors support and adds official support for Python 3.12. It also includes some bug fixes.
Upgrading
- Some minimum versions of dependencies have been bumped to support Python 3.12. You might also need to bump these dependencies in your project.
- The ID classes (
MicrogridId,ComponentId, etc.) were moved to thefrequenz.client.microgrid.idmodule. They will be moved again, to frequenz-client-common in a near future.
New Features
- The
MicrogridApiClientcan now list sensor retrieving their metadata (list_sensors()) and can stream sensor data (stream_sensor_data()).
Bug Fixes
- When retrieving the microgrid metadata using
metadata(), if the location was empty in the protobuf message, a wrong location with long=0, lat=0 was used. Now the location will be properly set toNonein that case. - The client now does some missing cleanup (stopping background tasks) when disconnecting (and when used as a context manager).
What's Changed
- Exclude repo-config from dependabot grouping by @llucax in #125
- Update protobuf requirement from <6,>=4.21.6 to >=4.21.6,<7 by @dependabot in #129
- Bump setuptools from 75.8.2 to 78.1.0 by @dependabot in #130
- Bump the required group with 6 updates by @dependabot in #126
- Bump types-protobuf from 5.29.1.20250208 to 5.29.1.20250315 by @dependabot in #128
- Bump types-markdown from 3.7.0.20241204 to 3.7.0.20250322 by @dependabot in #127
- Clear release notes by @llucax in #124
- Update to repo-config v0.13 by @llucax in #132
- Bump the patch group with 2 updates by @dependabot in #133
- Bump pydoclint from 0.6.2 to 0.6.4 by @dependabot in #135
- Bump flake8 from 7.1.2 to 7.2.0 in the minor group by @dependabot in #134
- Bump grpc-stubs from 1.53.0.5 to 1.53.0.6 by @dependabot in #142
- Bump types-protobuf from 5.29.1.20250315 to 5.29.1.20250403 by @dependabot in #141
- Bump pydoclint from 0.6.4 to 0.6.6 by @dependabot in #139
- Bump setuptools from 78.1.0 to 80.1.0 by @dependabot in #140
- Bump the patch group with 4 updates by @dependabot in #137
- Bump the minor group across 1 directory with 5 updates by @dependabot in #143
- Fix cleanup and missing location metadata by @llucax in #145
- Add sensors listing and data streaming by @llucax in #146
- Fix sensor data streaming without metrics filter by @llucax in #148
- Prepare release notes for release v0.8.0 by @llucax in #149
Full Changelog: v0.7.0...v0.8.0