ChatGPT CLI v1.7.4
New Features
- Conversation History Command (
--show-history
): Introduced a new command-line flag to display human-readable conversation history for the specified thread or the default thread if no argument is provided.- Code reference: cmd/chatgpt/main.go, history/history.go
Improvements
- Error Handling in Tests: Enhanced error output in integration tests to improve debugging efficiency by printing detailed error messages.
- Code reference: integration/integration_test.go
Bug Fixes
- Minor Typographical Error in README: Corrected a typographical error in the
README.md
to improve documentation clarity.- Code reference: README.md
Other Changes
- Makefile Cleanup: Removed the
run_test
target and its script to streamline the build process.- Code reference: Makefile
- Test Refactoring: Updated test assertions in
configmanager_test.go
to use GomegaExpect
for better readability and reliability.- Code reference: configmanager/configmanager_test.go
- Addition of Test Mocks: Added new mock generation for testing history functionalities to enhance test coverage and reliability.
- Code reference: history/historymocks_test.go
Upgrade Notes
To upgrade to version v1.7.4, you can use one of the following methods:
- Homebrew Upgrade: Run
brew upgrade chatgpt-cli
if you have installed the application via Homebrew. - Direct Download: Alternatively, you can download the latest binaries for your specific operating system from the releases page on our GitHub repository.
Ensure your development environment is consistent and up-to-date by following these recommendations.