Skip to content

Conversation

@braden-w
Copy link

@braden-w braden-w commented Aug 11, 2025

Summary

This PR updates all dependencies to their latest versions to ensure compatibility with the latest Tauri v2.7.0 and to address deprecation warnings.

Changes

Rust Dependencies

  • Tauri: Updated from 2.2.5 to 2.7.0
  • tauri-plugin: Updated from 2.0.4 to 2.3.1
  • tokio: Updated from 1.43.0 to 1.47.1
  • serde: Updated from 1.0.217 to 1.0.219
  • serde_json: Updated from 1.0.138 to 1.0.142
  • reqwest: Updated from 0.12.12 to 0.12.22
  • time: Updated from 0.3.37 to 0.3.41
  • os_info: Updated from 3.9.2 to 3.12.0
  • rand: Updated from 0.9.0 to 0.9.2
  • log: Updated from 0.4.25 to 0.4.27

Code Fixes

  • Fixed deprecation warning: Replaced std::panic::PanicInfo with std::panic::PanicHookInfo (deprecated in latest Rust versions)

JavaScript Dependencies

  • @tauri-apps/api is already at the latest version (2.7.0)
  • All TypeScript build dependencies are up to date

Testing

  • ✅ Rust plugin compiles without errors
  • ✅ TypeScript builds successfully
  • ✅ Example project dependencies installed successfully
  • ✅ No breaking changes detected

Compatibility

This update ensures the plugin is compatible with:

  • Tauri v2.7.0 (latest)
  • Latest Rust stable compiler
  • Modern TypeScript/JavaScript tooling

These updates are important for:

  1. Security: Keeping dependencies updated for latest security patches
  2. Performance: Benefiting from optimizations in newer versions
  3. Compatibility: Ensuring the plugin works with latest Tauri applications
  4. Future-proofing: Avoiding accumulation of technical debt

Fixes #25

- Update Tauri from 2.2.5 to 2.7.0
- Update tauri-plugin from 2.0.4 to 2.3.1
- Update various Rust dependencies to latest versions
- Fix deprecated PanicInfo to use PanicHookInfo
- Update example project dependencies
- Update @tauri-apps/api to 2.7.0 across all package.json files
- Update @rollup/plugin-node-resolve to 16.0.1
- Update Svelte to v5.14.0 in example
- Update Vite to v5.4.0 (compatible with Svelte plugin)
- Update @tauri-apps/cli to 2.7.0
- Update internal-ip to 8.0.0
- Update @sveltejs/vite-plugin-svelte to 4.0.0
@cristipufu
Copy link
Member

Hi @braden-w, thanks for your contribution. I'm a bit concerned about this change #20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Guide for Tauri v2 Integration and Workaround for window.__TAURI_IPC__ Error

2 participants