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