Skip to content

v0.1.78

Choose a tag to compare

@ncrispino ncrispino released this 17 Apr 21:49
· 244 commits to main since this release
2ae483e

πŸš€ Release Highlights β€” v0.1.78 (2026-04-17)

πŸ”Œ Circuit Breaker Distributed Store (Phase 4)

  • Pluggable CB state store (#1061): The LLM circuit breaker's state is now held behind a CircuitBreakerStore Protocol and can be shared across workers and processes. Default (store=None) preserves the existing single-process behavior.
  • In-memory CB state store: Thread-safe, zero-dependency implementation for single-process deployments and tests.
  • Redis-backed CB state store: Distributed implementation via optional redis>=4.0; install with pip install massgen[redis-store].
  • Atomic CB transitions: atomic_record_failure / atomic_record_success on the Protocol make CB state transitions linearizable when workers race on the same upstream backend.

πŸ“– Getting Started

  • Quick Start Guide
  • Try It:
    # Base install (unchanged default behavior)
    pip install massgen==0.1.78
    
    # With distributed (Redis-backed) circuit breaker store
    pip install "massgen[redis-store]==0.1.78"