Skip to content

Releases: yamadashy/repomix

v0.1.20

04 Aug 04:57
Compare
Choose a tag to compare

Changes

gitignore Syntax Compliance

  • Fixed handling of .gitignore and .repopackignore files to properly comply with gitignore syntax.
  • This ensures more accurate and consistent file filtering based on your ignore patterns.

Change File Filtering Logic

  • Migrated custom ignore pattern processing from gitignore syntax to glob patterns.

Notes

  • This update may affect which files are included/excluded in the packed output. We recommend reviewing your ignore patterns to ensure desired behavior.
  • If you're using a custom configuration, make sure to update your ignore.customPatterns to use glob patterns instead of gitignore syntax.

v0.1.19

03 Aug 18:14
Compare
Choose a tag to compare

It's focusing on improved file filtering capabilities and overall performance enhancements.

New Features

Support include (#22, #30)

  • Introduced the --include CLI option for specifying files to include using glob patterns.
  • Added support for include patterns in the configuration file.

To pack specific files or directories using glob patterns:

repopack --include "src/**/*.ts,**/*.md"

Special thanks to @IsaacSante for their contributions.

Improvements

Performance Optimization

  • Replaced the ignore package with globby for more efficient file filtering.

v0.1.18

02 Aug 13:55
Compare
Choose a tag to compare

It's focusing on security improvements and output refinements.

Improvements

Security Enhancements: Exclude Suspicious Files

  • Implemented a filter to exclude potentially sensitive files from the output.
  • This improvement prevents the inclusion of suspicious files, enhancing overall security.

Fixes

Prevent Recursive Output Issues

  • Modified the getFilePaths function in src/core/packager.ts to exclude the output file from processing.
  • This fix resolves a recursive issue where the output file was being included in itself.

Changes

XML Escaping Removal

  • Removed XML escaping for file paths and contents in repository files.
  • This change improves readability and AI comprehension of the generated output.

Note: This update assumes that input data (file paths, contents, etc.) does not contain characters that would break XML syntax. If there's a possibility of such characters, we may implement a more robust solution in the future, such as using CDATA sections for file contents.

v0.1.16

02 Aug 12:19
Compare
Choose a tag to compare

Our CLI has learned the art of style. It's now fluent in both plain and XML.

What's New

  • Added --style option to CLI
    • Choose between plain and xml output styles
    • Usage: repopack --style xml

Happy packing!

v0.1.15

01 Aug 14:43
Compare
Choose a tag to compare

It appears I've been fashionably late to the release notes soirée. It's like we've been living under a rock from v0.1.1 to v0.1.14. But they, better late than never, as they say in the world of procrastinating developers.

New Features

Output Style Options

  • Introducing the output.style configuration option:
    • plain: The classic output format.
    • xml: An XML-structured output for enhanced parsing.

This addition aims to provide more flexibility in how Repopack structures its output.

For those interested in the potential of XML tags in AI contexts:
https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/use-xml-tags

How to Use

Add output.style to your configuration and select either plain or xml. The choice is yours, based on your project needs.


Your feedback is the wind beneath Repopack's wings. Feel free to report bugs or request features.

Thank you for your continued support.