v0.12.0 #80
v0.12.0
#80
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Release Notes
Summary
The project has a new home!
https://frequenz-floss.github.io/frequenz-sdk-python/
For now the documentation is pretty scarce but we will be improving it with
time.
The most prominent changes in this release is the cleanup of the public API,
which is much more concise and clear now and the addition of classes
implementing the new data flow design, in particular the
DataSourcingActor
and the
ComponentMetricsResamplingActor
.Upgrading
EVChargerData
'sactive_power_consumption
has been renamed toactive_power
PowerDistributor
- type ofRequest
'srequest_timeout_sec
has been changed fromint
tofloat
ComponentCategory.LOAD
has been addedThe
frequenz-channels
was upgraded to
v0.11.0
which includes a bunch of breaking
changes
you should be aware of.
The public API has been cleaned up, several symbols were moved or exposed in
a single module, and some symbols were hidden because they are either
schedule for deprecation or not yet stabilized.
frequenz.sdk.actor
: Thedecorator
sub-module was hidden and now the@actor
decorator is exposed directly only in the main module.frequenz.sdk.configs
: was renamed tofrequenz.sdk.config
,Config
isonly exposed in the main module and the
ConfigManager
was moved tofrequenz.sdk.actor.ConfigManagingActor
.The modules
frequenz.sdk.data_handling
andfrequenz.sdk.data_ingestion
were hidden from the public interface and will probably be removed in the
future. They are still available as
frequenz.sdk._data_handling
andfrequenz.sdk._data_ingestion
for users still needing them.The module
frequenz.sdk.power_distribution
was renamed tofrequenz.sdk.power
and thePowerDistributor
was moved tofrequenz.sdk.actor.power_distributing.PowerDistributingActor
(with theutility classes
Request
andResult
).The module
frequenz.sdk.microgrid
was simplified.All component-related symbols (
.component
,.component_data
,.component_states
) were moved to the sub-modulefrequenz.sdk.microgrid.component
.All API client-related symbols (
.client
,.connection
,.retry
) weremoved to the sub-module
frequenz.sdk.microgrid.client
.The
ComponentGraph
is exposed directly in the main module (and onlythere).
The
microgrid_api
module is now exposed via the main module directly(and thus indirectly renamed to
microgrid
, so instead of usingfrom frequenz.sdk.microgrid import microgrid_api; microgrid_api.initialize()
(for example) you should use
from frequenz.sdk.microgrid import microgridi; microgrid.initialize()
.The
MicrogridApi
class was renamed toMicrogrid
to make it clear itis not exclusively about the API.
The
Microgrid.microgrid_api_client
attribute was renamed toMicrogrid.api_client
to avoid the redundancy.New Features
MeterData
objects now expose the ACfrequency
measured by the meter.BatteryData
objects now expose the temperature of the hottest block in thebattery as
temperature_max
A new
frequenz.sdk.actor.DataSourcingActor
was added.A new
frequenz.sdk.actor.ComponentMetricsResamplingActor
was added.A new
frequenz.sdk.actor.ChannelRegistry
was added.A new module
frequenz.sdk.timeseries
was added.What's Changed
ComponentData
streams by @shsms in Expose additional fields fromComponentData
streams #75New Contributors
Full Changelog: v0.11.0...v0.12.0
This discussion was created from the release v0.12.0.
Beta Was this translation helpful? Give feedback.
All reactions