v2.5.0
Release v2.5.0
This release brings significant improvements in documentation, build system optimizations, and a new optional CLI wrapper for better tool management.
✨ New Features
- Optional Unified CLI: Introduced
gotext-toolsas a convenience wrapper for all tools (msgofmt,msgomerge,xgotext), while maintaining standalone binaries. - Auto-generated Documentation:
- New
docscommand generates Markdown & man pages for all tools. - Added
doc-treefor complete documentation hierarchy.
- New
- Enhanced Build System:
- Smarter Go file detection (now checks any
.gofile). - New
cli-docsrecipe for automated CLI docs generation.
- Smarter Go file detection (now checks any
🛠 Improvements
- Memory Efficiency: Replaced
map[T]boolwith zero-memorymap[T]struct{}for tracking. - Error Handling: More consistent logging and error propagation.
- Terminal Output:
- Standardized formatting across all tools.
- Improved
--verboseflag support.
- Simplified Build: Removed support for rare architectures/OSes to reduce complexity.
📚 Documentation
- Updated README: Clarified installation and new wrapper usage.
- Tool Documentation: All commands now have consistent help output with examples.
- Internal Docs: Better code comments and package explanations.
⚙️ Installation Options
Choose either:
- Standalone Tools (traditional)
git clone https://github.com/Tom5521/gotext-tools
cd gotext-tools
just go-install xgotext
just go-install msgomerge
just go-install msgofmt
# etc...- Optional Wrapper (recommended for CLI)
git clone https://github.com/Tom5521/gotext-tools
cd gotext-tools
just go-install gotext-tools
gotext-tools [tool] [args]... [flags]...Full Changelog: v2.4.1...v2.5.0
Note: The new wrapper is completely optional - all tools remain available as standalone binaries.