Releases: gelleson/codemerge
v0.5.0
v0.5.0 - Enhanced Functionality and Dependency Updates
This release introduces significant improvements to the codemerge tool, including enhanced token management capabilities and numerous dependency updates.
New Features
- Token Management: Added comprehensive token management features, allowing users to specify a tokenizer model (gpt-3.5, gpt-4, claude), set a token budget, and receive warnings when nearing the budget. Output formats (JSON, CSV, Markdown) are now supported.
- Configuration File Support: Introduced support for configuration files (YAML, TOML, JSON) to customize settings. CLI arguments can override configuration file values.
- Metadata Support: Added the ability to include custom metadata fields in the token analysis reports.
Improvements
- CLI Enhancements: The command-line interface has been rewritten using Clap, resulting in a more user-friendly and robust experience. Subcommands and better argument handling have been implemented.
- Dependency Updates: Many dependencies have been updated to their latest versions for improved security and stability. This includes significant updates to Clap, Serde, and related crates.
- Merge Improvements: The
merge
subcommand now supports an optional configuration file to specify additional settings. File names are now included in output file when no output file is specified.
Full Changelog
For a complete list of changes, please see the full changelog.
v0.4.2
Release Notes - codemerge v0.4.2
This release includes a minor bug fix and no new features.
Bug Fixes:
- Improved error handling and removed unnecessary debug print statements. The
read_file_contents
function now more efficiently handles file reading operations.
This release focuses on enhancing stability and improving the overall user experience. No functional changes were introduced.
v0.4.1
Release Notes for codemerge v0.4.1
This release focuses on improved file handling and ignore logic, along with a version bump.
Enhancements:
-
Improved File Handling and Ignore Logic: The file handling and ignore logic in
file_ops.rs
have been significantly improved. The implementation now leverages.gitignore
files and allows for more flexible custom ignore patterns specified as strings, enhancing robustness and flexibility. Hidden files are no longer ignored by default, and.git
directories are explicitly excluded. This addresses issues related to inconsistent file processing and enhances the tool's ability to handle complex directory structures. -
Version Bump: The version has been updated to
0.4.1
.
Previous Releases:
- v0.4.0: Added CLI for code merging and token counting. Updated to Rust 2021 edition.
- v0.3.3: Bug fixes and dependency updates.
- v0.3.1: Initial release of the CLI for code merging and token counting. Added
--file-names-only
option.
This release represents a significant improvement to the core functionality of codemerge
, making it more reliable and user-friendly. We encourage users to update to the latest version.