Skip to content

v0.1.0

Latest

Choose a tag to compare

@nkgilley nkgilley released this 30 Nov 16:49

What's Changed

  • Modernized fastdotcom to a pure asyncio + aiohttp architecture (#8 by @marcomsousa)
  • Added async_fast_com() and FastDotComClient with optional external aiohttp.ClientSession injection
  • Replaced icmplib raw ICMP ping with keep-alive HTTP /speedtest/range/0-0 latency probes (works in rootless containers / Home Assistant OS)
  • Preserved backwards-compatible synchronous fast_com() entrypoint
  • Added fastdotcom CLI (--json, --no-upload, --no-latency, etc.)
  • Added typed dataclasses, typed exceptions (FastDotComError hierarchy), PEP 561 py.typed, test suite, and CI

Breaking Changes

  • Requires Python 3.11+
  • Replaced requests and icmplib dependencies with aiohttp>=3.10.0
  • fast_com() now raises FastDotComError on failure instead of returning {"success": 0, ...}
  • Removed legacy internal top-level functions (get_fast_token, download_test, upload_test, ping_test, etc.)