Skip to content

Commit 89888c9

Browse files
Update RELEASE_NOTES and README (#46)
2 parents 1a685f5 + 337778e commit 89888c9

File tree

2 files changed

+36
-28
lines changed

2 files changed

+36
-28
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ Contributing
1313

1414
If you want to know how to build this project and contribute to it, please
1515
check out the [Contributing
16-
Guide](https://github.com/frequenz-floss/frequenz-api-microgrid/CONTRIBUTING.md).
16+
Guide](https://github.com/frequenz-floss/frequenz-api-microgrid/blob/v0.x.x/CONTRIBUTING.md).

RELEASE_NOTES.md

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,65 @@
22

33
## Summary
44

5-
<!-- Here goes a general summary of what this release is about -->
5+
This release introduces a few breaking changes to the API. The changes consist
6+
of renaming RPCs, removing deprecated code, and introducing new features.
7+
Please refer to the following sections for details.
68

79
## Upgrading
810

9-
<!-- Here goes notes on how to upgrade from previous versions, including if there are any deprecations and what they should be replaced with -->
11+
* [Renamed RPCs](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/43)
12+
13+
The following RPC has been renamed to make their objectives clearer:
14+
* `GetMetadata` -> `GetMicrogridMetadata`
15+
* `GetComponentData` -> `StreamComponentData`
16+
17+
* [Removed deprecated code](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/44)
18+
19+
The following deprecated code has been removed:
20+
* The `COMPONENT_CATEGORY_LOAD` variant from the `ComponentCategory` enum.
21+
* The `COMPONENT_CATEGORY_JUNCTION` variant from the `ComponentCategory` enum.
22+
* The RPCs `Charge` and `Discharge`, in favour of RPC `SetPowerActive`.
23+
* The RPC `SetBounds`, in favour of RPCs `AddExclusiveBounds` and
24+
`AddInclusiveBounds`.
25+
26+
This removal also includes code that has been deprecated after the last major
27+
release. The reason to remove these deprecations now is to have a leaner API
28+
earlier, since we are already on the way for a major release now.
1029

1130
## New Features
1231

13-
* [Added new RPC to return the microgrid metadata](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/30).
32+
* [Added new RPC to return the microgrid metadata](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/30)
33+
1434
The microgrid metadata consists of information about the overall microgrid,
1535
as opposed to its components, e.g., the microgrid ID, location, etc.
1636
This change adds a new RPC `GetMicrogridMetadata()` that allows users to fetch
1737
microgrid metadata. The returned value is an instance of the message
1838
`MicrogridMetadata`.
1939

20-
Further changes were introduced to this addition in [this PR](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/43).
40+
Further changes were introduced to this addition in PR [#43](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/43).
41+
42+
* [Added enum variants for setting bounds on currents](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/33)
2143

22-
* [Added enum variants for setting bounds on currents](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/33).
2344
This will allow clients to set bounds on a components
2445
1. DC electrical current,
2546
2. total AC electrical current,
2647
3. per-phase AC electrical currents.
2748

28-
* [Add RPC to set active power using a signed integer](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/35).
49+
* [Add RPC to set active power using a signed integer](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/35)
50+
2951
While reading power values, the passive sign convention is followed
3052
(-ve for production, and +ve for consumption). This new method allows setting
3153
active power values in the same convention, making the API more consistent.
3254

33-
* [Introduced component category-specific metadata](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/36).
55+
* [Introduced component category-specific metadata](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/36)
56+
3457
This metadata is returned in response to `ListComponents` calls,
3558
in a new message variable `Component.metadata`.
3659
This is a more general way of representing category-specific metadata,
3760
like category-type, and removes `Component.type`.
3861

39-
* [Introduced grid max-current](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/38).
62+
* [Introduced grid max-current](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/38)
63+
4064
This change introduces a `grid.Metadata` message, which contains the item
4165
`rated_fuse_current`. This is the rating of the fuse at the grid connection
4266
point.
@@ -45,7 +69,8 @@
4569
The current _i_ A at the grid connection point must comply with the
4670
following constraint: : `-rated_fuse_current <= i <= rated_fuse_current`
4771

48-
* [Introduced exclusion bounds](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/39).
72+
* [Introduced exclusion bounds](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/39)
73+
4974
In the messages `common.Metric` and `common.MetricAggregation`,
5075
`system_bounds` has now been replaced by `system_exclusion_bounds` and
5176
`system_inclusion_bounds`. A metric's `value` now has to comply with the
@@ -87,23 +112,6 @@
87112

88113
The RPC `SetBounds` has been deprecated.
89114

90-
* [Renamed RPCs](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/43).
91-
The following RPC has been renamed to make their objectives clearer:
92-
* `GetMetadata` -> `GetMicrogridMetadata`
93-
* `GetComponentData` -> `StreamComponentData`
94-
95-
* [Removed deprecated code](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/44)
96-
The following deprecated code has been removed:
97-
* The `COMPONENT_CATEGORY_LOAD` variant from the `ComponentCategory` enum.
98-
* The `COMPONENT_CATEGORY_JUNCTION` variant from the `ComponentCategory` enum.
99-
* The RPCs `Charge` and `Discharge`, in favour of RPC `SetPowerActive`.
100-
* The RPC `SetBounds`, in favour of RPCs `AddExclusiveBounds` and
101-
`AddInclusiveBounds`.
102-
103-
This removal also includes code that has been deprecated after the last major
104-
release. The reason to remove these deprecations now is to have a leaner API
105-
earlier, since we are already on the way for a major release now.
106-
107115
## Bug Fixes
108116

109-
<!-- Here goes notable bug fixes that are worth a special mention or explanation -->
117+
None

0 commit comments

Comments
 (0)