aiostream icon indicating copy to clipboard operation
aiostream copied to clipboard

Release version 1.0

Open vxgmichel opened this issue 5 years ago • 3 comments

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 buffer operator 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:

  • zip operator is replaced with sequentialzip and concurrentzip
  • map operator is replaced with sequentialmap and concurrentmap
  • starmap operator is replaced with sequentialstarmap and concurrentstarmap

Addition:

  • buffer operator
  • force_sync and force_async helpers

vxgmichel avatar Feb 12 '20 12:02 vxgmichel

Coverage Status

Coverage remained the same at 100.0% when pulling 149e985587dcb42bf1a6bc6e657e7dc4c9853466 on v1 into 5e3a1735cafae570eaab3dcc4e9c922509a2ebca on master.

coveralls avatar Feb 12 '20 12:02 coveralls

@vxgmichel btw anyio dropped support for curio in v3

graingert avatar May 26 '21 13:05 graingert

@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

vxgmichel avatar May 26 '21 14:05 vxgmichel

Not happening in its current state.

vxgmichel avatar Sep 26 '23 08:09 vxgmichel