You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,20 @@
6
6
7
7
## Upgrading
8
8
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.
10
10
11
11
## New Features
12
12
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.
0 commit comments