Skip to content

tauri-build

A helper library for tauri app’s build script.

2.7.x

2.7.0

Sep 26, 2026
New Features
  • 4e36f6725 (#15306) Added Attributes::config_path to customize config path, deprecated CodegenContext::config_path in favor of this
  • f6c1eb253 (#15401) Added tauri_build::WindowsAttributes::static_vc_runtime to control MSVC static runtime linking from build scripts.
Enhancements
  • 19215f638 (#15629) Emit a cargo:rerun-if-changed for each resource directory (and glob base directory), so that adding or removing a file inside a resource directory re-runs the build script and copies the new files. Previously only the individual files present at build time were watched, so newly added files were silently ignored until an unrelated rebuild.
  • 459fc315e (#15711) Fix different build and runtime debug assertion profiles on the tauri-utils crate can resulting in compilation errors.
Bug Fixes
  • d203f74a2 (#15274) The .ico from bundle > icon (or the icons/icon.ico fallback) embedded as the Windows application icon is now resolved relative to the config file directory instead of the build script's working directory, so it works with Attributes::config_path.
  • dd6befda9 (#15918) Emit an absolute path for the capabilities directory cargo:rerun-if-changed. Cargo resolves a relative watch path against the package owning the build script, while the capabilities glob is resolved against the process working directory, so callers that change the current directory before try_build/try_build_context ended up watching a non-existent directory — which is always dirty and re-ran the build script (and recompiled everything downstream) on every build.
  • c0bd0d5a6 (#15831) Resolve the target directory by walking up from OUT_DIR to the build directory instead of assuming it is exactly three levels up. Recent nightly toolchains add another level to OUT_DIR, which made sidecars and resources land in target/debug/build instead of target/debug.
  • fc3a8108e (#16074) Validate the capabilities inlined in the app > security > capabilities configuration value, which previously skipped the build script validation and only failed later with a generic failed to resolve ACL panic when a permission identifier was unknown.
What's Changed
Dependencies
  • Upgraded to tauri-utils@2.10.0
  • Upgraded to tauri-codegen@2.7.0
  • e2e585ad1 (#15828) On Android, updated the template to use Gradle v9.6.1 (com.android.tools.build:gradle v9.3.1) and Kotlin v2.2. Use tauri android init to apply the change.
  • 2bb4fdbd0 (#15592) Updated cargo_toml crate to 1

2.6.x

2.6.3

Jun 17, 2026
Dependencies
  • Upgraded to tauri-utils@2.9.3
  • Upgraded to tauri-codegen@2.6.3

2.6.2

May 16, 2026
Dependencies
  • Upgraded to tauri-utils@2.9.2
  • Upgraded to tauri-codegen@2.6.2

2.6.1

May 6, 2026
Dependencies
  • Upgraded to tauri-utils@2.9.1
  • Upgraded to tauri-codegen@2.6.1

2.6.0

Apr 30, 2026
New Features
  • b7a0ff030 (#15263) Allow users to append extra .rc content by append_rc_content in WindowsAttributes.
  • cc5c97602 (#14486) Implement file association for Android and iOS.
Enhancements
  • d730770bb (#15117) Simplify async-sync code boundaries, no externally visible changes
  • b3f2d12b8 (#15289) Preserve a numeric semver build identifier such as 1.2.3+42 in the 4th segment of the Windows FILEVERSION fixed field when it fits in the Windows version format.
Bug Fixes
  • a30dca482 (#15288) Set the correct Windows FileVersion and ProductVersion string values using the version from the Tauri config.
Dependencies
  • Upgraded to tauri-utils@2.9.0
  • Upgraded to tauri-codegen@2.6.0

2.5.x

2.5.6

Mar 4, 2026
Dependencies
  • Upgraded to tauri-utils@2.8.3
  • Upgraded to tauri-codegen@2.5.5

2.5.5

Feb 4, 2026
Dependencies
  • Upgraded to tauri-codegen@2.5.4

2.5.4

Feb 2, 2026
Enhancements
  • 2d28e3143 (#14632 by @sftse) Small code refactors for improved code readability. No user facing changes.
Dependencies
  • Upgraded to tauri-utils@2.8.2
  • Upgraded to tauri-codegen@2.5.3

2.5.3

Nov 30, 2025
Dependencies
  • Upgraded to tauri-utils@2.8.1
  • Upgraded to tauri-codegen@2.5.2

2.5.2

Nov 13, 2025
Dependencies
  • Upgraded to tauri-codegen@2.5.1

2.5.1

Oct 22, 2025
Bug Fixes

2.5.0

Oct 20, 2025
New Features
  • 3b4fac201 (#14194) Add tauri.conf.json > bundle > android > autoIncrementVersionCode config option to automatically increment the Android version code.
Dependencies
  • Upgraded to tauri-utils@2.8.0
  • Upgraded to tauri-codegen@2.5.0

2.4.x

2.4.1

Sep 1, 2025
Enhancements
  • c23bec62d (#14083 by @FabianLars) Tauri now ignores macOS.minimumSystemVersion in tauri dev to prevent forced rebuilds of macOS specific dependencies when using something like rust-analyzer at the same time as tauri dev.

2.4.0

Aug 18, 2025
Dependencies
  • Upgraded to tauri-utils@2.7.0
  • Upgraded to tauri-codegen@2.4.0

2.3.x

2.3.1

Jul 20, 2025
Dependencies
  • Upgraded to tauri-utils@2.6.0
  • Upgraded to tauri-codegen@2.3.1

2.2.x

2.2.1

Dependencies
  • Upgraded to tauri-codegen@2.3.0
  • Upgraded to tauri-utils@2.5.0

2.2.0

Apr 15, 2025
Dependencies
  • Upgraded to tauri-utils@2.4.0
  • Upgraded to tauri-codegen@2.2.0
  • 48b12b440 Update to tauri-utils@2.4.0

Full Changelog

tauri-build full changelog

Version List


© 2026 Tauri Contributors. CC-BY / MIT