Skip to content

Commit d946c94

Browse files
committed
Update release notes
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent b7222ed commit d946c94

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

RELEASE_NOTES.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,19 @@
4444

4545
- Support classes are no longer nested inside `FileWatcher`. They are now top-level classes within the new `frequenz.channels.file_watcher` module (e.g., `frequenz.channels.util.FileWatcher.EventType` -> `frequenz.channels.file_watcher.EventType`, `frequenz.channels.util.FileWatcher.Event` -> `frequenz.channels.file_watcher.Event`).
4646

47+
* `Receiver`
48+
49+
- The `map()` function now takes a positional-only argument, if you were using `receiver.map(call=fun)` you should replace it with `receiver.map(func)`.
50+
51+
* `Selected`
52+
53+
- The `value` property was renamed to `message`.
54+
- `was_stopped` is now a property, you need to replace `selected.was_stopped()` with `selected.was_stopped`.
55+
56+
* `Sender`
57+
58+
- The `send` method now takes a positional-only argument, if you were using `sender.send(msg=message)` you should replace it with `sender.send(message)`.
59+
4760
* `Timer` and support classes
4861

4962
- Moved from `frequenz.channels.util` to `frequenz.channels.timer`.

0 commit comments

Comments
 (0)