• PyServeX v0.9.10
    Some checks failed
    Run Tests / test (3.12) (push) Successful in 2m39s
    Run Tests / test (3.13) (push) Successful in 2m31s
    CI/CD Pipeline / lint (push) Successful in 0s
    Build and Release / build (push) Successful in 36s
    CI/CD Pipeline / test (push) Has been skipped
    CI/CD Pipeline / build-and-release (push) Has been skipped
    Build and Release / release (push) Successful in 6s
    CI/CD Pipeline / notify (push) Successful in 1s
    Lint Code / lint (push) Failing after 40s
    Stable

    Ghost released this 2025-12-03 22:39:19 +00:00 | 6 commits to main since this release

    Release v0.9.10

    What's new in this version

    New Features

    • Process Orchestration — run ASGI/WSGI apps in isolated subprocesses with health monitoring and auto-restart
    • Dynamic Port Allocation — automatic port assignment from configurable range (9000-9999)
    • Multi-worker Support — configure number of workers per application
    • Health Checks — automatic health monitoring with configurable interval, timeout, and retries
    • Auto-restart with Backoff — failed processes restart automatically with exponential backoff
    • WSGI Support — Flask/Django apps wrapped via a2wsgi for uvicorn compatibility
    • Request ID TracingX-Request-ID header propagated through all proxied requests
    • Configurable Logging — control httpx verbosity, proxy logs, and health check logs

    Bug Fixes

    • Fixed extension ordering for proper request routing
    • Fixed mypy type errors in WSGI wrapper module

    Technical Changes

    • New process_manager.py module for subprocess lifecycle management
    • New process_extension.py with httpx-based reverse proxy
    • New _wsgi_wrapper.py for WSGI-to-ASGI conversion
    • Async extension loading via lifespan context manager
    • Structured logging with latency measurement for proxied requests
    • 34 new tests for process orchestration

    Dependencies

    • Added a2wsgi as optional dependency for WSGI support

    Full Changelog: https://git.pyserve.org/Shifty/pyserveX/compare/v0.5.0...v0.9.10

    Installation

    pip install pyserve==0.9.10
    

    Usage

    pyserve --help
    
    Downloads