Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/releases/v1.x/v1.9.1.md
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`).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For completeness, it would be great to also mention the xml style here. The 'Before' example shows an incorrect .xml extension, which implies that the xml style was also part of this bug fix. Including it makes the description of the fix more comprehensive.

Suggested change
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`).
Fixed an issue where the output file extension didn't automatically match the selected style. Now when you use `--style markdown`, `--style json`, `--style xml`, or `--style plain`, the output filename will automatically use the corresponding extension (`.md`, `.json`, `.xml`, 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.
Copy link
Contributor

Choose a reason for hiding this comment

The 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 behavior applies when the output filename is not explicitly specified via `--output` or in the config file.
This behavior applies when the output filename is not explicitly specified via `--output` or in the config file.
> [!NOTE]
> If you explicitly specify an output filename using `--output` or in your config file, that filename will be used regardless of the style option.

This helps prevent confusion for users who use the --output flag.


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.
Copy link
Contributor

Choose a reason for hiding this comment

The 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
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.
Replaced `tree-sitter-wasms` with `@repomix/tree-sitter-wasms`, which contains only the language parsers needed for Repomix. This reduces the total package size from X MB to Y MB (approximately **25%** reduction), resulting in faster installation times and lower disk usage.

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).
Loading