|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +## [v0.4.0](https://github.com/WarriorsCode/deck/releases/tag/v0.4.0) — 2026-04-02 |
| 6 | + |
| 7 | +### Added |
| 8 | +- `--version` flag with ldflags injection at build time and git fallback at runtime |
| 9 | + |
| 10 | +## [v0.3.0](https://github.com/WarriorsCode/deck/releases/tag/v0.3.0) — 2026-04-02 |
| 11 | + |
| 12 | +### Added |
| 13 | +- Interactive `prompt` field on bootstrap steps — reads multi-line input, exposes `$DECK_INPUT` and `$DECK_INPUT_FILE` |
| 14 | +- Non-TTY detection — prompts fail gracefully in CI/pipes instead of blocking |
| 15 | + |
| 16 | +## [v0.2.0](https://github.com/WarriorsCode/deck/releases/tag/v0.2.0) — 2026-04-02 |
| 17 | + |
| 18 | +### Added |
| 19 | +- Global `env` map — injected into all commands (bootstrap, hooks, services) |
| 20 | +- Per-service `env` and `env_file` — load dotenv files and override env vars per service |
| 21 | +- Per-hook `env_file` — load dotenv files for lifecycle hooks |
| 22 | +- `dir` field on bootstrap steps and hooks |
| 23 | +- Log backlog — shows last 20 lines when tailing starts |
| 24 | +- ANSI escape code stripping from service log output |
| 25 | + |
| 26 | +### Fixed |
| 27 | +- Broadened ANSI stripping to cover all CSI sequences (dim, underline, cursor, etc.) |
| 28 | + |
| 29 | +## [v0.1.0](https://github.com/WarriorsCode/deck/releases/tag/v0.1.0) — 2026-04-02 |
| 30 | + |
| 31 | +Initial release. |
| 32 | + |
| 33 | +### Added |
| 34 | +- Config parsing with `deck.yaml` + `deck.local.yaml` deep merge (order-preserving) |
| 35 | +- `StringOrList` type — dep `start`/`stop` accept string or list |
| 36 | +- Duplicate key rejection in config |
| 37 | +- Dependency checker with multi-strategy fallback and polling |
| 38 | +- Bootstrap step runner with idempotent check/run pattern |
| 39 | +- Lifecycle hooks — pre-start (fail-fast) and post-stop (best-effort) |
| 40 | +- Process manager — PID files, process group kill, SIGTERM → SIGKILL, stale PID cleanup |
| 41 | +- Startup rollback — stops already-started services if a later service fails |
| 42 | +- Log tailing with colored `[name]` prefixes and timestamp auto-detection |
| 43 | +- Status formatters — table, JSON, Go template output |
| 44 | +- Status shows all configured services with ports and log paths |
| 45 | +- Engine orchestrator wiring the full lifecycle |
| 46 | +- CLI commands: `up`, `start`, `stop`, `restart`, `status`, `logs`, `init` |
| 47 | +- Graceful shutdown with 30s timeout, second signal force-exits |
| 48 | +- Correct shutdown ordering: `deck up` runs post-stop hooks before kill, `deck stop` kills first |
| 49 | +- goreleaser with Homebrew cask publishing |
0 commit comments