aiostream
aiostream copied to clipboard
Release version 1.0
The version 1.0 of aiostream provides support for trio and curio, but also introduces breaking changes.
I want to use this opportunity to push more breaking changes, things that I had in mind and that I kept postponing.
TODO list:
- [x] Trio ~and curio~ support (PR #58)
- [ ] Separate concurrent from sequential operators
- [ ] Change the detection of asynchronous function (issue #53)
- [ ] Implement
bufferoperator and document backpressure handling - [ ] Document the breaking changes and add a porting section to the documentation
Breaking changes:
- Stream can no longer be iterated out of context
- Awaitable objects produced by a sync function are now awaited
Deprecation:
zipoperator is replaced withsequentialzipandconcurrentzipmapoperator is replaced withsequentialmapandconcurrentmapstarmapoperator is replaced withsequentialstarmapandconcurrentstarmap
Addition:
bufferoperatorforce_syncandforce_asynchelpers
Coverage remained the same at 100.0% when pulling 149e985587dcb42bf1a6bc6e657e7dc4c9853466 on v1 into 5e3a1735cafae570eaab3dcc4e9c922509a2ebca on master.
@vxgmichel btw anyio dropped support for curio in v3
@graingert Right, thanks for the info! So before implementing the rest of the task list, we'll first have to:
- migrate to anyio v3
- drop curio support
- solve the conflicts
Not happening in its current state.