v1.4.0.md•2.39 kB
This release introduces git commit history integration and enhanced binary file detection, making Repomix more informative for AI analysis and user visibility!
## What's New 🚀
### Git Commit History Integration (#793)
Added the powerful `--include-logs` option that includes git commit history in the output to help AI systems understand development patterns and file change relationships.
```bash
# Include last 50 commits (default)
repomix --include-logs
# Include specific number of commits
repomix --include-logs --include-logs-count 10
# Via configuration file
{
"output": {
"git": {
"includeLogs": true,
"includeLogsCount": 25
}
}
}
```
### Binary File Detection Reporting (#752, #798)
Repomix now reports files detected as binary by content inspection, providing better visibility into excluded files.
```
📄 Binary Files Detected:
─────────────────────────
3 files detected as binary by content inspection:
1. config/corrupted.txt
2. data/malformed.json
3. logs/output.log
These files have been excluded from the output.
Please review these files if you expected them to contain text content.
```
This helps users understand why files with text extensions might be excluded when they contain binary data.
## Improvements ⚡
### Security Enhancements (#774)
- Secured git command execution with enhanced safety measures
Special thanks to @szepeviktor for these important security improvements!
## Internal Changes 🔧
### CI/CD Improvements (#778)
- Schema updates on main branch
Special thanks to @BBboy01 for their first contribution with schema updates!
## Website Enhancements 🌐
### URL Parameter Support (#764, #775)
The Repomix website now supports URL query string parameters, allowing users to:
- Bookmark configurations with preset options
- Share links with predefined settings
Example URLs with preset configurations:
- https://repomix.com/?format=markdown&include=**%2F*.ts&ignore=**%2F*.test.ts
- https://repomix.com/?repo=yamadashy%2Frepomix&format=markdown&include=**%2F*.ts&ignore=**%2F*.test.ts
This makes the web interface more user-friendly and shareable.
## 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).