Skip to content

ChatGPT CLI v1.10.9

Choose a tag to compare

@kardolus kardolus released this 22 Jan 14:20
· 21 commits to main since this release

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:
    • Resolved bugs where patch application would fail due to context mismatches. Now, the application logic correctly identifies and matches the context even in complex scenarios.
    • Code reference: unified_diff.go, unified_diff_test.go

Other Changes:

  • Test Suite Expansion:

    • Added numerous test cases to thoroughly validate the new fuzzy diff application logic, ensuring correctness across various scenarios.
    • Code reference: unified_diff_test.go
  • Removed Obsolete Assets:

    • Deleted redundant agent.gif files from the repository to reduce clutter.
    • Code reference: Removed agent.gif

Upgrade Notes:

  • The release version v1.10.9 introduces improvements and features requiring a system update. You can update to the latest version using one of the following methods:
    • Run brew upgrade chatgpt-cli, if you are using Homebrew.
    • Alternatively, download the binaries directly from our official releases page for your specific operating system.

We hope you enjoy these improvements and appreciate your support and feedback as we continue to enhance our software.