-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
docs(releases): Add release notes for v1.9.1 #951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,41 @@ | ||||||||||||
| This release fixes an issue with output file extensions introduced in v1.9.0 and reduces package size, making Repomix more intuitive and efficient! | ||||||||||||
|
|
||||||||||||
| ## Bug Fixes 🐛 | ||||||||||||
|
|
||||||||||||
| ### Fixed Output File Extension Not Matching Style (#947) | ||||||||||||
|
|
||||||||||||
| Fixed an issue where the output file extension didn't automatically match the selected style. Now when you use `--style markdown`, `--style json`, or `--style plain`, the output filename will automatically use the corresponding extension (`.md`, `.json`, or `.txt`). | ||||||||||||
|
|
||||||||||||
| **Before (v1.9.0):** | ||||||||||||
| ```bash | ||||||||||||
| repomix --style markdown | ||||||||||||
| # Output: repomix-output.xml (wrong extension!) | ||||||||||||
| ``` | ||||||||||||
|
|
||||||||||||
| **After (v1.9.1):** | ||||||||||||
| ```bash | ||||||||||||
| repomix --style markdown | ||||||||||||
| # Output: repomix-output.md ✨ | ||||||||||||
| ``` | ||||||||||||
|
|
||||||||||||
| This behavior applies when the output filename is not explicitly specified via `--output` or in the config file. | ||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The note about when this behavior applies is important but might be overlooked. Consider making it more prominent or adding a callout:
Suggested change
This helps prevent confusion for users who use the |
||||||||||||
|
|
||||||||||||
| Special thanks to @Ahmad8864 for their first contribution fixing this issue! 🎉 | ||||||||||||
|
|
||||||||||||
| We also appreciate @pranc1ngpegasus for their alternative implementation in #949 and detailed investigation of this issue! | ||||||||||||
|
|
||||||||||||
| ## Improvements ⚡ | ||||||||||||
|
|
||||||||||||
| ### Reduced Package Size (#942) | ||||||||||||
|
|
||||||||||||
| Replaced `tree-sitter-wasms` with `@repomix/tree-sitter-wasms`, which contains only the language parsers needed for Repomix. This reduces the total package size by approximately **25%**, resulting in faster installation times and lower disk usage. | ||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider being more specific about the package size reduction. If the "approximately 25%" is based on actual measurements, it would be helpful to include concrete numbers:
Suggested change
This gives users a better sense of the real-world impact. |
||||||||||||
|
|
||||||||||||
| ## How to Update | ||||||||||||
|
|
||||||||||||
| ```bash | ||||||||||||
| npm update -g repomix | ||||||||||||
| ``` | ||||||||||||
|
|
||||||||||||
| --- | ||||||||||||
|
|
||||||||||||
| As always, if you have any issues or suggestions, please let us know on GitHub issues or our [Discord community](https://discord.gg/wNYzTwZFku). | ||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For completeness, it would be great to also mention the
xmlstyle here. The 'Before' example shows an incorrect.xmlextension, which implies that thexmlstyle was also part of this bug fix. Including it makes the description of the fix more comprehensive.