Skip to content

tauri@2.13.0

Nov 28, 2026
  • df7c8a8a1 (#16647 by @lucasfernog) Added RunEvent::ActivityRequested on Android, emitted when the system creates an activity that is not attached to a window, for instance when the app is launched again while a foreground service kept its process alive. Pass its activity_id to the new WebviewWindowBuilder::activity_id (or WindowBuilder::activity_id) to attach a window to that activity.

  • 337565435 (#16548 by @wdceng) On Android, Tauri's back callback is now enabled only while the webview can go back or a back-button listener is registered. At the first page the system handles back itself, so Android 16 plays its predictive back-to-home animation. Plugins get Plugin#onWebViewHistoryChanged.

  • 89caf00bd (#16220 by @VityaSchel) Added app > androidTauriProtocolHostname config to serve the Android app from https://<androidTauriProtocolHostname> instead of http(s)://tauri.localhost, so autofill services can link webview credentials to the app through Digital Asset Links. The other custom protocols keep following useHttpsScheme.

  • 74ff201f6 (#15965 by @aaalloc) Audio and video elements can now play asset:// URLs on Linux. The deb, rpm and pacman bundles ship a GStreamer plugin in /usr/lib/<productName>/gstreamer-1.0, the appimage bundle includes it when bundle > linux > appimage > bundleMediaFramework is enabled, and tauri dev downloads it to the tools directory, where development binaries load it from. The plugin is downloaded at bundle time.

    The plugin is only used when app > security > assetProtocol > enable is set. It reads the requested file directly, so media playback is not restricted by assetProtocol > scope.

  • 2a7f592c2 (#15326 by @oscartbeaumont) Added tauri::command_metadata! and tauri::ipc::CommandMetadata to introspect a command's name, documentation, deprecation and argument names.

  • 61a3537e0 (#16397 by @rudy-07) Expose browser_accelerator_keys on WebviewBuilder, WebviewWindowBuilder, and browserAcceleratorKeys in the window configuration to control default browser shortcuts (such as F5, Ctrl+R, Ctrl+F, Ctrl+P) on Windows.

  • ab4d547dc (#16652 by @lucasfernog) Added iOS support for Window::set_badge_count, WebviewWindow::set_badge_count and the JavaScript Window#setBadgeCount, which sets the app icon badge. They were only available on desktop: the methods were desktop-only and the window plugin only registered the set_badge_count command there. They are now available on mobile too (a no-op on Android).

  • 7d4c45824 (#16385 by @cbrnr) Added the linux-ksni feature, which makes tray icons on Linux use the StatusNotifierItem D-Bus protocol (via the ksni crate) instead of libappindicator. This enables TrayIconEvent::Click for left and middle clicks and tooltips on Linux.

  • 2d6b0e572 (#16176 by @amrbashir) Add IconMenuItem::set_icon_templated and Submenu::set_icon_templated, to set a menu item's icon and draw it as a template image on macOS, so the system recolours it to match the menu the way the built-in items are. Also add IconMenuItem::icon_is_template and Submenu::icon_is_template to read that state back.

  • ec0007903 (#9380 by @amrbashir) Add handler to MenuItemBuilder, CheckMenuItemBuilder, and IconMenuItemBuilder to register a callback when a menu item is activated.

  • ee3dd9c5a (#16193 by @polw1) Added PluginHandle::run_mobile_plugin_with_webview and PluginHandle::run_mobile_plugin_with_webview_async to run a mobile plugin command on behalf of a webview. The native plugin gets the UIViewController (iOS) or Activity (Android) hosting that webview through invoke.viewController / invoke.activity, and invoke.isContextual is set, so plugins can present UI using the calling webview's controller or activity. If the webview is gone before the call reaches the native plugin, the call is rejected with the ORIGIN_UNAVAILABLE error code.

    Plugins get the view controller or activity to present from with Invoke.presentingViewController() (iOS) and Plugin.presentingActivity(invoke) (Android): contextual calls get the calling one, or nil/null when the origin is unavailable. Without a webview context, these helpers preserve the existing behavior: iOS uses the controller of the most recently registered webview, and Android uses the activity the plugin was created with. The existing run_mobile_plugin APIs and plugin callbacks keep their current behavior.

    On Android, startActivityForResult and startIntentSenderForResult launch contextual calls from the calling activity, rejecting with RESULT_PENDING while that activity already has a request of the same kind pending, and with ORIGIN_UNAVAILABLE if it is destroyed before the result arrives. Other calls keep using the existing launchers and callbacks.

  • 740a270c6 (#14289 by @lucasfernog) Added WindowConfig::on_new_window to statically configure WebviewBuilder::on_new_window.

    The urls scope uses glob patterns by default; enable the new url-pattern Cargo feature to use the URLPattern spec instead.

  • 05afd6e12 (#16175 by @amrbashir) Add more predefined menu items PredefinedMenuItem::section_header, paste_and_match_style, delete, zoom (an alias for maximize, named after the macOS window action), actual_size, zoom_in, zoom_out, start_speaking, stop_speaking, start_dictation and emoji_and_symbols. They are also available in JavaScript as the SectionHeader, PasteAndMatchStyle, Delete, Zoom, ActualSize, ZoomIn, ZoomOut, StartSpeaking, StopSpeaking, StartDictation and EmojiAndSymbols values of PredefinedMenuItemOptions.item.

  • d03f76daf (#16054 by @jhasheng) Add AppHandle::fetch_profile_identifiers and AppHandle::remove_profile, and the fetchProfileIdentifiers and removeProfile JS functions, to list and delete the browsing data profiles created with profile_identifier on macOS, iOS and Windows.

  • d03f76daf (#16054 by @jhasheng) Add WebviewBuilder::profile_identifier, WebviewWindowBuilder::profile_identifier, the profileIdentifier window config option and the profileIdentifier JS webview option to isolate a webview's browsing data. On macOS and iOS it maps to a WKWebsiteDataStore identifier, and on Windows to a WebView2 named profile, so webviews sharing a data directory get isolated cookies and storage while still sharing a single browser process.

  • ecab48cc1 (#16265 by @lucasfernog) Added PathResolver::resolve_external_bin and the resolveExternalBin path API to resolve the path to a sidecar binary configured in bundle > externalBin.

  • b0ae82823 (#16374 by @oscartbeaumont) Added specta::Type implementations for tauri::ipc::Request and tauri::ipc::Response behind the specta feature. They export as a reference to a stand-in named type, matching how tauri::ipc::Channel is handled, so Specta-based tooling such as tauri-specta can describe commands that take a raw IPC request or return a raw IPC response.

  • 89bb3c82f (#16179 by @amrbashir) Add the app > trayIcon > autosaveName configuration option, which sets NSStatusItem.autosaveName for the configured tray icon on macOS, so that an app which creates more tray icons at runtime can keep the configured one's saved menu bar position tied to a stable key instead of to its creation order.

  • 89bb3c82f (#16179 by @amrbashir) Add TrayIconBuilder::autosave_name (the autosaveName option of the JavaScript TrayIcon.new), which sets NSStatusItem.autosaveName on macOS. macOS already restores where the user <kbd>Cmd</kbd>+dragged a tray icon on the next launch, keyed by the order in which the app created its tray icons (Item-0, Item-1, and so on); an autosave name replaces that generated key with a stable one, so an app that creates several tray icons, or that creates one conditionally, doesn't have icons come back holding each other's positions.

  • 2d6b0e572 (#16176 by @amrbashir) Add the app > trayIcon > iconIsTemplate configuration option and the matching iconIsTemplate option of the JavaScript TrayIcon.new, which draw the configured tray icon as a template image on macOS.

    Deprecate the previous iconAsTemplate names (TrayIconConfig::icon_as_template in Rust) in favour of them. Both names keep working, and either one set to true draws the icon as a template.

  • 2d6b0e572 (#16176 by @amrbashir) Add TrayIconBuilder::icon_templated and TrayIcon::set_icon_templated (TrayIcon.setIconTemplated in JavaScript), which set the tray icon and draw it as a template image in one call, so the template flag can never be left describing an icon that has since been replaced. Also add TrayIcon::icon_is_template to read that state back.

    Deprecate TrayIconBuilder::icon_as_template, TrayIcon::set_icon_as_template (TrayIcon.setIconAsTemplate in JavaScript) and TrayIcon::set_icon_with_as_template (TrayIcon.setIconWithAsTemplate in JavaScript) in favour of them.

  • d2b5ef751 (#16177 by @amrbashir) Add TrayIconBuilder::native_icon and TrayIcon::set_native_icon (the nativeIcon option of the JavaScript TrayIcon.new and TrayIcon.setNativeIcon), to use a platform-native icon such as NativeIcon::StatusAvailable for the tray icon. Known variants map to freedesktop icon names on Linux, AppKit image names on macOS and stock shell icons on Windows, so the icon follows the system theme instead of being shipped with the app.

  • 9d4d3caac (#16178 by @amrbashir) Add the app > trayIcon > showMenuOnRightClick configuration option, which defaults to true and stops the configured tray icon from showing its menu on right click when set to false, matching the existing showMenuOnLeftClick option.

  • 9d4d3caac (#16178 by @amrbashir) Add TrayIconBuilder::show_menu_on_right_click and TrayIcon::set_show_menu_on_right_click (the showMenuOnRightClick option of the JavaScript TrayIcon.new and TrayIcon.setShowMenuOnRightClick), to stop the menu from showing on right click, the same way it can already be disabled for left click.

  • 9d4d3caac (#16178 by @amrbashir) Add TrayIcon::show_menu (TrayIcon.showMenu in JavaScript), which shows the tray menu at the current cursor position, so an app that disabled showMenuOnLeftClick and showMenuOnRightClick can decide when the menu shows up, for instance after updating its items.

  • 1c8ab0375 (#16181 by @amrbashir) IconMenuItem::set_native_icon and Submenu::set_native_icon are no longer macOS-only. Known NativeIcon variants now map to freedesktop icon names on Linux and stock shell icons on Windows, the same as TrayIcon::set_native_icon.
  • d094c3a24 (#16651 by @lucasfernog) Fix tauri android dev failing to load the frontend on physical Android 17 devices. The app could not reach the dev server on the network address because Android 17 requires the ACCESS_LOCAL_NETWORK permission. Debug builds now declare this permission and the CLI grants it.
  • 76089d817 (#16620 by @Legend-Master) Fix WindowBuilder::on_menu_event/WebviewWindowBuilder::on_menu_event handler being kept in the app event after the window's closed.
  • 84af754a6 (#15411 by @Legend-Master) Fixed a crash related to the DispatcherMainThreadContext being cloned and dropped off main thread. WryHandle::display_handle has a wrong lifetime now because it can't own the event loop off main thread. It now goes through the event loop like window_handle, so calling it off the main thread blocks until the main thread handles the request.
  • 8627ddca9 (#16507 by @jrandolf) On Linux with the unstable feature, child webviews added with Window::add_child are placed at their bounds, instead of being stacked in the window's box. They are clipped at the edge of the window and do not scroll. A webview that resizes with its window, the window's own webview included, takes the size of the room that GTK gives it, instead of the inner size of the window, which counts the menu bar and, on Wayland, the client-side decorations. Webview::reparent keeps the position of the webview.
  • 3376e61fa (#16638 by @IM594) On macOS, iOS and Linux the app is now loaded at tauri://localhost/ instead of tauri://localhost, matching the http://tauri.localhost/ URL used on Windows and Android. Third-party scripts that read location.href, such as Cloudflare Turnstile, failed on the URL with an empty path.
  • d03f76daf (#16054 by @jhasheng) Fix the dataDirectory and dataStoreIdentifier window config and JS webview options being ignored.
  • d03f76daf (#16054 by @jhasheng) Deprecate the macOS / iOS only WebviewBuilder::data_store_identifier, WebviewWindowBuilder::data_store_identifier, the dataStoreIdentifier window config option and the dataStoreIdentifier JS webview option in favor of profile_identifier / profileIdentifier. They are not applied on Windows, so apps that already set them keep using the default WebView2 profile.
  • d03f76daf (#16054 by @jhasheng) Deprecate the macOS / iOS only AppHandle::fetch_data_store_identifiers, AppHandle::remove_data_store, fetchDataStoreIdentifiers and removeDataStore in favor of AppHandle::fetch_profile_identifiers, AppHandle::remove_profile, fetchProfileIdentifiers and removeProfile.
  • 038dddbe8 (#16174 by @amrbashir) The linux-libxdo Cargo feature is now a no-op. muda no longer emulates key presses through libxdo to run the Cut, Copy, Paste, SelectAll, Undo and Redo predefined menu items on Linux; it runs them through GTK, and through WebKitGTK's editing commands when a web view is focused. The feature has nothing left to enable, and building with it no longer needs libxdo-dev.
  • 8cbd4f200 (#16170 by @Legend-Master) Set MSRV to 1.92.
  • Upgraded to tauri-utils@2.11.0
  • Upgraded to tauri-runtime@2.13.0
  • Upgraded to tauri-runtime-wry@2.13.0
  • Upgraded to tauri-macros@2.8.0
  • Upgraded to tauri-build@2.8.0
  • 8cbd4f200 (#16170 by @Legend-Master) Update gtk to 0.19, webkit2gtk to 3, wry to 0.58, tao to 0.38, muda to 0.22 and tray-icon to 0.27. The linux-libxdo feature is now a no-op since muda no longer has the libxdo feature.

© 2026 Tauri Contributors. CC-BY / MIT