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
-
Frequenz Channels Release Notes
Summary
The minimum Python supported version was bumped to 3.11 and the
Select
class 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
Select
class 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
Event
utility 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
Timer
class now has more descriptive__str__
and__repr__
methods.What's Changed
Select
withselect()
, a type-safe async iterator by @leandro-lucarella-frequenz in ReplaceSelect
withselect()
, 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.
Beta Was this translation helpful? Give feedback.
All reactions