v1.3.0
Frequenz channels Release Notes
New Features
-
There is a new
Receiver.triggered
method that can be used instead ofselected_from
:async for selected in select(recv1, recv2): if recv1.triggered(selected): print('Received from recv1:', selected.message) if recv2.triggered(selected): print('Received from recv2:', selected.message)
Receiver.filter()
can now properly handleTypeGuard
s. The resulting receiver will now have the narrowed type when aTypeGuard
is used.
Bug Fixes
- Fixed a memory leak in the timer.
What's Changed
- Clear release notes by @llucax in #325
- Fix file watcher integration tests by @llucax in #326
- Bump the required group with 8 updates by @dependabot in #327
- Bump mkdocs-include-markdown-plugin from 6.2.2 to 7.0.0 by @dependabot in #331
- Add a
Receiver.triggered
method by @shsms in #328 - Handle type guards properly in
Receiver.filter()
by @llucax in #332 - Prepare release notes for v1.3.0 by @llucax in #333
- Fix memory leak in the timer by @shsms in #334
- Prepare for v1.2.1 by @shsms in #335
- Merge v1.2.1 into v1.x.x by @llucax in #336
Full Changelog: v1.2.0...v1.3.0