v1.8.0
Frequenz channels Release Notes
Summary
This release focuses on improving async patterns and flexibility in the channel's library.
Upgrading
-
Some minimal dependencies have been bumped, so you might need to adjust your dependencies accordingly.
-
BroadcastandAnycastchannels methodclose()was renamed toaclose()to follow Python's convention. With this change now channels can be used with theaclosing()context manager for example.The name
close()is still available for backwards compatibility, but it will be removed in the next major release, so it is recommended to switch toaclose().
New Features
- Add a new
OptionalReceiverclass that wraps an optional underlying receiver, allowing for indefinite waiting when no receiver is set. - Improve documentation of the
frequenz.channels.experimental.Pipe
What's Changed
- Clear release notes by @shsms in #404
- Bump the patch group with 2 updates by @dependabot in #400
- Bump flake8 from 7.1.2 to 7.2.0 in the minor group by @dependabot in #401
- Bump pydoclint from 0.6.0 to 0.6.4 by @dependabot in #402
- Update to repo-config v0.13 by @llucax in #398
- Bump the repo-config group with 2 updates by @dependabot in #392
- Bump the mkdocstrings group with 2 updates by @dependabot in #393
- Bump hypothesis from 6.130.6 to 6.130.10 in the patch group by @dependabot in #406
- Rename
close()toaclose()inBroadcastandAnycastby @llucax in #408 - Update docs and add link to experimental package guidelines by @llucax in #410
- Add OptionalReceiver for handling unset receivers by @ela-kotulska-frequenz in #409
- Improve documentation of the
frequenz.channels.experimental.Pipeby @ela-kotulska-frequenz in #407 - Prepare release notes for the release by @ela-kotulska-frequenz in #412
Full Changelog: v1.7.0...v1.8.0