-
Notifications
You must be signed in to change notification settings - Fork 20
Reset release notes #1225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reset release notes #1225
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,9 +1,17 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||
| # Frequenz Python SDK Release Notes | ||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
| ## Summary | ||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
| <!-- Here goes a general summary of what this release is about --> | ||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
| ## Upgrading | ||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
| <!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with --> | ||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+9
to
+10
|
||||||||||||||||||||||||||||||||||||||||||||||||
| <!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with --> | |
| This release introduces the following changes that may require action when upgrading: | |
| 1. **Breaking Change:** The `old_function` has been removed. Replace it with `new_function` as follows: | |
| ```python | |
| # Before | |
| result = old_function(arg1, arg2) | |
| # After | |
| result = new_function(arg1, arg2) |
-
Deprecated Feature: The
deprecated_featureis now deprecated and will be removed in a future release. Usereplacement_featureinstead:# Before deprecated_feature.do_something() # After replacement_feature.do_something()
-
Configuration Update: Update your configuration file to include the new
config_option:# Add this to your configuration config_option: true
Please review the documentation for more details on these changes.
Copilot
AI
May 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
List each new feature with a brief description and example usage to help users adopt them quickly.
| <!-- Here goes the main new features and examples or instructions on how to use them --> | |
| - **Feature 1: Enhanced Logging System** | |
| - Description: The logging system now supports structured logging with JSON format. | |
| - Example: | |
| ```python | |
| import logging | |
| from frequenz.sdk import setup_logging | |
| setup_logging(format="json") | |
| logger = logging.getLogger("example") | |
| logger.info("This is a structured log message", extra={"key": "value"}) | |
| ``` | |
| - **Feature 2: Improved Data Processing Pipeline** | |
| - Description: The data processing pipeline now includes a new filtering mechanism for outlier detection. | |
| - Example: | |
| ```python | |
| from frequenz.sdk import DataPipeline | |
| pipeline = DataPipeline() | |
| pipeline.add_outlier_filter(threshold=3.0) | |
| processed_data = pipeline.process(raw_data) | |
| ``` |
Copilot
AI
May 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Detail the most impactful bug fixes, including context on the issue and how it was resolved.
| <!-- Here goes notable bug fixes that are worth a special mention or explanation --> | |
| - **Fixed memory leak in data processing module**: Resolved an issue where the data processing module failed to release memory after completing tasks, leading to increased memory usage over time. The issue was caused by unclosed file handles, which have now been properly managed to ensure memory is released as expected. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace this placeholder with a concise summary of the key improvements and focus areas in this release.