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
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,18 +29,26 @@
29
29
```
30
30
31
31
* Update `BatteryStatus` to mark battery with unknown capacity as not working (#263)
32
+
32
33
* The channels dependency was updated to v0.14.0 (#292)
34
+
33
35
* Some properties for `PowerDistributingActor` results were renamed to be more consistent between `Success` and `PartialFailure`:
36
+
34
37
* The `Success.used_batteries` property was renamed to `succeeded_batteries`.
35
38
* The `PartialFailure.success_batteries` property was renamed to `succeeded_batteries`.
36
39
* The `succeed_power` property was renamed to `succeeded_power` for both `Success` and `PartialFailure`.
40
+
37
41
* Update `MovingWindow` to accept the `size` parameter as `timedelta` instead of `int` (#269).
38
42
This change allows users to define the time span of the moving window more intuitively, representing the duration over which samples will be stored.
43
+
39
44
* Add a resampler in the `MovingWindow` to control the granularity of the samples to be stored in the underlying buffer (#269).
40
45
Notice that the parameter `sampling_period` has been renamed to `input_sampling_period`
41
46
to better distinguish it from the sampling period parameter in the resampler.
47
+
42
48
* The serialization feature for the ringbuffer was made more flexible. The `dump` and `load` methods can now work directly with a ringbuffer instance.
49
+
43
50
* The `ResamplerConfig` now takes the resampling period as a `timedelta`. The configuration was renamed from `resampling_period_s` to `resampling_period` accordingly.
51
+
44
52
* The `SourceProperties` of the resampler now uses a `timedelta` for the input sampling period. The attribute was renamed from `sampling_period_s` to `sampling_period` accordingly.
45
53
46
54
## New Features
@@ -64,4 +72,5 @@
64
72
## Bug Fixes
65
73
66
74
* Change `PowerDistributor` to use all batteries when none are working (#258)
75
+
67
76
* Update the ordered ring buffer to fix the `len()` function so that it returns a value equal to or greater than zero, as expected (#274)
0 commit comments