Immutable
release. Only release title and notes can be modified.
Frequenz Client Common Library Release Notes
Summary
This breaking release removes deprecated compatibility modules and symbols, and implicit enum conversions.
Upgrading
Note
We recommend upgrading first to v0.3.8 and remove all deprecation warnings (and implicit conversions of enum values to protobuf messages) before upgrading to v0.4.0.
By doing so you'll be guided by the deprecation warnings and when you are done, upgrading to v0.4.0 should imply not extra work.
- Passing enum values directly to build protobuf messages is not longer supported, you need to call the conversion functions
xxx_(from|to)_proto_v1alpha8()explicitly. - Replace
frequenz.client.common.metric.Metricwithfrequenz.client.common.metrics.Metric. - Replace
frequenz.client.common.microgrid.componentsimports withfrequenz.client.common.microgrid.electrical_componentsimports. - Replace
frequenz.client.common.enum_proto.enum_from_protowithfrequenz.client.common.proto.enum_from_proto. - Replace
frequenz.client.common.metrics.protoconversion imports withfrequenz.client.common.metrics.proto.v1alpha8imports. - Replace
PaginationInfo.from_proto(),PaginationInfo.to_proto(), andPaginationInfo.to_proto_v1alpha8()withfrequenz.client.common.pagination.proto.v1alpha8conversion functions. - Replace
frequenz.client.common.pagination.Infowithfrequenz.client.common.pagination.PaginationInfo. - Use API-provided
v1alpha8pagination protobuf messages directly instead offrequenz.client.common.pagination.Params.
What's Changed
- Merge tag 'v0.3.8' into 'v0.x.x' by @llucax in #195
- Remove deprecated symbols by @llucax in #196
- Prepare release notes for release v0.4.0 by @llucax in #199
Full Changelog: v0.3.8...v0.4.0