Skip to content

1.3.0

Choose a tag to compare

@OlyoshaOlyosha OlyoshaOlyosha released this 09 May 18:38

[Version 1.3.0] - 2026-05-09

New Features

  • Extensionless file whitelist: You can now include files without extensions (like Dockerfile, Makefile, LICENSE) by listing them in the new ALLOWED_EXTENSIONLESS_FILES setting. The default is an empty set for full backward compatibility.
  • .gitignore integration: Enable the new USE_GITIGNORE option (on by default) to automatically respect your project’s .gitignore rules. Supports *, **, / and negation ! patterns, applied on top of existing blacklists.
  • Multiple configuration profiles: Place any number of .py configuration files inside the configs/ directory. Use the new --config argument to select one, or choose interactively when running the tool.
  • Improved output naming: The export filename now includes the active configuration name and always gets a sequential number, making it easier to manage multiple exports.
  • Directory traversal depth limit: Configure MAX_DEPTH to control how deep the tool scans your project. Set -1 for unlimited depth, or 0 to process only the selected directory.
  • Console fallback for directory selection: If a graphical folder picker isn’t available, the tool automatically provides a text-based alternative for choosing a directory.
  • Expanded language detection: Added mappings for many more file extensions and improved fallback – if an extension isn’t recognised, it is shown as the language name.
  • Enhanced export statistics: The post-export summary now shows:
    • A hierarchical file tree matching the project structure.
    • Token count with percentage of a 128K context limit.
    • Color-coded elapsed time and token usage thresholds.
    • File and folder counters with icons, and directory names highlighted in blue.
    • Dynamic file size formatting (auto-switches between KB and MB).

Improvements

  • Faster filename generation: Optimised the method that finds the next available export number, reducing filesystem calls from linear scans to a single directory lookup.
  • Reduced disk I/O: When file output is disabled, the tool no longer performs unnecessary filename uniqueness checks, saving time and resources.
  • Safer configuration handling: The tool now applies overrides in memory instead of modifying your config file at runtime, eliminating race conditions and the risk of formatting corruption.
  • Simpler execution flow: Removed the internal restart loop, making the tool’s behavior more predictable and responsive.

Bug Fixes

  • Statistics now correctly reflect the final exported output instead of intermediate processing chunks, ensuring accurate character counts.
  • Keyboard interrupts (Ctrl+C) are now handled gracefully instead of leaving the terminal in an inconsistent state.
  • Missing internal imports that could cause crashes under certain configurations have been resolved.
  • Clipboard copying now correctly delivers the content as a list of command arguments, fixing failures on some systems.
  • Improved error handling for file operations (reading, writing, stat calls) and configuration directory access, reducing unexpected crashes.

Full Changelog: v1.2.0...v1.3.0