·
2 commits
to main
since this release
π Major Release: Fixed Critical Issues & Enhanced Functionality
π Critical Fixes
License Error Fixed
- Replaced proprietary
uniofficelibrary (required commercial license) with free open-sourcego-docxlibrary
(AGPL-3.0) - The tool now works without any license errors
First-Time Export Bug Fixed
- Previous behavior: On first run, only exported changed files, missing the entire existing codebase
- New behavior: First-time export includes ALL git-tracked files, subsequent runs export only changed files
- This ensures you get the complete codebase on initial export
Other Bug Fixes
- Fixed invalid Go version in
go.mod(1.24.4 β 1.24) - Fixed divide-by-zero panic when processing empty files
β¨ New Features
Smart Export Modes
- π First-time export: Automatically exports all git-tracked files
- π Incremental export: Exports only modified/added/untracked files
- π Non-git folders: Exports entire project directory
New CLI Flags
-full- Force export of all files (even on subsequent runs)-changed-only- Force export of only changed files (even on first run)-help- Show usage information with examples
Enhanced Formatting
- π’ Line numbers added to all code
- π Full file paths shown (not just filenames)
- β Horizontal separators between files
- π Improved font sizing (16pt titles, 14pt headings, 10pt code)
- π Better spacing and visual structure
π Documentation Updates
- Updated README.md with new features and usage examples
- Added CLAUDE.md for future development guidance
- Documented all CLI flags and export modes
π§ Technical Changes
New Functions
getAllGitTrackedFiles()- Get all git-tracked files usinggit ls-filesExportProjectWithOptions()- Advanced API with manual export control
API Changes
ExportProject()maintains backward compatibility with smart defaults- Document generation now always creates fresh files (no longer appends)
π Files Changed
- 6 files modified
- 353 lines added, 71 lines removed
π Upgrade Notes
No breaking changes for existing users. The ExportProject() function maintains the same signature with improved
behavior.