v1.0.0-rc1100
Pre-release
Pre-release
·
483 commits
to v1.x.x
since this release
Frequenz Python SDK Release Notes
Summary
This release focus on improving the config management, but also introduces other minor improvements and fixes an important bug.
Upgrading
-
The
ConfigManagingActornow takes multiple configuration files as input, and the argument was renamed fromconfig_filetoconfig_files. If you are using this actor, please update your code. For example:# Old actor = ConfigManagingActor(config_file="config.toml") # New actor = ConfigManagingActor(config_files=["config.toml"])
-
The
MovingWindownow take all arguments as keyword-only to avoid mistakes. -
The
frequenz-quantitiesdependency was bumped to1.0.0rc3. -
The
ComponentMetricsRequestnow produces a channel name without thestart_dateif thestart_dateisNone. If you are somehow relying on the old behavior, please update your code.
New Features
- The
ConfigManagingActorcan now take multiple configuration files as input, allowing to override default configurations with custom configurations. - A new
frequenz.sdk.config.load_config()function is available to load configurations usingmarshmallow_dataclasses with correct type hints. - Implement and standardize logging configuration with the following changes:
- Add
LoggerConfigandLoggingConfigto standardize logging configuration. - Create
LoggingConfigUpdaterto handle runtime config updates. - Support individual log level settings for each module.
- Add
Bug Fixes
- Fixes an issue where PV and EV system bounds were not available to the Power Manager sometimes when requested after startup.
What's Changed
- Clear release notes by @shsms in #1090
- config: Allow reading from multiple files by @llucax in #1091
- Store the original
ComponentandConnectionin the component graph by @llucax in #1093 - Bump the required group across 1 directory with 12 updates by @dependabot in #1094
- Implement and standardize logging configuration via config file by @ela-kotulska-frequenz in #1095
- Bump dependency to 1.0.0rc3 by @ela-kotulska-frequenz in #1096
- Add a function to load configurations with correct type hints by @llucax in #1097
- Improve
ComponentMetricsRequestdocumentation by @llucax in #1092 - Update bound-streaming channels to resend latest to new receivers by @shsms in #1098
- Prepare release notes for rc1100 by @llucax in #1099
Full Changelog: v1.0.0-rc1000...v1.0.0-rc1100