Skip to content

Save Edit Tool Version 0.2.2 - HOT FIXES

Choose a tag to compare

@xLieferant xLieferant released this 29 Dec 17:44
· 178 commits to main since this release
c7e82ed

What's Changed

Added
ICON! icon

New Plugins: Integrated @tauri-apps/plugin-process, plugin-dialog, and plugin-fs across frontend and backend.
Caching System: Introduced backend and frontend caching for ETS2 profiles, featuring a new CachedProfile model and persistence for the last selected profile.
State Management: Implemented a thread-safe RwLock-based state in utils/current_profile.rs to replace CURRENT_PROFILE environment variables.
Release Automation: Refactored GitHub Actions workflow to support automated tag-based releases.
Changed
Version Bump: Updated application version to 0.2.2 across Cargo.toml, tauri.conf.json, and the UI.
Updater Logic:

  • Refactored updater.js to separate automatic and manual update flows.
  • Manual checks now redirect to the GitHub Releases page.
  • Switched Tauri install mode to basicUi in tauri.conf.json.
  • Improved Security: Hardened the Content Security Policy (CSP) and refined app capabilities in desktop.json.
  • Refactored main.js: Improved code structure and error handling; moved updater logic to a dedicated js/updater.js module.
  • UI Enhancements: The application now auto-scans profiles on startup and populates the dropdown menu from the local cache.

Fixed

  1. Thread Safety: Resolved potential race conditions by moving profile management to a thread-safe getter/setter architecture.
  2. Logging: Enhanced updater.js to better handle update availability checks and the shouldUpdate property.
  3. Dependencies
  4. Updated serde_json from 1.0.147 to 1.0.148.
  5. Updated various Tauri plugin permissions and configuration schemas.
  6. Changed
  7. Version Bump: Updated version display in index.html to 0.2.1.

Configuration: Expanded updater permissions and enabled MSI bundling in tauri.conf.json.