Skip to content

fix tauri-plugin-dialog version constraint to match other plugins#8542

Open
morgmart wants to merge 1 commit intomainfrom
fix/tauri-plugin-dialog-version-constraint
Open

fix tauri-plugin-dialog version constraint to match other plugins#8542
morgmart wants to merge 1 commit intomainfrom
fix/tauri-plugin-dialog-version-constraint

Conversation

@morgmart
Copy link
Copy Markdown
Collaborator

Overview

Category: fix
User Impact: Resolves a build warning about mismatched Tauri package versions that could block just dev from starting.

Problem: The tauri-plugin-dialog Rust crate was pinned to ">=2,<2.7" while the NPM package @tauri-apps/plugin-dialog resolved to 2.7.0, causing a version mismatch error on every dev build.

Solution: Relax the Cargo constraint to "2" to match every other Tauri plugin in the project. This lets Cargo resolve to the same minor version as the NPM package.

File changes

ui/goose2/src-tauri/Cargo.toml
Changed tauri-plugin-dialog version from ">=2,<2.7" to "2" to align with the pattern used by all other Tauri plugins (tauri-plugin-opener, tauri-plugin-window-state, tauri-plugin-log).

Reproduction Steps

  1. Run just dev from ui/goose2/
  2. Confirm the "Found version mismatched Tauri packages" error no longer appears

Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
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