Skip to content

Commit 7c4e6c7

Browse files
authored
Widen frequenz-sdk dependency to v1.0.0-rc1800 (#109)
2 parents 7c219ac + 62916b3 commit 7c4e6c7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

RELEASE_NOTES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ This release introduces a more flexible and powerful mechanism for managing disp
1717
* Refer to the updated [usage example](https://frequenz-floss.github.io/frequenz-dispatch-python/latest/reference/frequenz/dispatch/#frequenz.dispatch.DispatchActorsService) for more information.
1818
* `DispatchUpdate` was renamed to `DispatchInfo`.
1919

20+
2021
## New Features
2122

2223
* A new feature "merge strategy" (`MergeByType`, `MergeByTypeTarget`) has been added to the `Dispatcher.new_running_state_event_receiver` method. Using it, you can automatically merge consecutive and overlapping dispatch start/stop events of the same type. E.g. dispatch `A` starting at 10:10 and ending at 10:30 and dispatch `B` starts at 10:30 until 11:00, with the feature enabled this would in total trigger one start event, one reconfigure event at 10:30 and one stop event at 11:00.
23-
* The SDK dependency was widened to allow versions up to (excluding) v1.0.0-rc1600.
24+
* The SDK dependency was widened to allow versions up to (excluding) v1.0.0-rc1800.
2425
* Actor management with dispatches has been simplified. Calling `Dispatcher.start_dispatching(dispatch_type, actor_factory, merge_strategy)` will begin managing your actor for the given type and merge strategy. All you need provide is an actor factory. To stop dispatching for your type, call `Dispatcher.stop_dispatching(dispatch_type)`.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies = [
3838
# Make sure to update the version for cross-referencing also in the
3939
# mkdocs.yml file when changing the version here (look for the config key
4040
# plugins.mkdocstrings.handlers.python.import)
41-
"frequenz-sdk >= 1.0.0-rc1302, < 1.0.0-rc1600",
41+
"frequenz-sdk >= 1.0.0-rc1302, < 1.0.0-rc1800",
4242
"frequenz-channels >= 1.6.1, < 2.0.0",
4343
"frequenz-client-dispatch >= 0.8.4, < 0.9.0",
4444
]
@@ -52,7 +52,7 @@ email = "[email protected]"
5252
dev-flake8 = [
5353
"flake8 == 7.1.1",
5454
"flake8-docstrings == 1.7.0",
55-
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
55+
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
5656
"pydoclint == 0.6.0",
5757
"pydocstyle == 6.3.0",
5858
]

0 commit comments

Comments
 (0)