Skip to content

Tauri v2 - #75

Merged
kadiryazici merged 4 commits into
mainfrom
tauri-v2
Jul 13, 2026
Merged

kadiryazici merged 4 commits into
mainfrom
tauri-v2

Conversation

@kadiryazici

Copy link
Copy Markdown
Member

This pull request upgrades the project from Tauri v1 to Tauri v2, migrating both the Rust backend and JavaScript/Node dependencies to the new major version. It replaces direct GitHub plugin dependencies with the new official Tauri v2 plugins, updates the Rust toolchain and Tauri build system, and introduces new and updated capability configuration files. Additionally, it adds project-local settings for the Zed editor.

The most important changes are:

Tauri v2 Upgrade and Plugin Migration:

  • Upgraded tauri, tauri-build, and all related plugins to their v2 versions in Cargo.toml, and replaced previous GitHub plugin dependencies (e.g., tauri-plugin-store, tauri-plugin-autostart) with official v2 crates. Added new plugins such as tauri-plugin-os, tauri-plugin-dialog, tauri-plugin-shell, tauri-plugin-process, tauri-plugin-http, tauri-plugin-notification, tauri-plugin-single-instance, tauri-plugin-deep-link, and conditionally included tauri-plugin-updater. Updated the Rust toolchain requirement to 1.78. [1] [2]
  • Updated JavaScript dependencies in package.json and pnpm-lock.yaml to use the new @tauri-apps/api v2, @tauri-apps/cli v2, and the suite of new Tauri v2 plugins, removing old GitHub-based plugin packages. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Capabilities and Permissions:

  • Added new capability configuration files: src-tauri/capabilities/desktop.json for desktop application permissions, and src-tauri/capabilities/migrated.json to define permissions migrated from Tauri v1. [1] [2]

Development Environment:

  • Added a project-local .zed/settings.json file to configure formatting, LSP, and editor behavior for the Zed editor, matching the existing VSCode workspace settings.
  • Updated .gitignore to exclude the /gen/ directory generated by Tauri v2.

@kadiryazici kadiryazici self-assigned this Jul 13, 2026
@kadiryazici
kadiryazici merged commit d0cd51c into main Jul 13, 2026
1 check passed
@kadiryazici
kadiryazici deleted the tauri-v2 branch July 13, 2026 20:35
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.

1 participant