# 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).
## [4.0.0] - 2026-02-15
### Added
- **i18n完全対応**: 300+翻訳キーによる日本語・英語の完全国際化
- **ステータスメッセージ表示**: 操作結果のフィードバック表示
- **フレンドリーエラーメッセージ**: ユーザー向けエラー表示の改善
- **テスト117個追加**: 各モジュールの包括的なユニットテスト
- **ListNavigation構造体**: リストナビゲーションの共通抽象化
- **Commitsメインパネル: ファイルナビゲーション**: メインパネルにフォーカス時、j/kで変更ファイル一覧をナビゲート可能に
- **Commitsメインパネル: diffトグル**: Enter/Spaceでファイルごとのdiff展開/折りたたみ、e/Eで全展開/全折りたたみ
- 選択マーカー(`>` 黄色)と展開インジケーター(`v`/`>`)をファイル一覧に表示
- J/KによるCommitsメインパネルのdiff手動スクロール
- クレートレベルドキュメント(`//!`)追加
### Changed
- **ui.rs/stats.rs/overlays.rs分割**: 大規模ファイルをモジュール分割し保守性向上
- **i18nマクロ化**: ハードコード文字列をマクロ化(コード量77%削減)
- **NavigationState統合**: 複数のナビゲーション状態をListNavigationに統合
- **マジックナンバー定数化**: UI関連の数値を名前付き定数に変更
- **events.collect()重複排除**: CLI内の重複collect呼び出しを最適化
- **clone()最適化**: 不要なcloneの削減
- **Dashboard一本化**: 5つのレイアウトモードを統合し、常にDashboardレイアウトを表示
- サイドバー(Status/Commits/Branches/Files/Stash) + メインパネルの2ペイン構成に統一
- ヘルプオーバーレイにDashboardキー(1-5/Tab/h/l)を追加
- コミット変更時にファイル選択・展開状態・スクロールを自動リセット
### Fixed
- **gitstack-mcpビルドエラー**: MCP連携のコンパイルエラーを修正
- **unwrap()安全化**: パニックの可能性があるunwrap()をOption/Result処理に変更
- **README古い記述修正**: ドキュメントの陳腐化した情報を更新
### Removed
- LayoutMode, PanelId, ConsoleTab, LayoutPreset, RightPanelMode enum
- Single/SplitPanel/BottomPanel/WideQuad用の描画関数・キーバインド
- `Shift+L` レイアウト切替、`m` 右パネルモード切替、パネル比率調整キー
- `--layout`, `--pane-width` CLIオプション(後方互換のため引数は無視)
- フォールバック表示(狭い端末でもDashboard表示)
## [3.0.13] - 2026-02-05
### Changed
- Improved graph rendering visibility
## [3.0.12] - 2026-02-05
### Added
- Path-based git operation functions for MCP integration
## [3.0.11] - 2026-02-05
### Fixed
- Various bug fixes and stability improvements
## [3.0.0] - 2026-02-04
### Added
- **2-Pane Layout**: Split panel mode for wide terminals (120+ columns)
- **Command Center Panel**: Quick access to analysis functions
- **Health Dashboard**: Project health score (0-100) with alerts
- **Impact Score Analysis**: Commit impact scoring (0.0-1.0)
- **Quality Score Analysis**: Commit quality metrics
- **Change Coupling Analysis**: Files that change together
- **Quick Actions**: Instant access to common operations (`.` key)
- **MCP Server**: gitstack-mcp for Claude integration
### Changed
- Restructured codebase for better maintainability
- Improved adaptive layout for narrow terminals (20-39 columns)
- Enhanced graph rendering with better branch visualization
## [2.0.0] - 2026-01-30
### Added
- **AI Integration Features**: Context pack generation for Claude Code
- **Review Pack**: Risk analysis and recommendations
- **Handoff Context**: Structured context for AI assistants
- **Code Ownership Analysis**: Track who owns what code
- **Activity Timeline**: Visualize commit patterns
- **File Heatmap**: Most frequently changed files
- **Author Statistics**: Contribution metrics
### Changed
- Focus on analysis and insights rather than git operations
## [1.0.0] - 2026-01-30
### Added
- Initial stable release
- TUI with commit graph visualization
- Smart filtering with multiple criteria
- Branch topology analysis
- Commit suggestions based on staged changes
- Stash management
- File blame view
## [0.1.0] - 2026-01-28
### Added
- Initial release with basic TUI
- Commit history viewing
- Branch navigation
- Simple filtering
[Unreleased]: https://github.com/Hiro-Chiba/gitstack/compare/v4.0.0...HEAD
[4.0.0]: https://github.com/Hiro-Chiba/gitstack/compare/v3.0.13...v4.0.0
[3.0.13]: https://github.com/Hiro-Chiba/gitstack/compare/v3.0.12...v3.0.13
[3.0.12]: https://github.com/Hiro-Chiba/gitstack/compare/v3.0.11...v3.0.12
[3.0.11]: https://github.com/Hiro-Chiba/gitstack/compare/v3.0.0...v3.0.11
[3.0.0]: https://github.com/Hiro-Chiba/gitstack/compare/v2.0.0...v3.0.0
[2.0.0]: https://github.com/Hiro-Chiba/gitstack/compare/v1.0.0...v2.0.0
[1.0.0]: https://github.com/Hiro-Chiba/gitstack/compare/v0.1.0...v1.0.0
[0.1.0]: https://github.com/Hiro-Chiba/gitstack/releases/tag/v0.1.0