Skip to content

fix(staged): bump @tauri-apps/plugin-dialog to ^2.7.0#797

Open
logan-primary-vc wants to merge 1 commit into
block:mainfrom
logan-primary-vc:fix/bump-tauri-plugin-dialog-version
Open

fix(staged): bump @tauri-apps/plugin-dialog to ^2.7.0#797
logan-primary-vc wants to merge 1 commit into
block:mainfrom
logan-primary-vc:fix/bump-tauri-plugin-dialog-version

Conversation

@logan-primary-vc

@logan-primary-vc logan-primary-vc commented Jun 17, 2026

Copy link
Copy Markdown

Summary

  • Bumps @tauri-apps/plugin-dialog from ^2.6.0 to ^2.7.0 in apps/staged/package.json to match the Rust crate version (2.7.0)
  • Updates pnpm-lock.yaml accordingly

Fixes #796

Context

The Rust side specifies tauri-plugin-dialog = "2" which resolves to 2.7.0, but the NPM side was pinned at ^2.6.0. Tauri rejects builds when the Rust and JS plugin versions don't share the same minor version, breaking both install.sh and just app staged build.

Test plan

  • Verified install.sh curl install completes build and bundling successfully
  • Verified just app staged build completes successfully
  • Verified the built Staged.app launches correctly

Environment

  • MacBook Pro 16-inch (Nov 2024)
  • Apple M4 Pro, 48 GB
  • macOS Tahoe 26.3.1 (a)

The Rust crate tauri-plugin-dialog resolves to 2.7.0, but the NPM
package was pinned at ^2.6.0. Tauri's build rejects mismatched
major/minor versions across the Rust and JS sides of a plugin,
causing `install.sh` and `just app staged build` to fail.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: logan-primary-vc <logan@primary.vc>
@logan-primary-vc

Copy link
Copy Markdown
Author

Verification

Tested the full install.sh flow end-to-end on macOS (Apple Silicon):

Without this fix — build fails immediately:

Error Found version mismatched Tauri packages.
tauri-plugin-dialog (v2.7.0) : @tauri-apps/plugin-dialog (v2.6.0)

With this fix — build completes and produces both .app and .dmg:

Finished `release` profile [optimized] target(s) in 2m 18s
Built application at: .../Staged
Bundling Staged.app
Bundling Staged_0.1.8_aarch64.dmg
Finished 2 bundles at:
    .../bundle/macos/Staged.app
    .../bundle/dmg/Staged_0.1.8_aarch64.dmg
[staged-install] installing app to /Applications/Staged.app

The installed app launches and runs correctly.

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.

Staged install fails: tauri-plugin-dialog version mismatch (2.7.0 vs 2.6.0)

1 participant