Skip to content

Commit 77dfd1d

Browse files
committed
Update release notes
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent b36b7e0 commit 77dfd1d

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

RELEASE_NOTES.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,20 @@
66

77
## Upgrading
88

9-
<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->
9+
- The old `frequenz.client.common.enum_proto` module is now deprecated, please use `frequenz.client.common.proto.enum_from_proto` instead.
1010

1111
## New Features
1212

13-
<!-- Here goes the main new features and examples or instructions on how to use them -->
13+
- New `frequenz.client.common.common.proto` module with conversion utilities for protobuf types:
14+
- `enum_from_proto()` (moved from `enum_proto).
15+
- `datetime_to_proto()` and `datetime_from_proto()` functions to convert between Python `datetime` and protobuf `Timestamp` (imported from `frequenz-client-base`.
16+
- New `metrics` package compatible with API v0.8, which includes:
17+
- `Metric` enum with all supported metrics.
18+
- `MetricSample` dataclass to represent metric samples.
19+
- `AggregatedMetricValue` dataclass to represent derived statistical summaries.
20+
- `Bounds` dataclass to represent bounds for metrics.
21+
- `MetricConnection` and `MetricConnectionCategory` to represent connections from which metrics are obtained.
22+
- `proto` submodule with conversion functions to/from protobuf types.
1423

1524
## Bug Fixes
1625

0 commit comments

Comments
 (0)