@@ -7,6 +7,101 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ## [ 1.3.1] - 2026-02-07
11+
12+ ### ✨ Feature Release - Interactive Editor Integration
13+
14+ This release adds comprehensive editor integration, enabling interactive content filtering before sharing reports and direct configuration file editing.
15+
16+ ### Added
17+
18+ - ** Interactive Report Editing** 🎨
19+ - ` --edit ` / ` -E ` flag for filtering reports before display/copy
20+ - Opens report in default editor (nano, vim, VS Code, etc.)
21+ - Respects ` $VISUAL ` , ` $EDITOR ` , and ` $GOHOME_EDITOR ` environment variables
22+ - Platform-specific fallbacks (nano on Linux, vi on macOS, notepad on Windows)
23+ - ASCII-only instruction formatting for terminal compatibility
24+ - Comment-based instructions with automatic removal
25+ - Seamless clipboard integration (` --edit --copy ` )
26+ - Example: ` gohome --today --edit -C `
27+
28+ - ** Configuration Editor Command** ⚙️
29+ - ` gohome config edit ` opens config file in editor
30+ - Auto-creates config file with defaults if missing
31+ - Direct editor access without instruction wrapper
32+ - Full validation and error handling
33+ - Example: ` gohome config edit `
34+
35+ - ** Editor Package** (` internal/editor/ ` ) 📦
36+ - Smart editor detection with priority system
37+ - Cross-platform support (Linux, macOS, Windows)
38+ - Temporary file management with proper cleanup
39+ - Content validation and cleaning
40+ - Security: Command injection prevention
41+ - ** 100% test coverage** (15+ comprehensive unit tests)
42+
43+ ### Fixed
44+
45+ - ** Duplicate Commit Messages** 🐛 (by [ @lazarus2019 ] ( https://github.com/lazarus2019 ) )
46+ - Fixed duplicate commit messages when using ` --all-branches ` flag
47+ - Parser now properly deduplicates commits across multiple branches
48+ - Improved commit message normalization and comparison
49+ - Resolves issue #13
50+
51+ - ** Output Formatting Issues** 🎨
52+ - Removed blank line after instruction separator
53+ - Fixed duplicate separators in edit mode output
54+ - Improved visual hierarchy in edited reports
55+ - Better spacing between sections
56+
57+ ### Changed
58+
59+ - ** Editor UX Improvements** ✨
60+ - Changed unicode characters to ASCII (` - ` instead of ` • ` , ` -- ` instead of ` ─── ` )
61+ - Improved error messages ("editing canceled" instead of generic errors)
62+ - Better output flow: generate → edit → display (not display → edit)
63+ - Removed spinner in edit mode for clearer user experience
64+ - Clear instructions with save/cancel tips
65+
66+ ### Documentation
67+
68+ - ** README.md**
69+ - Added ` config edit ` to configuration management section
70+ - Updated feature list with editor integration
71+ - Enhanced usage examples
72+
73+ - ** ROADMAP.md**
74+ - Marked editor integration features as completed
75+ - Updated Phase 2 status with edit mode implementation
76+
77+ - ** CLI_GUIDE.md**
78+ - Comprehensive edit mode documentation
79+ - Editor configuration examples
80+ - Workflow integration guides
81+
82+ ### Contributors
83+
84+ Special thanks to:
85+ - [ @lazarus2019 ] ( https://github.com/lazarus2019 ) for fixing the duplicate branch commit issue 🎉
86+ - All contributors who reported issues and provided feedback
87+
88+ ### Technical Details
89+
90+ ** Test Coverage:**
91+ - Editor package: 100% coverage (15+ tests)
92+ - Config commands: Maintained 90%+ coverage
93+ - All linting checks passed (golangci-lint)
94+
95+ ** Security:**
96+ - Editor command validation and sanitization
97+ - Secure temp file handling
98+ - Path validation and cleanup
99+
100+ ** Compatibility:**
101+ - Cross-platform editor detection
102+ - Terminal compatibility (ASCII-only formatting)
103+ - Backward compatible with existing workflows
104+
10105## [ 1.3.0] - 2026-01-19
11106
12107### 🎉 Major Release - Cobra/Viper Migration Complete
0 commit comments