Skip to content

Commit 38625df

Browse files
authored
Clear release notes (#1047)
2 parents 9b36f97 + d441ce0 commit 38625df

File tree

1 file changed

+4
-49
lines changed

1 file changed

+4
-49
lines changed

RELEASE_NOTES.md

Lines changed: 4 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -2,61 +2,16 @@
22

33
## Summary
44

5-
This release makes some breaking changes to the SDK's public interface aimed at improving clarity and correctness. It also includes several bug fixes in core components like the resampler, the power distributor, and the moving window.
5+
<!-- Here goes a general summary of what this release is about -->
66

77
## Upgrading
88

9-
- The `frequenz.sdk.microgrid.*_pool` methods have been renamed to `new_*_pool`, to make it explicit that they create new instances of the pool classes.
10-
- `battery_pool` -> `new_battery_pool`
11-
- `ev_charger_pool` -> `new_ev_charger_pool`
12-
- `pv_pool` -> `new_pv_pool`
13-
14-
- The following component metric streams have been renamed to clarify that they stream per-phase values:
15-
- `frequenz.sdk.microgrid.`
16-
- `voltage` -> `voltage_per_phase`
17-
- `grid.current` -> `grid.current_per_phase`
18-
- `ev_charger_pool.current` -> `ev_charger_pool.current_per_phase`
19-
20-
- Passing a `request_timeout` in calls to `*_pool.propose_power` is no longer supported. It may be specified at application startup, through the new optional `api_power_request_timeout` parameter in the `microgrid.initialize()` method.
21-
22-
- Power distribution results are no longer available through the `power_status` streams in the `*Pool`s. They can now be accessed as a stream from a separate property `power_distribution_results`, which is available from all the `*Pool`s.
23-
24-
- The `ConfigManagingActor` now uses `collections.abc.Mapping` as the output sender type. This change indicates that the broadcasted configuration is intended to be read-only.
25-
26-
- The `ConfigManagingActor` has moved from `frequenz.sdk.actor` to `frequenz.sdk.config`.
27-
28-
- The following core actors are no longer part of the public API:
29-
- `PowerDistributingActor`
30-
- `ComponentMetricsResamplingActor`
31-
- `DataSourcingActor`
32-
33-
- The following two types which are used for communicating with the data sourcing and resampling actors are also no longer part of the public API:
34-
- `ComponentMetricId`
35-
- `ComponentMetricRequest`
36-
37-
- The `ChannelRegistry` is no longer part of the public API.
38-
39-
- The `Result` types for the power distribution results are now exposed through the `frequenz.sdk.microgrid.battery_pool` module.
9+
<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->
4010

4111
## New Features
4212

43-
- Classes `Bounds` and `SystemBounds` now implement the `__contains__` method, allowing the use of the `in` operator to check whether a value falls within the bounds or not.
44-
45-
## Enhancements
46-
47-
- The resampler now shows an error message where it is easier to identify the component and metric when it can't find relevant data for the current resampling window.
13+
<!-- Here goes the main new features and examples or instructions on how to use them -->
4814

4915
## Bug Fixes
5016

51-
- Fixed a typing issue that occurs in some cases when composing formulas with constants.
52-
- Fixed a bug where sending tasks in the data sourcing actor might not have been awaited.
53-
- Updated the logical meter documentation to reflect the latest changes.
54-
- Fixed a bug in the code examples in the getting-started tutorial.
55-
- Fixed a bug in `ConfigManagingActor` that was not properly comparing the event path to the config file path when the config file is a relative path.
56-
- Re-expose `ComponentMetricId` to the docs.
57-
- Fixed typing ambiguities when building composite formulas on streaming data.
58-
- Fixed a bug that was causing the `PowerDistributor` to exit if power requests to PV inverters or EV chargers timeout.
59-
- Fix the handling of canceled tasks in the data sourcing and resampling actor.
60-
- Fix a bug in PV power distribution by excluding inverters that haven't sent any data since startup.
61-
- Prevent stacking of power requests to avoid delays in processing when the power request frequency exceeds the processing time.
62-
- Fixes a bug in the ring buffer in case the updated value is missing and creates a gap in time.
17+
<!-- Here goes notable bug fixes that are worth a special mention or explanation -->

0 commit comments

Comments
 (0)