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
+42-43Lines changed: 42 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,50 +8,49 @@
8
8
9
9
- Removed:
10
10
11
-
+`microgrid.components.ComponentStatus`, use `microgrid.electrical_components.ElectricalComponentControlMode` instead
12
-
+`ComponentErrorCode.UNDERVOLTAGE_SHUTDOWN`, use `ElectricalComponentDiagnosticCode.UNDERVOLTAGE` instead
13
-
+`microgrid.sensors.SensorMetric`, use `metrics.Metric` instead
14
-
+`microgrid.sensors.SensorMetricSample`, use `metrics.MetricSample` instead
15
-
+`microgrid.sensors.SensorCategory`, since it was not useful and potentially confusing
16
-
17
-
Sensors can report different sensor metrics, and they could belong to several of these categories simultaneously. This defeats the purpose of having singular categories for sensors. Some more useful categorization may be introduced again in the future.
11
+
-`microgrid.components.ComponentStatus`, use `microgrid.electrical_components.ElectricalComponentControlMode` instead
12
+
-`ComponentErrorCode.UNDERVOLTAGE_SHUTDOWN`, use `ElectricalComponentDiagnosticCode.UNDERVOLTAGE` instead
13
+
-`microgrid.sensors.SensorMetric`, use `metrics.Metric` instead
14
+
-`microgrid.sensors.SensorMetricSample`, use `metrics.MetricSample` instead
15
+
-`microgrid.sensors.SensorCategory`, since it was not useful and potentially confusing.
16
+
Sensors can report different sensor metrics, and they could belong to several of these categories simultaneously. This defeats the purpose of having singular categories for sensors. Some more useful categorization may be introduced again in the future.
18
17
19
18
- Renamed several symbols to increase consistency and clarity:
20
19
21
-
+`microgrid.components`:
20
+
-`microgrid.components`:
22
21
23
-
* The whole package and all proto files, messages, field, enums were renamed to `electrical_components`
24
-
* `ComponentCategoryMetadataVariant` to `ElectricalComponentCategorySpecificInfo`
25
-
* `Component.category_type` to `ElectricalComponent.category_specific_info`
26
-
* `ComponentCategoryMetadataVariant.metadata` to `ElectricalComponentCategorySpecificInfo.kind`
27
-
* `ComponentErrorCode` to `ElectricalComponentDiagnosticCode`
28
-
* `ComponentState` to `ElectricalComponentStateSnapshot`
29
-
* `ComponentState.sampled_at` to `ElectricalComponentStateSnapshot.origin_time`
30
-
* `ComponentData` to `ElectricalComponentTelemetry` (to better specify its purpose of encapsulating general telemetry data from electrical components)
31
-
* Grid-related terms to clarify their meaning and purpose:
22
+
- The whole package and all proto files, messages, field, enums were renamed to `electrical_components`
23
+
-`ComponentCategoryMetadataVariant` to `ElectricalComponentCategorySpecificInfo`
24
+
-`Component.category_type` to `ElectricalComponent.category_specific_info`
25
+
-`ComponentCategoryMetadataVariant.metadata` to `ElectricalComponentCategorySpecificInfo.kind`
26
+
-`ComponentErrorCode` to `ElectricalComponentDiagnosticCode`
27
+
-`ComponentState` to `ElectricalComponentStateSnapshot`
28
+
-`ComponentState.sampled_at` to `ElectricalComponentStateSnapshot.origin_time`
29
+
-`ComponentData` to `ElectricalComponentTelemetry` (to better specify its purpose of encapsulating general telemetry data from electrical components)
30
+
- Grid-related terms to clarify their meaning and purpose:
32
31
33
-
+ `COMPONENT_CATEGORY_GRID` to `ELECTRICAL_COMPONENT_CATEGORY_GRID_CONNECTION_POINT`
34
-
+ `ComponentCategoryMetadataVariant.metadata.grid` to `ElectricalComponentCategorySpecificInfo.kind.grid_connection_point`
32
+
-`COMPONENT_CATEGORY_GRID` to `ELECTRICAL_COMPONENT_CATEGORY_GRID_CONNECTION_POINT`
33
+
-`ComponentCategoryMetadataVariant.metadata.grid` to `ElectricalComponentCategorySpecificInfo.kind.grid_connection_point`
35
34
36
-
+`microgrid.sensors`:
35
+
-`microgrid.sensors`:
37
36
38
-
*`SensorErrorCode` to `SensorDiagnosticCode`
39
-
*`SensorData` to `SensorTelemetry` (to better specify its purpose of encapsulating general telemetry data from sensors)
40
-
*`SensorState` to `SensorStateSnapshot`
41
-
*`SensorState.sampled_at` to `SensorStateSnapshot.origin_time`
42
-
*`SensorStateCode.SENSOR_STATE_CODE_ON` to `SensorStateCode.SENSOR_STATE_CODE_OK` (to better indicate that we do not control on/off state of sensors)
37
+
-`SensorErrorCode` to `SensorDiagnosticCode`
38
+
-`SensorData` to `SensorTelemetry` (to better specify its purpose of encapsulating general telemetry data from sensors)
39
+
-`SensorState` to `SensorStateSnapshot`
40
+
-`SensorState.sampled_at` to `SensorStateSnapshot.origin_time`
41
+
-`SensorStateCode.SENSOR_STATE_CODE_ON` to `SensorStateCode.SENSOR_STATE_CODE_OK` (to better indicate that we do not control on/off state of sensors)
43
42
44
-
+`metrics`:
43
+
-`metrics`:
45
44
46
-
* The file `metric_sample.proto` to `metrics.proto`
47
-
*`MetricSample.source` to `MetricSample.connection`
48
-
*`MetricSample.sampled_at` to `sample_time`
45
+
- The file `metric_sample.proto` to `metrics.proto`
46
+
-`MetricSample.source` to `MetricSample.connection`
47
+
-`MetricSample.sampled_at` to `sample_time`
49
48
50
49
- Renumbered some enum values to remove unnecessary gaps:
- The minimum allowed version of `protobuf` and `grpcio` has been updated to 6.31.1 and 1.72.1 respectively, you might also need to bump your dependencies accordingly.
57
56
@@ -61,30 +60,30 @@ Added many new messages and enum values:
61
60
62
61
-`microgrid.communication_components`: Package with message definitions for communication components
63
62
64
-
+`CommunicationComponentDiagnostic`: Message to represent warnings and errors in microgrid communication components
65
-
+`CommunicationComponentStateSnapshot`: Message to represent the state of communication components
63
+
-`CommunicationComponentDiagnostic`: Message to represent warnings and errors in microgrid communication components
64
+
-`CommunicationComponentStateSnapshot`: Message to represent the state of communication components
0 commit comments