Frequenz channels Release Notes
Summary
This release introduces the experimental GroupingLatestValueCache and includes a couple of bug fixes.
New Features
- This release introduces the experimental GroupingLatestValueCache. It is similar to theLatestValueCache, but accepts an additional key-function as an argument, which takes each incoming message and returns a key for that message. The latest value received for each unique key gets cached and is available to look up on-demand through acollections.abc.Mappinginterface.
Bug Fixes
- 
Any open calls to NopReceiver.ready()now return as soon as the receiver is closed.
- 
The __str__representation of broadcast receivers now include the receiver's name.
What's Changed
- Clear release notes by @shsms in #421
- Bump the minor group with 3 updates by @dependabot in #423
- Bump the patch group with 6 updates by @dependabot in #422
- Support grouping by keys in LatestValueCacheby @shsms in #424
- LatestValueCache: Expose keys for which messages have been received by @shsms in #425
- Implement the experimental GroupingLatestValueCacheby @shsms in #428
- Fix NopReceiver.ready() to properly terminate when receiver is closed. by @ela-kotulska-frequenz in #427
- Use asyncio.Event instead of asyncio.Future in NopReceiver by @ela-kotulska-frequenz in #429
- Implement the Mappinginterface forGroupingLatestValueCacheby @shsms in #430
- Improve GroupingLatestValueCacheby @llucax in #433
- Bump pytest-asyncio from 0.26.0 to 1.0.0 by @dependabot in #436
- Update watchfiles requirement from <1.1.0,>=0.15.0 to >=0.15.0,<1.2.0 by @dependabot in #437
- Bump the patch group with 7 updates by @dependabot in #434
- Include receiver name in its string representation by @shsms in #439
- Prepare for release of v1.10 by @shsms in #440
Full Changelog: v1.9.0...v1.10.0