Skip to content

tauri-build@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

© 2026 Tauri Contributors. CC-BY / MIT