Releases: takanotume24/Cuuri
App v0.2.3
Release Notes for Cuuri v0.2.3
Notable Changes:
-
Session Management Enhancements:
- Improved handling of session selections in the
ChatSessions.vue
component to ensure a new session is created when no current session ID exists.
- Improved handling of session selections in the
-
Improved Error Handling:
- Refactored the
establish_connection
function to return aResult
type, allowing better error management when establishing a database connection. - Enhanced the handling of potential errors in several modules, such as fetching the database path and loading configuration files. Now uses
Result
types to improve error reporting and handling.
- Refactored the
-
Configuration Management:
- Updated the
get_config
andinit_config_file
functions to handle errors more gracefully, ensuring that users receive proper feedback if configuration files cannot be accessed or created. - Improved logic for checking the existence of directories and files, minimizing the chances of panics due to missing configurations.
- Updated the
-
Database Path Retrieval:
- Refined the
get_database_path
function to return aResult
, including appropriate error messages when the home directory cannot be determined.
- Refined the
-
Migration Handling:
- Improved the
run_migrations
function to return aResult
, allowing for enhanced error reporting if database migrations fail.
- Improved the
App v0.2.2
Release Notes for Cuuri v0.2.2
Important Update Notice
This update changes the handling of the SQLite file. As a result, compatibility with the previous $HOME/.cuuri/database.db
file has been lost. When upgrading from version 0.2.1 to 0.2.2, please delete the $HOME/.cuuri/database.db
file (make a backup if necessary) and then launch Cuuri. A new SQLite file will be automatically generated.
Overview
This release introduces several improvements and bug fixes to the Cuuri application, including database migrations, updated dependencies, and improvements in the handling of chat histories. The following details outline the changes made in v0.2.2.
Enhancements
Database Migrations
- Integrated
diesel_migrations
for better database migration management. - Created a new migration to define the
chat_histories
table, which stores historical chat data.- Up Migration: Establishes the
chat_histories
table with fields forid
,session_id
,question
,answer
, andcreated_at
. - Down Migration: Provides a rollback feature that drops the
chat_histories
table if needed.
- Up Migration: Establishes the
Version Updates
- Updated the application version to
0.2.2
inpackage.json
,package-lock.json
, andtauri.conf.json
. - Updated database dependencies to improve compatibility and performance.
Code Refactoring and Cleanup
- Removed the obsolete
src-tauri/src/database.rs
through refactoring. The database connection is now established using theestablish_connection
function. - Introduced
get_database_path
utility to dynamically determine the database path, ensuring the path is valid and directories are created if necessary. - Streamlined chat history retrieval and insertion processes to improve clarity and maintenance.
Configuration File Initialization
- Added
init_config_file
functionality to check for and create a default configuration file at the user's home directory if it does not exist. The config file now includes placeholders for the OpenAI API key and the default model.
Improved Functionality
- Updated chat history commands to utilize the new table schema and improved database connection handling.
- Reduced the complexity of function signatures by eliminating unnecessary state management, making the functions simpler and easier to read.
Dependency Updates
- Updated various dependencies to newer versions, including
diesel
, ensuring compatibility with the latest features and improvements.
Bug Fixes
- Addressed various minor issues identified during testing.
Conclusion
This release marks a significant improvement in the functionality and maintainability of the Cuuri application. The introduction of structured migrations and the refined database handling will enhance user experience and future development.
We appreciate your continued support and welcome any feedback or contributions to make Cuuri even better!
App v0.2.1
Release Notes for Version 0.2.1
Overview
This release includes significant updates to workflows, dependencies, and components for improved performance and functionality.
Enhancements
Workflows
- Cleanup Caches by Branch Workflow: Added a new workflow (
cleanup-chaches-by-a-branch.yml
) for cleaning up caches associated with branches when a pull request is closed. - Publish Workflow Adjustments: Updated the
publish-to-auto-release.yml
to trigger on themaster
branch and include additional testing jobs for multiple platforms (macOS, Ubuntu, Windows). - Test Build Only Workflow: Modified the
test-build-only.yml
to ignore themain
branch and enhanced node setup steps.
Dependencies
- Node Modules: Upgraded various dependencies such as
@vue/devtools
from version7.4.4
to7.6.7
andvite
from5.4.11
to6.0.2
. Updated esbuild dependencies to version0.24.0
, requiring Node.js version>=18
. - Cargo Packages: Upgraded
diesel
to2.2.6
andtokio
to1.42.0
.
Scripts
- Added
update_cargo_version.py
andupdate_tauri_version.py
scripts for easier version management in Tauri and Cargo projects. - Introduced
update_version.sh
script to streamline the process of updating version numbers across multiple files.
UI Components
- FileSelector Component: Refactored to use
v-model
for easier integration and automatic updates between selected files and parent components. This change removes the need for emittingfiles-selected
events manually.
Bug Fixes
- Fixed issues related to file handling within the
ChatInputForm
andFileSelector
components, simplifying the file selection process with Vue'sv-model
binding.
Thank you for your continued support and contributions to the Cuuri project. We aim to make every release more efficient and feature-complete.
App v0.2.0
Release Notes for Cuuri v0.2.0
Overview
We are excited to announce the release of Cuuri v0.2.0. This update brings significant improvements to the functionality and user experience, including enhanced integrations, new features, and a more intuitive UI.
Key Features and Updates
-
User Interface and Experience:
- Redesigned the chat interface using Vue components for a more modular approach.
- Added support for file uploads, allowing users to attach images to their messages.
- Implemented a new session management system, enabling users to create and switch between different chat sessions.
-
Frontend Enhancements:
- Integrated Bootstrap for improved UI styling and responsiveness.
- Added
dayjs
for better date handling in the application.
-
Backend and API Improvements:
- Introduced new API commands to retrieve chat history by session and list session IDs.
- Enhanced the
get_chatgpt_response
command to support image uploads as base64-encoded data. - Improved database operations with more robust error handling and async support.
-
Application Structure and Code Organization:
- Refactored the codebase into smaller, reusable components:
ApiKeyDialog
,ChatSessions
,ChatHistory
,ChatInputForm
, and more.
- Introduced TypeScript types to enforce strong typing and improve code maintainability.
- Refactored the codebase into smaller, reusable components:
-
DevTools and Development Experience:
- Integrated
@vue/devtools
to enhance debugging and development efficiency. - Enabled Vue DevTools connection in development mode for better component inspection.
- Integrated
-
Performance and Maintenance:
- Removed unused dependencies and updated existing ones to their latest versions for improved performance and security.
- Streamlined the build process by updating the Tauri configuration and Cargo dependencies.
-
Bug Fixes and Miscellaneous Improvements:
- Fixed various bugs related to chat history retrieval and session management.
- Enhanced error messaging for API key management and model selection processes.
Cuuri v0.1.1
Release Notes: Cuuri Version 0.1.1
New Features and Improvements
Added Dependabot Configuration
- Introduced a new
.github/dependabot.yml
file to automate the weekly update of npm packages and Cargo dependencies. This enhancement ensures that dependencies remain up-to-date, improving security and stability.
Continuous Integration (CI) Enhancements
- Renamed the workflow file to
publish-to-auto-release.yml
and added support for automatic releases on the release branch. - Enhanced the test build workflow to automatically run on pull request events.
Documentation Updates
- Updated
README.md
to provide clear installation and build instructions for Cuuri.
Dependency Updates
JavaScript Dependencies
- Updated
marked
from14.1.3
to15.0.3
. - Updated
uuid
from11.0.2
to11.0.3
. - Updated
vue
from3.3.4
to3.5.13
. - Updated
@tauri-apps/api
from2.0.3
to2.1.1
. - Updated
@tauri-apps/cli
from2.0.4
to2.1.0
. - Updated
@vitejs/plugin-vue
from5.0.5
to5.2.1
. - Updated
typescript
from5.2.2
to5.6.2
. - Updated
vite
from5.3.1
to5.4.11
. - Updated
vue-tsc
from2.0.22
to2.0.29
.
Rust Dependencies
- Updated
thiserror
to1.0.65
and2.0.3
. - Updated
syn
from2.0.85
to2.0.87
. - Updated
rustls
from0.23.16
to0.23.19
. - Updated
serde
from1.0.214
to1.0.215
. - Updated
serde_json
from1.0.132
to1.0.133
. - Updated
tokio
from1.41.0
to1.41.1
. - Updated
diesel
from2.2.4
to2.2.5
.
Other Fixes and Changes
Icon Updates
- Refreshed application icons across all supported platforms, enhancing the visual aesthetics of the app.
This release improves the stability and maintainability of Cuuri. We welcome and appreciate your feedback as we continue to improve our application.