Commit Graph

2 Commits

Author SHA1 Message Date
cc6edfe4c7 feat(launcher)!: promote to v1.0.0 — bump logz to v1.0.0
All v0.9.0 roadmap items validated in production (reverse-order shutdown, Shutdown
idempotency via sync.Once, OnStop behavior when OnStart was never reached). No
API changes. Bumps logz dependency from v0.9.0 to v1.0.0. API committed as stable.
2026-05-11 19:04:20 -06:00
f2e3faa1d6 feat(launcher): initial stable release v0.9.0
Application lifecycle manager enforcing a three-phase init/wire/start sequence with reverse-order graceful shutdown and per-component stop timeouts.

What's included:
- `Component` interface (OnInit / OnStart / OnStop) and `Hook` type for BeforeStart wiring functions
- `Launcher` interface with Append, BeforeStart, Run (blocks on SIGINT/SIGTERM), and idempotent Shutdown(ctx)
- `New(logger, opts...)` constructor with configurable ComponentStopTimeout (default 15 s); no global state

Tested-via: todo-api POC integration
Reviewed-against: docs/adr/
2026-03-18 23:49:12 +00:00