Skip to content

Commit 267600b

Browse files
committed
Clear release notes
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent b3c98e5 commit 267600b

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

RELEASE_NOTES.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
# Frequenz channels Release Notes
22

3-
## New Features
3+
## Summary
4+
5+
<!-- Here goes a general summary of what this release is about -->
46

5-
- There is a new `Receiver.triggered` method that can be used instead of `selected_from`:
7+
## Upgrading
68

7-
```python
8-
async for selected in select(recv1, recv2):
9-
if recv1.triggered(selected):
10-
print('Received from recv1:', selected.message)
11-
if recv2.triggered(selected):
12-
print('Received from recv2:', selected.message)
13-
```
9+
<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->
10+
11+
## New Features
1412

15-
* `Receiver.filter()` can now properly handle `TypeGuard`s. The resulting receiver will now have the narrowed type when a `TypeGuard` is used.
13+
<!-- Here goes the main new features and examples or instructions on how to use them -->
1614

1715
## Bug Fixes
1816

19-
- Fixed a memory leak in the timer.
17+
<!-- Here goes notable bug fixes that are worth a special mention or explanation -->

0 commit comments

Comments
 (0)