Releases: yamadashy/repomix
v0.1.20
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
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 withglobby
for more efficient file filtering.
v0.1.18
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 insrc/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
v0.1.15
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.