@tauri-apps/api
JS/TS API for interaction with the Rust backend.
2.12.x
2.12.0
Sep 26, 2026
New Features
d8d02ba60(#14767) Added theexitfunction 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.990f77eb2(#15961) AddedJsImagetype alias and documented its relationship to the RustJsImage29265557c(#15410) AddednoRedirectionBitmapoption to theWindowandWebviewWindowconstructors on Windows.6edc2f4d4(#14926) AddedWindow::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
-
be019795a(#14103) Add ECMAScript Explicit Resource Management to Resource. You can now use theusingsyntax in supported browsers or with polyfills:import { create, BaseDirectory } from "@tauri-apps/plugin-fs"...{await using file = await create("foo/bar.txt", { baseDir: BaseDirectory.AppConfig });await file.write(new TextEncoder().encode("Hello world"));// Before `file` goes out of scope, it is disposed by calling `file[Symbol.asyncDispose]()` and awaited.} -
4a5065653(#14454) AddedRegularandClearLiquid Glass window effects, and theinteractivewindow effects option (macOS 27.0+) that enables the glass' visual response to user interactions.
Bug Fixes
4fabe2ff1(#16067) FixWindow.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.32efd0232(#15957)Image.rgbanow returns a more specific typePromise<Uint8Array<ArrayBuffer>>instead of the defaultPromise<Uint8Array<ArrayBufferLike>
2.11.x
2.11.1
Jun 17, 2026
Enhancements
2.11.0
Apr 30, 2026
New Features
074299c08(#14307) Add Bring All to Front predefined menu item typea12142a48(#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 whenautocomplete="off"is specified on input elements. On Linux, macOS, iOS, and Android, this option is currently unsupported and performs no operation.eb0312ea9(#15199) Propagates theEvent::SuspendedandEvent::Resumedevents fromtaowhen they are emitted on mobile targets.
2.10.x
2.10.1
Feb 3, 2026
Bug Fixes
- Re-release of
2.10.0with working assets.
2.10.0
Feb 2, 2026
2.9.x
2.9.1
Nov 30, 2025
Bug Fixes
ad1dec2e2(#14464 by @funnydino) FixaddPluginListenerfallback added in https://github.com/tauri-apps/tauri/pull/14132 didn't work properly
2.9.0
Oct 20, 2025
New Features
f5851ee00(#14089) Adds thescrollBarStyleoption to the Webview and WebviewBuilder constructors.3397fd9bf(#14133) Addedapp > onBackButtonPressfor Android back button handling.
Enhancements
59089723f(#14091) Added a config to set a data_directory relative to the app-specific data dir in JavaScript andtauri.conf.json.
Bug Fixes
2.8.x
2.8.0
Aug 18, 2025
New Features
68874c68c(#13564 by @robertrpf) Add window focusable attribute and set_focusable API.5110a762e(#13830 by @Sky-walkerX) AddedWindow::setSimpleFullscreen.
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),SubmenuOptionsnow has aniconfield, and theSubmenuclass providessetIconandsetNativeIconmethods. - 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.
- In the Rust API (
2.7.x
2.7.0
Jul 20, 2025
New Features
232265c70(#13209 by @kandrelczyk) AddedgetBundleTypeto the app module.
Enhancements
96391467e(#13783 by @JosephBrooksbank) Allow events emitted withemitto be handled correctly bylistencallbacks when in a mocked environment
Bug Fixes
Full Changelog
@tauri-apps/api full changelog
Version List
- v2.12.0 Sep 26, 2026
- v2.11.1 Jun 17, 2026
- v2.11.0 Apr 30, 2026
- v2.10.1 Feb 3, 2026
- v2.10.0 Feb 2, 2026
- v2.9.1 Nov 30, 2025
- v2.9.0 Oct 20, 2025
- v2.8.0 Aug 18, 2025
- v2.7.0 Jul 20, 2025
- v2.6.0 Jun 24, 2025
- v2.5.0 Apr 15, 2025
- v2.4.1 Apr 1, 2025
- v2.4.0 Mar 20, 2025
- v2.3.0 Feb 26, 2025
- v2.2.0 Jan 2, 2025
- v2.1.1 Nov 11, 2024
- v2.1.0 Nov 9, 2024
- v2.0.3 Oct 20, 2024
- v2.0.2 Oct 7, 2024
- v2.0.1 Oct 2, 2024
- v2.0.0 Oct 2, 2024
- v2.0.0-rc.6 Sep 27, 2024
- v2.0.0-rc.5 Sep 17, 2024
- v2.0.0-rc.4 Aug 28, 2024
- v2.0.0-rc.3 Aug 22, 2024
- v2.0.0-rc.2 Aug 19, 2024
- v2.0.0-rc.1 Aug 17, 2024
- v2.0.0-rc.0 Aug 2, 2024
- v2.0.0-beta.16 Jul 29, 2024
- v2.0.0-beta.15 Jul 12, 2024
- v2.0.0-beta.14 Jul 2, 2024
- v2.0.0-beta.13 May 29, 2024
- v2.0.0-beta.12 May 23, 2024
- v2.0.0-beta.11 Apr 30, 2024
- v2.0.0-beta.10 Apr 30, 2024
- v2.0.0-beta.9 Apr 22, 2024
- v2.0.0-beta.8 Apr 15, 2024
- v2.0.0-beta.7 Apr 2, 2024
- v2.0.0-beta.6 Mar 18, 2024
- v2.0.0-beta.5 Mar 11, 2024
- v2.0.0-beta.4 Mar 6, 2024
- v2.0.0-beta.3 Feb 22, 2024
- v2.0.0-beta.2 Feb 21, 2024
- v2.0.0-beta.1 Feb 19, 2024
- v2.0.0-beta.0 Feb 3, 2024
- v2.0.0-alpha.14 Jan 16, 2024
- v2.0.0-alpha.13 Dec 19, 2023
- v2.0.0-alpha.12 Nov 20, 2023
- v2.0.0-alpha.11 Oct 28, 2023
- v2.0.0-alpha.10 Oct 28, 2023
- v2.0.0-alpha.9 Oct 19, 2023
- v2.0.0-alpha.8 Sep 11, 2023
- v2.0.0-alpha.7 Sep 8, 2023
- v2.0.0-alpha.6 Aug 14, 2023
- v2.0.0-alpha.5 Jun 17, 2023
- v2.0.0-alpha.4 May 18, 2023
- v2.0.0-alpha.3 Apr 10, 2023
- v2.0.0-alpha.2 Apr 3, 2023
- v2.0.0-alpha.1 Mar 20, 2023
- v2.0.0-alpha.0 Dec 9, 2022
- v1.5.3 Dec 20, 2023
- v1.5.2 Dec 1, 2023
- v1.5.1 Oct 17, 2023
- v1.5.0 Sep 28, 2023
- v1.4.0 Jun 14, 2023
- v1.3.0 May 3, 2023
- v1.2.0 Nov 8, 2022
- v1.1.0 Sep 15, 2022
- v1.0.2 Jul 6, 2022
- v1.0.1 Jun 16, 2022
- v1.0.0 Jun 16, 2022
- v1.0.0-rc.7 Jun 14, 2022
- v1.0.0-rc.6 May 24, 2022
- v1.0.0-rc.5 May 7, 2022
- v1.0.0-rc.4 Apr 26, 2022
- v1.0.0-rc.3 Mar 28, 2022
- v1.0.0-rc.2 Mar 7, 2022
- v1.0.0-rc.1 Feb 14, 2022
- v1.0.0-rc.0 Feb 10, 2022
- v1.0.0-beta-rc.3 Apr 25, 2021
- v1.0.0-beta-rc.2 Apr 19, 2021
- v1.0.0-beta-rc.1 Apr 14, 2021
- v1.0.0-beta-rc.0 Apr 14, 2021
- v1.0.0-beta.8 Aug 23, 2021
- v1.0.0-beta.7 Aug 23, 2021
- v1.0.0-beta.6 Aug 16, 2021
- v1.0.0-beta.5 Jul 16, 2021
- v1.0.0-beta.4 Jun 28, 2021
- v1.0.0-beta.3 Jun 24, 2021
- v1.0.0-beta.2 Jun 23, 2021
- v1.0.0-beta.1 May 12, 2021
- v1.0.0-beta.0 May 11, 2021
© 2026 Tauri Contributors. CC-BY / MIT