# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.2.1] - 2026-03-23
### Added
- `ward doctor` -- diagnose setup: config validity, GitHub token, gh CLI, templates, audit log, org, systems, policies, and API connectivity with rate limit info
- 8 unit tests for doctor checks (178 total)
### Changed
- README redesigned with capsule-render header/footer, for-the-badge badges, features table, and streamlined layout
- Badge counts updated: 14.2k lines of code, 178 tests, 18 commands
## [0.2.0] - 2026-03-23
### Added
- `ward import` -- reverse-engineer an existing GitHub org into a `ward.toml` with auto-detected systems, security sampling, and team discovery
- `ward plan` -- unified compliance plan across security, branch protection, rulesets, and teams in one command
- `ward policy check` -- policy engine with simple rule syntax for org-wide compliance (exit code 1 on violations)
- `ward policy list` -- display configured policy rules
- `[[policies]]` configuration section for defining custom compliance rules
- 26 wiremock integration tests covering all major API flows
- Documentation restructured into `docs/` directory with 6 detailed guides
### Changed
- Upgraded ratatui 0.29 to 0.30, crossterm 0.28 to 0.29, dialoguer 0.11 to 0.12, tabled 0.17 to 0.20, console 0.15 to 0.16, clap 4 to 4.6
- Removed unused `octocrab` and `governor` dependencies
### Fixed
- Removed unused `Stylize` import after ratatui 0.30 upgrade
## [0.1.0] - 2025-03-22
### Added
- `ward security` -- manage Dependabot, secret scanning, and push protection across repos
- `ward protection` -- declarative branch protection rules (PRs, approvals, status checks, force-push)
- `ward commit` -- deploy workflow configs and files via the Git Trees API (no cloning)
- `ward settings` -- configure repo settings and Copilot code review rulesets
- `ward rollback` -- reverse applied changes using the audit log
- `ward audit` -- version inventory, alert counts, and security posture as JSON or table
- `ward repos` -- list and filter repositories by org, topic, or regex
- `ward tui` -- interactive terminal dashboard for browsing repos and security state
- `ward config` -- validate and inspect `ward.toml` configuration
- `ward template` -- manage custom Tera templates in `~/.ward/templates/`
- `ward init` -- interactive setup wizard for new `ward.toml` files
- JSON lines audit trail logged to `~/.ward/audit.log`
- Custom template support via `~/.ward/templates/` directory
[Unreleased]: https://github.com/OriginalMHV/Ward/compare/v0.2.1...HEAD
[0.2.1]: https://github.com/OriginalMHV/Ward/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/OriginalMHV/Ward/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/OriginalMHV/Ward/releases/tag/v0.1.0