v1.0.0-rc1000
Pre-release
Pre-release
·
517 commits
to v1.x.x
since this release
Frequenz Python SDK Release Notes
Summary
The SDK starts using the frequenz-quantities package with this release.
A new method for streaming reactive power at the grid connection point has been added, and the ConfigManagingActor has been improved.
Upgrading
- Replace
Quantityand its sub-classes (Power,Current, etc.) in thefrequenz.sdk.timeseriesmodule with the externalfrequenz-quantitiespackage. Please add the new library as a dependency and adapt your imports if you are using these types. - The
QuantityThas been moved to thefrequenz.sdk.timeseries._base_typesmodule. - The
QuantityTdoesn't include itself (QuantityT) anymore.
New Features
-
ConfigManagingActor: The file polling mechanism is now forced by default. Two new parameters have been added:force_polling: Whether to force file polling to check for changes. Default isTrue.polling_interval: The interval to check for changes. Only relevant if polling is enabled. Default is 1 second.
-
Add a new method
microgrid.grid().reactive_powerto stream reactive power at the grid connection point.
Bug Fixes
- Many long running async tasks including metric streamers in the BatteryPool now have automatic recovery in case of exceptions.
What's Changed
- Prepare release notes for rc901 by @llucax in #1076
- Clear release notes by @llucax in #1077
- Add polling parameters to ConfigManagingActor by @daniel-zullo-frequenz in #1082
- Remove redundant check in BatteryPool tests by @ela-kotulska-frequenz in #1085
- Improve resiliency of long-running async tasks by @shsms in #1081
- Clean some duplicated and unused code by @llucax in #1088
- Use frequenz-quantities library by @ela-kotulska-frequenz in #1087
- Implement GridReactivePowerFormula by @ela-kotulska-frequenz in #1086
- Prepare for v1.0.0-rc1000 by @shsms in #1089
Full Changelog: v1.0.0-rc901...v1.0.0-rc1000