Skip to content

v0.2.1 - Async Channel Fixes

Choose a tag to compare

@codenimja codenimja released this 02 Nov 02:05
· 32 commits to main since this release

Fixed

  • Async channels now actually work - Previous implementation was completely broken
    • Fixed send()/recv() to use actual SPSC implementation (was referencing non-existent fields)
    • Removed duplicate Channel/ChannelMode type definitions
    • Added exponential backoff (1ms → 100ms) to reduce CPU usage
    • Fixed Chronos deprecation warnings
  • Deduplicated channels.nim - Removed 100+ lines of duplicate code
    • Now properly imports from channel_spsc instead of reimplementing everything

Added

  • Comprehensive async channel tests (tests/unit/test_async_channel.nim)
  • Added async tests to CI workflow

Changed

  • Updated KNOWN_ISSUES.md to reflect async improvements

Full Changelog: v1.0.0...v0.2.1