Tauri 2.0 Prereleases
The alpha, beta, and release candidate versions that led up to Tauri 2.0.
2.0.0-rc.x
Section titled “2.0.0-rc.x”2.0.0-rc.18
Section titled “2.0.0-rc.18”cli 2.0.0-rc.18
Section titled “cli 2.0.0-rc.18”Enhancements
Section titled “Enhancements”a08e6ffa6(#11185 by @lucasfernog) Enhance port forwarding onandroid devto be more resilient and tolerate delays when booting up devices.6cfe7edf6(#11186 by @lucasfernog) Retain logger verbosity on theandroid-studio-scriptandxcode-scriptcommands.60a5aea53(#11181 by @lucasfernog) Set theTRUNK_SERVE_ADDRESSenvironment variable when running on iOS physical devices to support Trunk.
Bug Fixes
Section titled “Bug Fixes”f5d61822b(#11184 by @lucasfernog) Fix iOS application not including the provided capabilities (entitlements).
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.1-rc.15 - Upgraded to
tauri-macos-sign@0.1.1-rc.1
2.0.0-rc.17
Section titled “2.0.0-rc.17”tauri 2.0.0-rc.17
Section titled “tauri 2.0.0-rc.17”Breaking Changes
Section titled “Breaking Changes”-
354be36d4(#11163 by @amrbashir) Changed uri scheme protocol handler to takeUriSchemeContextas first argument instead ofAppHandle.UriSchemeContextcan be used to access an app handle or the webview label that made the request. The following methods are affected:tauri::Builder::register_uri_scheme_protocoltauri::Builder::register_asynchronous_uri_scheme_protocoltauri::plugin::Builder::register_uri_scheme_protocoltauri::plugin::Builder::register_asynchronous_uri_scheme_protocol
cli 2.0.0-rc.17
Section titled “cli 2.0.0-rc.17”New Features
Section titled “New Features”06718b456(#11096 by @thep0y) Add theTAURI_BUNDLER_TOOLS_GITHUB_MIRROR_TEMPLATEenvironment variable to specify a more accessible mirror template, facilitating companies, organizations, or individuals who cannot access GitHub to download the necessary files through their own mirror servers.a944b9b05(#11118 by @amrbashir) Add--github-workflowsflag fortauri plugin new/init.f57a729cd(#11039 by @amrbashir) Addtauri inspect wix-upgrade-codeto print default Upgrade Code for your MSI installer derived fromproductName.
Enhancements
Section titled “Enhancements”67b8a9a17(#10940 by @amrbashir) Generate.sigsignature files for installers and bundles whencreateUpdaterArtifactsis set tov1Compatible
Bug Fixes
Section titled “Bug Fixes”62b52f60a(#11064 by @amrbashir) Fixtauri addfailing to add NPM depenency withnpmpackage manager.56e087471(#11100 by @lucasfernog) Fix iOS xcode-script usage withbun.b88e22a5f(#11063 by @FabianLars) The cli now only sets the iOS deployment target environment variable when building for iOS.8d22c0c81(#11101 by @lucasfernog) Only modify the iOS Xcode project "sign style" if we need to enforce manual signing.df24cb944(#11168 by @lucasfernog) Fixes Xcode pbxproj file parsing not expecting_in build configuration IDs.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.1-rc.14 - Upgraded to
tauri-utils@2.0.0-rc.13
Breaking Changes
Section titled “Breaking Changes”a944b9b05(#11118 by @amrbashir)tauri plugin init/newwill no longer generate a.githubdirectory with workflows by default, instead use the new--github-workflowsflag.
2.0.0-rc.16
Section titled “2.0.0-rc.16”tauri 2.0.0-rc.16
Section titled “tauri 2.0.0-rc.16”New Features
Section titled “New Features”a247170e1(#11056 by @SpikeHD) Expose the ability to enabled browser extensions in WebView2 on Windows.9014a3f17(#11066 by @amrbashir) AddWebviewWindow::clear_all_browsing_dataandWebview::clear_all_browsing_datato clear the webview browsing data.0ddfc59d6(#11071 by @amrbashir) AddManager::unmanageto remove previously managed state.1d8b67b29(#11162 by @amrbashir) Support async functions formobile_entry_pointmacro5621174b0(#11132 by @chippers) AddScopeObjectMatchfor easy scope validation those that can be represented by a boolean return value.95df53a2e(#11143 by @Legend-Master) Add the ability to set theme dynamically usingWindow::set_theme,App::set_themed9d2502b4(#11140 by @amrbashir) AddWebview::hideandWebview::showmethods.de7414aab(#11154 by @amrbashir) AddWindow::set_enabledandWindow::is_enabledmethods
Bug Fixes
Section titled “Bug Fixes”948772a65(#11114 by @lucasfernog) Change thebutton_statetray event field to camelCasebuttonState.a49fc999f(#11161 by @amrbashir) Fix internal crash when trying to close the same window multiple times.62b3a5cd1(#11043 by @amrbashir) FixlocalStoragenot shared between webviews that use the same data directory.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-runtime-wry@2.0.0-rc.14 - Upgraded to
tauri-runtime@2.0.0-rc.13 - Upgraded to
tauri-utils@2.0.0-rc.13 - Upgraded to
tauri-macros@2.0.0-rc.12 - Upgraded to
tauri-build@2.0.0-rc.13
Breaking Changes
Section titled “Breaking Changes”0b4495996(#11121 by @amrbashir) Simplified emitted tray event JS value and updatedTrayIconEventtype definition to match it.
cli 2.0.0-rc.16
Section titled “cli 2.0.0-rc.16”New Features
Section titled “New Features”9bb8fc618(#11030 by @amrbashir) Add--no-exampleflag fortauri plugin newandtauri plugin initto disable creation of an example project.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.12 - Upgraded to
tauri-bundler@2.0.1-rc.13
2.0.0-rc.15
Section titled “2.0.0-rc.15”tauri 2.0.0-rc.15
Section titled “tauri 2.0.0-rc.15”New Features
Section titled “New Features”ad294d274(#11032 by @amrbashir) Addapp > windows > createoption to choose whether to create this window at app startup or not.
Enhancements
Section titled “Enhancements”e7fd676c2(#11025 by @lucasfernog) Inject__INVOKE_KEY__into custom invoke systems so their implementations can properly constructtauri::webview::InvokeRequest.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.12 - Upgraded to
tauri-runtime@2.0.0-rc.12 - Upgraded to
tauri-runtime-wry@2.0.0-rc.13 - Upgraded to
tauri-macros@2.0.0-rc.11 - Upgraded to
tauri-build@2.0.0-rc.12
Breaking Changes
Section titled “Breaking Changes”551e0624a(#11027 by @lucasfernog) Remove theresponderpart of a custom invoke system now that the responder can be set directly in thetauri::WebviewWindow::on_messagefunction.
cli 2.0.0-rc.15
Section titled “cli 2.0.0-rc.15”Enhancements
Section titled “Enhancements”5a0e922d4(#11007 by @lucasfernog) Automatically discover thesrc-tauri/src/main.rsbinary when it is not explicitly defined in the Cargo manifest bin array.
Bug Fixes
Section titled “Bug Fixes”94e9d476e(#11011 by @amrbashir) Fixmain_binary_namein custom wix and nsis templates including.exe
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.1-rc.12
2.0.0-rc.14
Section titled “2.0.0-rc.14”tauri 2.0.0-rc.14
Section titled “tauri 2.0.0-rc.14”Bug Fixes
Section titled “Bug Fixes”e5f037277(#11018 by @amrbashir) Fix compilation error on macOS due to a missing feature forNSImage.
@tauri-apps/cli 2.0.0-rc.14
Section titled “@tauri-apps/cli 2.0.0-rc.14”Enhancements
Section titled “Enhancements”6c5340f8b(#11004 by @lucasfernog) Added thelogplugin to the app template, which is required to visualize logs on Android and iOS.3ad2427dc(#10961 by @lucasfernog) Only render app logs on iOS unless-vvis provided to theios devcommand.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-cli@2.0.0-rc.13
2.0.0-rc.13
Section titled “2.0.0-rc.13”tauri 2.0.0-rc.13
Section titled “tauri 2.0.0-rc.13”Enhancements
Section titled “Enhancements”bc4804d48(#10924 by @madsmtm) Useobjc2internally and in examples, leading to better memory safety.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-runtime-wry@2.0.0-rc.12
Breaking Changes
Section titled “Breaking Changes”cli 2.0.0-rc.13
Section titled “cli 2.0.0-rc.13”New Features
Section titled “New Features”656618225(#10866 by @thep0y) AddTAURI_BUNDLER_TOOLS_GITHUB_MIRRORenvironment variable to specify a GitHub mirror to download files and tools used by tauri bundler. This is designed for areas like Mainland China where GitHub access can be unreliable.35bd9dd3d(#10977 by @amrbashir) AddmainBinaryNameconfig option to set the file name for the main binary.
Enhancements
Section titled “Enhancements”6c5340f8b(#11004 by @lucasfernog) Added thelogplugin to the app template, which is required to visualize logs on Android and iOS.3ad2427dc(#10961 by @lucasfernog) Only render app logs on iOS unless-vvis provided to theios devcommand.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.1-rc.11 - Upgraded to
tauri-utils@2.0.0-rc.11
2.0.0-rc.12
Section titled “2.0.0-rc.12”tauri 2.0.0-rc.12
Section titled “tauri 2.0.0-rc.12”New Features
Section titled “New Features”35bd9dd3d(#10977 by @amrbashir) AddmainBinaryNameconfig option to set the file name for the main binary.
Enhancements
Section titled “Enhancements”5eb036f33(#11002 by @lucasfernog) Handle macOS binary name change on theprocess::restartfunction.
Bug Fixes
Section titled “Bug Fixes”63649d82d(#10971 by @amrbashir) Fix schema generation forcore:defaultset.be18ed50d(#10982 by @lucasfernog) Add a Proguard rule to prevent custom JSON deserializer and serializer classes from being optimized away.00182ebf8(#10988 by @lucasfernog) FixrequestPermissionsnot resolving on Android.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-build@2.0.0-rc.11 - Upgraded to
tauri-utils@2.0.0-rc.11 - Upgraded to
tauri-runtime@2.0.0-rc.11 - Upgraded to
tauri-runtime-wry@2.0.0-rc.11 - Upgraded to
tauri-macros@2.0.0-rc.10
Breaking Changes
Section titled “Breaking Changes”fe5ff1228(#10978 by @lucasfernog) RenamePermissionState::UnknowntoPermissionState::Prompt.
cli 2.0.0-rc.12
Section titled “cli 2.0.0-rc.12”Bug Fixes
Section titled “Bug Fixes”a5848af65(#10944 by @lucasfernog) Synchronize app version (tauri.conf.json > versionorCargo.toml > package > version) with theCFBundleVersionandCFBundleShortVersionStringInfo.plist values.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.10 - Upgraded to
tauri-bundler@2.0.1-rc.10
2.0.0-rc.11
Section titled “2.0.0-rc.11”tauri 2.0.0-rc.11
Section titled “tauri 2.0.0-rc.11”Bug Fixes
Section titled “Bug Fixes”fafceec30(#10943 by @lucasfernog) Fixes mobile dev server proxy request URL with trailing slashes.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.10 - Upgraded to
tauri-runtime@2.0.0-rc.10 - Upgraded to
tauri-runtime-wry@2.0.0-rc.10 - Upgraded to
tauri-macros@2.0.0-rc.9 - Upgraded to
tauri-build@2.0.0-rc.10
cli 2.0.0-rc.11
Section titled “cli 2.0.0-rc.11”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.9 - Upgraded to
tauri-bundler@2.0.1-rc.9
2.0.0-rc.10
Section titled “2.0.0-rc.10”tauri 2.0.0-rc.10
Section titled “tauri 2.0.0-rc.10”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.9 - Upgraded to
tauri-runtime@2.0.0-rc.9 - Upgraded to
tauri-runtime-wry@2.0.0-rc.9 - Upgraded to
tauri-macros@2.0.0-rc.8 - Upgraded to
tauri-build@2.0.0-rc.9 d9c8d3cc8(#10902 by @Legend-Master) Update infer to 0.16, tray icon to 0.17, urlpattern to 0.3, image to 0.25
Breaking Changes
Section titled “Breaking Changes”faa259bac(#10907 by @lucasfernog) TheAssets::iterfunction now must return a iterator withItem = (Cow<'_, str>, Cow<'_, [u8]>)to be more flexible on contexts where the assets are not'static.
cli 2.0.0-rc.10
Section titled “cli 2.0.0-rc.10”Enhancements
Section titled “Enhancements”9c9644d15(#10845 by @lucasfernog) Enhance iOS library validation, checking libs built with link time optimization.
Bug Fixes
Section titled “Bug Fixes”b42683592(#10847 by @lucasfernog) Fixesios build --target [aarch64-sim | x86_64]failing to generate the app bundle for the iOS simulator.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.8 - Upgraded to
tauri-bundler@2.0.1-rc.8
2.0.0-rc.9
Section titled “2.0.0-rc.9”tauri 2.0.0-rc.9
Section titled “tauri 2.0.0-rc.9”New Features
Section titled “New Features”0899e5083(#10884 by @amrbashir) Derive serdeSerializeforSafePathBuf431ca2c77(#10870 by @Legend-Master) AddFromStrimpl forSafePathBuf
Bug Fixes
Section titled “Bug Fixes”79de4332b(#10841 by @lucasfernog) Fixes IPC postMessage raw body processing when using the isolation pattern.6696e4880(#10842 by @lucasfernog) Fixes a warning when using a null value on theinvoke.resolve()iOS plugin API.
What's Changed
Section titled “What's Changed”27d018343(#10844 by @lucasfernog) Changes how the Info.plist is embedded on macOS development to avoid a clippy warning.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-runtime-wry@2.0.0-rc.8 - Upgraded to
tauri-utils@2.0.0-rc.8 - Upgraded to
tauri-runtime@2.0.0-rc.8 - Upgraded to
tauri-macros@2.0.0-rc.7 - Upgraded to
tauri-build@2.0.0-rc.8
Breaking Changes
Section titled “Breaking Changes”5048a7293(#10840 by @lucasfernog) Thelinux-ipc-protocolfeature is now always enabled, so the Cargo feature flag was removed. This increases the minimum webkit2gtk version to a release that does not affect the minimum target Linux distros for Tauri apps.
cli 2.0.0-rc.9
Section titled “cli 2.0.0-rc.9”Bug Fixes
Section titled “Bug Fixes”6faa03276(#10854 by @lucasfernog) Fixes iOS code signing failing on CI due to a missing development certificate.
Bug Fixes
Section titled “Bug Fixes”5af1f5dec(#10851 by @lucasfernog) Fixesios buildfailing to build iOS app in CI when using an API key for automatic signing.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.1-rc.7
2.0.0-rc.8
Section titled “2.0.0-rc.8”tauri 2.0.0-rc.8
Section titled “tauri 2.0.0-rc.8”Enhancements
Section titled “Enhancements”d7e5c00e9(#10817 by @lucasfernog) Addedplugin:::PermissionStateenum.
cli 2.0.0-rc.8
Section titled “cli 2.0.0-rc.8”New Features
Section titled “New Features”91e9e784a(#10729 by @amrbashir) Add plugins information intauri infooutput09e9dc1aa(#10752 by @lucasfernog) Allow Xcode to manage iOS code sign and provisioning profiles by default. On CI, theAPPLE_API_KEY,APPLE_API_ISSUERandAPPLE_API_KEY_PATHenvironment variables must be provided for authentication.
Enhancements
Section titled “Enhancements”3a4972b39(#10793 by @lucasfernog) Include architecture in thetauri infooutput.fd68b7fde(#10785 by @lucasfernog) Remove the.cargo/configfile creation that used to fix mobile build caches.f67a9eb6d(#10802 by @lucasfernog) Synchronize identifier, development team and lib name with the iOS Xcode project.
Bug Fixes
Section titled “Bug Fixes”83ed090bf(#10790 by @lucasfernog) Do not quitios devandandroid devprocess when we fail to attach the logger.2d31aef75(#10751 by @lucasfernog) Ensure gradlew is executable and does not use CRLF so it can be used on UNIX systems.02b2f964a(#10795 by @lucasfernog) Fix theaddcommand NPM version specifier for known plugins from2.0.0-rc(unknown version requirement) to^2.0.0-rc.84070bae9(#10792 by @lucasfernog) Fixtauri plugin ios initnot generating the iOS folder.edb2ca31f(#10794 by @lucasfernog) Migrate v1 plugins NPM packages.9718dc9e8(#10791 by @lucasfernog) Reintroduce thetargetSdkvalue in the Android application template.
What's Changed
Section titled “What's Changed”fb6bf3142(#10763 by @rdlabo) Update plugin template Android code to match documentation on Android package ID usage.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.7 - Upgraded to
tauri-bundler@2.0.1-rc.6
Breaking Changes
Section titled “Breaking Changes”073bb4f45(#10772 by @lucasfernog) Removed the deprecatedwebview_fixed_runtime_pathconfig option, use thewebview_install_modeinstead.
2.0.0-rc.7
Section titled “2.0.0-rc.7”tauri 2.0.0-rc.7
Section titled “tauri 2.0.0-rc.7”New Features
Section titled “New Features”1e441811e(#10786 by @amrbashir) On Windows, Add and emitDoubleClickvariant forTrayIconEvent.
Enhancements
Section titled “Enhancements”f86a8146a(#10761 by @rdlabo) AddedgetArgsandgetRawArgsmethods to the pluginInvokeclass (Kotlin and Swift), which lets you parse the arguments manually instead of through theparseArgsmethod.
Bug Fixes
Section titled “Bug Fixes”03f2a5098(#10718 by @rdlabo) Update swift-rs fixing a plugin build when native dependencies are used.22d2afa89(#10800 by @lucasfernog) Change the Android Proguard rules to keep custom JSON deserializers.fbe76a955(#10797 by @lucasfernog) Uint8Arrays and ArrayBuffers are now properly serialized as an array of numbers.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.7 - Upgraded to
tauri-build@2.0.0-rc.7 - Upgraded to
tauri-runtime@2.0.0-rc.7 - Upgraded to
tauri-runtime-wry@2.0.0-rc.7 - Upgraded to
tauri-macros@2.0.0-rc.6
cli 2.0.0-rc.7
Section titled “cli 2.0.0-rc.7”Enhancements
Section titled “Enhancements”da8c9a7d3(#10669 by @lucasfernog) Modify both ExportOptions.plist and project.pbxproj to reflect changes for theIOS_CERTIFICATE,IOS_CERTIFICATE_PASSWORDandIOS_MOBILE_PROVISIONenvironment variables.
Bug Fixes
Section titled “Bug Fixes”793ee0531(#10700 by @lucasfernog) Allow hyphens and underscores on app identifiers.da8c9a7d3(#10669 by @lucasfernog) Synchronize Xcode project changes with the ExportOptions.plist file soios buildcalls can work with code signing changes made in Xcode.
What's Changed
Section titled “What's Changed”f4d5241b3(#10731 by @amrbashir) Update documentation icon path.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.6 - Upgraded to
tauri-bundler@2.0.1-rc.5
Breaking Changes
Section titled “Breaking Changes”da8c9a7d3(#10669 by @lucasfernog) TheIOS_CERTIFICATE,IOS_CERTIFICATE_PASSWORDandIOS_MOBILE_PROVISIONenvironment variables are now read by theios buildcommand instead ofios init.
2.0.0-rc.6
Section titled “2.0.0-rc.6”tauri 2.0.0-rc.6
Section titled “tauri 2.0.0-rc.6”What's Changed
Section titled “What's Changed”f4d5241b3(#10731 by @amrbashir) Update documentation icon path.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.6 - Upgraded to
tauri-build@2.0.0-rc.6 - Upgraded to
tauri-runtime-wry@2.0.0-rc.6 - Upgraded to
tauri-runtime@2.0.0-rc.6 - Upgraded to
tauri-macros@2.0.0-rc.5
@tauri-apps/api 2.0.0-rc.6
Section titled “@tauri-apps/api 2.0.0-rc.6”New Features
Section titled “New Features”9014a3f17(#11066 by @amrbashir) AddWebviewWindow.clearAllBrowsingDataandWebview.clearAllBrowsingDatato clear the webview browsing data.95df53a2e(#11143 by @Legend-Master) Add the ability to set theme dynamically usingWindow.setThemeorsetThemefunction from theappmoduled9d2502b4(#11140 by @amrbashir) AddWebview.hideandWebview.showmethods.de7414aab(#11154 by @amrbashir) AddWindow::setEnabledandWindow::isEnabledmethods
Bug Fixes
Section titled “Bug Fixes”948772a65(#11114 by @lucasfernog) Change thebutton_statetray event field to camelCasebuttonState.
Breaking Changes
Section titled “Breaking Changes”0b4495996(#11121 by @amrbashir) Simplified emitted tray event JS value and updatedTrayIconEventtype definition to match it.
cli 2.0.0-rc.6
Section titled “cli 2.0.0-rc.6”New Features
Section titled “New Features”da381e07f(#10696 by @lucasfernog) Inject configured resources on mobile apps.
Bug Fixes
Section titled “Bug Fixes”1a60822a4(#10699 by @lucasfernog) Changed theaddcommand to use a version requirement that matches the CLI's stable and prerelease numbers.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.5 - Upgraded to
tauri-bundler@2.0.1-rc.4
2.0.0-rc.5
Section titled “2.0.0-rc.5”tauri 2.0.0-rc.5
Section titled “tauri 2.0.0-rc.5”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.5 - Upgraded to
tauri-runtime@2.0.0-rc.5 - Upgraded to
tauri-runtime-wry@2.0.0-rc.5 - Upgraded to
tauri-macros@2.0.0-rc.5 - Upgraded to
tauri-build@2.0.0-rc.5
@tauri-apps/api 2.0.0-rc.5
Section titled “@tauri-apps/api 2.0.0-rc.5”New Features
Section titled “New Features”ddf69157b(#11031 by @amrbashir) AddtoPhysicalmethod onLogicalPositonandLogicalSizeclasses.
cli 2.0.0-rc.5
Section titled “cli 2.0.0-rc.5”New Features
Section titled “New Features”8d148a9e2(#10634 by @anatawa12) Custom sign command with object notation for whitespaces in the command path and arguments.
Bug Fixes
Section titled “Bug Fixes”8ae52a615(#10676 by @rdlabo) Change plugin template call toregister_ios_pluginparams to snake case7796a8fc6(#10687 by @lucasfernog) Fix Swift plugin compilation on older versions.9b99ebab1(#10431 by @mrguiman) Do not include the target arch when building and archiving the iOS application, which makes Xcode project modifications more flexible.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.4 - Upgraded to
tauri-bundler@2.0.1-rc.3
2.0.0-rc.4
Section titled “2.0.0-rc.4”tauri 2.0.0-rc.4
Section titled “tauri 2.0.0-rc.4”Enhancements
Section titled “Enhancements”30c7685eb(#10295 by @liesauer) AddedBuilder::append_invoke_initialization_script.ed04cc3d3(#10664 by @lucasfernog) Include more information in the IPC permission error message.
Bug Fixes
Section titled “Bug Fixes”5c335ae9a(#10648 by @Flakebi) Prevent build script from rerunning unnecessarily by only writing files when the content changes.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-build@2.0.0-rc.4 - Upgraded to
tauri-utils@2.0.0-rc.4 - Upgraded to
tauri-runtime@2.0.0-rc.4 - Upgraded to
tauri-runtime-wry@2.0.0-rc.4 - Upgraded to
tauri-macros@2.0.0-rc.4
@tauri-apps/api 2.0.0-rc.4
Section titled “@tauri-apps/api 2.0.0-rc.4”Enhancements
Section titled “Enhancements”f81929e25(#10799 by @lucasfernog) AddedPermissionState,checkPermissionsandrequestPermissionsbase APIs to the core module, designed for plugin authors to extend.
Bug Fixes
Section titled “Bug Fixes”fbe76a955(#10797 by @lucasfernog) Uint8Arrays and ArrayBuffers are now properly serialized as an array of numbers.
cli 2.0.0-rc.4
Section titled “cli 2.0.0-rc.4”New Features
Section titled “New Features”78e22bedc(#10602 by @amrbashir) Add necessary options toAndroidManifest.xmlin android template to support AndroidTV.3bec7b159(#10544 by @lucasfernog) v1 migrate script now migrates Svelte and Vue.js code.
Enhancements
Section titled “Enhancements”bba1a4419(#10457 by @mmvanheusden) Added--no-fmtoption to theaddcommand to skip formatting the code after applying changes.71d00646a(#10504 by @fu050409) Improve theinitcommand behavior by detecting the project NPM package manager.8deb1966a(#10652 by @lucasfernog) Infer macOS codesign identity from theAPPLE_CERTIFICATEenvironment variable when provided, meaning the identity no longer needs to be provided when signing on CI using that option. If the imported certificate name does not match a provided signingIdentity configuration, an error is returned.f35bcda28(#10598 by @lucasfernog)permission addandaddcommands now check if the plugin is known and if it is either desktop or mobile only we add the permission to a target-specific capability.
Bug Fixes
Section titled “Bug Fixes”f712f31d1(#10639 by @lucasfernog) Include notarization error output in the error message if it fails.9f75d0622(#10604 by @lucasfernog) Fixesandroid devport forward failing under some conditions, add better logging and error handling.2d47352a0(#10418 by @samkearney) CLI commands will now consistently search for theapp_dir(the directory containingpackage.json) from the current working directory of the command invocation.f4cd68f04(#10600 by @lucasfernog) Fixesandroid devnot working when using the builtin dev server.9089d9763(#10605 by @lucasfernog) Fixes[android|ios] build --config <config>failing to resolve.712f1049f(#10569 by @lucasfernog) Fixes runningios devandios buildusingbun.3998570fd(#10540 by @lucasfernog) Fixes v1 migration of Cargo.toml dependencies and features.3beba92b5(#10542 by @lucasfernog) Fixes v1 frontend code migration when using plugin default imports.10fb027b7(#10656 by @lucasfernog) Migrate v1 plugins to their v2 releases.10fb027b7(#10656 by @lucasfernog) Prevent duplicate permissions on v1 migration.b160f9359(#10638 by @lucasfernog) Only validate the output iOS library on debug builds.4bfe4880f(#10550 by @anatawa12) fails to build universal fat binary if main bin is renamed to another name inCargo.tomlf3837d5b9(#10539 by @lucasfernog) Improve migration tooling by supporting TOML configs, handle nulls and properly check for updater migration.41c7a6646(#10572 by @lucasfernog) Exit with code 1 if a panic occurs when running the CLI withbun.
What's Changed
Section titled “What's Changed”794cf8234(#10571 by @lucasfernog) Change iOS template default export method from deprecateddevelopmenttodebugging.bfc49cc7a(#10558 by @ahqsoftwares) Remove targetSdk from gradle files
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.3 - Upgraded to
tauri-bundler@2.0.1-rc.2 - Upgraded to
tauri-macos-sign@0.1.1-rc.0
2.0.0-rc.3
Section titled “2.0.0-rc.3”tauri 2.0.0-rc.3
Section titled “tauri 2.0.0-rc.3”Bug Fixes
Section titled “Bug Fixes”b1d9ffa1a(#10582 by @lucasfernog) Fix IPC fallback (postMessage implementation when custom protocol fails) hanging when sending responses.
What's Changed
Section titled “What's Changed”bfc49cc7a(#10558 by @ahqsoftwares) Remove targetSdk from gradle filesfedf93eb7(#10585 by @lucasfernog) Change how IPC handles errors to simplify what's logged in the console.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-build@2.0.0-rc.3 - Upgraded to
tauri-utils@2.0.0-rc.3 - Upgraded to
tauri-runtime@2.0.0-rc.3 - Upgraded to
tauri-runtime-wry@2.0.0-rc.3 - Upgraded to
tauri-macros@2.0.0-rc.3 d39c392b7(#10655 by @lucasfernog) Updatetaoto 0.29 andwryto 0.42.
Breaking Changes
Section titled “Breaking Changes”d0510f52e(#10641 by @lucasfernog) Added a dedicated type for IPC response bodyInvokeResponseBodyfor performance reasons. This is only a breaking change if you are directly using types fromtauri::ipc.
@tauri-apps/api 2.0.0-rc.3
Section titled “@tauri-apps/api 2.0.0-rc.3”What's Changed
Section titled “What's Changed”f4d5241b3(#10731 by @amrbashir) Update documentation icon path.
cli 2.0.0-rc.3
Section titled “cli 2.0.0-rc.3”Enhancements
Section titled “Enhancements”5f56cb0a8(#10507 by @FabianLars) Update gradle to 8.9 and the gradle android plugin to 8.5.1 in the android templates (requires latest Android Studio). This should add support for Java 21 but Java 17 keeps being the recommended version.
Bug Fixes
Section titled “Bug Fixes”f5dfc0280(#10533 by @FabianLars) Fixed an issue causingtauri ios initto fail ifiOS.minimumSystemVersionwas not configured explicitly.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.2 - Upgraded to
tauri-bundler@2.0.1-rc.1
2.0.0-rc.2
Section titled “2.0.0-rc.2”tauri 2.0.0-rc.2
Section titled “tauri 2.0.0-rc.2”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.2 - Upgraded to
tauri-runtime@2.0.0-rc.2 - Upgraded to
tauri-runtime-wry@2.0.0-rc.2 - Upgraded to
tauri-macros@2.0.0-rc.2 - Upgraded to
tauri-build@2.0.0-rc.2
@tauri-apps/api 2.0.0-rc.2
Section titled “@tauri-apps/api 2.0.0-rc.2”Bug Fixes
Section titled “Bug Fixes”c689521a7(#10681 by @lucasfernog) Fix tslib path in dist.
cli 2.0.0-rc.2
Section titled “cli 2.0.0-rc.2”New Features
Section titled “New Features”8dc81b6cc(#10496 by @lucasfernog) Addedbundle > ios > templateconfiguration option for custom Xcode project YML Handlebars template using XcodeGen.02c00abc6(#10495 by @lucasfernog) Addedbundle > ios > minimumSystemVersionconfiguration option.
Enhancements
Section titled “Enhancements”8e1e15304(#10483 by @lucasfernog) Check if the Rust library contains the symbols required at runtime for Android and iOS apps.ca6868956(#10479 by @lucasfernog) Check if identifier or lib name changed when running mobile commands.
Bug Fixes
Section titled “Bug Fixes”2e8ab7bac(#10481 by @lucasfernog) Migration from v1 to v2 now adds the updater plugin when it is active.
What's Changed
Section titled “What's Changed”a3cd9779a(#10480 by @lucasfernog) Removed the[android|ios] opencommand. It is recommended to use[android|ios] dev --openor[android|ios] build --openinstead.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.1-rc.0 - Upgraded to
tauri-utils@2.0.0-rc.1
2.0.0-rc.1
Section titled “2.0.0-rc.1”tauri 2.0.0-rc.1
Section titled “tauri 2.0.0-rc.1”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.1 - Upgraded to
tauri-runtime@2.0.0-rc.1 - Upgraded to
tauri-runtime-wry@2.0.0-rc.1 - Upgraded to
tauri-macros@2.0.0-rc.1 - Upgraded to
tauri-build@2.0.0-rc.1
@tauri-apps/api 2.0.0-rc.1
Section titled “@tauri-apps/api 2.0.0-rc.1”Breaking Changes
Section titled “Breaking Changes”b6dca99ff(#10630 by @lucasfernog) ChangedWebviewWindow.getAll,WebviewWindow.getByLabel,getAllWebviewWindows,Window.getAll,Window.getByLabel,getAllWindows,Webview.getAll,Webview.getByLabel,getAllWebviewsto be async so their return value are synchronized with the state from the Rust side, meaning new and destroyed windows are reflected.
cli 2.0.0-rc.1
Section titled “cli 2.0.0-rc.1”Bug Fixes
Section titled “Bug Fixes”fb1933f17(#10467 by @lucasfernog) Fixes runningandroid dev --open.206914fe8(#10466 by @lucasfernog) Fixes runningadb reversein Node.js context.
2.0.0-rc.0
Section titled “2.0.0-rc.0”tauri 2.0.0-rc.0
Section titled “tauri 2.0.0-rc.0”Bug Fixes
Section titled “Bug Fixes”6755af230(#10435) Fix Specta remote implementation target forChannel.24445d71d(#10432) Fixes asset resolving when not using thecompressionfeature.
Enhancements
Section titled “Enhancements”1e0793b68(#10357) EnhanceAssetResolver::getin development mode by reading distDir directly as a fallback to the embedded assets.7aeac39e7(#10397) Make the set of gtk application id optional, to allow more then one instance of the app running at the same time.cf994a6bb(#10405) Addtauri::plugin::Builder::try_buildto allow plugins to check if theirTauriPlugininitialization is valid.
Security fixes
Section titled “Security fixes”426d14bb4(#10423) Explicitly check that the main frame's origin is the sender of Isolation Payloads289ae5555(#10386) Re-enable TLS checks that were previously disabled to support an insecure HTTPS custom protocol on Android which is no longer used.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.0 - Upgraded to
tauri-macros@2.0.0-rc.0 - Upgraded to
tauri-build@2.0.0-rc.0 - Upgraded to
tauri-runtime@2.0.0-rc.0 - Upgraded to
tauri-runtime-wry@2.0.0-rc.0
Breaking Changes
Section titled “Breaking Changes”758d28c8a(#10390) Core plugin permissions are now prefixed withcore:, thecore:defaultpermission set can now be used and thecoreplugin name is reserved. Thetauri migratetool will automate the migration process, which involves prefixing allapp,event,image,menu,path,resources,tray,webviewandwindowpermissions withcore:.
@tauri-apps/api 2.0.0-rc.0
Section titled “@tauri-apps/api 2.0.0-rc.0”Changes
Section titled “Changes”- Promoted to RC!
cli 2.0.0-rc.0
Section titled “cli 2.0.0-rc.0”New Features
Section titled “New Features”d5511c311(#10395) Added migration from2.0.0-betato2.0.0-rc.a5bfbaa62(#9962) Addedbundle > iOS > frameworksconfiguration to define a list of frameworks that are linked to the Xcode project when it is generated.
Enhancements
Section titled “Enhancements”a0841d509(#10421) Changes the default behavior of thedevcommand to only expose to localhost (127.0.0.1) instead of the default system interface.
Security fixes
Section titled “Security fixes”289ae5555(#10386) Re-enable TLS checks that were previously disabled to support an insecure HTTPS custom protocol on Android which is no longer used.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-rc.0 - Upgraded to
tauri-bundler@2.0.0-rc.0
Breaking Changes
Section titled “Breaking Changes”758d28c8a(#10390) Core plugin permissions are now prefixed withcore:, thecore:defaultpermission set can now be used and thecoreplugin name is reserved. Thetauri migratetool will automate the migration process, which involves prefixing allapp,event,image,menu,path,resources,tray,webviewandwindowpermissions withcore:.7ba67b4ac(#10437)ios devandandroid devnow uses localhost for the development server unless running on an iOS device, which still requires connecting to the public network address. To conditionally check this on your frontend framework's configuration you can check for the existence of theTAURI_DEV_HOSTenvironment variable instead of checking if the target is iOS or Android (previous recommendation).
2.0.0-beta.x
Section titled “2.0.0-beta.x”2.0.0-beta.25
Section titled “2.0.0-beta.25”tauri 2.0.0-beta.25
Section titled “tauri 2.0.0-beta.25”New Features
Section titled “New Features”-
da25f7353(#10242 by @amrbashir) Add APIs to enable setting window size constraints separately:- Added
WindowBuilder::inner_size_constraintsandWebviewWindowBuilder::inner_size_constraintswhich can be used for setting granular constraints. - Added
WindowSizeConstraintsstruct - Added
Window::set_size_constraintsandWebviewWindow::set_size_constraints
- Added
Bug Fixes
Section titled “Bug Fixes”e1776946a(#10362 by @Brendonovich) Usespecta rc.15'sderive` feature which fixes build issues in docs.rs.da25f7353(#10242 by @amrbashir) ApplyminWidth,minHieght,maxWidthandmaxHeightconstraints separately, which fixes a long standing bug where these constraints were never applied unless width and height were constrained together.
What's Changed
Section titled “What's Changed”9546548ec(#10297 by @pewsheen) On macOS, set default titlebar style toVisibleto prevent webview move out of the view.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-runtime-wry@2.0.0-beta.21 - Upgraded to
tauri-runtime@2.0.0-beta.21
2.0.0-beta.24
Section titled “2.0.0-beta.24”tauri 2.0.0-beta.24
Section titled “tauri 2.0.0-beta.24”New Features
Section titled “New Features”Enhancements
Section titled “Enhancements”a7354f9a8(#10171 by @amrbashir) MarkAppHandle::restartandprocess::restartas diverging functions.
Bug Fixes
Section titled “Bug Fixes”4c239729c(#10167 by @amrbashir) Fix deserialization of raw invoke requests when usingisolationpattern.55733aba9(#10176 by @lucasfernog) MovePluginApi::register_ios_pluginbehind thewryCargo feature asWebview::with_webviewis only available when that feature is enabled.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-macros@2.0.0-beta.19 - Upgraded to
tauri-build@2.0.0-beta.19 - Upgraded to
tauri-runtime-wry@2.0.0-beta.20 - Upgraded to
tauri-utils@2.0.0-beta.19 - Upgraded to
tauri-runtime@2.0.0-beta.20
Breaking Changes
Section titled “Breaking Changes”-
ba9590aa9(#9640 by @amrbashir) AddedEmitterandListenertraits that defines what an emitter or a listener can do, this however comes with a few breaking changes:- Removed
Manager::listen_any, useListener::listen_anyinstead. - Removed
Manager::once_any, useListener::once_anyinstead. - Removed
Manager::unlisten, useListener::unlisteninstead. - Removed
Manager::emit, useEmitter::emitinstead. - Removed
Manager::emit_to, useEmitter::emit_toinstead. - Removed
Manager::emit_filter, useEmitter::emit_filterinstead. - Removed
App/AppHandle::listen,WebviewWindow::listen,Window::listenandWebview::listen, useListener::listeninstead. - Removed
App/AppHandle::once,WebviewWindow::once,Window::onceandWebview::once, useListener::onceinstead. - Removed
App/AppHandle::unlisten,WebviewWindow::unlisten,Window::unlistenandWebview::unlisten, useListener::unlisteninstead.
- Removed
-
261c9f942(#10170 by @amrbashir) RenamedDragDropEventenum variants to better convey when they are triggered:DragDropEvent::Dragged->DragDropEvent::EnterDragDropEvent::DragOver->DragDropEvent::OverDragDropEvent::Dropped->DragDropEvent::DropDragDropEvent::Cancelled->DragDropEvent::Leave
This also comes with a change in the events being emitted to JS and Rust event listeners:
tauri://drag->tauri://drag-entertauri://drop-over->tauri://drag-overtauri://drop->tauri://drag-droptauri://drag-cancelled->tauri://drag-leave
-
2b1ceb40d(#10229 by @amrbashir) Renamed the JSgetCurrentandgetAllfunctions to a clearer name to avoid ambiguity:getCurrentinwindowmodule has been renamed togetCurrentWindowgetCurrentinwebviewmodule has been renamed togetCurrentWebviewgetCurrentinwebviewWindowmodule has been renamed togetCurrentWebviewWindowgetAllinwindowmodule has been renamed togetAllWindowsgetAllinwebviewmodule has been renamed togetAllWebviewsgetAllinwebviewWindowmodule has been renamed togetAllWebviewWindows
-
57612ab24(#10139 by @Brendonovich) AddTSendgeneric toipc::Channelfor typesafesendcalls and type inspection intauri-specta
2.0.0-beta.23
Section titled “2.0.0-beta.23”tauri 2.0.0-beta.23
Section titled “tauri 2.0.0-beta.23”New Features
Section titled “New Features”148f04887(#9979) AdddefaultWindowIconto the JSappmodule to retrieve the default window icon in JS.5b769948a(#9959) Addinclude_imagemacro to help embedding instances ofImagestruct at compile-time in rust to be used with window, menu or tray icons.ddaabda36(#9922) AddWebviewWindowBuilder::on_download.
Enhancements
Section titled “Enhancements”Bug Fixes
Section titled “Bug Fixes”-
e93ca1df3(#10138) FixInvokeBody::deserializemethod deserialization forInvokeBody::Rawvariant -
e6e17ad1c(#9954) Addstdfeature toraw-window-handlecrate so that usingdefault-features = falseontauricrate can work -
f29b78811(#9862) On Windows, handle resizing undecorated windows natively which improves performance and fixes a couple of annoyances with previous JS implementation:- No more cursor flickering when moving the cursor across an edge.
- Can resize from top even when
data-tauri-drag-regionelement exists there. - Upon starting rezing, clicks don't go through elements behind it so no longer accidental clicks.
What's Changed
Section titled “What's Changed”669b9c6b5(#9621) Set the gtk application to the identifier defined intauri.conf.jsonto ensure the app uniqueness.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.18 - Upgraded to
tauri-build@2.0.0-beta.18 - Upgraded to
tauri-macros@2.0.0-beta.18 - Upgraded to
tauri-runtime-wry@2.0.0-beta.19 - Upgraded to
tauri-runtime@2.0.0-beta.19 f955f7b49(#9929) Switch fromdirs_nexttodirsasdirs_nextis now unmaintained whiledirsisd4c908cfb(#10048) Updatewindowscrate to version0.57andwebview2-comcrate to version0.31
Breaking Changes
Section titled “Breaking Changes”cli 2.0.0-beta.23
Section titled “cli 2.0.0-beta.23”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.1-beta.19
2.0.0-beta.22
Section titled “2.0.0-beta.22”tauri 2.0.0-beta.22
Section titled “tauri 2.0.0-beta.22”Bug Fixes
Section titled “Bug Fixes”-
dfd05441c(#9860) Revert addingapp-region: dragto HTML elements withdata-tauri-drag-regionon Windows as it has a few issues:- Doesn't allow right click, as it will always show the system context menu on right click.
data-tauri-drag-regionworks only if the click was on an element that has it, this allows buttons in the custom titlebar to work, howeverapp-region: dragwill treat the whole area as a titlebar won't even allow clicks on buttons.
cli 2.0.0-beta.22
Section titled “cli 2.0.0-beta.22”New Features
Section titled “New Features”c734b9e3c(#10072 by @FabianLars) Upgraded the WiX version to 3.14 which fixes vulnerability issues and adds support for Arm targets.7c7fa0964(#9963 by @lucasfernog) Added--methodargument forios buildto select the export options' method.7c7fa0964(#9963 by @lucasfernog) Setup iOS signing by readingIOS_CERTIFICATE,IOS_CERTIFICATE_PASSWORDandIOS_MOBILE_PROVISIONenvironment variables.
Enhancements
Section titled “Enhancements”-
c01e87ad4(#10198 by @amrbashir) Enhancetauri migrateto also migrate variables likeappWindow:import { appWindow } from '@tauri-apps/api/window'will become:
import { getCurrentWebviewWindow } from '@tauri-apps/api/webviewWindow'const appWindow = getCurrentWebviewWindow()
Bug Fixes
Section titled “Bug Fixes”94136578b(#10186 by @amrbashir) Fixmigratecommand, migrating incorrect permissions forclipboard.c01e87ad4(#10198 by @amrbashir) Fixtauri migrateincorrectly migrating@tauri-apps/api/taurimodule to justcoreand@tauri-apps/api/windowto justwebviewWindow.15e125996(#10234 by @amrbashir) Fix cli failing to detect the correct cargo target directory when using cargo--target-dirflag withtauri buildortauri dev
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.1-beta.18 - Upgraded to
tauri-macos-sign@0.1.0-beta.0 - Upgraded to
tauri-utils@2.0.0-beta.19
2.0.0-beta.21
Section titled “2.0.0-beta.21”tauri 2.0.0-beta.21
Section titled “tauri 2.0.0-beta.21”New Features
Section titled “New Features”8a1ae2dea(#9843) Added an option to use a Xcode project for the iOS plugin instead of a plain SwiftPM project.
Bug Fixes
Section titled “Bug Fixes”276c4b143(#9832) On Windows, fix wrong menubar theme when window is using an explicit theme.ccc3ea729(#9646) Parse the correct platformtauri.<platform>.conf.jsonconfig file when building or developing for mobile.aa55e0335(#9899) Set default window origin tonull. Prevent window crash when loadingabout:blank.
What's Changed
Section titled “What's Changed”9ac930380(#9850) Emitcargo:rustc-check-cfginstruction so Cargo validates custom cfg attributes on Rust 1.80 (or nightly-2024-05-05).80aa50498(#9870) Updated Android target SDK to 34.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-build@2.0.0-beta.17 - Upgraded to
tauri-macros@2.0.0-beta.17 - Upgraded to
tauri-utils@2.0.0-beta.17 - Upgraded to
tauri-runtime@2.0.0-beta.18 - Upgraded to
tauri-runtime-wry@2.0.0-beta.18
Breaking Changes
Section titled “Breaking Changes”-
e8f6eb59a(#9552) Include binary path inEnv.args_os, previously it was skipped. -
1df5cdeb0(#9858) Usetauri.conf.json > identifierto set thePackageNamein Android andBundleIdin iOS. -
aaecb6a72(#9890) Renameddevfunction tois_devand marked it asconst fn -
c4410daa8(#9777) This release contains breaking changes to the tray event structure because of newly added events:- Changed
TrayIconEventto be an enum instead of a struct. - Added
MouseButtonStateandMouseButtonenums. - Removed
ClickTypeenum and replaced it withMouseButtonenum. - Added
MouseButtonStateenum.
- Changed
cli 2.0.0-beta.21
Section titled “cli 2.0.0-beta.21”New Features
Section titled “New Features”Enhancements
Section titled “Enhancements”f44a2ec47(#10030) Enhance the plugin template to includepermissions/default.tomland default capabilities file for the example application.
Bug Fixes
Section titled “Bug Fixes”019a74e97(#9931) Fix wrong migration ofclipboardandglobalShortcutmodules27838365a(#10135) Fix parsing of cargo profile when using--profile=<profile>syntax.79542f4d4(#10039) Fixed an issue that preventedtauri iconfrom rendering<text>nodes in SVG files.40c0f44e1(#9971) Changed the deployment target of plugin iOS Xcode project to 13.0 so it works on older iOS releases.f56cdc9e3(#10016) Add missing dependencylibayatana-appindicator3.so.1for rpm package.1601da5b5(#10114) Removed alpha channel from default icons in iOS template to comply with Apple's human interface guideline (https://developer.apple.com/design/human-interface-guidelines/app-icons), because transparent icons with alpha channel are not allowed, and will be rejected upon upload to Apple appstore.
What's Changed
Section titled “What's Changed”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.1-beta.17 - Upgraded to
tauri-utils@2.0.0-beta.18 f955f7b49(#9929) Switch fromdirs_nexttodirsasdirs_nextis now unmaintained whiledirsis
Breaking Changes
Section titled “Breaking Changes”2.0.0-beta.20
Section titled “2.0.0-beta.20”tauri 2.0.0-beta.20
Section titled “tauri 2.0.0-beta.20”New Features
Section titled “New Features”ae6b13dfc(#9789) Addapp-region: dragto HTML elements withdata-tauri-drag-regionon Windows, only WebView2 123+, which should fix dragging using touch.ec0e092ec(#9770) AddApp/AppHandle/Window/Webview/WebviewWindow::monitor_from_point(x, y)getter to get the monitor from a given point.
Enhancements
Section titled “Enhancements”Bug Fixes
Section titled “Bug Fixes”Security fixes
Section titled “Security fixes”d950ac123Only process IPC commands from the main frame.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.16 - Upgraded to
tauri-runtime-wry@2.0.0-beta.17 - Upgraded to
tauri-runtime@2.0.0-beta.17 - Upgraded to
tauri-macros@2.0.0-beta.16 - Upgraded to
tauri-build@2.0.0-beta.16
cli 2.0.0-beta.20
Section titled “cli 2.0.0-beta.20”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.1-beta.16
2.0.0-beta.19
Section titled “2.0.0-beta.19”tauri 2.0.0-beta.19
Section titled “tauri 2.0.0-beta.19”New Features
Section titled “New Features”Bug Fixes
Section titled “Bug Fixes”fedca7386(#9720) Fix IPC tracing format incompatible between the custom protocol and the postMessage implementations.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-runtime@2.0.0-beta.16 - Upgraded to
tauri-runtime-wry@2.0.0-beta.16 - Upgraded to
tauri-utils@2.0.0-beta.15 - Upgraded to
tauri-macros@2.0.0-beta.15 - Upgraded to
tauri-build@2.0.0-beta.15
Breaking Changes
Section titled “Breaking Changes”cli 2.0.0-beta.19
Section titled “cli 2.0.0-beta.19”New Features
Section titled “New Features”8a1ae2dea(#9843) Added an option to use a Xcode project for the iOS plugin instead of a plain SwiftPM project.9e4b2253f(#9734) Addtauri bundlesubcommand which runs the bundle phase only, best paired withtauri build --no-bundle
Enhancements
Section titled “Enhancements”8b032c3cf(#9896) Add a blank LaunchScreen.storyboard to the iOS project init template to pass the App Store validation.71a5e2ba2(#9799) On Android, allow using Kotlin keywords as identifiers and escape them in templates.9970d88be(#9892) Update to latest gradle.
What's Changed
Section titled “What's Changed”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.1-beta.15 - Upgraded to
tauri-utils@2.0.0-beta.17
Breaking Changes
Section titled “Breaking Changes”2.0.0-beta.18
Section titled “2.0.0-beta.18”tauri 2.0.0-beta.18
Section titled “tauri 2.0.0-beta.18”New Features
Section titled “New Features”Enhancements
Section titled “Enhancements”7f6d2698c(#9631) Improve the error message that is shown when deserializing the Tauri plugin config.8a71858eb(#9630) Provide a default for the runtime generic onMenu,MenuItem,Submenu,PredefinedMenuItem,CheckMenuItemandIconMenuItem.8a71858eb(#9630) Provide a default for the runtime generic onTrayIcon.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.14 - Upgraded to
tauri-runtime@2.0.0-beta.15 - Upgraded to
tauri-runtime-wry@2.0.0-beta.15 - Upgraded to
tauri-macros@2.0.0-beta.14 - Upgraded to
tauri-build@2.0.0-beta.14
cli 2.0.0-beta.18
Section titled “cli 2.0.0-beta.18”Bug Fixes
Section titled “Bug Fixes”beda18bce(#9855) Fixed an issue that causedtauri addto fail for multiple rust-only and platform-specific plugins.4a33bc6a6(#9553) Fixespnpmdetection when initializing and running a mobile project.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.1-beta.14 - Upgraded to
tauri-utils@2.0.0-beta.16
2.0.0-beta.17
Section titled “2.0.0-beta.17”tauri 2.0.0-beta.17
Section titled “tauri 2.0.0-beta.17”New Features
Section titled “New Features”12b4159bd(#9392) Addspectafeature flag which addsspectasupport forAppHandle,State,Window,WebviewandWebviewWindowtypes.477bb8cd4(#9297) AddApp/AppHandle/Window/Webview/WebviewWindow::cursor_positiongetter to get the current cursor position.
Enhancements
Section titled “Enhancements”eff778b8f(#9571) Run each plugin initialization script on its own context so they do not interfere with each other or the Tauri init script.
Bug Fixes
Section titled “Bug Fixes”6c047aee1(#9612) Fix window white flashing on exit on Windows98101cb17(#9561) Allow any headers on the IPC custom protocol.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-runtime@2.0.0-beta.14 - Upgraded to
tauri-runtime-wry@2.0.0-beta.14
cli 2.0.0-beta.17
Section titled “cli 2.0.0-beta.17”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.15 - Upgraded to
tauri-bundler@2.0.1-beta.13
2.0.0-beta.16
Section titled “2.0.0-beta.16”tauri 2.0.0-beta.16
Section titled “tauri 2.0.0-beta.16”New Features
Section titled “New Features”Bug Fixes
Section titled “Bug Fixes”daf018e4f(#9505) Fix resource tables not cleaned up on exit which causes tray icon inside resource tables not cleaned up on exita07b51320(#9490) Add missing permission forwindow.start_resize_dragging35b25f7e5(#9530) Do not use JS optional chaining to prevent script errors on older webviews such as macOS 10.14.
What's Changed
Section titled “What's Changed”005fe8ce1(#9410) Fixclosable,maximizableandminimizableoptions not taking effect when used in tauri.conf.json or from JS APIs.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-runtime-wry@2.0.0-beta.13 - Upgraded to
tauri-build@2.0.0-beta.13 - Upgraded to
tauri-utils@2.0.0-beta.13 - Upgraded to
tauri-runtime@2.0.0-beta.13 - Upgraded to
tauri-macros@2.0.0-beta.13
@tauri-apps/api 2.0.0-beta.16
Section titled “@tauri-apps/api 2.0.0-beta.16”New Features
Section titled “New Features”-
da25f7353(#10242 by @amrbashir) Add APIs to enable setting window size constraints separately:- Added
WindowSizeConstraintsinterface inwindowandwebviewWindowmodules. - Added
Window.setSizeConstraintsandWebviewWindow.setSizeConstraints
- Added
Bug Fixes
Section titled “Bug Fixes”3c17fb64f(#10277 by @Legend-Master) FixWebview.reparentpointing toset_webview_focusinstead ofreparentRust APIda25f7353(#10242 by @amrbashir) ApplyminWidth,minHieght,maxWidthandmaxHeightconstraints separately, which fixes a long standing bug where these constraints were never applied unless width and height were constrained together.
cli 2.0.0-beta.16
Section titled “cli 2.0.0-beta.16”Bug Fixes
Section titled “Bug Fixes”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.14 - Upgraded to
tauri-bundler@2.0.1-beta.12
2.0.0-beta.15
Section titled “2.0.0-beta.15”tauri 2.0.0-beta.15
Section titled “tauri 2.0.0-beta.15”New Features
Section titled “New Features”58a7a552d(#9378) Added theset_zoomfunction to the webview API.58a7a552d(#9378) Addzoom_hotkeys_enabledto enable browser native zoom controls on creating webviews.4973d73a2(#9386) Provide a basic zoom hotkey polyfill for non-Windows platforms
Enhancements
Section titled “Enhancements”f1674fce6(#9420) Tauri's built-in commands for the JS api will now return simplified paths on Windows, removing the\\?\prefix.
Bug Fixes
Section titled “Bug Fixes”c8a82ad22(#9379) Fix deadlock when using the menu/tray/image JS APIs.6251645ac(#9360) Fixes an issue causinggetAll()to list webviews that were already destroyed.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.12 - Upgraded to
tauri-runtime-wry@2.0.0-beta.12 - Upgraded to
tauri-runtime@2.0.0-beta.12 - Upgraded to
tauri-macros@2.0.0-beta.12 - Upgraded to
tauri-build@2.0.0-beta.12
Breaking Changes
Section titled “Breaking Changes”@tauri-apps/api 2.0.0-beta.15
Section titled “@tauri-apps/api 2.0.0-beta.15”New Features
Section titled “New Features”Enhancements
Section titled “Enhancements”080b6e127(#10246 by @Legend-Master) UseEventNameonWindow,WebviewandWebviewWindow'sonceso you can get auto complete for tauri's built-in events
Bug Fixes
Section titled “Bug Fixes”080b6e127(#10246 by @Legend-Master) Fixoncedoesn't detached after one callback if event handler throws
Breaking Changes
Section titled “Breaking Changes”-
261c9f942(#10170 by @amrbashir) Renamed drag and drop events inTauriEventenum to better convey when they are triggered:TauriEvent.DRAG->TauriEvent.DRAG_ENTERTauriEvent.DROP_OVER->TauriEvent.DRAG_OVERTauriEvent.DROP->TauriEvent.DRAG_DROPTauriEvent.DROP_CANCELLED->TauriEvent::DRAG_LEAVE
Also the
typefield values inWindow/Webview/WebviewWindow.onDropEventandDragDropEventhave changed:dragged->enterdragOver->overdropped->dropcancelled->leave
-
2b1ceb40d(#10229 by @amrbashir) Renamed the JSgetCurrentandgetAllfunctions to a clearer name to avoid ambiguity:getCurrentinwindowmodule has been renamed togetCurrentWindowgetCurrentinwebviewmodule has been renamed togetCurrentWebviewgetCurrentinwebviewWindowmodule has been renamed togetCurrentWebviewWindowgetAllinwindowmodule has been renamed togetAllWindowsgetAllinwebviewmodule has been renamed togetAllWebviewsgetAllinwebviewWindowmodule has been renamed togetAllWebviewWindows
cli 2.0.0-beta.15
Section titled “cli 2.0.0-beta.15”Bug Fixes
Section titled “Bug Fixes”2.0.0-beta.14
Section titled “2.0.0-beta.14”tauri 2.0.0-beta.14
Section titled “tauri 2.0.0-beta.14”New Features
Section titled “New Features”06833f4fa(#9100) AddedRectstruct.06833f4fa(#9100) AddWebview::boundsandWebview::set_boundsAPIs.
Enhancements
Section titled “Enhancements”06833f4fa(#9100) Enhance the IPC URL check by using the Origin header on the custom protocol IPC and the new request URI field on the postMessage IPC instead of usingWebview::url()which only returns the URL of the main frame and is not suitable for iframes (iframe URL fetch is still not supported on Android and on Linux when using the postMessage IPC).
Bug Fixes
Section titled “Bug Fixes”c33f6e6cf(#9211) Fixed an issue preventing webview/window creation events to not be emitted. This also fixed thegetByLabelandgetAllJavaScript functions.
What's Changed
Section titled “What's Changed”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.11 - Upgraded to
tauri-runtime-wry@2.0.0-beta.11 - Upgraded to
tauri-runtime@2.0.0-beta.11 - Upgraded to
tauri-macros@2.0.0-beta.11 - Upgraded to
tauri-build@2.0.0-beta.11
Breaking Changes
Section titled “Breaking Changes”-
06833f4fa(#9100) RenameFileDroptoDragDropon structs, enums and enum variants. Also renamedfile_droptodrag_dropon fields and function names. -
284eca9ef(#9272)Manager::resources_tableis now scoped so eachApp/AppHandle/Window/Webview/WebviewWindowhas its own resource collection. -
06833f4fa(#9100) Refactored the tray icon event struct:- Changed
TrayIconEvent.icon_recttype to use the newtauri::Recttype. - Removed
TrayIconEvent.xandTrayIconEvent.yfields and combined them intoTrayIconEvent.positionfield. - Removed
tauri::tray::Rectanglestruct.
- Changed
@tauri-apps/api 2.0.0-beta.14
Section titled “@tauri-apps/api 2.0.0-beta.14”New Features
Section titled “New Features”148f04887(#9979) AdddefaultWindowIconto the JSappmodule to retrieve the default window icon in JS.
Bug Fixes
Section titled “Bug Fixes”cli 2.0.0-beta.14
Section titled “cli 2.0.0-beta.14”Enhancements
Section titled “Enhancements”Bug Fixes
Section titled “Bug Fixes”e64b8f1dc(#9479) Upgradeheckto v0.5 to better support Chinese and Japanese product name, because Chinese do not have word separation.aaa332c6e(#9540) Fixtauri migratetrying to migrate to a non-existing plugin.e64b8f1dc(#9479) Fixed an issue causing thebuild.runnerandbuild.featuresconfigs to not take effect.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.1-beta.10 - Upgraded to
tauri-utils@2.0.0-beta.13
2.0.0-beta.13
Section titled “2.0.0-beta.13”tauri 2.0.0-beta.13
Section titled “tauri 2.0.0-beta.13”Enhancements
Section titled “Enhancements”75f5cb401(#9214)tauri::Windowandtauri::WebviewWindownow implementraw_window_handle::HasDisplayHandle.
Bug Fixes
Section titled “Bug Fixes”@tauri-apps/api 2.0.0-beta.13
Section titled “@tauri-apps/api 2.0.0-beta.13”Breaking Changes
Section titled “Breaking Changes”-
c4410daa8(#9777) This release contains breaking changes to the tray event structure because of newly added events:- Changed
TrayIconEventto be an enum instead of a struct. - Added
MouseButtonStateandMouseButtonenums. - Removed
ClickTypeenum and replaced it withMouseButtonenum. - Added
MouseButtonStateenum.
- Changed
cli 2.0.0-beta.13
Section titled “cli 2.0.0-beta.13”Bug Fixes
Section titled “Bug Fixes”73c1c2d33(#9457) Gracefully handle Non-UTF8 files when usingtauri migrate9331435a5(#9412) Fixtauri infocrashing when Node.js is not installed.
What's Changed
Section titled “What's Changed”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.1-beta.9 - Upgraded to
tauri-utils@2.0.0-beta.12
2.0.0-beta.12
Section titled “2.0.0-beta.12”tauri 2.0.0-beta.12
Section titled “tauri 2.0.0-beta.12”New Features
Section titled “New Features”e227fe02f(#9156) Allow plugins to define (at compile time) JavaScript that are initialized whenwithGlobalTauriis true.
Enhancements
Section titled “Enhancements”Bug Fixes
Section titled “Bug Fixes”379cc2b35(#9165) Fixbasename(path, 'ext')JS API when removing all occurances ofextwhere it should only remove the last one.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-build@2.0.0-beta.10 - Upgraded to
tauri-utils@2.0.0-beta.10 - Upgraded to
tauri-runtime@2.0.0-beta.10 - Upgraded to
tauri-runtime-wry@2.0.0-beta.10 - Upgraded to
tauri-macros@2.0.0-beta.10
Breaking Changes
Section titled “Breaking Changes”acdd76833(#9155) RemovedApp/AppHandle::trayandApp/AppHandle::remove_tray, useApp/AppHandle::tray_by_idandApp/AppHandle::remove_tray_by_idinstead. If these APIs were used to access tray icon configured intauri.conf.json, you can useApp/AppHandle::tray_by_idwith IDmainor the configured value.ea0242db4(#9179) Removedwidthandheightmethods on the JSImageclass, usesizeinstead.
@tauri-apps/api 2.0.0-beta.12
Section titled “@tauri-apps/api 2.0.0-beta.12”New Features
Section titled “New Features”cli 2.0.0-beta.12
Section titled “cli 2.0.0-beta.12”New Features
Section titled “New Features”93e0e1392Support specifying a version fortauri addsubcommand, for example:tauri add window-state@2.0.0-beta.2
Enhancements
Section titled “Enhancements”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.1-beta.8 - Upgraded to
tauri-utils@2.0.0-beta.11
2.0.0-beta.11
Section titled “2.0.0-beta.11”tauri 2.0.0-beta.11
Section titled “tauri 2.0.0-beta.11”New Features
Section titled “New Features”490a6b424(#9147) TheAssetstrait now include asetupmethod that lets you run initialization code for your custom asset provider.
Bug Fixes
Section titled “Bug Fixes”85de230f3(#9144) Fix old JS listeners being dropped on page load after it was possible to create new listeners.e673854c8(#9133) Fixes capability remote domain not allowing subpaths, query parameters and hash when those values are empty.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-macros@2.0.0-beta.9 - Upgraded to
tauri-utils@2.0.0-beta.9 - Upgraded to
tauri-build@2.0.0-beta.9 - Upgraded to
tauri-runtime@2.0.0-beta.9 - Upgraded to
tauri-runtime-wry@2.0.0-beta.9
Breaking Changes
Section titled “Breaking Changes”490a6b424(#9147) TheContextstruct and theAssetstrait now takes aR: Runtimegeneric.ba0206d8a(#9141)Context::assetsnow returns&dyn Assetsinstead of&Ageneric.ba0206d8a(#9141) TheContexttype no longer uses the<A: Assets>generic so the assets implementation can be swapped withContext::assets_mut.490a6b424(#9147) RemovedContext::assets_mutand addedContext::set_assets.db0a24a97(#9132) Use the image crate fortauri::image::Imageand remove thefrom_png_bytesandfrom_ico_bytesAPIs.
@tauri-apps/api 2.0.0-beta.11
Section titled “@tauri-apps/api 2.0.0-beta.11”Bug Fixes
Section titled “Bug Fixes”cli 2.0.0-beta.11
Section titled “cli 2.0.0-beta.11”Enhancements
Section titled “Enhancements”ac76a22f3(#9183) Allow empty responses fordevUrl,beforeDevCommandandbeforeBuildCommandsquestions intauri init.b525ddadf(#9237)opensslis no longer a required dependency on macOS.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.1-beta.7
2.0.0-beta.10
Section titled “2.0.0-beta.10”tauri 2.0.0-beta.10
Section titled “tauri 2.0.0-beta.10”New Features
Section titled “New Features”3e472d0af(#9115) AddedCapabilityBuilder::platformto link the runtime capability with a specific platform.
Enhancements
Section titled “Enhancements”3e472d0af(#9115) Changed the permission and capability platforms to be optional.9dc9ca6e3(#9113) Addedtauri::dev()to determine whether we are running in development mode or not.
Bug Fixes
Section titled “Bug Fixes”5541aafef(#9107) Fixemitandemit_to(when used withEventTarget::Any) always skipping the webview listeners.80c12ead4(#9121) Fix regression on IPC response when using a channel to return objects.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.8 - Upgraded to
tauri-runtime@2.0.0-beta.8 - Upgraded to
tauri-runtime-wry@2.0.0-beta.8 - Upgraded to
tauri-macros@2.0.0-beta.8 - Upgraded to
tauri-build@2.0.0-beta.8
Breaking Changes
Section titled “Breaking Changes”@tauri-apps/api 2.0.0-beta.10
Section titled “@tauri-apps/api 2.0.0-beta.10”New Features
Section titled “New Features”cli 2.0.0-beta.10
Section titled “cli 2.0.0-beta.10”New Features
Section titled “New Features”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.10 - Upgraded to
tauri-bundler@2.0.1-beta.6
2.0.0-beta.9
Section titled “2.0.0-beta.9”tauri 2.0.0-beta.9
Section titled “tauri 2.0.0-beta.9”New Features
Section titled “New Features”46de49aaa(#9059) Addedset_auto_resizemethod for the webview.d1e77acd8(#9011) Add a newImagetype in Rust and JS.
Enhancements
Section titled “Enhancements”a77be9747(#9038) Fallback to the postMessage IPC interface if we cannot reach the IPC custom protocol.e62ca4ee9(#9070) Added a mechanism to preserve channel message order.03098b531(#9036)Manager::add_capabilitynow allows adding a dynamically defined capability instead of only relying on static strings.b5c743276(#9086) Use a strict content security policy on the isolation pattern iframe.46de49aaa(#9059) When using theunstablefeature flag,WebviewWindowwill internally use the child webview interface for flexibility.
Bug Fixes
Section titled “Bug Fixes”86fa339de(#9071) Fix compile time error in context generation when usingapp.windows.windowEffects.color947a50b8e(#9049) Fixtauri migratefor http plugin ACL.fe18012d3(#9072) Resolve symlinks on the filesystem scope check.6c0683224(#9068) Fixes scope resolution grouping scopes for all windows.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-build@2.0.0-beta.7 - Upgraded to
tauri-utils@2.0.0-beta.7 - Upgraded to
tauri-runtime@2.0.0-beta.7 - Upgraded to
tauri-runtime-wry@2.0.0-beta.7 - Upgraded to
tauri-macros@2.0.0-beta.7
Breaking Changes
Section titled “Breaking Changes”d1e77acd8(#9011) Renamedicon-icoandicon-pngfeature flags toimage-icoandimage-pngrespectively720357fd5(#9104) Removedtauri::path::Resultandtauri::path::Errorwhich were merely an unintentional re-export oftauri::Resultandtauri::Errorso use those instead.6c0683224(#9068) Theallowsanddeniesmethods fromipc::ScopeValue,ipc::CommandScopeandipc::GlobalScopenow returns&Vec<Arc<T>>instead of&Vec<T>.d1e77acd8(#9011) RemovedContext::default_window_icon_mutandContext::tray_icon_mut, useContext::set_default_window_iconandContext::set_tray_iconinstead. Also changedContext::set_tray_iconto acceptOption<T>.d1e77acd8(#9011) RemovedIconenum, use the newImagetype instead. All APIs that previously acceptedIconhave changed to acceptImageinstead.
@tauri-apps/api 2.0.0-beta.9
Section titled “@tauri-apps/api 2.0.0-beta.9”New Features
Section titled “New Features”Bug Fixes
Section titled “Bug Fixes”cli 2.0.0-beta.9
Section titled “cli 2.0.0-beta.9”Bug Fixes
Section titled “Bug Fixes”c3ea3a2b7(#9126) Fix bundling whenplugins > updater > windows > installerArgsare set intauri.conf.json
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.9 - Upgraded to
tauri-bundler@2.0.1-beta.5
2.0.0-beta.8
Section titled “2.0.0-beta.8”tauri 2.0.0-beta.8
Section titled “tauri 2.0.0-beta.8”New Features
Section titled “New Features”d7f56fef(#9014) Allow defining a permission that only applies to a set of target platforms via theplatformsconfiguration option.
Bug Fixes
Section titled “Bug Fixes”e1d5b790(#8995) Fixes capability webview label check.222a96b7(#8999) FixesWindow::add_childdeadlock.e4463f08(#8930) Clear JS event listeneres on page load, which fixes zombie listeners when the page reloads.222a96b7(#8999) FixesWebview::reparentnot updating the webview parent window reference.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-build@2.0.0-beta.6 - Upgraded to
tauri-utils@2.0.0-beta.6 - Upgraded to
tauri-runtime-wry@2.0.0-beta.6 - Upgraded to
tauri-runtime@2.0.0-beta.6 - Upgraded to
tauri-macros@2.0.0-beta.6
Breaking Changes
Section titled “Breaking Changes”3657ad82(#9008) Allow defining permissions for the application commands viatauri_build::Attributes::app_manifest.
Breaking Changes
Section titled “Breaking Changes”@tauri-apps/api 2.0.0-beta.8
Section titled “@tauri-apps/api 2.0.0-beta.8”New Features
Section titled “New Features”58a7a552d(#9378) Added theset_zoomfunction to the webview API.58a7a552d(#9378) Addzoom_hotkeys_enabledto enable browser native zoom controls on creating webviews.
Bug Fixes
Section titled “Bug Fixes”cli 2.0.0-beta.8
Section titled “cli 2.0.0-beta.8”Enhancements
Section titled “Enhancements”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.8 - Upgraded to
tauri-bundler@2.0.1-beta.4
2.0.0-beta.7
Section titled “2.0.0-beta.7”tauri 2.0.0-beta.7
Section titled “tauri 2.0.0-beta.7”Enhancements
Section titled “Enhancements”bc5b5e67(#8984) Do not include a CSP tag in the application HTML and rely on the custom protocol response header instead.
Bug Fixes
Section titled “Bug Fixes”6cb601d4(#8983) Convert the command name to camelCase when executing a mobile plugin command.60bf11ab(#8986) ExportProgressBarStatus, regression introduced in2.0.0-beta.4
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.5 - Upgraded to
tauri-runtime@2.0.0-beta.5 - Upgraded to
tauri-runtime-wry@2.0.0-beta.5 - Upgraded to
tauri-macros@2.0.0-beta.5 - Upgraded to
tauri-build@2.0.0-beta.5
@tauri-apps/api 2.0.0-beta.7
Section titled “@tauri-apps/api 2.0.0-beta.7”Bug Fixes
Section titled “Bug Fixes”Breaking Changes
Section titled “Breaking Changes”cli 2.0.0-beta.7
Section titled “cli 2.0.0-beta.7”Enhancements
Section titled “Enhancements”c68218b36(#8990) Add--no-bundleflag fortauri buildcommand to skip bundling. Previouslynonewas used to skip bundling, it will now be treated as invalid format and a warning will be emitted instead.
Dependencies
Section titled “Dependencies”2.0.0-beta.6
Section titled “2.0.0-beta.6”tauri 2.0.0-beta.6
Section titled “tauri 2.0.0-beta.6”Bug Fixes
Section titled “Bug Fixes”@tauri-apps/api 2.0.0-beta.6
Section titled “@tauri-apps/api 2.0.0-beta.6”New Features
Section titled “New Features”Enhancements
Section titled “Enhancements”Bug Fixes
Section titled “Bug Fixes”379cc2b35(#9165) Fixbasename(path, 'ext')JS API when removing all occurances ofextwhere it should only remove the last one.
Breaking Changes
Section titled “Breaking Changes”cli 2.0.0-beta.6
Section titled “cli 2.0.0-beta.6”Bug Fixes
Section titled “Bug Fixes”f5f3ed5f(#9009) Fixes Android and iOS project initialization when the Tauri CLI is on a different disk partition.d7d03c71(#9017) Fixes dev watcher on mobile dev.b658ded6(#9015) Fixes truncation of existing BuildTask.kt when runningtauri android init.
What's Changed
Section titled “What's Changed”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.6 - Upgraded to
tauri-bundler@2.0.1-beta.2
2.0.0-beta.5
Section titled “2.0.0-beta.5”tauri 2.0.0-beta.5
Section titled “tauri 2.0.0-beta.5”New Features
Section titled “New Features”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.4 - Upgraded to
tauri-runtime-wry@2.0.0-beta.4 - Upgraded to
tauri-build@2.0.0-beta.4 - Upgraded to
tauri-runtime@2.0.0-beta.4 - Upgraded to
tauri-macros@2.0.0-beta.4
@tauri-apps/api 2.0.0-beta.5
Section titled “@tauri-apps/api 2.0.0-beta.5”Breaking Changes
Section titled “Breaking Changes”cli 2.0.0-beta.5
Section titled “cli 2.0.0-beta.5”New Features
Section titled “New Features”-
06d63d67(#8827) Add new subcommands for managing permissions and cababilities:tauri permission newtauri permission addtauri permission rmtauri permission lstauri capability new
Breaking Changes
Section titled “Breaking Changes”b9e6a018(#8937) Thecustom-protocolCargo feature is no longer required on your application and is now ignored. To check if running on production, use#[cfg(not(dev))]instead of#[cfg(feature = "custom-protocol")].
Enhancements
Section titled “Enhancements”Bug Fixes
Section titled “Bug Fixes”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.5 - Upgraded to
tauri-bundler@2.0.1-beta.1
2.0.0-beta.4
Section titled “2.0.0-beta.4”tauri 2.0.0-beta.4
Section titled “tauri 2.0.0-beta.4”Enhancements
Section titled “Enhancements”3fb414b6(#8914) Return an id when using fromManager::once_any,App::once,Window::once,Webview::once,WebviewWindow::onceandfs::Scope::once.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.3 - Upgraded to
tauri-runtime@2.0.0-beta.3 - Upgraded to
tauri-runtime-wry@2.0.0-beta.3 - Upgraded to
tauri-macros@2.0.0-beta.3 - Upgraded to
tauri-build@2.0.0-beta.3
Breaking Changes
Section titled “Breaking Changes”@tauri-apps/api 2.0.0-beta.4
Section titled “@tauri-apps/api 2.0.0-beta.4”New Features
Section titled “New Features”Enhancements
Section titled “Enhancements”cli 2.0.0-beta.4
Section titled “cli 2.0.0-beta.4”Bug Fixes
Section titled “Bug Fixes”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.1-beta.0 - Upgraded to
tauri-utils@2.0.0-beta.4
Breaking Changes
Section titled “Breaking Changes”2.0.0-beta.3
Section titled “2.0.0-beta.3”tauri 2.0.0-beta.3
Section titled “tauri 2.0.0-beta.3”New Features
Section titled “New Features”-
16e550ec(#8844) Add webview-specific events for multi-webview windows:- Add
WebviewEventenum - Add
RunEvent::WebviewEventvariant. - Add
Builder::on_webview_eventandWebview::on_webview_eventmethods.
- Add
Enhancements
Section titled “Enhancements”11a5816b(#8864) A file-drop now allows sub-directories recursively when the path is a directory.0cb0a15c(#8789) Addwebviewsarray on the capability for usage on multiwebview contexts.258494bd(#8806) AddedManager::add_capabilityto add a capability file at runtime.5618f6d2(#8856) Relax requirements on plugin's identifiers to be alphanumeric and-instead of only lower alpha and-.
Bug Fixes
Section titled “Bug Fixes”16e550ec(#8844) Fix JS event listeners registered using JSlistenapi withEventTarget::Anynever fired.8751c329(#8793) Fix invoking toggle devtools by hotkey.bd73ab0a(#8766) When using the multiwebview mode, properly remove the webview from memory onWebview::close.46b6598a(#8826) Fix JSonCloseRequestedcatching close event from other windows.2e6db908(#8777) Fix regression intauri::Errornot beingSync.
What's Changed
Section titled “What's Changed”76ce9f61(#3002) Enhance centering a newly created window, it will no longer jump to center after being visible.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.2 - Upgraded to
tauri-build@2.0.0-beta.2 - Upgraded to
tauri-macros@2.0.0-beta.2 - Upgraded to
tauri-runtime-wry@2.0.0-beta.2 - Upgraded to
tauri-runtime@2.0.0-beta.2
Breaking Changes
Section titled “Breaking Changes”258494bd(#8806) Removed the lifetime parameter fromipc::GlobalScopeandipc::CommandScope.f284f9c5(#8898) Changed the capabilityremoteconfiguration to take a list ofurlsinstead ofdomainsfor more flexibility.2f55bfec(#8795) Update raw-window-handle to 0.6.2e6db908(#8777) RequireScopeObject::Errorto beSyncas well.
@tauri-apps/api 2.0.0-beta.3
Section titled “@tauri-apps/api 2.0.0-beta.3”New Features
Section titled “New Features”cli 2.0.0-beta.3
Section titled “cli 2.0.0-beta.3”Enhancements
Section titled “Enhancements”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.3 - Upgraded to
tauri-bundler@2.0.0-beta.3
2.0.0-beta.2
Section titled “2.0.0-beta.2”tauri 2.0.0-beta.2
Section titled “tauri 2.0.0-beta.2”Bug Fixes
Section titled “Bug Fixes”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-build@2.0.0-beta.1 - Upgraded to
tauri-utils@2.0.0-beta.1 - Upgraded to
tauri-runtime@2.0.0-beta.1 - Upgraded to
tauri-runtime-wry@2.0.0-beta.1 - Upgraded to
tauri-macros@2.0.0-beta.1
@tauri-apps/api 2.0.0-beta.2
Section titled “@tauri-apps/api 2.0.0-beta.2”Breaking Changes
Section titled “Breaking Changes”cli 2.0.0-beta.2
Section titled “cli 2.0.0-beta.2”Enhancements
Section titled “Enhancements”Bug Fixes
Section titled “Bug Fixes”aa06a053(#8810) Fixtauri plugin android initprinting invalid code that has a missing closing".3cee26a5(#8865) On Windows, fixedtauri infofails to detect the build tool when the system language is CJK.052e8b43(#8838) Downgrade minisign dependency fixing updater signing key bug and prevent it from happening in the future.fb0d9971(#8783) Fixes a regression on the--configargument not accepting file paths.baca704d(#8768) Do not migrate updater configuration if the active flag is set to false.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.2 - Upgraded to
tauri-bundler@2.0.0-beta.2
2.0.0-beta.1
Section titled “2.0.0-beta.1”tauri 2.0.0-beta.1
Section titled “tauri 2.0.0-beta.1”Bug Fixes
Section titled “Bug Fixes”@tauri-apps/api 2.0.0-beta.1
Section titled “@tauri-apps/api 2.0.0-beta.1”New Features
Section titled “New Features”16e550ec(#8844) Add a newwebviewWindowmodule that exportsWebviewWindowclass and related methods such asgetCurrentandgetAll.16e550ec(#8844) AddWindow.onFileDropEventmethod.
Breaking Changes
Section titled “Breaking Changes”-
16e550ec(#8844) Renamed the following enum variants ofTauriEventenum:TauriEvent.WEBVIEW_FILE_DROP->TauriEvent.FILE_DROPTauriEvent.WEBVIEW_FILE_DROP_HOVER->TauriEvent.FILE_DROP_HOVERTauriEvent.WEBVIEW_FILE_DROP_CANCELLED->TauriEvent.FILE_DROP_CANCELLED
-
16e550ec(#8844) MoveWebviewWindowclass fromwebviewmodule to a newwebviewWindowmodule.
cli 2.0.0-beta.1
Section titled “cli 2.0.0-beta.1”Enhancements
Section titled “Enhancements”4e101f80(#8756) Moved the capability JSON schema to thesrc-tauri/genfolder so it's easier to track changes on thecapabilitiesfolder.4e101f80(#8756) Update app and plugin templates following generated files change from tauri-build and tauri-plugin.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.1 - Upgraded to
tauri-bundler@2.0.0-beta.1
2.0.0-beta.0
Section titled “2.0.0-beta.0”tauri 2.0.0-beta.0
Section titled “tauri 2.0.0-beta.0”New Features
Section titled “New Features”74a2a603(#8661) Implement access control list for IPC usage.a2fc3a63(#8657) AddvisibleOnAllWorkspacesoption when creating the window in JS andWindow.setVisibleOnAllWorkspacesmethod.af610232(#8710) AddedWindow::destroyto force close a window.c77b4032(#8280) Add multiwebview support behind theunstablefeature flag. SeeWindowBuilderandWebviewBuilderfor more information.9eaeb5a8(#8622) AddWindowBuilder::parentwhich is a convenient wrapper around parent functionality for Windows, Linux and macOS. Also addedWindowBuilder::owneron Windows only. Also addedWindowBuilder::transient_forandWindowBuilder::transient_for_rawon Linux only.
Enhancements
Section titled “Enhancements”e8d3793c(#8732) Addcommon-controls-v6cargo feature flag (enabled by default).58fe2e81(#8670) Allow IPC calls when window origin is a defined custom protocol.
Bug Fixes
Section titled “Bug Fixes”95da1a27(#8713) Fix callingset_activation_policywhen the event loop is running.e1eb911f(#8582) Ensure initalize logic and dropping of menu item is done on the main thread, this fixes the crash when a menu item is dropped on another thread.a093682d(#8621) Fix can not prevent closing a window from another webview.7f033f6d(#8537) Fix undecorated window resizing on Windows and Linux.
What's Changed
Section titled “What's Changed”9f8037c2(#8633) On Windows, fix decorated window not transparent initially until resized.7f033f6d(#8537) AddWindow::start_resize_draggingandResizeDirectionenum.6639a579(#8441) Added theWindowConfig::proxy_urlWebviewBuilder::proxy_url() / WebviewWindowBuilder::proxy_url()options when creating a webview.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-build@22.0.0-beta.0 - Upgraded to
tauri-utils@2.0.0-beta.0 - Upgraded to
tauri-macros@2.0.0-beta.0 - Upgraded to
tauri-runtime@2.0.0-beta.0 - Upgraded to
tauri-runtime-wry@2.0.0-beta.0
Breaking Changes
Section titled “Breaking Changes”-
8de308d1(#8723) Restructured Tauri config per RFC#5:- Moved
package.productName,package.versionandtauri.bundle.identifierfields to the top-level. - Removed
packageobject. - Renamed
tauriobject toapp. - Moved
tauri.bundleobject to the top-level. - Renamed
build.distDirfield tofrontendDist. - Renamed
build.devPathfield todevUrland will no longer accepts paths, it will only accept URLs. - Moved
tauri.patterntoapp.security.pattern. - Removed
tauri.bundle.updaterobject, and its fields have been moved to the updater plugin underplugins.updaterobject. - Moved
build.withGlobalTauritoapp.withGlobalTauri. - Moved
tauri.bundle.dmgobject tobundle.macOS.dmg. - Moved
tauri.bundle.debobject tobundle.linux.deb. - Moved
tauri.bundle.appimageobject tobundle.linux.appimage. - Removed all license fields from each bundle configuration object and instead added
bundle.licenseandbundle.licenseFile. - Renamed
AppUrltoFrontendDistand refactored its variants to be more explicit.
- Moved
-
c77b4032(#8280) Theinvoke_system,on_page_loadhooks now gives you aWebviewargument instead of aWindow. -
e1eb911f(#8582) All menu item constructorsacceleratorargument have been changed toOption<impl AsRef<str>>so when providingNoneyou need to specify the generic argument likeNone::<&str>. -
e1eb911f(#8582) All menu item constructors have been changed to return aResult<Self> -
aa758a85(#8716) Moved thecommandmodule items to theipcmodule so its import name does not clash with thecommandmacro. -
00e15675(#8708)AppHandle::exitandAppHandle::restartnow go triggersRunEvent::ExitRequestedandRunEvent::Exitand cannot be executed on the event loop handler. -
ec9818ac(#8696) Added a callback to theApp::run_iterationand removed its return value. -
a093682d(#8621) Refactored the event system to better accommodate the new window types:- Added
EventTargetenum. - Added
App/AppHandle::listen,App/AppHandle::onceandApp/AppHandle::unlistento listen to events targetingApp/AppHandle App/AppHandle/Window/Webview/WebviewWindow::emitwill now emit to all event listeners.App/AppHandle/Window/Webview/WebviewWindow::emit_towill emit to event targets that match the given label, seeEventTargetenum.App/AppHandle/Window/Webview/WebviewWindow::emit_filterwill emit to event targets based on a filter callback which now takes&EventTargetinstead of&Window.- Renamed
Manager::listen_globalandManager::once_globaltolisten_anyandonce_anyrespectively to be consistent withEventTarget::Any, it will now also listen to any event to any target (aka event sniffer).
- Added
-
9eaeb5a8(#8622) RenamedWindowBuilder::owner_windowtoWindowBuilder::owner_rawandWindowBuilder::parent_windowtoWindowBuilder::parent_raw. -
9eaeb5a8(#8622) ChangedWindowBuilder::from_configto return aResult<Self>. -
c77b4032(#8280) RenamedWindowtoWebviewWindow,WindowBuildertoWebviewWindowBuilder,Manager::windowstoManager::webview_windowsandManager::get_windowtoManager::get_webview_window. -
af610232(#8710)Window::closenow triggers a close requested event instead of forcing the window to be closed. -
c77b4032(#8280) Renamed thewindow-data-urlfeature flag towebview-data-url.
@tauri-apps/api 2.0.0-beta.0
Section titled “@tauri-apps/api 2.0.0-beta.0”New Features
Section titled “New Features”74a2a603(#8661) Implement access control list for IPC usage.a093682d(#8621) AddedemitToapi toeventmodule which is equivalent to the rustemit_tomethod. Also addedemitTomethod onWindow,WebivewandWebviewWindowclasses.a2fc3a63(#8657) AddvisibleOnAllWorkspacesoption when creating the window in JS andWindow.setVisibleOnAllWorkspacesmethod.7f033f6d(#8537) AddWindow.startResizeDragging.9eaeb5a8(#8622) Addparentoption when creating a window.af610232(#8710) AddedWindow::destroyto force close a window.c77b4032(#8280) Added support to multiwebview via the newwindowandwebviewmodules.
Breaking Changes
Section titled “Breaking Changes”c77b4032(#8280) Removed event callback'swindowLabel.c77b4032(#8280) The event target is now an object so you can target either a window or a webview.c77b4032(#8280) Moved webview-specific APIs from theWindowclass to theWebviewclass.c77b4032(#8280) RenamedTauriEvent.WINDOW_FILE_DROPtoTauriEvent.WEBVIEW_FILE_DROP,TauriEvent.WINDOW_FILE_DROP_HOVERtoTauriEvent.WEBVIEW_FILE_DROP_HOVERandTauriEvent.WINDOW_FILE_DROP_CANCELLEDtoTauriEvent.WEBVIEW_FILE_DROP_CANCELLED.c77b4032(#8280) Added back theWebviewWindowAPI that exposes functionality of a window that hosts a single webview. The dedicatedWindowandWebviewtypes are exposed for multiwebview features.af610232(#8710)Window::closenow triggers a close requested event instead of forcing the window to be closed.
cli 2.0.0-beta.0
Section titled “cli 2.0.0-beta.0”New Features
Section titled “New Features”7fcc0bcd(#8490) Add plugin initialization rust code when usingtauri add1878766f(#8667) Migrate the allowlist config to the new capability file format.
Enhancements
Section titled “Enhancements”d6c7568c(#8720) Addfilesoption to the AppImage Configuration.b3209bb2(#8688) Ignore global.gitignorewhen searching for tauri directory.e691208e(#7837) Prevent unneeded double Cargo.toml rewrite ondevandbuild.f492efd7(#8666) Update app and plugin template following the new access control permission model.
Bug Fixes
Section titled “Bug Fixes”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-beta.0 - Upgraded to
tauri-bundler@2.0.0-beta.0
Breaking Changes
Section titled “Breaking Changes”-
8de308d1(#8723) Restructured Tauri config per RFC#5:- Moved
package.productName,package.versionandtauri.bundle.identifierfields to the top-level. - Removed
packageobject. - Renamed
tauriobject toapp. - Moved
tauri.bundleobject to the top-level. - Renamed
build.distDirfield tofrontendDist. - Renamed
build.devPathfield todevUrland will no longer accepts paths, it will only accept URLs. - Moved
tauri.patterntoapp.security.pattern. - Removed
tauri.bundle.updaterobject, and its fields have been moved to the updater plugin underplugins.updaterobject. - Moved
build.withGlobalTauritoapp.withGlobalTauri. - Moved
tauri.bundle.dmgobject tobundle.macOS.dmg. - Moved
tauri.bundle.debobject tobundle.linux.deb. - Moved
tauri.bundle.appimageobject tobundle.linux.appimage. - Removed all license fields from each bundle configuration object and instead added
bundle.licenseandbundle.licenseFile. - Renamed
AppUrltoFrontendDistand refactored its variants to be more explicit.
- Moved
2.0.0-alpha.x
Section titled “2.0.0-alpha.x”2.0.0-alpha.21
Section titled “2.0.0-alpha.21”tauri 2.0.0-alpha.21
Section titled “tauri 2.0.0-alpha.21”New Features
Section titled “New Features”Enhancements
Section titled “Enhancements”d621d343(#8607) Added tracing for window startup, plugins,Window::eval, events, IPC, updater and custom protocol request handlers behind thetracingfeature flag.
What's Changed
Section titled “What's Changed”cb640c8e(#8393) FixRunEvent::WindowEvent(event: WindowEvent::FileDrop(FileDropEvent))never triggered and always prevent default OS behavior whendisable_file_drop_handleris not used.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-runtime-wry@1.0.0-alpha.9 - Upgraded to
tauri-utils@2.0.0-alpha.13 - Upgraded to
tauri-runtime@1.0.0-alpha.8 - Upgraded to
tauri-macros@2.0.0-alpha.13 - Upgraded to
tauri-build@2.0.0-alpha.14
Breaking Changes
Section titled “Breaking Changes”cli 2.0.0-alpha.21
Section titled “cli 2.0.0-alpha.21”New Features
Section titled “New Features”27bad32d(#7798) Addfilesobject on thetauri > bundle > macOSconfiguration option.0ec28c39(#8529) Include tauri-build on the migration script.
Enhancements
Section titled “Enhancements”Bug Fixes
Section titled “Bug Fixes”4f73057e(#8486) PreventInvalid target triplewarnings and correctly setTAURI_ENV_vars when target triple contains 4 components.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.0-alpha.14 - Upgraded to
tauri-utils@2.0.0-alpha.13
Breaking Changes
Section titled “Breaking Changes”-
4f73057e(#8486) RemovedTAURI_ENV_PLATFORM_TYPEwhich will not be set for CLI hook commands anymore, useTAURI_ENV_PLATFORMinstead. Also Changed value ofTAURI_ENV_PLATFORMandTAURI_ENV_ARCHvalues to match the target triple more accurately:darwinandandroideabiare no longer replaced withmacosandandroidinTAURI_ENV_PLATFORM.i686andi586are no longer replaced withx86inTAURI_ENV_ARCH.
2.0.0-alpha.20
Section titled “2.0.0-alpha.20”tauri 2.0.0-alpha.20
Section titled “tauri 2.0.0-alpha.20”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-alpha.12 - Upgraded to
tauri-runtime@1.0.0-alpha.7 - Upgraded to
tauri-runtime-wry@1.0.0-alpha.8 - Upgraded to
tauri-macros@2.0.0-alpha.12 - Upgraded to
tauri-build@2.0.0-alpha.13
cli 2.0.0-alpha.20
Section titled “cli 2.0.0-alpha.20”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-alpha.12 - Upgraded to
tauri-bundler@2.0.0-alpha.13
2.0.0-alpha.19
Section titled “2.0.0-alpha.19”tauri 2.0.0-alpha.19
Section titled “tauri 2.0.0-alpha.19”New Features
Section titled “New Features”b59f2f54(#8432) Exposescope::fs::Scope::new.bf095df5(#8276) ExposedManager::resources_tableto access the resources table used by tauri, which could be used by plugins or app authors to store their resources and retrieve it later using an id and can be used to create Rust-backed resources in JS.
Enhancements
Section titled “Enhancements”5848b4e8(#8386) Fixed the deserialisation of aChannelin iOS.11a1529d(#8419) Include CORS header on custom protocol response errors to ensure frontend can read the error message.db127777(#8380) Addedtest::get_ipc_response.
Bug Fixes
Section titled “Bug Fixes”cli 2.0.0-alpha.19
Section titled “cli 2.0.0-alpha.19”Enhancements
Section titled “Enhancements”2.0.0-alpha.18
Section titled “2.0.0-alpha.18”tauri 2.0.0-alpha.18
Section titled “tauri 2.0.0-alpha.18”Bug Fixes
Section titled “Bug Fixes”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-macros@2.0.0-alpha.11 - Upgraded to
tauri-build@2.0.0-alpha.12 - Upgraded to
tauri-utils@2.0.0-alpha.11 - Upgraded to
tauri-runtime@1.0.0-alpha.5 - Upgraded to
tauri-runtime-wry@1.0.0-alpha.6
cli 2.0.0-alpha.18
Section titled “cli 2.0.0-alpha.18”New Features
Section titled “New Features”50f7ccbb(#6444) Add suport to SVG input image for thetauri iconcommand.25e5f91d(#8200) Mergesrc-tauri/Info.plistandsrc-tauri/Info.ios.plistwith the iOS project plist file.
Enhancements
Section titled “Enhancements”Bug Fixes
Section titled “Bug Fixes”88dac86f(#8149) Ensuretauri addprintsrust_codewith plugin name in snake case.977d0e52(#8202) Fixesandroid build --openandios build --openIDE failing to read CLI options.bfbbefdb(#8161) Fix invalid plugin template.92b50a3a(#8209) Added support to Xcode's archive. This requires regenerating the Xcode project.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.0-alpha.12 - Upgraded to
tauri-utils@2.0.0-alpha.11
2.0.0-alpha.17
Section titled “2.0.0-alpha.17”tauri 2.0.0-alpha.17
Section titled “tauri 2.0.0-alpha.17”Enhancements
Section titled “Enhancements”b89de9fa(#8092) Add support for onResume and onPause events in android plugins.c6c59cf2Pull changes from Tauri 1.5 release.198abe3c(#8076) Mobile plugins can now resolve using an arbitrary object instead of using theJSObjectclass viaInvoke.resolveon iOS andInvoke.resolveObjecton Android.
Bug Fixes
Section titled “Bug Fixes”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-build@2.0.0-alpha.11 - Upgraded to
tauri-macros@2.0.0-alpha.10 - Upgraded to
tauri-utils@2.0.0-alpha.10 - Upgraded to
tauri-runtime@1.0.0-alpha.4 - Upgraded to
tauri-runtime-wry@1.0.0-alpha.5 9580df1d(#8084) Upgradegtkto 0.18.c7c2507d(#8035) Updatewindowsto version0.51andwebview2-comto version0.279580df1d(#8084) Updated to wry@0.34, removing thedoxfeature flag.
Breaking Changes
Section titled “Breaking Changes”-
198abe3c(#8076) The AndroidPluginManager.loadConfignow takes a third parameter to define the class type of the config object. -
198abe3c(#8076) Mobile plugins now have access to a parser for the invoke arguments instead of relying on theInvoke#get${TYPE}methods. -
74d2464d(#8116) AddedWindowBuilder::on_page_loadand refactored theBuilder::on_page_loadhandler to take references. The page load hook is now triggered for load started and finished events, to determine what triggered it seePageLoadPayload::event. -
93c8a77b(#7996) The event system APIS on Rust is recieving a few changes for consistency and quality of life improvements:- Renamed
Manager::emit_allto justManager::emitand will now both trigger the events on JS side as well as Rust. - Removed
Manager::trigger_global, useManager::emit - Added
Manager::emit_filter. - Removed
Window::emit, and moved the implementation toManager::emit. - Removed
Window::emit_and_triggerandWindow::trigger, useWindow::emitinstead. - Changed
Window::emit_toto only trigger the target window listeners so it won't be catched byManager::listen_global
- Renamed
cli 2.0.0-alpha.17
Section titled “cli 2.0.0-alpha.17”Enhancements
Section titled “Enhancements”c6c59cf2Pull changes from Tauri 1.5 release.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.0-alpha.11 - Upgraded to
tauri-utils@2.0.0-alpha.10
Breaking Changes
Section titled “Breaking Changes”2.0.0-alpha.16
Section titled “2.0.0-alpha.16”tauri 2.0.0-alpha.16
Section titled “tauri 2.0.0-alpha.16”New Features
Section titled “New Features”c085adda(#8009) Addedset_progress_bartoWindow.c1ec0f15(#7933) AddedWindow::set_always_on_bottomand thealways_on_bottomoption when creating a window.880266a7(#8031) Bump the MSRV to 1.70.ed32257d(#7794) On Windows, addEffect::Tabbed,Effect::TabbedDarkandEffect::TabbedLighteffects.
Enhancements
Section titled “Enhancements”What's Changed
Section titled “What's Changed”fb10b879(#8039) Added theappplugin back into core.c9a9246c(#8007) Added thewindowplugin back into core.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-runtime@1.0.0-alpha.3 - Upgraded to
tauri-runtime-wry@1.0.0-alpha.4 - Upgraded to
tauri-utils@2.0.0-alpha.9 - Upgraded to
tauri-build@2.0.0-alpha.10 - Upgraded to
tauri-macros@2.0.0-alpha.9
Breaking Changes
Section titled “Breaking Changes”-
a63e71f9(#7942) The initialization script forBuilder::invoke_systemnow must initialize thewindow.__TAURI_INTERNALS__.postMessagefunction instead ofwindow.__TAURI_POST_MESSAGE__. -
12b8d18b(#7875) - Removedtauri::path::Errorand added its variants totauri::Error- Removed
tauri::path::Resultandtauri::plugin::Resultaliases, you should usetauri::Resultor your ownResulttype.
- Removed
-
8b166e9b(#7949) ChangedTAURI_AUTOMATIONtoTAURI_WEBVIEW_AUTOMATION -
2558fab8(#7939) This release contains a number of breaking changes to improve the consistency of tauri internals and the public facing APIs and simplifying the types where applicable:- Removed
EventHandlertype. - Added
EventIdtype - Changed
Manager::listen_globalandWindow::listento return the newEventIdtype instead ofEventHandler. - Removed the return type of
Manager::once_globalandWindow::once - Changed
Manager::unlistenandWindow::unlistento take he newEventIdtype. - Added
tauri::scope::ScopeEventId - Changed
FsScope::listento return the newScopeEventIdinstead ofUuid. - Added
FsScope::unlisten
- Removed
cli 2.0.0-alpha.16
Section titled “cli 2.0.0-alpha.16”New Features
Section titled “New Features”8b166e9b(#7949) Add--no-dev-server-waitoption to skip waiting for the dev server to start when usingtauri dev.880266a7(#8031) Bump the MSRV to 1.70.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-alpha.9 - Upgraded to
tauri-bundler@2.0.0-alpha.10
Breaking Changes
Section titled “Breaking Changes”-
8b166e9b(#7949) Changed a number of environment variables used by tauri CLI for consistency and clarity:TAURI_PRIVATE_KEY->TAURI_SIGNING_PRIVATE_KEYTAURI_KEY_PASSWORD->TAURI_SIGNING_PRIVATE_KEY_PASSWORDTAURI_SKIP_DEVSERVER_CHECK->TAURI_CLI_NO_DEV_SERVER_WAITTAURI_DEV_SERVER_PORT->TAURI_CLI_PORTTAURI_PATH_DEPTH->TAURI_CLI_CONFIG_DEPTHTAURI_FIPS_COMPLIANT->TAURI_BUNDLER_WIX_FIPS_COMPLIANTTAURI_DEV_WATCHER_IGNORE_FILE->TAURI_CLI_WATCHER_IGNORE_FILENAMETAURI_TRAY->TAURI_LINUX_AYATANA_APPINDICATORTAURI_APPLE_DEVELOPMENT_TEAM->APPLE_DEVELOPMENT_TEAM
-
4caa1cca(#7990) Thetauri pluginsubcommand is receving a couple of consitency and quality of life improvements:- Renamed
tauri plugin android/ios addcommand totauri plugin android/ios initto match thetauri plugin initcommand. - Removed the
-n/--nameargument from thetauri plugin init,tauri plugin android/ios init, and is now parsed from the first positional argument. - Added
tauri plugin newto create a plugin in a new directory. - Changed
tauri plugin initto initalize a plugin in an existing directory (defaults to current directory) instead of creating a new one. - Changed
tauri plugin initto NOT generate mobile projects by default, you can opt-in to generate them using--androidand--iosflags or--mobileflag or initalize them later usingtauri plugin android/ios init.
- Renamed
-
8b166e9b(#7949) Removed checking for a new version of the CLI. -
ebcc21e4(#8057) Renamed the beforeDevCommand, beforeBuildCommand and beforeBundleCommand hooks environment variables fromTAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUGtoTAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUGto differentiate the prefix with other CLI environment variables.
2.0.0-alpha.15
Section titled “2.0.0-alpha.15”tauri 2.0.0-alpha.15
Section titled “tauri 2.0.0-alpha.15”Enhancements
Section titled “Enhancements”b597aa5f(#7871) Setmainas the defaultidfor the tray icon registered from the configuration file, so if theidis not specified, it can be retrieved usingapp.tray_by_id("main").
Bug Fixes
Section titled “Bug Fixes”a2021c30(#7866) ChangedIconMenuItem::set_native_iconsignature to take&selfinstead of&mut selfto fix compilation error on macos.a68ccaf5(#7822) Fixassetprotocol failing to fetch files.6fbd6dba(#17) Fix the validation ofstd::env::current_exewarn the user if AppImage is not mounted instead of panicking
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-macros@2.0.0-alpha.8 - Upgraded to
tauri-utils@2.0.0-alpha.8 - Upgraded to
tauri-build@2.0.0-alpha.9 - Upgraded to
tauri-runtime@1.0.0-alpha.2 - Upgraded to
tauri-runtime-wry@1.0.0-alpha.3
Breaking Changes
Section titled “Breaking Changes”-
092a561c(#7874) Removedtauri::apimodule as most apis have been moved to either a plugin or we recommend using other crates. -
deea9436(#7876) ChangedEnv.argstoEnv.args_osand now usesOsStringinstead ofString -
b7fd88e1(#7944)tauri::scopemodule is recieving a couple of consistency changes:- Added
tauri::scope::fsmodule. - Removed
scope::IpcScopere-export, usescope::ipc::Scope. - Removed
FsScope,GlobPatternandFsScopeEvent, usescope::fs::Scope,scope::fs::Patternandscope::fs::Eventrespectively.
- Added
-
c0d03af4(#7943) ChangedTrayIconBuilder/TrayIcon::on_tray_eventtoTrayIconBuilder/TrayIcon::on_tray_icon_eventfor consistency of naming.
cli 2.0.0-alpha.15
Section titled “cli 2.0.0-alpha.15”New Features
Section titled “New Features”Bug Fixes
Section titled “Bug Fixes”100d9ede(#7802) Properly read platform-specific configuration files for mobile targets.228e5a4c(#7902) Fixesiconcommand not writing files to the correct Android project folders.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-alpha.8 - Upgraded to
tauri-bundler@2.0.0-alpha.9
2.0.0-alpha.14
Section titled “2.0.0-alpha.14”tauri 2.0.0-alpha.14
Section titled “tauri 2.0.0-alpha.14”Bug Fixes
Section titled “Bug Fixes”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-runtime-wry@1.0.0-alpha.2
Breaking Changes
Section titled “Breaking Changes”@tauri-apps/api 2.0.0-alpha.14
Section titled “@tauri-apps/api 2.0.0-alpha.14”cli 2.0.0-alpha.14
Section titled “cli 2.0.0-alpha.14”Breaking Changes
Section titled “Breaking Changes”2.0.0-alpha.13
Section titled “2.0.0-alpha.13”tauri 2.0.0-alpha.13
Section titled “tauri 2.0.0-alpha.13”Breaking Changes
Section titled “Breaking Changes”@tauri-apps/api 2.0.0-alpha.13
Section titled “@tauri-apps/api 2.0.0-alpha.13”New Features
Section titled “New Features”428ea652(#8370) ExposedResourceclass which should be extended for Rust-backed resources created throughtauri::Manager::resources_table.
Bug Fixes
Section titled “Bug Fixes”ef21b681(#8391) Fix a regression where typescript could not find types when using"moduleResolution": "node"46451aee(#8268) Add top-levelmain,moduleandtypesfields inpackage.jsonto be compliant with typescripts's"moduleResolution": "node"
Breaking Changes
Section titled “Breaking Changes”cli 2.0.0-alpha.13
Section titled “cli 2.0.0-alpha.13”Breaking Changes
Section titled “Breaking Changes”2.0.0-alpha.12
Section titled “2.0.0-alpha.12”tauri 2.0.0-alpha.12
Section titled “tauri 2.0.0-alpha.12”Enhancements
Section titled “Enhancements”8a676617(#7618) Ensure Builder is Send by requiring the menu closure to be Send.0d63732b(#7754) AddedBuilder::register_asynchronous_uri_scheme_protocolto allow resolving a custom URI scheme protocol request asynchronously to prevent blocking the main thread.
Bug Fixes
Section titled “Bug Fixes”0d63732b(#7754) Fixes invalid header value type when requesting IPC body through a channel.e98393e4(#7673) No longer unpacking and flattening thepayloadover the IPC so that commands with arguments calledcmd,callback,error,optionsorpayloadaren't breaking the IPC.29818de6(#7662) Fixes IPC failing to communicate for remote URLs on macOS and iOS.
What's Changed
Section titled “What's Changed”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-runtime@1.0.0-alpha.1 - Upgraded to
tauri-runtime-wry@1.0.0-alpha.1
Breaking Changes
Section titled “Breaking Changes”0d63732b(#7754) ChangedBuilder::register_uri_scheme_protocolto return ahttp::Responseinstead ofResult<http::Response>. To return an error response, manually create a response with status code >= 400.0d63732b(#7754)tauri-runtimeno longer implements its own HTTP types and relies on thehttpcrate instead.0d63732b(#7754) ChangedBuilder::invoke_systemto take references instead of owned values.5c95152c(#7621) ChangedMenuBuilder\SubmenuBuilder::text,MenuBuilder\SubmenuBuilder::check,MenuBuilder\SubmenuBuilder::iconandMenuBuilder\SubmenuBuilder::native_iconto take anidas the first argument.0d63732b(#7754) ChangedWindow::on_messagesignature to take a responder closure instead of returning the response object in order to asynchronously process the request.
@tauri-apps/api 2.0.0-alpha.12
Section titled “@tauri-apps/api 2.0.0-alpha.12”New Features
Section titled “New Features”f93148ea(#7709) Addtrayandmenumodules to create and manage tray icons and menus from Javascript.
Enhancements
Section titled “Enhancements”cli 2.0.0-alpha.12
Section titled “cli 2.0.0-alpha.12”Bug Fixes
Section titled “Bug Fixes”b75a1210(#7762) Fixes a regression on alpha.11 where iOS logs aren't being displayed when usingios devwith a real device.8faa5a4a(#7765) Ensure asset directory exists on the iOS project.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-bundler@2.0.0-alpha.8
2.0.0-alpha.11
Section titled “2.0.0-alpha.11”tauri 2.0.0-alpha.11
Section titled “tauri 2.0.0-alpha.11”New Features
Section titled “New Features”4db363a0(#6589) Addedvisible_on_all_workspacesconfiguration option toWindowBuilder,Window, andWindowConfig.84c41597(#6394) AddApp::primary_monitor,App::available_monitors,AppHandle::primary_monitor, andAppHandle::available_monitors2a000e15(#7235) AddedWindow::navigate.3b98141a(#3736) Added support to file associations.3a2c3e74(#7306) AddedPluginBuilder::on_navigation. AddedPlugin::on_navigation.753900dd(#7440) ExposeRunEvent::Openedon macOS and iOS for deep link support.7fb419c3(#7535) AddApp::cleanup_before_exitandAppHandle::cleanup_before_exitto manually call the cleanup logic. You should always exit the tauri app immediately after this function returns and not use any tauri-related APIs.7fb419c3(#7535) On Linux, addWindow::default_vboxto get a reference to thegtk::Boxthat contains the menu bar and the webview.7fb419c3(#7535) Addlinux-libxdofeature flag (disabled by default) to enable linking tolibxdowhich is used to makeCut,Copy,PasteandSelectAllnative menu items work on Linux.7fb419c3(#7535) On macOS, addWindow::ns_viewto get a pointer to the NSWindow content view.7fb419c3(#7535) Exposerun_on_main_threadmethod onAppthat is similar toAppHandle::run_on_main_thread.
Enhancements
Section titled “Enhancements”a5752db9(#7436) Listen toonNewIntentand forward it to registered plugins.fbeb5b91(#7170) AddedChannel::newallowing communication from a mobile plugin with Rust.fbeb5b91(#7170) Use custom protocols on the IPC implementation to enhance performance.
Dependencies
Section titled “Dependencies”- Upgraded to
tauri-runtime@1.0.0-alpha.0 - Upgraded to
tauri-utils@2.0.0-alpha.7 - Upgraded to
tauri-macros@2.0.0-alpha.7 - Upgraded to
tauri-runtime-wry@1.0.0-alpha.0 - Upgraded to
tauri-build@2.0.0-alpha.7 d1a6e2f3(#7252) Updatestateto v0.6.
Breaking Changes
Section titled “Breaking Changes”-
fd5dc788(#7352) - Removedtauri::api::fileandtauri::api::dirmodules, usestd::fsinstead.- Removed
tauri::api::versionmodule, usesemvercrate instead.
- Removed
-
fbeb5b91(#7170) Movedtauri::api::ipctotauri::ipcand refactored all types. -
fbeb5b91(#7170) Removed thelinux-protocol-headersfeature (now always enabled) and addedlinux-ipc-protocol. -
7fb419c3(#7535) ChangedApp::handleandManager::app_handleto return a reference to anAppHandleinstead of an owned value. -
7fb419c3(#7535) The tray icon and menu have received a huge refactor with a lot of breaking changes in order to add new functionalities and improve the DX around using them and here is an overview of the changes:- All menu and tray types are now exported from
tauri::menuandtauri::traymodules with new names so make sure to check the new types. - Removed
tauri::Builder::system_tray, instead you should usetauri::tray::TrayIconBuilderinsidetauri::Builder::setuphook to create your tray icons. - Changed
tauri::Builder::menuto be a function to accommodate for new menu changes, you can passetauri::menu::Menu::defaultto it to create a default menu. - Renamed
tauri::Contextmethodssystem_tray_icon,tauri::Context::system_tray_icon_mutandtauri::Context::set_system_tray_icontotauri::Context::tray_icon,tauri::Context::tray_icon_mutandtauri::Context::set_tray_iconto be consistent with new type names. - Added
RunEvent::MenuEventandRunEvent::TrayIconEvent. - Added
App/AppHandle::set_menu,App/AppHandle::remove_menu,App/AppHandle::show_menu,App/AppHandle::hide_menuandApp/AppHandle::menuto access, remove, hide or show the app-wide menu that is used as the global menu on macOS and on all windows that don't have a specific menu set for it on Windows and Linux. - Added
Window::set_menu,Window::remove_menu,Window::show_menu,Window::hide_menu,Window::is_menu_visibleandWindow::menuto access, remove, hide or show the menu on this window. - Added
Window::popup_menuandWindow::popup_menu_atto show a context menu on the window at the cursor position or at a specific position. You can also popup a context menu usingpopupandpopup_atmethods fromContextMenutrait which is implemented forMenuandSubmenutypes. - Added
App/AppHandle::tray,App/AppHandle::tray_by_id,App/AppHandle::remove_trayandApp/AppHandle::remove_tray_by_idto access or remove a registered tray. - Added
WindowBuilder/App/AppHandle::on_menu_eventto register a new menu event handler. - Added
App/AppHandle::on_tray_icon_eventto register a new tray event handler.
- All menu and tray types are now exported from
-
7fb419c3(#7535) Renamedsystem-trayfeature flag totray-icon. -
3a2c3e74(#7306) TheWindow#on_navigationclosure now receives a&Urlargument instead ofUrl.
@tauri-apps/api 2.0.0-alpha.11
Section titled “@tauri-apps/api 2.0.0-alpha.11”Bug Fixes
Section titled “Bug Fixes”cli 2.0.0-alpha.11
Section titled “cli 2.0.0-alpha.11”New Features
Section titled “New Features”522de0e7(#7447) Expose an environment variableTAURI_${PLUGIN_NAME}_PLUGIN_CONFIGfor each defined plugin configuration object.c7dacca4(#7446) Expose theTAURI_IOS_PROJECT_PATHandTAURI_IOS_APP_NAMEenvironment variables when usingioscommands.aa94f719(#7445) Generate empty entitlements file for the iOS project.d010bc07(#7554) Set the iOS project PRODUCT_NAME value to the string undertauri.conf.json > package > productNameif it is set.8af24974(#7561) Themigratecommand now automatically reads all JavaScript files and updates@tauri-apps/apiimport paths and install the missing plugins.
Enhancements
Section titled “Enhancements”fbeb5b91(#7170) Update migrate command to update the configuration CSP to includeipc:on theconnect-srcdirective, needed by the new IPC using custom protocols.
Bug Fixes
Section titled “Bug Fixes”Dependencies
Section titled “Dependencies”- Upgraded to
tauri-utils@2.0.0-alpha.7 - Upgraded to
tauri-bundler@2.0.0-alpha.7
2.0.0-alpha.10
Section titled “2.0.0-alpha.10”tauri 2.0.0-alpha.10
Section titled “tauri 2.0.0-alpha.10”New Features
Section titled “New Features”f2d68cf7(#6767) Addincognitooption to the window configuration object.f2d68cf7(#6767) AddWindowBuilder::incognitoe0f0dce2(#6442) Added thewindow_effectsoption when creating a window andWindow::set_effectsto change it at runtime.
Enhancements
Section titled “Enhancements”2d2fd6ab(#7191) Use correct HTTP method when making requests to the proxied server on mobile.b66e7d60(#7174) ImplementCloneforChannel8124145d(#7171) Fixes path commands not being added.4652c446(#7144) Addtemp_dirmethod toPathResolver
Bug Fixes
Section titled “Bug Fixes”@tauri-apps/api 2.0.0-alpha.10
Section titled “@tauri-apps/api 2.0.0-alpha.10”Enhancements
Section titled “Enhancements”c6c59cf2Pull changes from Tauri 1.5 release.
Bug Fixes
Section titled “Bug Fixes”cli 2.0.0-alpha.10
Section titled “cli 2.0.0-alpha.10”New Features
Section titled “New Features”7e5905ae(#7023) Addedtauri plugin addcommand to add a plugin to the Tauri project.b0f94775(#7008) Addedmigratecommand.
Enhancements
Section titled “Enhancements”aa6c9164(#7007) Don't build library files when building desktop targets.a28fdf7e(#7044) Skip Rust target installation if they are already installed.735db1ce(#7044) Add--skip-targets-installflag fortauri android initandtauri ios initto skip installing needed rust targets vie rustup.
Bug Fixes
Section titled “Bug Fixes”3f4c4ce8(#7028) Fix--split-per-abinot building any targets unless specified by--targetflag.1ed2600d(#6771) Set current directory to tauri directory before reading config file.4847b87b(#7209) Fixtauri (android|ios) (dev|build)failing when usingnpx tauri655c714e(#7240) Fixes panic when exiting theios devcommand with Ctrl + C.6252380f(#7241) ExitbeforeDevCommandprocess if the android or iOSdevcommand fails.
2.0.0-alpha.9
Section titled “2.0.0-alpha.9”tauri 2.0.0-alpha.9
Section titled “tauri 2.0.0-alpha.9”256c30c7(#6863) Enhance parsing of annotated Android plugin methods to support private functions.73c803a5(#6837) Added static functionloadConfigon the AndroidPluginManagerclass.edb16d13(#6831) Adjust Android plugin exception error.0ab5f40d(#6813) Add channel API for sending data across the IPC.31444ac1(#6725) On Android, update proguard rules.8ce32e74(#6986) Adddefault_window_icongetter onAppandAppHandle.2a5175a8(#6779) Enhance Android'sJSObjectreturn types.bb2a8ccf(#6830) Use actual iOS plugin instance to run command withthrows.94224906(#6783) GenerateTauriActivityKotlin class on the build script.7a4b1fb9(#6839) Added support to attibutes for each command path in thegenerate_handlermacro.9a79dc08(#6947) Removeenable_tauri_apifrom the IPC scope.dfa407ff(#6763) Expose plugin configuration on the Android and iOS plugin classes.3245d14b(#6895) Moved theappfeature to its own plugin in the plugins-workspace repository.09376af5(#6704) Moved theclifeature to its own plugin in the plugins-workspace repository.2d5378bf(#6717) Moved the dialog APIs to its own plugin in the plugins-workspace repository.39f1b04f(#6943) Moved theeventJS APIs to a plugin.fc4d687e(#6716) Moved the file system APIs to its own plugin in the plugins-workspace repository.f78a3783(#6742) Moved thehttpfeature to its own plugin in the plugins-workspace repository.29ce9ce2(#6902) Moved theosfeature to its own plugin in the plugins-workspace repository.60cf9ed2(#6905) Moved theprocessfeature to its own plugin in the plugins-workspace repository.e1e85dc2(#6925) Moved theprotocolscope configuration to theasset_protocolfield inSecurityConfig.96639ca2(#6749) Moved theshellfunctionality to its own plugin in the plugins-workspace repository.e1e85dc2(#6925) Moved the updater configuration to theBundleConfig.b072daa3(#6919) Moved theupdaterfeature to its own plugin in the plugins-workspace repository.3188f376(#6883) Bump the MSRV to 1.65.d693e526(#6780) Added theonNewIntentPlugin hook on Android.34b8f339(#6705) Addappmethod for thePluginApistruct.96639ca2(#6749) Moved thetauri::api::processmodule totauri::process.cdad6e08(#6774) Changed how thetauri-androiddependency is injected. This requires thegen/androidproject to be recreated.e1e85dc2(#6925) Removed the allowlist configuration.cebd7526(#6728) Moved theclipboardfeature to its own plugin in the plugins-workspace repository.e1e85dc2(#6925) Removed extract and move APIs fromtauri::api::file.3f17ee82(#6737) Moved theglobal-shortcutfeature to its own plugin in the plugins-workspace repository.ae102980(#6719) Refactor theContextconditional fields and only parse the tray icon on desktop.2d5378bf(#6717) Remove the updater's dialog option.e1e85dc2(#6925) RemovedUpdaterEvent. Seetauri-plugin-updaterfor new usage.9a79dc08(#6947) Moved thewindowJS APIs to its own plugin in the plugins-workspace repository.22a76338(#6713) ExposeSafePathBuftype intauri::path.c4171152(#6909) Enable shadows by default.dfa407ff(#6763) Change iOS plugin init function signature tofunc init_plugin() -> Plugin.
@tauri-apps/api 2.0.0-alpha.9
Section titled “@tauri-apps/api 2.0.0-alpha.9”New Features
Section titled “New Features”c1ec0f15(#7933) AddedsetAlwaysOnBottomfunction onWindowand thealwaysOnBottomoption when creating a window.fb10b879(#8039) Add theappmodule back.ed32257d(#7794) On Windows, addEffect.Tabbed,Effect.TabbedDarkandEffect.TabbedLighteffects.c9a9246c(#8007) Add thewindowmodule back.c085adda(#8009) Added thesetProgressBarAPI on theWindowclass.
What's Changed
Section titled “What's Changed”Breaking Changes
Section titled “Breaking Changes”cli 2.0.0-alpha.9
Section titled “cli 2.0.0-alpha.9”19cd0e49(#6811) Addkey.propertiesfile to android's.gitignore.124d5c5a(#6788) On mobile, fix regression introduced intauri-cliversion2.0.0-alpha.3where library not found error was thrown.31444ac1(#6725) Update mobile template towry@0.286d1fa49f(#6881) Clear Android plugin JSON file before building Rust library to ensure removed plugins are propagated to the Android project.5a9307d1(#6890) Update android template to gradle 8.073c803a5(#6837) Inject Tauri configuration in the Android assets.e1e85dc2(#6925) Moved the updater configuration to theBundleConfig.3188f376(#6883) Bump the MSRV to 1.65.2969d1cb(#6773) Use absolute path to each Android plugin project instead of copying the files to enhance developer experience.d48aaa15(#6894) Add Cargo manifest files for the plugin example templates.e1e85dc2(#6925) Removed the allowlist configuration.41f49aea(#6659) Update tauri-mobile to fix running ADB scripts.
2.0.0-alpha.8
Section titled “2.0.0-alpha.8”tauri 2.0.0-alpha.8
Section titled “tauri 2.0.0-alpha.8”@tauri-apps/api 2.0.0-alpha.8
Section titled “@tauri-apps/api 2.0.0-alpha.8”Breaking Changes
Section titled “Breaking Changes”cli 2.0.0-alpha.8
Section titled “cli 2.0.0-alpha.8”- Do not gitignore the Android project's
buildSrcfolder by default since we removed absolute paths from it. - Fixes iOS build script using the wrong path for the app library file.
2.0.0-alpha.7
Section titled “2.0.0-alpha.7”tauri 2.0.0-alpha.7
Section titled “tauri 2.0.0-alpha.7”- Change minimum Android SDK version to 21 for the plugin library.
- Improve the
run_mobile_pluginfunction error handling. - Implement
Cloneforplugin::PluginHandle.
@tauri-apps/api 2.0.0-alpha.7
Section titled “@tauri-apps/api 2.0.0-alpha.7”Breaking Changes
Section titled “Breaking Changes”cli 2.0.0-alpha.7
Section titled “cli 2.0.0-alpha.7”- Add
--releaseflag fortauri android devhowever you will need to sign your Android app, see https://next--tauri.netlify.app/next/guides/distribution/sign-android - Build only specified rust targets for
tauri android buildinstead of all. - Use local ip address for built-in dev server on mobile.
- Change minimum Android SDK version to 21 for the plugin library.
- Readd the Cargo.toml file to the plugin template.
2.0.0-alpha.6
Section titled “2.0.0-alpha.6”tauri 2.0.0-alpha.6
Section titled “tauri 2.0.0-alpha.6”@tauri-apps/api 2.0.0-alpha.6
Section titled “@tauri-apps/api 2.0.0-alpha.6”New Features
Section titled “New Features”cli 2.0.0-alpha.6
Section titled “cli 2.0.0-alpha.6”- Use Ubuntu 20.04 to compile the CLI for cargo-binstall, increasing the minimum libc required.
- Automatically enable the
rustls-tlstauri feature on mobile andnative-tlson desktop ifrustls-tlsis not enabled. - Use Ubuntu 20.04 to compile the CLI, increasing the minimum libc version required.
2.0.0-alpha.5
Section titled “2.0.0-alpha.5”tauri 2.0.0-alpha.5
Section titled “tauri 2.0.0-alpha.5”- Fixes ProGuard rules.
- Added
rawencoding option to read stdout and stderr raw bytes.- f992e7f5 chore(changes): readd change file on 2023-04-03
- Renamed the
default-tlsfeature tonative-tlsand addedrustls-tlsfeature.
@tauri-apps/api 2.0.0-alpha.5
Section titled “@tauri-apps/api 2.0.0-alpha.5”New Features
Section titled “New Features”e0f0dce2(#6442) Added thewindowEffectsoption when creating a window andsetWindowEffectsmethod to change it at runtime.
Enhancements
Section titled “Enhancements”cli 2.0.0-alpha.5
Section titled “cli 2.0.0-alpha.5”- Fixes the iOS project script to build the Rust library.
- Fix
tauri android build/devcrashing when used with standalonepnpmexecutable on Windows. - 6b469c40 chore(changes): adjust change file for Android script execution fix on 2023-03-29
2.0.0-alpha.4
Section titled “2.0.0-alpha.4”tauri 2.0.0-alpha.4
Section titled “tauri 2.0.0-alpha.4”- Allow a wry plugin to be registered at runtime.
- Inject
proguard-tauri.profile in the Android project. - Return
boolin the invoke handler. - Use correct lib name in xcode project.
- Run Android and iOS native plugins on the invoke handler if a Rust plugin command is not found.
- Added
initialize_android_pluginandinitialize_ios_pluginAPIs onAppHandle. - Changed the plugin setup hook to take a second argument of type
PluginApi. - Refactored the implementation of the
mobile_entry_pointmacro. - Removed the attohttpc client. The
reqwest-*Cargo features were also removed. - Added
App::run_mobile_pluginandAppHandle::run_mobile_plugin. - Added the
shadowoption when creating a window andWindow::set_shadow. - Implemented
with_webviewon Android and iOS.
@tauri-apps/api 2.0.0-alpha.4
Section titled “@tauri-apps/api 2.0.0-alpha.4”0ab5f40d(#6813) Add channel API for sending data across the IPC.3245d14b(#6895) Moved theappfeature to its own plugin in the plugins-workspace repository.09376af5(#6704) Moved theclifeature to its own plugin in the plugins-workspace repository.2d5378bf(#6717) Moved the dialog APIs to its own plugin in the plugins-workspace repository.39f1b04f(#6943) Moved theeventJS APIs to a plugin.fc4d687e(#6716) Moved the file system APIs to its own plugin in the plugins-workspace repository.f78a3783(#6742) Moved thehttpfeature to its own plugin in the plugins-workspace repository.29ce9ce2(#6902) Moved theosfeature to its own plugin in the plugins-workspace repository.60cf9ed2(#6905) Moved theprocessfeature to its own plugin in the plugins-workspace repository.96639ca2(#6749) Moved theshellfunctionality to its own plugin in the plugins-workspace repository.b072daa3(#6919) Moved theupdaterfeature to its own plugin in the plugins-workspace repository.cebd7526(#6728) Moved theclipboardfeature to its own plugin in the plugins-workspace repository.3f17ee82(#6737) Moved theglobal-shortcutfeature to its own plugin in the plugins-workspace repository.9a79dc08(#6947) Moved thewindowJS APIs to its own plugin in the plugins-workspace repository.
cli 2.0.0-alpha.4
Section titled “cli 2.0.0-alpha.4”2.0.0-alpha.3
Section titled “2.0.0-alpha.3”tauri 2.0.0-alpha.3
Section titled “tauri 2.0.0-alpha.3”- Update gtk to 0.16.
- Show all application logs on iOS.
- Bump the MSRV to 1.64.
- Only proxy the dev server on mobile to simplify desktop usage.
- Removed mobile logging initialization, which will be handled by
tauri-plugin-log. - Update rfd to 0.11.
@tauri-apps/api 2.0.0-alpha.3
Section titled “@tauri-apps/api 2.0.0-alpha.3”cli 2.0.0-alpha.3
Section titled “cli 2.0.0-alpha.3”- Added
plugin android addandplugin ios addcommands to add mobile plugin functionality to existing projects. - Add
--portto specify the port used for static files dev server. It can also be specified throughTAURI_DEV_SERVER_PORTenv var. - Auto select an external IP for mobile development and fallback to prompting the user. Use
--force-ip-promptto force prompting. - Add commands to add native Android and iOS functionality to plugins.
- In mobile commands, correctly detect when nodejs binary has the version in its name, for example
node-18 - Use temp file instead of environment variable to pass CLI IPC websocket address to the IDE.
- Change the Android template to enable minification on release and pull ProGuard rules from proguard-tauri.pro.
- Print an error if the Android project was generated with an older bundle identifier or package name.
- Fixes the generated mobile build script when using an NPM runner.
- Resolve Android package name from single word bundle identifiers.
- Update Android project template with fix to crash on orientation change.
- Added
--ios-coloroption to thetauri iconcommand. - Fixes HMR on mobile when devPath is configured to load a filesystem path.
- Ignore the
genfolder on the dev watcher. - Correctly pass arguments from
npm runtotauri. - Changed the
--apiflag onplugin initto--no-api.
2.0.0-alpha.2
Section titled “2.0.0-alpha.2”tauri 2.0.0-alpha.2
Section titled “tauri 2.0.0-alpha.2”- Fix the filesystem scope allowing sub-directories of the directory picked by the dialog when
recursiveoption wasfalse.- 9ad0a9a0 Merge pull request from GHSA-6mv3-wm7j-h4w5 on 2022-12-22
@tauri-apps/api 2.0.0-alpha.2
Section titled “@tauri-apps/api 2.0.0-alpha.2”- Added
rawencoding option to read stdout and stderr raw bytes.- f992e7f5 chore(changes): readd change file on 2023-04-03
- Removed shell's
Commandconstructor and added theCommand.createstatic function instead.
cli 2.0.0-alpha.2
Section titled “cli 2.0.0-alpha.2”- Fixes
TAURI_*environment variables for hook scripts on mobile commands. - Force colored logs on mobile commands.
- Keep the process alive even when the iOS application is closed.
- Show all application logs on iOS.
- Print log output for all tags on Android development.
- 8cc11149 fix(cli): print Android logs for all tags on 2023-01-17
- Add support to custom and kebab case library names for mobile apps.
- Bump the MSRV to 1.64.
- Fix target directory detection when compiling for Android.
2.0.0-alpha.1
Section titled “2.0.0-alpha.1”tauri 2.0.0-alpha.1
Section titled “tauri 2.0.0-alpha.1”- Implement response cache on the dev server proxy, used when the server responds with status 304.
- Properly proxy dev server requests with query strings and fragments.
@tauri-apps/api 2.0.0-alpha.1
Section titled “@tauri-apps/api 2.0.0-alpha.1”cli 2.0.0-alpha.1
Section titled “cli 2.0.0-alpha.1”2.0.0-alpha.0
Section titled “2.0.0-alpha.0”tauri 2.0.0-alpha.0
Section titled “tauri 2.0.0-alpha.0”- Added the
default-tlsandreqwest-default-tlsCargo features for enabling TLS suppport to connect over HTTPS. - Breaking change: Use the custom protocol as a proxy to the development server on all platforms except Linux.
- Support
with_webviewfor Android platform alowing execution of JNI code in context. - First mobile alpha release!
- Breaking change: The window creation and setup hook are now called when the event loop is ready.
- Export types required by the
mobile_entry_pointmacro.
@tauri-apps/api 2.0.0-alpha.0
Section titled “@tauri-apps/api 2.0.0-alpha.0”cli 2.0.0-alpha.0
Section titled “cli 2.0.0-alpha.0”- Added
android buildcommand. - Added
ios buildcommand. - Added
android devandios devcommands. - Added
android initandios initcommands. - Added
android openandios opencommands. - First mobile alpha release!
© 2026 Tauri Contributors. CC-BY / MIT