Repository navigation
Tauri v2 - #75
Merged
Merged
Tauri v2#75
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
tauri,tauri-build, and all related plugins to their v2 versions inCargo.toml, and replaced previous GitHub plugin dependencies (e.g.,tauri-plugin-store,tauri-plugin-autostart) with official v2 crates. Added new plugins such astauri-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 includedtauri-plugin-updater. Updated the Rust toolchain requirement to 1.78. [1] [2]package.jsonandpnpm-lock.yamlto use the new@tauri-apps/apiv2,@tauri-apps/cliv2, 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:
src-tauri/capabilities/desktop.jsonfor desktop application permissions, andsrc-tauri/capabilities/migrated.jsonto define permissions migrated from Tauri v1. [1] [2]Development Environment:
.zed/settings.jsonfile to configure formatting, LSP, and editor behavior for the Zed editor, matching the existing VSCode workspace settings..gitignoreto exclude the/gen/directory generated by Tauri v2.