Repository navigation
v0.16.0 #123
v0.16.0
#123
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Frequenz Channels Release Notes
Summary
The minimum Python supported version was bumped to 3.11 and the
Selectclass replaced by the newselect()function.Upgrading
The minimum supported Python version was bumped to 3.11, downstream projects will need to upgrade too to use this version.
The
Selectclass was replaced by a newselect()function, with the following improvements:selected_from().This new function is an async iterator, and makes sure no dangling tasks are left behind after a select loop is done.
Example:
New Features
A new
select()function was added, please look at the Upgrading section for details.A new
Eventutility receiver was added.This receiver can be made ready manually. It is mainly useful for testing but can also become handy in scenarios where a simple, on-off signal needs to be sent to a select loop for example.
Example:
The
Timerclass now has more descriptive__str__and__repr__methods.What's Changed
Selectwithselect(), a type-safe async iterator by @leandro-lucarella-frequenz in ReplaceSelectwithselect(), a type-safe async iterator #114New Contributors
Full Changelog: v0.15.1...v0.16.0
This discussion was created from the release v0.16.0.
All reactions