Skip to content

Releases: vxgmichel/aiostream

v0.6.3

08 Oct 11:53
Compare
Choose a tag to compare

What's Changed

  • Add MANIFEST.in to include tests/conftests.py in source dist by @vxgmichel (issue #121, PR #122)

Full Changelog: v0.6.2...v0.6.3

v0.6.2

21 Jul 15:47
Compare
Choose a tag to compare

What's Changed

  • Fixing the issue of the lack of installation sections by @thepapermen in #113
  • Configure pytest test paths so test_utils.py is not mistaken for a test file by @vxgmichel in #117
  • Add strict parameter to stream.zip by @smheidrich in #119

New Contributors

Full Changelog: v0.6.1...v0.6.2

v0.6.1

10 May 11:08
Compare
Choose a tag to compare

Changes:

  • Fix documentation build (42f9119)
  • Expose Stream and sources_operator in the aiostream package (e029efd)

v0.6.0

10 May 10:41
Compare
Choose a tag to compare

Changes:

  • Support python 3.12 (PR #93)
  • Support pyright and improve typing in general (PR #99)
  • Move from setup.* to pyproject.toml (PR #101, #102, #103, #110)
  • Add typing to aiostream.test_utils (PR #104)
  • Make operators a singleton object instead of a class (PR #106)
  • Add sources operator to fix a breaking change in v0.5.x (PR #108, issue #95)

Thanks to @hf-kklein for the valuable contributions :)

v0.5.2

24 Oct 10:09
Compare
Choose a tag to compare

Changes:

  • Properly expose pipe methods in aiostream.pipe (PR #88, issue #87)

Warning

The 0.5.x releases are affected by an unintentional breaking change, see the v0.5.0 release for more information.

v0.5.1

28 Sep 23:01
Compare
Choose a tag to compare

Changes:

  • Expose pipable_operator at package level (46ddb24)
  • Modernize examples (a704e9a)

Warning

The 0.5.x releases are affected by an unintentional breaking change, see the v0.5.0 release for more information.

v0.5.0

26 Sep 08:34
Compare
Choose a tag to compare

Changes:

  • Drop python 3.7 support
  • Add type annotations (issue #36, PR #84)
  • Add task_limit argument to action operator (issue #85, PR #86)

Warning

A breaking change has slipped into this release: The merge, chain and ziplatest operators used to work with no sources provided:

 assert await (stream.merge() | pipe.list()) == []
 assert await (stream.chain() | pipe.list()) == []
 assert await (stream.ziplatest() | pipe.list()) == []

This is no longer the case for releases 0.5.x, where at least one async iterable has to be provided for those operators.
This can be a problem for code that passes an arbitrary list of arguments to the operator, as this list might be empty.
A workaround exists for the merge operator, which works by adding stream.empty() to the list of arguments:

 args = []
 new_args = stream.empty(), *args
 assert await (stream.merge(*new_args) | pipe.list()) == []

The zip operator should have also been affected, although the former version had a bug that caused an empty zip to block indefinitely.

This change has been fixed in v0.6.0

v0.4.5

30 Aug 13:05
Compare
Choose a tag to compare

Build and upload a wheel package to PyPI

v0.4.4

14 Dec 18:22
Compare
Choose a tag to compare
  • Fix confusing traceback when calling wait_stream on a empty stream (issue #76, PR #77)
  • Add support for python 3.10 and drop python 3.6 (issue #79, PR #80)

v0.4.3

09 Apr 09:53
Compare
Choose a tag to compare
  • Fix several issues with the task group (issue #73, PR #75)
  • Fix "Task exception was never retrieved" warning (issue #71, PR #72)