Repository navigation
Apply Version Updates From Current Changes - #15634
Conversation
9f4e79b to
8fff637
Compare
8fff637 to
74537d4
Compare
f57150b to
f51d471
Compare
dba2bea to
bb61c92
Compare
|
Hi! Not asking to rush anything, just adding a data point in case it helps prioritise a 2.x release alongside the v3 alphas. We ship a Tauri 2.11.5 tray app to a few hundred desktops, and this release unblocks two user-facing bugs for us because
The second one matters a bit more with this release because Is a 2.12 release planned in the near term, or is 2.x on hold while v3 stabilises? Either answer helps us plan. Thanks for all the work on this! |
|
We should start preparing a blog for this that this is a big update with dropping Windows 7 support and raising MSRV. |
@sudormribeiro it might still take a bit of time but it's definitely not on hold. We're clearing https://github.com/tauri-apps/tauri/milestone/10 and the blog post before publishing this update. |
|
|
Version Updates
Merging this PR will release new versions of the following packages based on your change files.
@tauri-apps/api
[2.12.0]
New Features
exitfunction to@tauri-apps/api/app, backed by the newplugin:app|exitcommand (core:app:allow-exitpermission), to exit the app without requiring the@tauri-apps/plugin-processplugin.JsImagetype alias #15961) AddedJsImagetype alias and documented its relationship to the RustJsImagenoRedirectionBitmapoption to theWindowandWebviewWindowconstructors on Windows.Window::set_fullscreen_on_monitor,WebviewWindow::set_fullscreen_on_monitorand thesetFullscreenOnMonitorJavaScript API to make a window fullscreen on the monitor containing a given physical position, along with thecore:window:allow-set-fullscreen-on-monitorpermission.Enhancements
be01979 (fix: add ECMAScript Explicit Resource Management to Resource #14103) Add ECMAScript Explicit Resource Management to Resource. You can now use the
usingsyntax in supported browsers or with polyfills:4a50656 (feat: add liquid glass window effects #14454) Added
RegularandClearLiquid Glass window effects, and theinteractivewindow effects option (macOS 27.0+) that enables the glass' visual response to user interactions.Bug Fixes
Window.setBackgroundColor,Webview.setBackgroundColorandWebviewWindow.setBackgroundColorsending acolorargument while theplugin:window|set_background_colorandplugin:webview|set_webview_background_colorcommands expectlabelandvalue. The color was always deserialized asNone, so instead of applying the given color the call cleared the background of the calling window/webview.Uint8Arraygeneric forImage.rgba#15957)Image.rgbanow returns a more specific typePromise<Uint8Array<ArrayBuffer>>instead of the defaultPromise<Uint8Array<ArrayBufferLike>tauri-utils
[2.10.0]
New Features
WebviewBuilder::limit_navigations_to_app_bound_domains#13848) AddWebviewBuilder::limit_navigations_to_app_bound_domains,WebviewWindowBuilder::limit_navigations_to_app_bound_domains, and limitNavigationsToAppBoundDomains to tauri.config.json.app > appDirectoriesOverrideconfig to override the directories returned by theapp_*_dirpath APIs, either with a single root directory or per directory. This lets apps keep all of their data, including the data of Tauri itself and of plugins that use these APIs, in a single place of their choosing, such as next to the executable for portable apps. The override can also be set at runtime throughContext::config_mut.bundle.windows.bundleVCRuntimeto copy the Visual C++ runtime DLLs into Windows MSI and NSIS installers. The bundler locates the runtime throughVCTOOLS_REDIST_DIRor the bundledvswhere.exe.default_window_iconfrom app resources #15274) AddedImage::from_app_icon_resourceandImage::from_icon_resourceon Windows for loading images from icon resources embedded in the executable (identified by anIconResourceid or name), and the defaultdefault_window_iconfromtauri::generate_contextmacro is now loaded usingfrom_app_icon_resource. The resource idtauri-buildembeds the application icon with is exposed astauri_utils::platform::WINDOWS_APP_ICON_RESOURCE_ID.app > windows > noRedirectionBitmapconfig option to disable the window redirection bitmap on Windows.Resolved::resolve_with_base_scope_idto resolve an ACL with command scope ids assigned after a given value, so the result can be merged into an already resolved ACL without colliding scope ids.build.windows.staticVCRuntimeto control MSVC static runtime linking. TheSTATIC_VCRUNTIMEenvironment variable is now deprecated and emits a migration warning when used.Enhancements
tauri buildnow warns whenproductNameis still set to the defaulttauri-app, since it names the generated bundles and is written into install paths and metadata that are expected to be unique to your application. The config documentation forproductNamenow lists what the field controls on each platform, andidentifier's documentation notes that the default value is rejected.cargo: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.RegularandClearLiquid Glass window effects, and theinteractivewindow effects option (macOS 27.0+) that enables the glass' visual response to user interactions.referenced_bycompilation on different debug profiles #15711) Fix different build and runtime debug assertion profiles on the tauri-utils crate can resulting in compilation errors.Bug Fixes
additional-watch-foldersas an alias for thebuild > additionalWatchFoldersconfiguration value, so the kebab-case spelling that matches the camelCase key is accepted inTauri.toml. The previousadditional-watch-directoriesalias keeps working.tauri.conf.jsonembedded in Android/iOS projects) is deterministic across builds.app > security > headersbeing serialized in a random order, which made the resulting header value differ between runs. Thekey valuepairs are now always sorted by key, matching the ordering already used when the configuration is serialized.app > security > headers > Permissions-Policyconfiguration being sent as a header namedPermission-Policy, which is not a real HTTP header, so the policy had no effect. The header is now correctly namedPermissions-Policy.What's Changed
Dependencies
serial_testto 3.5 to pull in the updatedsccand fix RUSTSEC advisoryctorcrate to1dom_querydependency to 0.28.0Breaking Changes
WindowEffectenum is now#[non_exhaustive]so new effects can be added without a breaking change. Exhaustivematchstatements on it must add a wildcard arm.tauri-macos-sign
[2.4.0]
What's Changed
Dependencies
apple-codesignto0.29, no user facing changes.tauri-bundler
[2.10.0]
New Features
bundle.windows.bundleVCRuntimeto copy the Visual C++ runtime DLLs into Windows MSI and NSIS installers. The bundler locates the runtime throughVCTOOLS_REDIST_DIRor the bundledvswhere.exe.Finished N bundles at:output (directories such as macOS.appbundles are measured recursively).--no-binary-patchingflag to build and bundle #15619) Add a--no-binary-patchingflag totauri buildandtauri bundle. When set, the bundler skips patching the main executable with bundle type information (and the subsequent re-signing), leaving an already-signed binary untouched. Patching is only required when shipping multiple bundle types per platform that should each update with their own installer format.Enhancements
WM_ENDSESSIONsignal to the app for it to gracefully shutdownBug Fixes
EGL_BAD_PARAMETERcrashes on newer Mesa and bundling on Fedora and Arch. AppImages no longer forceGDK_BACKEND=x11and now use the native Wayland backend on Wayland sessions.GDK_BACKENDin AppImage GTK hooks while retainingx11as the default..deband.rpmas self contained updater artifacts (the updater plugin installs them directly): the "no updater-enabled targets were built" warning is no longer printed when only a.rpmbundle is produced, and it now lists both targets. SettingcreateUpdaterArtifactsto"v1Compatible"no longer fails with "Unable to find a bundled project for the updater" when only a.debbundle is built; the legacy updater never supported.deb, so the bundler now warns that no v1 compatible artifact was created instead.vswhere.exeis now written to a new, uniquely named temporary file on each use and removed afterwards, instead of running any existing%TEMP%\vswhere.exe.What's Changed
Dependencies
tauri-utils@2.10.0tauri-macos-sign@2.4.0goblin. Some of these dependencies are part of the public API which makes this a breaking change. Added a warning abouttauri-bundler's API stability in reflection to past regular breaking struct changes.tauri-runtime
[2.12.0]
New Features
WebviewBuilder::limit_navigations_to_app_bound_domains#13848) AddWebviewBuilder::limit_navigations_to_app_bound_domains,WebviewWindowBuilder::limit_navigations_to_app_bound_domains, and limitNavigationsToAppBoundDomains to tauri.config.json.Builder::activate_ignoring_other_appson macOS to control whether the app activates at launch when another app is already active.WindowBuilder/WebviewWindowBuilder::no_redirection_bitmapmethod to disable the window redirection bitmap on Windows.wrypermission handler API through Tauri.This includes support for permission types such as
DisplayCapture,Midi,Sensors,MediaKeySystemAccess,LocalFonts,WindowManagement,PointerLock,AutomaticDownloads,FileSystemAccess, andAutoplay.Added
PermissionResponse::{Allow, Deny, Default}for runtime permission decisions.Window::set_fullscreen_on_monitor,WebviewWindow::set_fullscreen_on_monitorand thesetFullscreenOnMonitorJavaScript API to make a window fullscreen on the monitor containing a given physical position, along with thecore:window:allow-set-fullscreen-on-monitorpermission.What's Changed
Dependencies
tauri-utils@2.10.0objc2-*crates to 0.3.2 #15790) On macOS, updatedobjc2-*dependencies to 0.3.2windowsto0.62andwebview2-comto0.39, this drops Windows 7 support, see windows-sys@0.61.0+ is broken for win7 target microsoft/windows-rs#3808.Breaking Changes
RuntimeHandle::primary_monitor,RuntimeHandle::monitor_from_point,RuntimeHandle::available_monitorsto returnResultstauri-runtime-wry
[2.12.0]
New Features
WebviewBuilder::limit_navigations_to_app_bound_domains#13848) AddWebviewBuilder::limit_navigations_to_app_bound_domains,WebviewWindowBuilder::limit_navigations_to_app_bound_domains, and limitNavigationsToAppBoundDomains to tauri.config.json.Builder::activate_ignoring_other_appson macOS to control whether the app activates at launch when another app is already active.WindowBuilder/WebviewWindowBuilder::no_redirection_bitmapmethod to disable the window redirection bitmap on Windows.wrypermission handler API through Tauri.This includes support for permission types such as
DisplayCapture,Midi,Sensors,MediaKeySystemAccess,LocalFonts,WindowManagement,PointerLock,AutomaticDownloads,FileSystemAccess, andAutoplay.Added
PermissionResponse::{Allow, Deny, Default}for runtime permission decisions.Window::set_fullscreen_on_monitor,WebviewWindow::set_fullscreen_on_monitorand thesetFullscreenOnMonitorJavaScript API to make a window fullscreen on the monitor containing a given physical position, along with thecore:window:allow-set-fullscreen-on-monitorpermission.Bug Fixes
window.app_handle().exit(1)call to therun_return()result instead of always returning 0.primary_monitor,monitor_from_point,available_monitors) on the main thread from the app-level runtime handle instead of touching the event loop's window target directly.WebviewMessage::WithWebviewon Apple targets by replacingRetained::into_rawwith scoped retained bindings andRetained::as_ptrpointer handoff.Window::current_monitor,primary_monitor,available_monitors,monitor_from_pointand theAppHandleequivalents) are called off the main thread, e.g. from a command: the monitor is now read on the main thread, where iOS requires it.App::set_themenow also updates the theme each window reports, soWindow::theme(andgetCurrentWindow().theme()in JavaScript) reflects the app-level theme instead of keeping the previous value until the system appearance changes.WindowsStoreandActiveTraceSpanStorenow implementDebugmanually without borrowing the innerRefCell, so formatting them re-entrantly while the store is already borrowed no longer panics with "already borrowed".unstablefeature is enabled on Windowscreate_windowandcreate_webviewshould wait for the window creation to complete before returning even if it's off main thread, it should also return the error if it failedWindowEvent::Focusedevents emitted when dragging the window on Windowsis_focused#15950) On Windows, fixedWindow::is_focusedalways returnsfalsein multi-webview modeWhat's Changed
WindowEvent::ResumedandWindowEvent::Suspendedare now only fired for the matching activity window instead of every window.EventLoopIterationContextandUserMessageContextnow takes references to avoid clonesDependencies
tauri-utils@2.10.0tauri-runtime@2.12.0objc2-*crates to 0.3.2 #15790) On macOS, updatedobjc2-*dependencies to 0.3.2windowsto0.62andwebview2-comto0.39, this drops Windows 7 support, see windows-sys@0.61.0+ is broken for win7 target microsoft/windows-rs#3808.Breaking Changes
PhysicalPositionWrapperContext#14805)WindowsStoreandDispatcherMainThreadContextare no longerSendandSync, and unsafe impl has been moved toContextdirectly.RuntimeHandle::primary_monitor,RuntimeHandle::monitor_from_point,RuntimeHandle::available_monitorsto returnResultsCreateWebviewOptions::focused_webviewnow takesArc<Mutex<FocusState>>instead ofArc<Mutex<Option<String>>>tauri-codegen
[2.7.0]
New Features
default_window_iconfrom app resources #15274) AddedImage::from_app_icon_resourceandImage::from_icon_resourceon Windows for loading images from icon resources embedded in the executable (identified by anIconResourceid or name), and the defaultdefault_window_iconfromtauri::generate_contextmacro is now loaded usingfrom_app_icon_resource. The resource idtauri-buildembeds the application icon with is exposed astauri_utils::platform::WINDOWS_APP_ICON_RESOURCE_ID.Bug Fixes
generate_context!output no longer depends on the filesystem walk order, which varies across machines and broke reproducible builds.include_image!or as the tray icon, so the OS downscales a high-resolution source instead of upscaling the 16x16 entry.What's Changed
Dependencies
tauri-utils@2.10.0pngcrate to0.18tauri-macros
[2.7.0]
Enhancements
referenced_bycompilation on different debug profiles #15711) Fix different build and runtime debug assertion profiles on the tauri-utils crate can resulting in compilation errors.Bug Fixes
448d39e (fix: menu related commands can panic #15860) Fix menu related commands can panic if called with invalid input through
invokedirectly.do_menu_item!macro now returnsErr(crate::Error::UnexpectedMenuKind)instead ofunreachable!()tauri::Error::UnexpectedMenuKindmenu:newwith thePredefinedkind now returns an error instead of panicking when theitemoption is missingImageto a menu or tray icon now returnstauri::Error::InvalidIconwhen the RGBA buffer does not match the image size, instead of panicking on Linux when the icon is renderedWhat's Changed
Dependencies
tauri-utils@2.10.0tauri-codegen@2.7.0tauri-plugin
[2.7.0]
What's Changed
Dependencies
tauri-utils@2.10.0tauri-build
[2.7.0]
New Features
Attributes::config_path#15306) AddedAttributes::config_pathto customize config path, deprecatedCodegenContext::config_pathin favor of thistauri_build::WindowsAttributes::static_vc_runtimeto control MSVC static runtime linking from build scripts.Enhancements
cargo: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.referenced_bycompilation on different debug profiles #15711) Fix different build and runtime debug assertion profiles on the tauri-utils crate can resulting in compilation errors.Bug Fixes
default_window_iconfrom app resources #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.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 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.OUT_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.app > 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
Dependencies
tauri-utils@2.10.0tauri-codegen@2.7.0com.android.tools.build:gradlev9.3.1) and Kotlin v2.2. Usetauri android initto apply the change.cargo_tomlcrate to1tauri
[2.12.0]
New Features
WebviewBuilder::limit_navigations_to_app_bound_domains#13848) AddWebviewBuilder::limit_navigations_to_app_bound_domains,WebviewWindowBuilder::limit_navigations_to_app_bound_domains, and limitNavigationsToAppBoundDomains to tauri.config.json.app > appDirectoriesOverrideconfig to override the directories returned by theapp_*_dirpath APIs, either with a single root directory or per directory. This lets apps keep all of their data, including the data of Tauri itself and of plugins that use these APIs, in a single place of their choosing, such as next to the executable for portable apps. The override can also be set at runtime throughContext::config_mut.exitfunction to@tauri-apps/api/app, backed by the newplugin:app|exitcommand (core:app:allow-exitpermission), to exit the app without requiring the@tauri-apps/plugin-processplugin.Webview::convert_file_srcandWebviewWindow::convert_file_src, the Rust equivalent of the JavaScriptconvertFileSrcfunction. The returned URL uses the scheme the webview was configured with (useHttpsScheme), so it always matches what the webview can load.Builder::activate_ignoring_other_appson macOS to control whether the app activates at launch when another app is already active.default_window_iconfrom app resources #15274) AddedImage::from_app_icon_resourceandImage::from_icon_resourceon Windows for loading images from icon resources embedded in the executable (identified by anIconResourceid or name), and the defaultdefault_window_iconfromtauri::generate_contextmacro is now loaded usingfrom_app_icon_resource. The resource idtauri-buildembeds the application icon with is exposed astauri_utils::platform::WINDOWS_APP_ICON_RESOURCE_ID.app > windows > noRedirectionBitmapconfig option to disable the window redirection bitmap on Windows.WindowBuilder/WebviewWindowBuilder::no_redirection_bitmapmethod to disable the window redirection bitmap on Windows.wrypermission handler API through Tauri.This includes support for permission types such as
DisplayCapture,Midi,Sensors,MediaKeySystemAccess,LocalFonts,WindowManagement,PointerLock,AutomaticDownloads,FileSystemAccess, andAutoplay.Added
PermissionResponse::{Allow, Deny, Default}for runtime permission decisions.Window::set_fullscreen_on_monitor,WebviewWindow::set_fullscreen_on_monitorand thesetFullscreenOnMonitorJavaScript API to make a window fullscreen on the monitor containing a given physical position, along with thecore:window:allow-set-fullscreen-on-monitorpermission.Enhancements
aebf38c (fix(android): Migrate Gradle scripts to
compilerOptionsDSL #15694) Migrate the Android Gradle scripts from the deprecatedkotlinOptionsDSL tocompilerOptions, which is accepted by both Kotlin Gradle Plugin 1.9.x and 2.x. This lets projects move to Kotlin 2.x without hitting the hard error that 2.3+ raises on the old DSL.This increased the minimum supported Gradle version to 8.13, if your
gradleis on an earlier version, deletesrc-tauri/gen/android/gradle/wrapper/gradle-wrapper.propertiesand re-runtauri android initto update it.d3108ff (enhance: remove
T: Send + Syncrequirement fromState<'r, T>#15578)StatehadSendandSynctrait bounds that were already implied, remove them from the struct definition.4a50656 (feat: add liquid glass window effects #14454) Added
RegularandClearLiquid Glass window effects, and theinteractivewindow effects option (macOS 27.0+) that enables the glass' visual response to user interactions.459fc31 (fix:
referenced_bycompilation on different debug profiles #15711) Fix different build and runtime debug assertion profiles on the tauri-utils crate can resulting in compilation errors.Bug Fixes
0349b6f (fix(core): scope ACL deny permissions to the capability execution context #16072) Fix the runtime ACL denying a command for every origin when any capability denied it: deny permissions are now correctly scoped to the capability's execution context (local/remote) instead of denying the command for every origin. Previously a capability that denied a command for a remote URL also denied it for the local app (and vice-versa), because the origin match result was discarded. The debug message reporting an explicit denial now also only references the capabilities that actually deny the requesting origin.
d8d02ba (feat: expose app exit via JS app API #14767) On Android,
AppHandle::exit(and the process pluginexitcommand) now finishes the activity instead of exiting the process directly, so the app closes with the system transition instead of flashing a blank screen.e3e3474 On Android,
Invoke.resolveObjectand the other values serialized with the plugin JSON mapper now writeJSObjectandJSArrayas JSON objects and arrays. They were serialized through their private fields, so aJSArrayreached the frontend as{ "values": [...] }and aJSObjectas{ "nameValuePairs": {...} }.020919a (fix(android): use whichever activity in plugin manager #15798) On Android, fixed requesting permission in a plugin fails after the first activity closed.
cb2ecac (fix(android): register result launchers per activity #15949) On Android, fixed a crash when an activity is destroyed while another one is already running — installing an APK over the running app is the common way to hit it. The plugin manager tried to move its activity result launchers to the surviving activity, and
registerForActivityResultrejects that withIllegalStateException: LifecycleOwner ... is attempting to register while current state is RESUMED. Each activity now registers its own launchers when it is created.f9ed1a3 (fix(core): correct asset protocol multi-range responses (fix: #15837) #15838) Fix malformed
asset://multi-range responses: the multipart body now ends with the closing boundary,Content-Typeis onlymultipart/byteranges, and the status is206 Partial Content.127aa17 (fix(core): load asset protocol files asynchronously #16050) Load
asset://files asynchronously instead of on the event loop thread, so a slow or unreachable path no longer freezes every window.97f6666 (fix(tray-icon): bump tray-icon to 0.25 and muda to 0.20 (fix #16035) #16088) Bump
tray-iconto0.25andmudato0.20to pick up the fix for left-click events being swallowed by the tray menu on macOS 27 (fix [bug] menuOnLeftClick for tray icons broken on macOS 27 #16035).1417768 (fix: menu channels are never cleaned up #15679) Remove the
Channelused to send event to JavaScript side on dropping the menu1771775 (fix(core): purge Rust event listeners when window/webview is destroyed #15617) Remove Rust-side event listeners bound to a window or webview when that target is destroyed, so
listen/oncehandlers registered on aWindow,WebvieworWebviewWindowno longer leak after it is closed.0aeadb6 (fix(runtime-wry): return the expected exit code from run_return() #15821) Transfer the exit code from the
window.app_handle().exit(1)call to therun_return()result instead of always returning 0.82c706e Stop queuing large channel payloads once the target webview is closed. They were kept in memory until the app exited, and a new webview reusing the same label could fetch them.
023fe7f (fix(acl): rebase runtime-resolved scope ids past baked ACL #15291) Fix capabilities added at runtime through
add_capability(featuredynamic-acl) being merged into the command scopes of the build time ACL, which polluted unrelated plugin scopes and made their deserialization fail. Scope values are also no longer duplicated when a scoped permission allows more than one command.4a0e1df (fix(core): purge JS event listeners when source webview is destroyed (fix #15583) #15604) Remove a webview's JS event listeners from the backend
Listenersmap when that webview is destroyed. Previously the entries keyed by the source webview label lingered after the webview was dropped, so they could never be delivered and leaked until the app exited — forcing apps to manuallyunlisten()before closing a window.d727d63 (fix(runtime-wry)!: query monitors on main thread from runtime handle #15630) Query monitor information (
primary_monitor,monitor_from_point,available_monitors) on the main thread from the app-level runtime handle instead of touching the event loop's window target directly.a370f65 (fix(tauri-runtime-wry): stop leaking ObjC retains in with_webview #15224) Avoid leaking Objective-C objects in
WebviewMessage::WithWebviewon Apple targets by replacingRetained::into_rawwith scoped retained bindings andRetained::as_ptrpointer handoff.406feea (fix(core): guard event unlisten script when listener entry is missing #15800) Guard the handler lookup in the generated unlisten script. When the unlisten function ran before its listener registration eval reached the webview, the entry was still missing and reading its
handlerIdthrew, which aborted_unlistenbefore it sent the backendplugin:event|unlistenand left the listener registered.448d39e (fix: menu related commands can panic #15860) Fix menu related commands can panic if called with invalid input through
invokedirectly.do_menu_item!macro now returnsErr(crate::Error::UnexpectedMenuKind)instead ofunreachable!()tauri::Error::UnexpectedMenuKindmenu:newwith thePredefinedkind now returns an error instead of panicking when theitemoption is missingImageto a menu or tray icon now returnstauri::Error::InvalidIconwhen the RGBA buffer does not match the image size, instead of panicking on Linux when the icon is renderede517fa1 (fix: mock runtime run on main thread dead locks #15450) Fix
run_main_thread!macro used by things likeMenuItemand some other APIs deadlock when called on main thread withMockRuntime2087bca (fix(path): return "." from path.normalize("") #15920) Fix
path.normalize("")returning an empty string instead of".", matching Node.js and the existingpath.join("")behavior.08acfb3 (fix(windows)!: restore webview focus for unstable feature #15625) Fix webview don't get focus when Alt-Tab back to the window if
unstablefeature is enabled on Windows5a882ec (fix(linux): use resize cursor when within the defined inset for an undecorated webkitgtk window #15701) On Linux, fix resize cursor for undecorated Window not being set correctly when mouse is over a resize edge.
08acfb3 (fix(windows)!: restore webview focus for unstable feature #15625) Fix
WindowEvent::Focusedevents emitted when dragging the window on Windowsf4feb2b (fix(windows): use cached focus states for
is_focused#15950) On Windows, fixedWindow::is_focusedalways returnsfalsein multi-webview modePerformance Improvements
muda::Icon/tray_icon::Icon),Image::from_bytes, and submenu icon construction.Image::rgba#15955) Skip serializing to JSON forImage::rgbaWhat's Changed
Arcand aMutex.Deprecate
InvokeMessage::stateandInvokeMessage::state_refthat should accidentally were made public.WindowEvent::ResumedandWindowEvent::Suspendedare now only fired for the matching activity window instead of every window.Security fixes
Queued channel payloads and large invoke responses can no longer be read by other webviews, and entries are purged when the owning webview is closed.
Fixes GHSA-w28w-mhc8-qvjv.
Dependencies
Upgraded to
tauri-utils@2.10.0Upgraded to
tauri-build@2.7.0Upgraded to
tauri-runtime@2.12.0Upgraded to
tauri-runtime-wry@2.12.0Upgraded to
tauri-macros@2.7.0e2e585a (fix(android): update template to use gradle 9 #15828) On Android, fix missing
consumer-rules.profile in the template.IMPORTANT: For plugin authors, update your
build.gradle.ktsfile to remove thebuildTypes { release { isMinifyEnabled = false proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" ) } }section and rename your
proguard-rules.protoconsumer-rules.proto match theconsumerProguardFiles("consumer-rules.pro")in the template.e2e585a (fix(android): update template to use gradle 9 #15828) On Android, updated the template to use Gradle v9.6.1 (
com.android.tools.build:gradlev9.3.1) and Kotlin v2.2. Usetauri android initto apply the change.2bb4fdb (chore(deps): update rust crate cargo_toml to v1 #15592) Updated
cargo_tomlcrate to1872428f (chore(deps): update
objc2-*crates to 0.3.2 #15790) On macOS, updatedobjc2-*dependencies to 0.3.29e9a54d (fix: support iOS 27 development using Xcode 27 #15890) Update swift-rs to support builds using Xcode 27.
51433d7 (chore(deps): update wry to 0.57 #15996) Updated
windowsto0.62andwebview2-comto0.39, this drops Windows 7 support, see windows-sys@0.61.0+ is broken for win7 target microsoft/windows-rs#3808.Breaking Changes
26cb3d6 (fix: points android videos dir to ExternalStorage movies directory (#15562) #15563) On Android,
$VIDEOandvideo_dir()now resolve to the app-specific Movies directory instead of external cache storage.Migration: Files previously written to the old location (
.../cache) will not be discovered at the new location (.../files/Movies). Migrate existing files or update path assumptions accordingly.@tauri-apps/cli
[2.12.0]
New Features
f6c1eb2 (Reland "feat: add Windows VC runtime linking and bundling options" #15401) Added
bundle.windows.bundleVCRuntimeto copy the Visual C++ runtime DLLs into Windows MSI and NSIS installers. The bundler locates the runtime throughVCTOOLS_REDIST_DIRor the bundledvswhere.exe.f76b1d3 (feat(bundler): show bundle sizes in the finished output #15644) The bundler now prints the size of each generated bundle next to its path in the
Finished N bundles at:output (directories such as macOS.appbundles are measured recursively).af465ea (feat(cli): add
--no-binary-patchingflag to build and bundle #15619) Add a--no-binary-patchingflag totauri buildandtauri bundle. When set, the bundler skips patching the main executable with bundle type information (and the subsequent re-signing), leaving an already-signed binary untouched. Patching is only required when shipping multiple bundle types per platform that should each update with their own installer format.0646cc1 (feat(cli): support non-square source images in
tauri icon#15620) Add a--fitoption totauri iconto accept non-square source images.--fit covercenter-crops the source to a square (clipping the longer side) and--fit containpads the shorter side with transparency. Non-square sources without--fitkeep erroring, now with a hint pointing to the flag.f6c1eb2 (Reland "feat: add Windows VC runtime linking and bundling options" #15401) Added
build.windows.staticVCRuntimeto control MSVC static runtime linking. TheSTATIC_VCRUNTIMEenvironment variable is now deprecated and emits a migration warning when used.f45ec0d Record the app version in the trusted comment of updater signatures, so a signed artifact is bound to the version it was released as.
An update endpoint response is not signed, and the signature only covers the downloaded artifact, so the announced
versionon its own does not prove which release theurlandsignaturepoint at. minisign covers the trusted comment with its global signature, which lets the updater plugin compare the two and reject a response that pairs a version number with a different release. EnablerequireSignedVersionin the updater plugin configuration to enforce this.tauri buildfills the version in automatically, andtauri plugin add updaternow enablesrequireSignedVersionfor the project it is adding the plugin to.tauri signer signgains an--app-versionflag for signing updater artifacts by hand, and warns when it is omitted.Enhancements
e191214 (enhance(cli): don't always rewrite CRLF in
Cargo.toml#15993) Don't always rewriteCargo.tomlfile from CRLF line endings to LFaebf38c (fix(android): Migrate Gradle scripts to
compilerOptionsDSL #15694) Migrate the Android Gradle scripts from the deprecatedkotlinOptionsDSL tocompilerOptions, which is accepted by both Kotlin Gradle Plugin 1.9.x and 2.x. This lets projects move to Kotlin 2.x without hitting the hard error that 2.3+ raises on the old DSL.This increased the minimum supported Gradle version to 8.13, if your
gradleis on an earlier version, deletesrc-tauri/gen/android/gradle/wrapper/gradle-wrapper.propertiesand re-runtauri android initto update it.d89d8fa (feat(cli): warn when Java is too new for the bundled Gradle #15780) Warn during Android commands (
init/dev/build) when the active Java version is too new for the Gradle version the project uses (e.g. Java 27 against the Gradle 9.6.1 the template ships, or Java 25 against a project still on Gradle 8.14), instead of letting the build fail later with a cryptic error. The warning points to the Gradle/Java compatibility matrix and suggests a supported JDK.c3d21bd (enhance(android): use
Theme.Material3.DayNight.NoActionBar#15730) UseTheme.Material3.DayNight.NoActionBarinstead ofTheme.MaterialComponents.DayNight.NoActionBarwhen runningtauri android initf654f47 (feat(android): update template to use targetSdk 37 #15862) Update template to use
targetSdk = 37cdaf7ea (fix(cli): clarify init frontend command prompts (fix: #13820) #15765) Clarify that the
tauri initfrontend commands run beforetauri devandtauri build, and can be left empty when they are not needed.d0f38df (enahnce(cli/init): skip prompts automatically in non interactive environments #15997) When stdin is not a terminal,
tauri initnow automatically skips prompts, avoiding IO errors in CI and scripts. This eliminates the need to pass--ciexplicitly in non-interactive environments.ca160ad (feat(cli): warn when productName is left as the default (fix #14968) #15895)
tauri buildnow warns whenproductNameis still set to the defaulttauri-app, since it names the generated bundles and is written into install paths and metadata that are expected to be unique to your application. The config documentation forproductNamenow lists what the field controls on each platform, andidentifier's documentation notes that the default value is rejected.010f06b (docs(cli): document TAURI_SIGNING_PRIVATE_KEY_PATH and clarify key vars #15737) Document the
TAURI_SIGNING_PRIVATE_KEY_PATHenvironment variable and clarify thatTAURI_SIGNING_PRIVATE_KEYaccepts a string or a path for thebuildandbundlecommand but must be the literal key string for thesigner signcommand, both inENVIRONMENT_VARIABLES.mdand in thesigner generatecommand output.Bug Fixes
tauri capability newandtauri permission newnow accept an--outpath to a file that does not exist yet, trim comma-separated prompt answers (sofs:default, core:defaultworks), report invalid permissions as errors instead of panicking, and reject identifiers that are not valid file names (such as../../x), which previously let them write outside of the capabilities or permissions directory.tauri addnow honors--tag,--revand--branchfor official plugins instead of silently installing the registry version, and rejects passing more than one of them. With npm, the JS package requirement is now~<version>like the other package managers, instead of>=<version>which allowed a later major version.adb reverse --listis now matched on the exact port (sotcp:80no longer matchestcp:8080), stale forwards on other connected devices are actually removed, and the forward verification gives up with a warning after a few attempts instead of retrying forever.bundle > android > debugApplicationIdSuffixbeing written to thesigningConfigsdebug block instead of thebuildTypesone, and keep the existing content of single-line debug blocks such asgetByName("debug") { isDebuggable = true }instead of dropping it.tauri iconnow generates 72x72 Androidhdpilauncher icons (previously 49x49) and writes the Android launcher background color in#RRGGBB/#AARRGGBBnotation instead of the raw CSS color string, which Android rejected or misread. Invalid SVG sources and--png 0now return an error instead of panicking.{t}literally instead of the value, e.g. "Could not find an Android device matching {t}".tauri completionsno longer replace the completions ofcargo,npm,pnpm,yarn,bunanddeno. They now define a_tauri_clifunction registered only for thetauriandcargo-tauricommands. Generating completions when running thecargo-tauribinary directly no longer panics.src/binandsrc/main.rsbeing left out of bundles whenCargo.tomldeclares a[[bin]]target without apath.--targetis not passed butbuild.targetis set in.cargo/config.toml. The CLI now also acceptsbuild.targetas an array and honors theCARGO_BUILD_TARGETenvironment variable.tauri = "2" # pinbecame"2#pin"). The version value is now kept as-is and the comment is preserved.tauri devreloads an invalid config.tauri infonow logs a warning when it cannot check the latest crate version on crates.io instead of silently ignoring the failure, and no longer panics if crates.io returns a version it cannot parse.tauri infonow lists every locked version of a Rust crate whenCargo.lockcontains more than one, and no longer panics when the crates.io response cannot be parsed.tauri devnow reports an error instead of panicking when thebeforeDevCommandcannot be spawned or thedevUrlhost cannot be resolved, and no longer risks stopping thebeforeDevCommandprocess tree twice when Ctrl+C and the app exit race.tauri devnot reacting to the app exiting when a process spawned by the app kept its stderr open, and stop keeping the whole app stderr output in memory. Also fix command output capture that could return empty output when the command finished before its output was read.[dependencies]or[target.'cfg(..)'.dependencies], whichever came first in the file. Both the main and all target-specific dependency tables are now updated.gen/android/gradlewCRLF line endings to LF on all host platforms, not only Unix. Agradlewchecked out with CRLF brokesh ./gradlewon Windows hosts using Git Bash. The rewrite only runs when a CRLF is actually present. A failure to rewrite aborts on Unix, where the script is executed directly; on Windows the CLI invokesgradlew.bat, so failures there only warn.tauri capability newcommand description, which said "Create a new permission file", and the--skip-staplinghelp text ontauri buildandtauri bundle, whose first line described the opposite of what the flag does.tauri initno longer panics when the app name, window title, frontend dist, dev URL or before dev/build commands contain quotes or backslashes (e.g.-D ..\distorvite --host "0.0.0.0"); the values are now JSON-escaped in the generatedtauri.conf.json.PRODUCT_BUNDLE_IDENTIFIERin the iOS Xcode project being set to the rawidentifier(with underscores) instead of the sanitized iOS bundle identifier used by the Xcode project template and the export options provisioning profiles.tauri ios run --featuresbeing ignored, andtauri ios dev --releasestill building the app in debug mode.tauri ios buildfor a simulator target no longer fails with "failed to rename app: Directory not empty" when the output.appfrom a previous build exists.tauri ios init). Also fixesCXXFLAGSnot being set for iOS targets intauri ios xcode-script.JAVA_HOMEis not set: thejavabinary onPATHis now resolved through symlinks (e.g. Linux alternatives and Homebrew), and on macOS the/usr/bin/javastub falls back to/usr/libexec/java_home.devUrlto the network address for mobile development, the query string and fragment are now preserved, and the IPv6 loopback ([::1]) and unspecified ([::]) addresses are now treated as localhost.project.pbxprojwhen several build settings were added to the same configuration, when an added setting was changed again, or when a multi-line setting was overwritten. Product names, signing identities and other values written to the project are now properly escaped.tauri permission add(andtauri add) no longer overwrites an existingcapabilities/desktop.jsonorcapabilities/mobile.jsonwhen adding a desktop-only or mobile-only plugin permission and no platform-restricted capability exists; the new capability now gets an unused file name and identifier (e.g.desktop-2.json). An explicitly passed capability is now used even if its platforms do not match the plugin, with a warning, instead of being silently ignored.tauri permission rm <plugin>:*andtauri removeno longer strip unrelated permissions whose identifier merely contains the plugin name (e.g.tauri remove osremovingpositioner:default). Local permission files are now looked up in the Tauri directory, liketauri permission new, and an unparsable permission file is skipped with a warning instead of aborting the command.my-plugin: the default Android package ID now uses a snake_case segment (com.plugin.my_plugin) and user-provided IDs are validated, iOS Xcode folders use the same kebab-case name as the project file, and theplugin ios init/plugin android initcode snippets now match the generated bindings and thesetup(|app, api| ..)API.plugin initinto a non-empty directory no longer creates apermissionsfolder after skipping the template.--releasebeing added to the cargo command when a custom profile is passed as--profile=<name>, which made cargo reject the build.tauri initandtauri infodetecting SvelteKit projects as plain Svelte;tauri initsuggested the wrong dev server URL and frontend dist directory.tauri add/tauri removeinstalling npm plugin packages intosrc-tauriinstead of the frontend directory.tauri iconto generate the fixed iconsnpm_config_user_agentwhen generating the mobile projects. pnpm's native binary (pnpm 11+) runs package scripts without settingPNPM_PACKAGE_NAME, and when installed through corepack the binary is namedpnpm-native, sotauri android initrecordedpnpm-nativeas the command for Gradle to run and the Android build failed with "A problem occurred starting process 'command 'pnpm-native''".tauri inforeports rust only plugin npm package as not installed #15713) Fixtauri inforeporting the Rust-only plugins (localhost,persisted-scopeandsingle-instance) as missing their@tauri-apps/plugin-*JavaScript package, which is never published for those plugins.vswhere.exeis now written to a new, uniquely named temporary file on each use and removed afterwards, instead of running any existing%TEMP%\vswhere.exe.What's Changed
tauri init/tauri plugin inittemplatesSecurity fixes
tauri addno longer installs the npm packagetauri-plugin-<name>-apifor community plugins. npm and crates.io are separate namespaces, so that package may be unowned or squatted; the CLI now asks you to install the plugin's JavaScript bindings yourself.tauri removeonly removes the plugin's JS package whenpackage.jsonlists it, and a failure there no longer skips the capability cleanup.Hostheader is not the address it serves on, which blocks DNS rebinding attacks, and rejects cross-siteOrigins on its reload WebSocket. Theindex.htmlfallback now goes through the same path scope check as other files, and the reload WebSocket no longer closes when the client sends a message..gitignoreand.tauri/.gitignore) and reads them back, which let other local users change which files the project lookup and the dev watcher skip. The rules are now applied in memory.TAURI_CLI_WATCHER_IGNORE_FILENAMEis now consistently treated as an ignore file name looked up in each directory, as documented.tauri android|ios dev|builduses to pass options to the Android Studio and Xcode build scripts: requests now need a random per-session token, WebSocket connections from web pages (with anOriginheader) are rejected, and variables whose name containsTOKEN,PASSWORD,SECRETorCREDENTIALare no longer sent. The connection details are now written with owner-only permissions togen/<android|apple>/.tauri/cli-options-server.json(instead of the shared temp directory) and removed when the command exits. The IDE build scripts now report a clear error when the Tauri CLI command is not running.tauri signer generate --write-keysnow creates the private key with owner-only permissions (0600) on Unix and refuses to overwrite either the private or the public key file without--force. Updater signing now rejects file names containing tabs or newlines (which would corrupt the signature's trusted comment) and assumes an empty password instead of prompting when no password is given and stdin is not a terminal.tauri signerreports errors instead of panicking.npm,pnpm,yarn,bun,deno,node) are now executed directly instead of throughcmd /c, so arguments such as@tauri-apps/plugin-fs@>=2are escaped properly and can no longer be interpreted as shell redirections or command separators.Dependencies
Upgraded to
tauri-cli@2.12.0e2e585a (fix(android): update template to use gradle 9 #15828) On Android, fix missing
consumer-rules.profile in the template.IMPORTANT: For plugin authors, update your
build.gradle.ktsfile to remove thebuildTypes { release { isMinifyEnabled = false proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" ) } }section and rename your
proguard-rules.protoconsumer-rules.proto match theconsumerProguardFiles("consumer-rules.pro")in the template.e2e585a (fix(android): update template to use gradle 9 #15828) On Android, updated the template to use Gradle v9.6.1 (
com.android.tools.build:gradlev9.3.1) and Kotlin v2.2. Usetauri android initto apply the change.9e9a54d (fix: support iOS 27 development using Xcode 27 #15890) Update the generated iOS Xcode project to build with Xcode 27. The scenes lifecycle is not enabled by default: to opt in, add the
UIApplicationSceneManifestkey to yoursrc-tauri/Info.ios.plist.b6660a0 (fix(cli): plugin init template ts 6/7
rootDir#15954) Update typescript to v7 intauri plugin inittemplate. Also fixes the defaultrootDirin the templatetsconfig.json9e9a54d (fix: support iOS 27 development using Xcode 27 #15890) Update cargo-mobile2 and change the default minimum iOS version to 15.0 to support Xcode 27.
tauri-cli
[2.12.0]
New Features
f6c1eb2 (Reland "feat: add Windows VC runtime linking and bundling options" #15401) Added
bundle.windows.bundleVCRuntimeto copy the Visual C++ runtime DLLs into Windows MSI and NSIS installers. The bundler locates the runtime throughVCTOOLS_REDIST_DIRor the bundledvswhere.exe.f76b1d3 (feat(bundler): show bundle sizes in the finished output #15644) The bundler now prints the size of each generated bundle next to its path in the
Finished N bundles at:output (directories such as macOS.appbundles are measured recursively).af465ea (feat(cli): add
--no-binary-patchingflag to build and bundle #15619) Add a--no-binary-patchingflag totauri buildandtauri bundle. When set, the bundler skips patching the main executable with bundle type information (and the subsequent re-signing), leaving an already-signed binary untouched. Patching is only required when shipping multiple bundle types per platform that should each update with their own installer format.0646cc1 (feat(cli): support non-square source images in
tauri icon#15620) Add a--fitoption totauri iconto accept non-square source images.--fit covercenter-crops the source to a square (clipping the longer side) and--fit containpads the shorter side with transparency. Non-square sources without--fitkeep erroring, now with a hint pointing to the flag.f6c1eb2 (Reland "feat: add Windows VC runtime linking and bundling options" #15401) Added
build.windows.staticVCRuntimeto control MSVC static runtime linking. TheSTATIC_VCRUNTIMEenvironment variable is now deprecated and emits a migration warning when used.f45ec0d Record the app version in the trusted comment of updater signatures, so a signed artifact is bound to the version it was released as.
An update endpoint response is not signed, and the signature only covers the downloaded artifact, so the announced
versionon its own does not prove which release theurlandsignaturepoint at. minisign covers the trusted comment with its global signature, which lets the updater plugin compare the two and reject a response that pairs a version number with a different release. EnablerequireSignedVersionin the updater plugin configuration to enforce this.tauri buildfills the version in automatically, andtauri plugin add updaternow enablesrequireSignedVersionfor the project it is adding the plugin to.tauri signer signgains an--app-versionflag for signing updater artifacts by hand, and warns when it is omitted.Enhancements
e191214 (enhance(cli): don't always rewrite CRLF in
Cargo.toml#15993) Don't always rewriteCargo.tomlfile from CRLF line endings to LFaebf38c (fix(android): Migrate Gradle scripts to
compilerOptionsDSL #15694) Migrate the Android Gradle scripts from the deprecatedkotlinOptionsDSL tocompilerOptions, which is accepted by both Kotlin Gradle Plugin 1.9.x and 2.x. This lets projects move to Kotlin 2.x without hitting the hard error that 2.3+ raises on the old DSL.This increased the minimum supported Gradle version to 8.13, if your
gradleis on an earlier version, deletesrc-tauri/gen/android/gradle/wrapper/gradle-wrapper.propertiesand re-runtauri android initto update it.d89d8fa (feat(cli): warn when Java is too new for the bundled Gradle #15780) Warn during Android commands (
init/dev/build) when the active Java version is too new for the Gradle version the project uses (e.g. Java 27 against the Gradle 9.6.1 the template ships, or Java 25 against a project still on Gradle 8.14), instead of letting the build fail later with a cryptic error. The warning points to the Gradle/Java compatibility matrix and suggests a supported JDK.c3d21bd (enhance(android): use
Theme.Material3.DayNight.NoActionBar#15730) UseTheme.Material3.DayNight.NoActionBarinstead ofTheme.MaterialComponents.DayNight.NoActionBarwhen runningtauri android initf654f47 (feat(android): update template to use targetSdk 37 #15862) Update template to use
targetSdk = 37cdaf7ea (fix(cli): clarify init frontend command prompts (fix: #13820) #15765) Clarify that the
tauri initfrontend commands run beforetauri devandtauri build, and can be left empty when they are not needed.d0f38df (enahnce(cli/init): skip prompts automatically in non interactive environments #15997) When stdin is not a terminal,
tauri initnow automatically skips prompts, avoiding IO errors in CI and scripts. This eliminates the need to pass--ciexplicitly in non-interactive environments.ca160ad (feat(cli): warn when productName is left as the default (fix #14968) #15895)
tauri buildnow warns whenproductNameis still set to the defaulttauri-app, since it names the generated bundles and is written into install paths and metadata that are expected to be unique to your application. The config documentation forproductNamenow lists what the field controls on each platform, andidentifier's documentation notes that the default value is rejected.010f06b (docs(cli): document TAURI_SIGNING_PRIVATE_KEY_PATH and clarify key vars #15737) Document the
TAURI_SIGNING_PRIVATE_KEY_PATHenvironment variable and clarify thatTAURI_SIGNING_PRIVATE_KEYaccepts a string or a path for thebuildandbundlecommand but must be the literal key string for thesigner signcommand, both inENVIRONMENT_VARIABLES.mdand in thesigner generatecommand output.Bug Fixes
tauri capability newandtauri permission newnow accept an--outpath to a file that does not exist yet, trim comma-separated prompt answers (sofs:default, core:defaultworks), report invalid permissions as errors instead of panicking, and reject identifiers that are not valid file names (such as../../x), which previously let them write outside of the capabilities or permissions directory.tauri addnow honors--tag,--revand--branchfor official plugins instead of silently installing the registry version, and rejects passing more than one of them. With npm, the JS package requirement is now~<version>like the other package managers, instead of>=<version>which allowed a later major version.adb reverse --listis now matched on the exact port (sotcp:80no longer matchestcp:8080), stale forwards on other connected devices are actually removed, and the forward verification gives up with a warning after a few attempts instead of retrying forever.bundle > android > debugApplicationIdSuffixbeing written to thesigningConfigsdebug block instead of thebuildTypesone, and keep the existing content of single-line debug blocks such asgetByName("debug") { isDebuggable = true }instead of dropping it.tauri iconnow generates 72x72 Androidhdpilauncher icons (previously 49x49) and writes the Android launcher background color in#RRGGBB/#AARRGGBBnotation instead of the raw CSS color string, which Android rejected or misread. Invalid SVG sources and--png 0now return an error instead of panicking.{t}literally instead of the value, e.g. "Could not find an Android device matching {t}".tauri completionsno longer replace the completions ofcargo,npm,pnpm,yarn,bunanddeno. They now define a_tauri_clifunction registered only for thetauriandcargo-tauricommands. Generating completions when running thecargo-tauribinary directly no longer panics.src/binandsrc/main.rsbeing left out of bundles whenCargo.tomldeclares a[[bin]]target without apath.--targetis not passed butbuild.targetis set in.cargo/config.toml. The CLI now also acceptsbuild.targetas an array and honors theCARGO_BUILD_TARGETenvironment variable.tauri = "2" # pinbecame"2#pin"). The version value is now kept as-is and the comment is preserved.tauri devreloads an invalid config.tauri infonow logs a warning when it cannot check the latest crate version on crates.io instead of silently ignoring the failure, and no longer panics if crates.io returns a version it cannot parse.tauri infonow lists every locked version of a Rust crate whenCargo.lockcontains more than one, and no longer panics when the crates.io response cannot be parsed.tauri devnow reports an error instead of panicking when thebeforeDevCommandcannot be spawned or thedevUrlhost cannot be resolved, and no longer risks stopping thebeforeDevCommandprocess tree twice when Ctrl+C and the app exit race.tauri devnot reacting to the app exiting when a process spawned by the app kept its stderr open, and stop keeping the whole app stderr output in memory. Also fix command output capture that could return empty output when the command finished before its output was read.[dependencies]or[target.'cfg(..)'.dependencies], whichever came first in the file. Both the main and all target-specific dependency tables are now updated.gen/android/gradlewCRLF line endings to LF on all host platforms, not only Unix. Agradlewchecked out with CRLF brokesh ./gradlewon Windows hosts using Git Bash. The rewrite only runs when a CRLF is actually present. A failure to rewrite aborts on Unix, where the script is executed directly; on Windows the CLI invokesgradlew.bat, so failures there only warn.tauri capability newcommand description, which said "Create a new permission file", and the--skip-staplinghelp text ontauri buildandtauri bundle, whose first line described the opposite of what the flag does.tauri initno longer panics when the app name, window title, frontend dist, dev URL or before dev/build commands contain quotes or backslashes (e.g.-D ..\distorvite --host "0.0.0.0"); the values are now JSON-escaped in the generatedtauri.conf.json.PRODUCT_BUNDLE_IDENTIFIERin the iOS Xcode project being set to the rawidentifier(with underscores) instead of the sanitized iOS bundle identifier used by the Xcode project template and the export options provisioning profiles.tauri ios run --featuresbeing ignored, andtauri ios dev --releasestill building the app in debug mode.tauri ios buildfor a simulator target no longer fails with "failed to rename app: Directory not empty" when the output.appfrom a previous build exists.tauri ios init). Also fixesCXXFLAGSnot being set for iOS targets intauri ios xcode-script.JAVA_HOMEis not set: thejavabinary onPATHis now resolved through symlinks (e.g. Linux alternatives and Homebrew), and on macOS the/usr/bin/javastub falls back to/usr/libexec/java_home.devUrlto the network address for mobile development, the query string and fragment are now preserved, and the IPv6 loopback ([::1]) and unspecified ([::]) addresses are now treated as localhost.