Skip to content

@tauri-apps/api

JS/TS API for interaction with the Rust backend.

2.11.x

2.11.1

Jun 17, 2026
Enhancements
  • 916782601 (#15520 by @polw1) Document that Monitor.size, Monitor.position and Monitor.workArea are in physical pixels, with examples showing how to convert them to the logical pixels expected by window creation options via toLogical(monitor.scaleFactor).

2.11.0

Apr 30, 2026
New Features
  • 074299c08 (#14307) Add Bring All to Front predefined menu item type
  • a12142a48 (#14357) Add macos support for setting the icon and icon template state in the same step of the main thread, to prevent flickering.
  • 001c8fe3d (#14722) Add a WebView option to control browser-level general autofill behavior. This option does not disable password or credit card autofill. On Windows (WebView2), setting it to true disables the general autofill "Suggestions" UI, which may appear even when autocomplete="off" is specified on input elements. On Linux, macOS, iOS, and Android, this option is currently unsupported and performs no operation.
  • eb0312ea9 (#15199) Propagates the Event::Suspended and Event::Resumed events from tao when they are emitted on mobile targets.

2.10.x

2.10.1

Feb 3, 2026
Bug Fixes
  • Re-release of 2.10.0 with working assets.

2.10.0

Feb 2, 2026
Dependencies

2.9.x

2.9.1

Nov 30, 2025
Bug Fixes

2.9.0

Oct 20, 2025
New Features
  • f5851ee00 (#14089) Adds the scrollBarStyle option to the Webview and WebviewBuilder constructors.
  • 3397fd9bf (#14133) Added app > onBackButtonPress for Android back button handling.
Enhancements
  • 59089723f (#14091) Added a config to set a data_directory relative to the app-specific data dir in JavaScript and tauri.conf.json.
Bug Fixes
  • 08bda64c2 (#14132) Fix core > addPluginListener failing on command permission check.

2.8.x

2.8.0

Aug 18, 2025
New Features
Enhancements
  • 5ba1c3faa (#13722 by @s00d) Added icon (icon and nativeIcon) support for Submenu:

    • In the Rust API (tauri), you can now set an icon for submenus via the builder and dedicated methods.
    • In the JS/TS API (@tauri-apps/api), SubmenuOptions now has an icon field, and the Submenu class provides setIcon and setNativeIcon methods.
    • Usage examples are added to the documentation and demo app.

    This is a backwards-compatible feature. Submenus can now display icons just like regular menu items.

2.7.x

2.7.0

Jul 20, 2025
New Features
Enhancements
Bug Fixes

2.6.x

2.6.0

Jun 24, 2025
New Features
Bug Fixes
What's Changed
  • b5c549d18 (#13325 by @Legend-Master) transformCallback now registers the callbacks inside window.__TAURI_INTERNALS__.callbacks instead of directly on window['_{id}']

Full Changelog

@tauri-apps/api full changelog

Version List


© 2026 Tauri Contributors. CC-BY / MIT