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 with
max_workersandon_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 colors —
ThemeStylenow supports 256-color (int index), truecolor (#rrggbbhex), and background colors (bgfield) - Pipeline TUI — Interactive
buildpipeexample with real-time phase visualization and progress bar pipeline_progressmacro — Reusable component for renderingPipelineStatewith status and progress bar- kida-templates 0.4.0 — Match blocks, try/fallback error boundaries, unless conditionals, and public
terminal_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