Milo 0.2.0

Saga effects, structured concurrency, extended theme colors, pipeline TUI, and orchestration hardening.

Feature release focused on saga effect expansion, structured concurrency primitives, extended theming, and orchestration-layer resilience.

Highlights

  • Saga effects expansion — Race (first-wins with loser cancellation), All (wait-all with fail-fast), Take (pause until action dispatched), and Debounce (cancel-and-restart timer)
  • Structured concurrency — SagaContext for cancellation trees, EffectResult handler registry, TakeEvery/TakeLatest higher-order effects, configurable thread pool withmax_workers and on_pool_pressure
  • Orchestration hardening — Timeout wrapper effect, TryCall structured error handling, saga cancellation tokens, PhasePolicy (retry/skip/stop), DFS cycle detection, phase context forwarding
  • Extended theme colorsThemeStyle now supports 256-color (int index), truecolor (#rrggbb hex), and background colors (bgfield)
  • Pipeline TUI — Interactivebuildpipeexample with real-time phase visualization and progress bar
  • pipeline_progress macro — Reusable component for rendering PipelineStatewith status and progress bar
  • kida-templates 0.4.0 — Match blocks, try/fallback error boundaries, unless conditionals, and publicterminal_colorAPI

MCP gateway improvements

  • Per-request timeout enforcement
  • Graceful child restart on failure
  • Gateway test suite covering namespacing, routing, proxying, idle reaping, and error handling

Schema improvements

  • Tuple, set, and frozenset schema support
  • $reffor recursive dataclasses
  • Fallback warnings for unsupported types

Infrastructure

  • Adopted Towncrier for changelog management with CI enforcement
  • Comprehensive benchmarks and free-threading stress tests for saga effects