Skip to content

v1.1.0

Latest

Choose a tag to compare

@Karthikeya-Akhandam Karthikeya-Akhandam released this 16 Nov 09:31
· 2 commits to main since this release
bc5a8c3

πŸŽ‰ Major Release: Fixed Critical Issues & Enhanced Functionality

πŸ› Critical Fixes

License Error Fixed

  • Replaced proprietary unioffice library (required commercial license) with free open-source go-docx library
    (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 using git ls-files
  • ExportProjectWithOptions() - 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.