-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve file processing and error handling
- Enhance priority handling by collecting and sorting files before processing - Fix validation error output to use stderr instead of stdout - Fix file priority ordering to respect priority scores in config - Fix test assertions for validation error messages The changes ensure that: 1. Files are processed in correct priority order (highest first) 2. Error messages appear in stderr as expected 3. All tests pass including priority, ignore patterns, and validation tests
- Loading branch information
Showing
12 changed files
with
617 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [0.3.0] - 2024-01-13 | ||
|
||
### Added | ||
|
||
- Comprehensive test suite covering all major functionality | ||
- Integration tests for file handling, ignore patterns, and priorities | ||
- Debug output for better visibility into file processing | ||
|
||
### Fixed | ||
|
||
- File priority handling now correctly sorts files by priority score | ||
- Validation error messages now properly output to stderr | ||
- Binary file detection and handling improvements | ||
- Gitignore pattern handling fixes | ||
|
||
### Changed | ||
|
||
- Improved file processing to collect and sort before processing | ||
- Enhanced error handling and validation messages | ||
- Better debug logging throughout the codebase | ||
|
||
## [0.2.0] - 2024-01-11 | ||
|
||
### Added | ||
|
||
- Initial release with basic functionality | ||
- Support for processing repository files | ||
- Configuration via yek.toml | ||
- Priority rules for file processing | ||
- Ignore patterns support | ||
- Binary file detection |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.