• v3.0.0 ce9e91b1b9

    Release v3.0.0 - Async Architecture & Performance Optimizations

    wouser released this 2026-06-16 22:06:23 +02:00 | 4 commits to main since this release

    This major release introduces a complete async rewrite with significant performance improvements:

    • Flask → Quart (async): Better concurrency, lower latency
    • Pre-warmed agent: First-request latency reduced from ~20-60s to <2s
    • HTTP/2 + connection pooling: Faster Telegram API calls
    • Disk caching: Health checks cached (60s/5min)
    • Circuit breaker: Resilient external calls with auto-recovery
    • Configurable thread pool: 8 workers (was 4)
    • Zero hardcoded paths/secrets: All via environment variables
    • Graceful lifecycle: Proper startup/shutdown handlers
    1. Async migration (Flask→Quart)
    2. HTTP/2 connection pooling for Telegram
    3. diskcache layer for health responses
    4. Thread pool increase (4→8, configurable)
    5. Environment variable config (no hardcoded paths)
    6. Circuit breaker pattern
    7. Pinned dependencies for reproducible builds
    8. Graceful startup/shutdown handlers
    9. Dual health endpoints (quick + deep)
    • Minimum Python 3.11+ (unchanged, but now enforced)
    • New environment variables required for deployment
    • Running via uvicorn/gunicorn instead of Flask dev server

    See CHANGELOG.md for full details.

    Downloads