v1.10.2

yamadashy/repomixv1.10.2Dec 16, 2025by yamadashy

AI Summary

This release improves binary file detection, encoding detection, and comment removal reliability, making Repomix more robust when processing diverse codebases.

Key Highlights

  • Fixed comment removal hanging issue with new strip-comments fork
  • Fixed encoding detection issues for Python and HTML files
  • Enhanced binary file detection with ~20x improvement in coverage
  • Replaced deprecated istextorbinary with actively maintained alternatives

New Features

  • Replaced strip-comments with @repomix/strip-comments for enhanced language support
  • Removed jschardet confidence check that incorrectly skipped valid files
  • Replaced istextorbinary with is-binary-path and isbinaryfile

Full Release Notes

This release improves binary file detection, encoding detection, and comment removal reliability, making Repomix more robust when processing diverse codebases!

## Bug Fixes 🐛

### Fixed Comment Removal Hanging Issue (#975, #1009)

Replaced `strip-comments` with `@repomix/strip-comments`, a fork with enhanced language support and bug fixes.

Resolves the hanging issue when processing large files with `removeComments: true`

### Fixed Encoding Detection Issues (#869, #1007)

Removed the jschardet confidence check that was incorrectly skipping valid files.

- **Fixes #869** - Valid Python files no longer skipped with low confidence scores
- **Fixes #847** - HTML files with Thymeleaf syntax (`~{`) no longer incorrectly detected as binary

## Improvements ⚡

### Enhanced Binary File Detection (#1006)

Replaced `istextorbinary` with actively maintained alternatives:
- `is-binary-path`: Extension-based detection (47M weekly downloads)
- `isbinaryfile`: Content-based detection with zero dependencies

This ~20x improvement in binary extension coverage reduces unnecessary content checks for common binary formats.

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