Skip to content

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

Merged
matt2e merged 1 commit into
block:mainfrom
logan-primary-vc:fix/bump-tauri-plugin-dialog-version
Jun 22, 2026
Merged

fix(staged): bump @tauri-apps/plugin-dialog to ^2.7.0#797
matt2e merged 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
Contributor

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
Contributor 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.

@matt2e matt2e merged commit bd59143 into block:main Jun 22, 2026
7 checks passed
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)

2 participants