0008: Tauri 2.13 and a Rust 1.94 minimum
Status: Accepted Date: 2026-12-03Context
GitHub reported four open security alerts on crates the app could not update on its own:zip4.6.1 (three alerts, one critical), pulled in bytauri-plugin-updater2.12. The fix iszip9, which the plugin uses from 2.14.1. That plugin version needs Tauri 2.12 or newer.glib0.18.5 (one alert), pinned by Tauri 2.11’s Linux stack (gtk0.18). Tauri 2.13 moved togtk0.19, which uses a fixedglib.
glib function. The alerts could still only be closed by moving Tauri.
Two things made the upgrade more than a version bump:
- Tauri 2.13 needs
tray-icon0.27, and the workspace patchedtray-icon0.24.2 (see 0004). - The new crates raise the compiler floor. Tauri 2.13 needs Rust 1.92, and
tauri-plugin-dialog2.9 andtauri-plugin-fs2.8 need 1.94.
Decision
Upgrade to Tauri 2.13,tauri-plugin-updater 2.14.1 and the matching npm packages, and declare rust-version = "1.94".
The tray-icon fork stays, rebased: branch echophrase/0.27.0-guid is tray-icon 0.27.0 plus one commit adding the process-wide set_default_guid. The GUID attribute itself (tauri-apps/tray-icon#366) shipped upstream in 0.27, but Tauri 2.13’s TrayIconBuilder still does not pass it through.
Consequences
- Breaking for contributors: building needs Rust 1.94 or newer (
rustup update stable). The old declared floor was 1.89 and was never verified by a build on that version; neither is 1.94. CI builds on the latest stable. - No change to the Linux system packages: the new crates still use
webkit2gtk-4.1,libsoup-3.0andgtk+-3.0. - The updater changed behavior between 2.12 and 2.14: it verifies the package bytes again before installing, uses a stricter signature library, and on macOS swaps the app bundle atomically so a failed install no longer deletes the installed app. The first release on this version must be tested with a real update on Windows and macOS.
- The three Tauri and tao workarounds in
KNOWN_ISSUES.mdwere re-checked against the new versions and all stay. In particular tao 0.38 still delivers the loop-destroyed event before its ownprocess::exiton Windows session end, so the force-exit from 0003 still runs first. - Every future Tauri upgrade that changes the
tray-iconversion needs the one fork commit redone on the new tag, until Tauri exposes the GUID attribute.
Alternatives considered
- Dismiss the alerts as not exploitable. Rejected: true today, but it leaves a critical alert open on a public repo and depends on nobody ever shipping a zip update payload.
- Bump only the updater plugin. Not possible: 2.14.1 requires Tauri 2.12 or newer.
- Drop the tray-icon fork and lose the stable GUID. Rejected: Scoop users would lose their tray pin on every update again.