Skip to content

Releases: takanotume24/Cuuri

App v0.2.3

19 Dec 13:35
b32c69d
Compare
Choose a tag to compare

Release Notes for Cuuri v0.2.3

Notable Changes:

  1. 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.
  2. Improved Error Handling:

    • Refactored the establish_connection function to return a Result 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.
  3. Configuration Management:

    • Updated the get_config and init_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.
  4. Database Path Retrieval:

    • Refined the get_database_path function to return a Result, including appropriate error messages when the home directory cannot be determined.
  5. Migration Handling:

    • Improved the run_migrations function to return a Result, allowing for enhanced error reporting if database migrations fail.

App v0.2.2

17 Dec 12:02
aa75743
Compare
Choose a tag to compare

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 for id, session_id, question, answer, and created_at.
    • Down Migration: Provides a rollback feature that drops the chat_histories table if needed.

Version Updates

  • Updated the application version to 0.2.2 in package.json, package-lock.json, and tauri.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 the establish_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

04 Dec 13:05
ac77b37
Compare
Choose a tag to compare

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 the master branch and include additional testing jobs for multiple platforms (macOS, Ubuntu, Windows).
  • Test Build Only Workflow: Modified the test-build-only.yml to ignore the main branch and enhanced node setup steps.

Dependencies

  • Node Modules: Upgraded various dependencies such as @vue/devtools from version 7.4.4 to 7.6.7 and vite from 5.4.11 to 6.0.2. Updated esbuild dependencies to version 0.24.0, requiring Node.js version >=18.
  • Cargo Packages: Upgraded diesel to 2.2.6 and tokio to 1.42.0.

Scripts

  • Added update_cargo_version.py and update_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 emitting files-selected events manually.

Bug Fixes

  • Fixed issues related to file handling within the ChatInputForm and FileSelector components, simplifying the file selection process with Vue's v-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

04 Dec 02:43
566ccc2
Compare
Choose a tag to compare

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

  1. 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.
  2. Frontend Enhancements:

    • Integrated Bootstrap for improved UI styling and responsiveness.
    • Added dayjs for better date handling in the application.
  3. 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.
  4. 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.
  5. DevTools and Development Experience:

    • Integrated @vue/devtools to enhance debugging and development efficiency.
    • Enabled Vue DevTools connection in development mode for better component inspection.
  6. 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.
  7. 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

29 Nov 09:54
3f64d3c
Compare
Choose a tag to compare

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 from 14.1.3 to 15.0.3.
  • Updated uuid from 11.0.2 to 11.0.3.
  • Updated vue from 3.3.4 to 3.5.13.
  • Updated @tauri-apps/api from 2.0.3 to 2.1.1.
  • Updated @tauri-apps/cli from 2.0.4 to 2.1.0.
  • Updated @vitejs/plugin-vue from 5.0.5 to 5.2.1.
  • Updated typescript from 5.2.2 to 5.6.2.
  • Updated vite from 5.3.1 to 5.4.11.
  • Updated vue-tsc from 2.0.22 to 2.0.29.

Rust Dependencies

  • Updated thiserror to 1.0.65 and 2.0.3.
  • Updated syn from 2.0.85 to 2.0.87.
  • Updated rustls from 0.23.16 to 0.23.19.
  • Updated serde from 1.0.214 to 1.0.215.
  • Updated serde_json from 1.0.132 to 1.0.133.
  • Updated tokio from 1.41.0 to 1.41.1.
  • Updated diesel from 2.2.4 to 2.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.