Releases: devchat-ai/devchat
Releases · devchat-ai/devchat
DevChat Core v0.3.0
What's Changed
- handle git missing error by @yangbobo2021 in #143
- eliminate the dependency on binary by @yangbobo2021 in #142
- Install devchat without binary dependencies. by @yangbobo2021 in #145
- add required attri and output command setting by @yangbobo2021 in #146
- Fix command path replace by @yangbobo2021 in #147
- Enhancements to CLI: AI Workflow Integration, Storage Options, and Bug Fixes by @yangbobo2021 in #245
- Refactoring and expansion of the codebase by @yangbobo2021 in #251
- Fix empty filePath return issue in selected_lines function by @yangbobo2021 in #254
- Feat: Implement Cross-IDE Interface for Text Selection and Visible Range Retrieval by @yangbobo2021 in #263
- Feature enhancement for IDEService with detailed comments and documentation by @yangbobo2021 in #272
- Refactor devchat-core for Unified Configuration File Format Support by @yangbobo2021 in #274
- Enhance
prompt.txt
parsing: Path resolution fix and @file@ syntax support by @yangbobo2021 in #277 - Feature: Downgrade model validation severity to warnings by @yangbobo2021 in #279
- Synchronize Base Library Updates from workflows to devchat Repository by @yangbobo2021 in #289
- Resolve tiktoken dependency version conflict with AI libraries by @yangbobo2021 in #301
- Expose unit_test Command in Chat and Display Usage Instructions by @yangbobo2021 in #307
- Fix README Error Marking When Workflow Triggered Without User Input by @yangbobo2021 in #314
- Refactor command_runner to Handle README Files During Command Execution by @yangbobo2021 in #343
- fix: Update TikToken dependency to ensure version compatibility by @yangbobo2021 in #346
- Fix chat_json decorator PROMPT mutation in devchat by @yangbobo2021 in #355
- Explicitly clone workflows from main branch by @kagami-l in #363
- Optimize AI response times and refactor code for better performance by @yangbobo2021 in #364
- Implement Tiktoken cache directory and JSON response formatting by @yangbobo2021 in #371
- Add devchat_proxy setting by @yangbobo2021 in #372
- Refactor stream_response and add devchat_proxy setting by @yangbobo2021 in #373
- fix: Enhance content_to_json for backward compatibility by @yangbobo2021 in #374
- New workflow engine by @kagami-l in #344
- Reuse click for cli by @kagami-l in #379
- Change the source order of workflow repo by @kagami-l in #380
- Refactor workflow file loading and error handling by @yangbobo2021 in #381
- Improve project settings by @kagami-l in #382
- chore: update tiktoken dependency to version >0.4.0 by @yangbobo2021 in #383
- Revert "chore: update tiktoken dependency to version >0.4.0" by @yangbobo2021 in #384
- Update tiktoken dependency to 0.4.0 by @yangbobo2021 in #385
- chore: Add logging to IDEService in OpenAI and pipeline modules by @yangbobo2021 in #389
- Workflow env performance improvement by @kagami-l in #394
- Fix typo by @kagami-l in #395
- Refactor main entrypoint to disable windows_expand_args by @yangbobo2021 in #396
- Refactor log.py for file insertions handling in CLI by @yangbobo2021 in #397
- Add SSL context to HTTPS connection in http_openai.py by @yangbobo2021 in #398
- Update OpenAI API base URL handling by @yangbobo2021 in #399
- Standardize and Optimize Error Handling in Chat Modules and Stream Functions by @yangbobo2021 in #402
- feat: Add new IDE service methods by @yangbobo2021 in #404
- Devchat local service implementation by @kagami-l in #406
- Remove redundants by @kagami-l in #407
New Contributors
Full Changelog: v0.2.10...v0.3.0
DevChat Core v0.2.10
What's Changed
- Protect the prompts file from being damaged by @yangbobo2021 in #139 and #141
Full Changelog: v0.2.9...v0.2.10
DevChat Core v0.2.9
(Since v0.2.6)
Highlights
- Added
devchat log --insert
to insert a prompt to the log - Added setters of Prompt attributes
- Removed anthropic and litellm packages
- Refactored OpenAI API call logic
Change Log
Improvements
- Supported inserting an outside prompt to DevChat log (d6a1765)
- Tested CLI log insert. Added
assert result.exit_code == 0
checks (cbaa3e7) - Added setters for Prompt attributes (f0c8aff)
- Directly count tokens of other models using cl100k_base (ad67bbc, 38b9769)
Bug Fixes
- Fixed the usage of an f-string in CLI log test (ed7c538)
- Ensured timestamp difference in CLI topic test (3d9aeb7)
Package Removals
Documentation
DevChat Core v0.2.6
(Since v0.2.0)
Highlights
- Introduced ConfigManager for handling chat model configurations.
- Upgraded the chat provider configuration and added support for other chat providers and their parameters.
- Deprecated old JSON configs in favor of new YAML format.
- Added recursive prompting support via RecursivePrompter class.
- Improved error handling in the CLI commands.
- Enhanced Assistant and OpenAIChat classes for better response handling.
- Provided protection against tiktoken counting errors.
- Improved handling of namespaces in the engine.
Change Log
Improvements
- Implemented ConfigManager for chat models, with creation, loading, validation, and updating of configs. (3d7c49b)
- Added support for converting old JSON config to new YAML format, support for other chat providers and their parameters, and refactored the config manager. (003ad46)
- Added RecursivePrompter class to handle recursive prompting. (f4b558e)
- Refactored error handling in the CLI commands. (e3b7511, 20e0e7d)
- Updated Assistant and OpenAIChat classes for better response handling. (64f4ba4)
- Added a fall-back token counting function. (5cb9e7c)
- Enhanced Namespace class with additional functionality. (4019c42, 9bab5a7)
Bug Fixes
- Fixed a bug relating to incorrect role checks in the OpenAIPrompt class, ensuring that messages with the "function" role are correctly processed. (5d25ccd)
- Fixed a bug that would allow directories starting with '.' to be added as commands. (7109068)
Prompts
- Updated instruct.txt to clarify instructions about response language request. (b4ea449)
DevChat v0.2.0
Highlights
- Added database migration functionality
- Improved response format in Assistant and Prompt
- Added robust from_dict to OpenAIMessage class
- Updated topic data handling in _cli.py
- Refactored token counting and added tests
Change Log
Improvements
- Added _migrate_db() for database migrations and checks current database version for updates (1ecafe8)
- Added robust from_dict to OpenAIMessage class and updated tests to use new from_dict method (d95488d)
- Updated topic data handling in _cli.py, includes topic metadata in topic list (8fa4352)
- Improved response format in Assistant and Prompt, added _response_reasons field in Prompt to store finish reasons (348a486)
- Added a new CLI option to allow users to specify a JSON string (de7e6ef)
- Added utility functions for formatted response handling, refactored test_cli_prompt.py to use these new utility functions (fa67ed7)
- Refactored token counting in openai_prompt.py and utils.py, added new tests for token counting (bc6f673)
Bug Fixes
- Fixed response handling bugs in Assistant and Prompt, handle multiple responses in Assistant class (e76c58d)
- Removed set_hash method from OpenAIChat class, added _check_complete method to Prompt class (8fcf9d6)
Tests
DevChat v0.1.15
Highlights
- Added delete option to log command in CLI, allowing deletion of a leaf prompt.
- Replaced deprecated pkg_resources with importlib.metadata for better compatibility and performance.
- Added --version option to CLI to print the version of the devchat package.
- Migrated to Poetry for dependency management, improving project setup and dependency resolution.
- Added function call tests in CLI prompt, improving the robustness of the software.
- Added git_diff and git_log commands to workflow, enhancing the functionality of the software.
Change Log
Improvements
- Added delete option to log command in CLI, allowing deletion of a leaf prompt (e9e337d).
- Replaced deprecated pkg_resources with importlib.metadata (9deb481).
- Added --version option to CLI (8aa0f4d).
- Migrated to Poetry for dependency management (bb6b7ff).
- Added function call tests in CLI prompt (f266d4c).
- Added git_diff and git_log commands to workflow (9e5a1af).
Bug Fixes
- Fixed format issues (8450c2a).
- Fixed style error (0726852, 4c2cd78).
- Removed unnecessary whitespace in _cli.py and OpenAIPrompt class (86ba169, 9e292de).
Refactors
- Refactored test code to use response string template (1ade1ae).
- Refactored test_store.py to use pytest fixture (4566ee3).
- Refactored unix_to_local_datetime function (2a06fb3).
- Refactored function handling in Assistant and OpenAIChat classes (7cdcc38).
- Refactored function call condition in OpenAIChat (79a69cf).
- Improved code readability in _cli.py (a5e74e3).
Documentation
DevChat v0.1.10-beta
Highlights
- Support for both Git and SVN repositories
- Improved topic management and added topic command
- Added topic filtering to log command
- Increased request timeout for OpenAI API
Change Log
Improvements
- Support both Git and SVN repositories (38a9f2d)
- Improved topic management and added topic command (041b972)
- Added topic filtering to log command (8299aef)
- Increased request timeout for OpenAI API (2090a06)
- Suppress the output of internal call to git or svn (6548ebb)
Bug Fixes
- Fixed KeyError issue in _update_topics_table() (0dec1fb)
- Avoid modifying .gitignore in Git root (00f595e)
Documentation
- Update README.md (0beac3c, e57f850)
- Add instruct.txt for release note (b423664)
- Update instruct.txt for better clarity (edf3b4d)
Tests and Refactoring
- Refactor test_cli_prompt.py and add conftest.py (abdb108)
- Update test cases for topic and prompt selection (0d53c92)
- Simplify topic management in Store class (d96528f)
- Rename select_recent to select_prompts of Store (16a7244)
- Fix _update_topics_table() and add new tests (0dec1fb)
- Add topic filtering to select_recent method (ae3bb1d)
- Add topic management to Store class (8e0d40a)
Other Changes
DevChat v0.1.8-beta
Highlights
- Implemented deep load function for OpenAIPrompt in OpenAIChat
- Enhanced error handling and logging
- Improved data storage and prompt handling
Changelog
- Implement deep load function for OpenAIPrompt in OpenAIChat (d294743)
- Improve error handling, logging, and output (ebb7987, 52bb5d7, 134319b, 18dcf94)
- Refactor data storage and prompt handling
- Replace dict with list for storing responses (9fa4e31)
- Calculate hash using sha256 (fe29e5c)
- Replace shelve store with TinyDB (f14188b)
- Refactor Store and Chat for loading prompts (d7bda72)
- Make prompts dataclasses (49e578c)
- Fix minor bugs and configuration issues (2660cb4, 4613b8a)
DevChat v0.1.7-beta
Highlights
Key highlights since v0.1.4-beta include:
- Replaced video with gifs in README.md
- Fixed a bug in the order of storing prompts
- Added parent to prompt shorlog
- Optimized the order of messages
- Limited token number for Assistant to make prompt
- Added token counting utils
- Added commitmsg as code type for commit messages
Change Log
Improvements
- Changed default temperature of GPT to 0 (c9fcf60)
- Added parent to prompt shorlog (e3b2064)
- Optimized the order of messages (1e6e130)
- Added test cases for tokens-per-prompt (afefe48)
- Limited token number for Assistant to make prompt (342fbfe)
- Added token counting utils (f51f55c)
- Added commitmsg as code type for commit messages (f49fd6d)
Bug Fixes
- Fixed a bug in the order of storing prompts (2488009)
- Fixed a bug of overwriting request token number (604ea31)
Documentation
DevChat v0.1.4-beta
- Fixed limit of 20 messages in memory.
- Optimized message priority and order in memory.
Full Changelog: v0.1.4-alpha...v0.1.4-beta