Skip to content

1.2.0

Choose a tag to compare

@OlyoshaOlyosha OlyoshaOlyosha released this 22 Mar 18:48

Version 1.2.0

New Features

  • Added a restart option after completing an export, allowing users to perform another export without restarting the application. Configuration is reloaded each time to reflect any external changes.
  • Included the root directory name in the project structure view for better context when exporting.
  • Introduced a separate OUTPUT_DIR configuration setting to specify where exported files are saved, independent of the filename.
  • Added a clipboard safety limit with a configurable maximum character count. Users will now see a warning when the export size exceeds the limit before copying to the clipboard.
  • Enhanced the terminal interface with colored console output for improved readability of success messages, warnings, errors, and prompts.
  • Added the ability to show empty directories and include empty files in the export, controlled by new configuration settings.

Improvements

  • Improved cross-platform clipboard support with more robust error handling and fallback logic.
  • Simplified and modernized internal file handling by adopting pathlib for safer and more readable path operations.
  • Consolidated configuration usage across the application, making the logic for detecting and filtering files more straightforward.
  • Stricter configuration validation now ensures required settings are present and correctly typed, eliminating silent fallbacks that could lead to unexpected behavior.
  • Updated default limits: maximum file size for export increased from 1 MB to 5 MB, and the clipboard character limit increased from 10,000 to 500,000.
  • Expanded the default list of ignored directories and file extensions to exclude more common build artifacts and cache files.
  • Updated the README with detailed installation instructions, new configuration options, and a clear overview of all interactive features.

Bug Fixes

  • Fixed an issue where the application could fail to write the output file if the specified directory did not exist. The tool now automatically creates any missing parent directories.
  • Removed unused options related to output formatting and syntax highlighting to reduce confusion and streamline the configuration.

Technical Notes

  • Python version requirement has been updated to 3.10 or higher.
  • Added colorama as a dependency for cross-platform colored terminal output.
  • Configuration file (config.py) is now strictly required; the application will exit with an error if it is missing or incomplete.

Full Changelog: v1.1.0...v1.2.0