Skip to content

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 27 May 10:28
· 82 commits to v0.x.x since this release
v0.8.0
f2846aa

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 the frequenz.client.microgrid.id module. They will be moved again, to frequenz-client-common in a near future.

New Features

  • The MicrogridApiClient can 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 to None in that case.
  • The client now does some missing cleanup (stopping background tasks) when disconnecting (and when used as a context manager).

What's Changed

Full Changelog: v0.7.0...v0.8.0