# Milo 0.2.0

URL: /milo-cli/releases/0.2.0/
Section: releases
Description: Saga effects, structured concurrency, extended theme colors, pipeline TUI, and orchestration hardening.

---

> For a complete page index, fetch /milo-cli/llms.txt.

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_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 colors** — `ThemeStyle` now supports 256-color (int index), truecolor (`#rrggbb` hex), and background colors (`bg` field)
- **Pipeline TUI** — Interactive `buildpipe` example with real-time phase visualization and progress bar
- **`pipeline_progress` macro** — Reusable component for rendering `PipelineState` with status and progress bar
- **kida-templates 0.4.0** — Match blocks, try/fallback error boundaries, unless conditionals, and public `terminal_color` API

## 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
- `$ref` for 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
