tauri-build@2.7.0
Sep 26, 2026
New Features
4e36f6725(#15306) AddedAttributes::config_pathto customize config path, deprecatedCodegenContext::config_pathin favor of thisf6c1eb253(#15401) Addedtauri_build::WindowsAttributes::static_vc_runtimeto control MSVC static runtime linking from build scripts.
Enhancements
19215f638(#15629) Emit acargo:rerun-if-changedfor 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.icofrombundle > icon(or theicons/icon.icofallback) 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 withAttributes::config_path.dd6befda9(#15918) Emit an absolute path for the capabilities directorycargo: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 beforetry_build/try_build_contextended 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 fromOUT_DIRto thebuilddirectory instead of assuming it is exactly three levels up. Recent nightly toolchains add another level toOUT_DIR, which made sidecars and resources land intarget/debug/buildinstead oftarget/debug.fc3a8108e(#16074) Validate the capabilities inlined in theapp > security > capabilitiesconfiguration value, which previously skipped the build script validation and only failed later with a genericfailed to resolve ACLpanic when a permission identifier was unknown.
What's Changed
2e6e33c85(#16029) Moved to edition 2024ce3f13b91(#15887) Lock unstable tauri crates to minor versions.1cffb01da(#13221) Set MSRV to 1.90.
Dependencies
© 2026 Tauri Contributors. CC-BY / MIT