Releases: yamadashy/repomix
v0.2.12
This release introduces new CLI flags to provide users with more control over the structure and content of Repomix output.
Features
Added CLI Flags for Output Control (#236)
This release adds new CLI flags that allow users to control the output:
--no-file-summary
: Disables the file summary section in the output.--no-directory-structure
: Disables the directory structure section in the output.--remove-comments
: Enables comment removal from supported file types.--remove-empty-lines
: Enables removal of empty lines from the output.
These flags provide more granular control over the output, and can be used to override configurations from the config file.
How to Update
To update to the latest version, run:
npm update -g repomix
or if you use Homebrew
brew upgrade repomix
or if you use docker 🐳
docker run -v .:/app -it --rm ghcr.io/yamadashy/repomix:0.2.12
We appreciate your feedback and contributions to make Repomix even better!
v0.2.11
This release focuses on enhancing usability, flexibility, and remote repository handling. We've aimed to make Repomix more intuitive, particularly for those working with remote repositories or using custom configurations.
What's New
Support Commit SHA in --remote-branch Option (#195, #212)
- The
--remote-branch
option now supports specific commit hashes, not just branch names or tags.- This allows users to checkout the remote repository to a specific state using a SHA, providing finer control over remote repository fetching.
For more details, please see Remote Repository Processing in the README.
Thank you to @tranquochuy645 for this valuable contribution!
Bug Fixes
Fixed an issue where instruction file is not found when using a custom config file (#231)
- The instruction file path is now resolved relative to the current working directory (CWD) instead of the location of the config file.
How to Update
To update to the latest version, run:
npm update -g repomix
or if you use Homebrew
brew upgrade repomix
or if you use docker 🐳
docker run -v .:/app -it --rm ghcr.io/yamadashy/repomix:0.2.11
We appreciate your feedback and contributions in making Repomix better! If you encounter any issues or have suggestions, please share them through our GitHub issues.
v0.2.9 / v0.2.10
This release introduces Docker support, making Repomix more accessible and easier to use in containerized environments. It also includes an important breaking change regarding Node.js version support.
What's New
Docker Support 🐳 (#221, #222)
- Added official Docker support for running Repomix.
You can now run Repomix using Docker:
docker run -v .:/app -it --rm ghcr.io/yamadashy/repomix
For more detailed Docker usage instructions and examples, please see our Docker documentation.
Thanks to @gaby for this valuable contribution that makes Repomix more accessible to containerized environments.
Maintenance
Node.js Version Support (#225)
- Dropped support for Node.js 16.x as it has reached End of Life.
- Required Action: Please upgrade to Node.js 18.x or later
Thanks to @chenrui333 for helping maintain our Node.js compatibility:
How to Update
To update to the latest version, run:
npm update -g repomix
As always, we appreciate your feedback and contributions to make Repomix even better! If you encounter any issues or have suggestions, please share them through our GitHub issues.
v0.2.8
This release introduces new configuration options to control the output of the file summary and directory structure sections, providing more flexibility in customizing the output.
What's New
Customizable File Summary and Directory Structure Output (#206, #224)
- Added
output.fileSummary
option (default:true
): Controls whether to include the file summary section at the beginning of the output. - Added
output.directoryStructure
option (default:true
): Controls whether to include the directory structure in the output.
These options allow you to tailor the output to your specific needs. For example:
- You can omit the file summary and directory structure to reduce token usage when interacting with LLMs.
- You can include only necessary sections to generate output optimized for specific AI models.
Example Configuration:
{
"output": {
"fileSummary": false,
"directoryStructure": true,
// ... other settings
}
}
To update to the latest version, run:
npm update -g repomix
As always, we appreciate your feedback and contributions to make Repomix even better! If you encounter any issues or have suggestions, please share them through our GitHub issues.
v0.2.7
This release focuses on improving code quality and performance, particularly when processing large codebases.
Improvements
JSON Configuration Improvements (#209, #214)
- Added support for inline and block comments in repomix.config.json
Special thanks to @ivanionut for improving JSON configuration handling with their first contribution!
Enhanced File Processing Performance (#208, #223)
- Optimized file processing efficiency when removeComments and removeEmptyLines are enabled
Internal Changes
Code Reorganization (#217)
- Refactored packager.ts into smaller, single-purpose functions
- Improved code maintainability while preserving functionality
Special thanks to @mikelovesrobots for the excellent refactoring work on their first contribution! The changes have made the codebase more maintainable for future development.
To update to the latest version, run:
npm update -g repomix
As always, we appreciate your feedback and contributions to make Repomix even better! If you encounter any issues or have suggestions, please share them through our GitHub issues.
v0.2.6
This release introduces remote repository features and security check improvements.
What's New
Enhanced Remote Repository Support (#196, #199)
- Added new
--remote-branch
option for cloning specific branches
Example usage:
# Clone a specific branch
repomix --remote user/repo --remote-branch develop
Special thanks to @tranquochuy645 for their first contribution, adding the remote branch feature!
Security Check Improvements (#191, #201)
- Added
--no-security-check
command line option for more control over security checking - Enables bypassing security checks when needed (e.g., when working with cryptographic libraries)
How to Update
To update to the latest version, run:
npm update -g repomix
We value your feedback and contributions in making Repomix better! If you encounter any issues or have suggestions, please share them through our GitHub issues.
v0.2.5
Bug Fixes
Fixed Missing Dependency (#186)
- Added missing
minimatch
dependency
How to Update
To update to the latest version, run:
npm update -g repomix
We value your feedback and contributions in making Repomix better! If you encounter any issues or have suggestions, please share them through our GitHub issues.
v0.2.4
This release introduces enhanced directory handling capabilities and includes several improvements to core functionality, making Repomix more versatile and reliable.
What's New
Empty Directory Support (#180, #161)
- Added new option
includeEmptyDirectories
to include empty directories in repository structure
To include empty directories in your output, add the following to your repomix.config.json
:
{
"output": {
"includeEmptyDirectories": true
}
}
We'd like to thank @iNerdStack for implementing this feature in their contribution to Repomix!
Improvements
Statistics Formatting Enhancement (#177)
- Added number formatting for improved readability
- Fixed token calculation for more accurate reporting
How to Update
To update to the latest version, run:
npm update -g repomix
We value your feedback and contributions in making Repomix better! If you encounter any issues or have suggestions, please share them through our GitHub issues.
v0.2.3
This release introduces enhanced security features and improved error handling, making Repomix more robust and user-friendly.
Improvements
Enhanced File System Permission Handling (#165)
- Added comprehensive permission checks for directory scanning
- Improved error messages with clear remediation steps, especially for macOS security restrictions
- Added detailed guidance in CLI output when permission issues are encountered
Node.js 23 Support (#166)
- Added full support for Node.js 23
Improved Error Handling and Validation (#167, #171)
- Implemented robust configuration validation system
- Added clear, actionable error messages for configuration issues
- Enhanced error recovery and reporting across core functionalities
How to Update
To update to the latest version, run:
npm update -g repomix
We value your feedback and contributions in making Repomix better! If you encounter any issues or have suggestions, please share them through our GitHub issues.
v0.2.2
This release adds a new clipboard copy feature and includes several internal improvements to our CI process.
What's New
Copy to Clipboard Feature (#152, #160)
- Added new
--copy
option to copy the output to system clipboard - Output can now be both saved to file and copied to clipboard in one command
- Configurable through
repomix.config.json
usingoutput.copyToClipboard
option
We'd like to thank @vznh for implementing this feature in their first contribution to Repomix!
Internal Changes
CI Improvements
- Switched to official actionlint Docker image for more reliable CI checks (@szepeviktor in #156)
- Re-added Homebrew bump workflow for automated formula updates (@chenrui333 in #151)
How to Use
Copy output to clipboard using CLI:
repomix --copy
Or configure it in repomix.config.json
:
{
"output": {
"copyToClipboard": true
}
}
How to Update
To update to the latest version, run:
npm install -g repomix
For macOS users:
brew upgrade repomix
We value your feedback and contributions in making Repomix better! If you encounter any issues or have suggestions, please share them through our GitHub issues.
📢 Join our community discussion and share your experience with Repomix: #154