ChatGPT CLI v1.10.9
New Features:
- Enhanced Diff Application with Fuzzy Matching:
- Introduced a new feature that improves how diffs are applied by allowing for "fuzzy" matches around preferred indexes. This feature aims to increase the robustness of applying patches where multiple matching contexts exist.
- Code reference:
unified_diff.go,unified_diff_test.go
Improvements:
-
Improved Error Messaging:
- Updated error messages to include more contextual information, such as diff line numbers. This enhancement helps in diagnosing issues more effectively.
- Code reference:
unified_diff.go
-
Refactor and Cleanup:
- Code refactoring to improve readability and maintainability, focusing on the diff utilities module.
- Code reference:
unified_diff.go,unified_diff_test.go
Bug Fixes:
- Patch Context Matching Issues: