171 KiB
Changelog
[2.10.0]
Enhancements
-
f82594410(#13253 by @Armaldio) Allow electron to run the CLI directly -
a2abe2e6b(#14607 by @sftse) Simplified internal representation offeatures: Option<Vec<String>>withVec<String>, no user facing changes -
84b04c4a8(#14759 by @amrbashir) Added new environment variables fortauri signer signcommand, to align with existing environment variables used intauri build,tauri bundleandtauri signer generateTAURI_SIGNING_PRIVATE_KEYTAURI_SIGNING_PRIVATE_KEY_PATHTAURI_SIGNING_PRIVATE_KEY_PASSWORD
The old environment variables are deprecated and will be removed in a future release.
TAURI_PRIVATE_KEYTAURI_PRIVATE_KEY_PATHTAURI_PRIVATE_KEY_PASSWORD
Bug Fixes
-
62aa13a12(#14629 by @lucasfernog) Fixandroid build's--aaband--apkflags requiring a value to be provided. -
eccff9758(#14779 by @lucasfernog) Fix empty associated-domains entitlements when domains are not configured for deep links. -
ea31b07f1(#14789 by @Legend-Master) Fixed the command description fortauri inspect -
7fca58230(#14830 by @Legend-Master) Updatednsis_tauri_utilsto 0.5.3:- Use an alternative method
CreateProcessWithTokenWto run programs as user, this fixed a problem that the program launched with the previous method can't query its own handle
- Use an alternative method
-
53611c4d7(#14747 by @Legend-Master) Only watch dependent workspace members when runningtauri devinstead of watching on all members -
1b0e335d3(#14713 by @wasuaje)tauri signer signdoesn't work for files without an extension
What's Changed
e3fdcb500(#14836 by @sftse) Continued refactors of tauri-cli, fix too weak atomics.0575dd287(#14521 by @kandrelczyk) Change the way bundle type information is added to binary files. Instead of looking up the value of a variable we simply look for the default value.7f7d9aac2(#14668 by @sftse) Refactored internal use of static on config and directory resolvings, no user facing changes, please report any regressions if you encounter any
Dependencies
- Upgraded to
tauri-cli@2.10.0
[2.9.6]
Dependencies
- Upgraded to
tauri-cli@2.9.6
[2.9.5]
Bug Fixes
f855caf8a(#14481 by @Legend-Master) Fixed the mismatched tauri package versions check didn't work for pnpm
Performance Improvements
Dependencies
- Upgraded to
tauri-cli@2.9.5
[2.9.4]
Bug Fixes
b586ecf1f(#14416 by @Legend-Master) Premultiply Alpha before Resizing which gets rid of the gray fringe around the icons for svg images.
Dependencies
- Upgraded to
tauri-cli@2.9.4
[2.9.3]
Bug Fixes
fd8c30b4f(#14353 by @ChaseKnowlden) Premultiply Alpha before Resizing which gets rid of the gray fringe around the icons.
Dependencies
- Upgraded to
tauri-cli@2.9.3
[2.9.2]
Dependencies
- Upgraded to
tauri-cli@2.9.2
[2.9.1]
Dependencies
- Upgraded to
tauri-cli@2.9.1
[2.9.0]
New Features
3b4fac201(#14194) Addtauri.conf.json > bundle > android > autoIncrementVersionCodeconfig option to automatically increment the Android version code.673867aa0(#14094) Try to detect ANDROID_HOME and NDK_HOME environment variables from default system locations and install them if needed using the Android Studio command line tools.3d6868d09(#14128) Added support to defining the content type of the declared file association on macOS (maps to LSItemContentTypes property).3d6868d09(#14128) Added support to defining the metadata for custom types declared intauri.conf.json > bundle > fileAssociations > exportedTypevia theUTExportedTypeDeclarationsInfo.plist property.ed7c9a410(#14108) Addedbundle > macOS > infoPlistandbundle > iOS > infoPlistconfigurations to allow defining custom Info.plist extensions.75082cc5b(#14120) Addedios runandandroid runcommands to run the app in production mode.cc8c0b531(#14031) Added support to universal app links on macOS with theplugins > deep-link > desktop > domainsconfiguration.
Enhancements
b5aa01870(#14268) Update cargo-mobile2 to 0.21, enhancing error messages and opening Xcode when multiple apps are installed.55453e845(#14262) Check mismatched versions intauri info1a6627ee7(#14122) Set a default log level filter when runningtauri add log.b06b3bd09(#14126) Improve error messages with more context.f6622a3e3(#14129) Prompt to install the iOS platform if it isn't installed yet.6bbb530fd(#14105) Warn if productName is empty when initializing mobile project.
Bug Fixes
19fb6f7cb(#14146) Strip Windows-only extensions from the binary path so an Android project initialized on Windows can be used on UNIX systems.19fb6f7cb(#14146) Enhance Android build script usage on Windows by attempting to run cmd, bat and exe formats.28a2f9bc5(#14101) Fix iOS CLI usage after modifying the package name.d2938486e(#14261) Replaced the non-standard nerd font character withⱼₛintarui info25e920e16(#14298) Wait for dev server to exit before exiting the CLI when the app is closed ontauri dev --no-watch.b0012424c(#14115) Resolve local IP address whentauri.conf.json > build > devUrlhost is0.0.0.0.abf7e8850(#14118) Fixes mobile project initialization when usingpnpxorpnpm dlx.
Dependencies
- Upgraded to
tauri-cli@2.9.0
[2.8.4]
Enhancements
f70b28529(#14093 by @lucasfernog) Ensure Rust targets for mobile are installed when running the dev and build commands (previously only checked on init).a9b342125(#14114 by @lucasfernog) Fix iOS dev and build targeting the simulator on Intel machines.61b9b681e(#14111 by @lucasfernog) RetainRUST_*environment variables when running the mobile commands.c23bec62d(#14083 by @FabianLars) Tauri now ignoresmacOS.minimumSystemVersionintauri devto prevent forced rebuilds of macOS specific dependencies when using something likerust-analyzerat the same time astauri dev.
Bug Fixes
c37a29833(#14112 by @lucasfernog) Fix usage with Deno failing withReferenceError: require is not defined.bcf000c0a(#14110 by @lucasfernog) Fixes runningioscommands withdenocrashing due to incorrect current working directory resolution.7db7142f9(#14119 by @lucasfernog) Fixes empty device name when using an Android emulator causing the emulator to never be detected as running.956b4fd6f(#14106 by @lucasfernog) Use the correct export method on Xcode < 15.4.
Dependencies
- Upgraded to
tauri-cli@2.8.4
[2.8.3]
Bug Fixes
0ac89d3b6(#14078 by @FabianLars) Updatedcargo-mobile2to allow running on iOS simulators that have a higher version than the XCode SDK. This fixes compatiblity issues with Apple's recent "iOS 18.5 + iOS 18.6 Simulator" platform support component.
Dependencies
- Upgraded to
tauri-cli@2.8.3
[2.8.2]
Dependencies
- Upgraded to
tauri-cli@2.8.1
[2.8.1]
Bug Fixes
f0172a454(#14038 by @KushalMeghani1644) FixesremoveDataStorereturn type.
[2.8.0]
New Features
91508c0b8(#13881 by @pepperoni505) Introduces a new configuration option that allows you to specify custom folders to watch for changes when runningtauri dev.bc4afe7dd(#13993 by @lucasfernog) Check installed plugin NPM/crate versions for incompatible releases.0c402bfb6(#13997 by @lucasfernog) Increase default iOS deployment target iOS to 14.0.d6d5f3707(#13358 by @lucasfernog) Added--root-certificate-pathoption toandroid devandios devto be able to connect to HTTPS dev servers.
Enhancements
8b465a12b(#13913 by @FabianLars) The bundler now pulls the latest AppImage linuxdeploy plugin instead of using the built-in one. This should remove the libfuse requirement.390cb9c36(#13953 by @FabianLars) Reduced the log level of the binary patcher crategoblinto only show its debug logs in-vvand above.4475e93e1(#13824 by @FabianLars) The bundler and cli will now read TLS Certificates installed on the system when downloading tools and checking versions.
Bug Fixes
f0dcf9637(#13980 by @Legend-Master) Fix the generated plugin init code oftauri addfortauri-plugin-autostartandtauri-plugin-single-instance4d270a96a(#13943 by @acx0) Fix codesigning verification failures caused by binary-patching during bundlingb21d86a8a(#13981 by @Legend-Master) Fixtauri permission addcould add duplicated permissions to the capability files9c938be45(#13912 by @takecchi) Properly migrate svelte to v5 in the plugin example template
Dependencies
- Upgraded to
tauri-cli@2.8.0
[2.7.1]
Dependencies
- Upgraded to
tauri-cli@2.7.1
[2.7.0]
New Features
33d079392(#13811 by @mhbagheri-99) Allow runner configuration to be an object with cmd, cwd, and args properties. The runner can now be configured as{ "cmd": "my_runner", "cwd": "/path", "args": ["--quiet"] }while maintaining backwards compatibility with the existing string format.
Enhancements
232265c70(#13209 by @kandrelczyk) Binaries are patched before bundling to add the type of a bundle they will placed in. This information will be used during update process to select the correct target.
Bug Fixes
916aeaa48(#13781 by @lucasfernog) Fixes Android dev and build commands readingtauri.ios.conf.jsoninstead oftauri.android.conf.jsonto merge platform-specific configuration.0f248b111(#13799 by @lucasfernog) Install iOS dependencies when needed.7a6fd5b75(#13863 by @FabianLars) The AppImage bundler now pulls the AppRun binaries from our GitHub mirror, fixing 404 errors.bda830410(#13833 by @Legend-Master) Fail with an error when trying to migrate from v2 alphabda830410(#13833 by @Legend-Master) Use v2 stable instead of v2-rc when migrating from v2-beta
Dependencies
- Upgraded to
tauri-cli@2.7.0
[2.6.2]
Bug Fixes
cbd962972(#13730 by @lucasfernog) Load--configarguments when running the Xcode and Android Studio build scripts.
Dependencies
- Upgraded to
tauri-cli@2.6.2
[2.6.1]
Dependencies
- Upgraded to
tauri-cli@2.6.1
[2.6.0]
New Features
414619c36(#13536 by @Tunglies) Added support for thebundleNameproperty in the macOS bundler configuration. This allows specifying theCFBundleNamevalue for generated macOS bundles.3242e1c94(#13659 by @lucasfernog) Allow passing Cargo arguments to mobile dev and build commands.d1ce9af62(#13660 by @lucasfernog) Allow passing--configarguments to theios initandandroid initcommands to tweak the configuration used to initialize the mobile projects.7322f0579(#13502 by @amrbashir) Allow usingCheckIfAppIsRunningmacro inside NSIS hooks, for example!insertmacro CheckIfAppIsRunning "another-executable.exe" "Another Executable".4a880ca69(#13658 by @lucasfernog) Synchronize Tauri config productName changes with the iOS Xcode project.8ee14a864(#13618 by @Sky-walkerX) Warn the user that the app id shouldn't end in.appbecause it conflicts with the application bundle extension on macOS
Bug Fixes
35aa7e121(#13294 by @kingsword09) fix: allow the target directory to be inside frontendDir as long as it is not the Rust target directory inside frontendDir.ec6065fa4(#13625 by @lucasfernog) Fixes Android and iOS dev/build commands not working when the app identifier is being modified by the--configoption.5a5291d66(#13483 by @lucasfernog) Fix simulator build detection on Xcode.
Dependencies
- Upgraded to
tauri-cli@2.6.0 9c16eefa3(#13629 by @sftse) Update html5ever to 0.29 and kuchikiki to version 0.8.8-speedreader.
[2.5.0]
New Features
0aa48fb9e(#13030) AddedbundleVersionto iOS and macOS configuration to support specifying aCFBundleVersion.
Enhancements
ad3fd3890(#13152) Detect package manager from environment variablenpm_config_user_agentfirst82406c61e(#13231) Improve iOS simulator usage, checking if Xcode iOS SDK is installed and allowing usage of Simulator for older iOS releases (previously only supported when running on Xcode viaios dev --open).
Bug Fixes
2dccfab53(#13236) FixfileAssociationsmissingLSHandlerRankon macOS.080252903(#13210) Fixes iOS dev not working on Xcode 16.3 simulators. To apply the fix, either regenerate the Xcode project withrm -r src-tauri/gen/apple && tauri ios initor remove thearm64-simarchitecture from the Xcode project.
Dependencies
- Upgraded to
tauri-cli@2.5.0
[2.4.1]
Enhancements
f805061d1(#13079 by @Pietagorh) Add support for passing TOML and JSON5 config files to--configarg
Bug Fixes
794af778e(#13117 by @Legend-Master) Fix setting merge config value to null with--configarg no longer works
Dependencies
- Upgraded to
tauri-cli@2.4.1
[2.4.0]
New Features
d91bfa5cb(#12970 by @lucasfernog) Allow merging multiple configuration values ontauri dev,tauri build,tauri bundle,tauri android dev,tauri android build,tauri ios devandtauri ios build.30f5a1553(#12366 by @FabianLars) AddedtrafficLightPositionwindow configuration to set the traffic light buttons position on macOS.
Enhancements
Bug Fixes
0c4700e99(#12985 by @FabianLars) The cli will now accept--bundles updateragain. It's still no-op as it has been for all v2 versions. If you want to build updater artifacts, enablecreateUpdaterArtifactsintauri.conf.json.b83921226(#12977 by @lucasfernog) Fixtauri ioscommands using the wrong working directory withbun@>1.2.f268b3dbd(#12871 by @lucasfernog) Ignore parent .gitignore files on the Tauri project path detection.
Dependencies
- Upgraded to
tauri-cli@2.4.0
[2.3.1]
Dependencies
- Upgraded to
tauri-cli@2.3.1
[2.3.0]
Enhancements
a2d36b8c3(#12181 by @bastiankistner) Add an option to change the default background throttling policy (currently for WebKit only).
Dependencies
- Upgraded to
tauri-cli@2.3.0
[2.2.7]
Bug Fixes
8e9134c4a(#12511 by @FabianLars) Fixed an issue that causedtauri devto fail because of an incorrect--binsflag.
Dependencies
- Upgraded to
tauri-cli@2.2.7
[2.2.6]
Enhancements
1a86974aa(#12406 by @bradleat)ios build --openwill now let xcode start the rust build process.0b79af711(#12438 by @3lpsy) Log the command used to start the rust app in development.
Dependencies
- Upgraded to
tauri-cli@2.2.6
[2.2.5]
Dependencies
- Upgraded to
tauri-cli@2.2.5
[2.2.4]
Bug Fixes
cad550445(#12354 by @FabianLars) Fixed and issue that causedtauri addto try to install incorrect npm packages.
Dependencies
- Upgraded to
tauri-cli@2.2.4
[2.2.3]
Enhancements
a0f2c84d5(#12204 by @pjf-dev) Enhancetauri iconcommand by including 64x64 png size in default icon sizes.
Bug Fixes
98f62e65a(#12246 by @marcomq) Properly add NPM packages for community plugins when using thetauri addcommand.b9a99a5c6(#12297 by @FabianLars) Fixed an issue that caused the built-in dev server to constantly refresh on Linux. This only affected users who do not havedevUrlpoint to a URL.ef21ed9ac(#12290 by @lucasfernog) Fix iOS build failing when the development team contains spaces.
Dependencies
- Upgraded to
tauri-cli@2.2.3
[2.2.2]
Bug Fixes
26fc9558f(#12178 by @FabianLars) Fixed an issue that caused thetauri devfile watcher to exit after detecting file changes.
Dependencies
- Upgraded to
tauri-cli@2.2.2
[2.2.1]
Bug Fixes
881729448(#12164 by @FabianLars) Fixed an issue that causedtauri devto crash before showing the app on Linux.
Dependencies
- Upgraded to
tauri-cli@2.2.1
[2.2.0]
New Features
cccb308c7(#11562 by @jLynx) Generate signature for.debpackages whencreateUpdaterArtifactsoption is enabled.74212d40d(#11653 by @amrbashir) Include Linux destkop environment and session type intauri infocommand.
Enhancements
Bug Fixes
c8700656b(#11985 by @ShaunSHamilton) Fixtauri removefrom removing object type ({}) permissions.0ae06c5ca(#11914 by @wtto00) Fix the exclude path in fileCargo.tomlof plugin template generated by cli. Path changed in #9346
Dependencies
- Upgraded to
tauri-cli@2.2.0
[2.1.0]
New Features
6bf917941(#11322 by @ShaunSHamilton) Addtauri removeto remove plugins from projects.058c0db72(#11584 by @amrbashir) Addbundle > linux > rpm > compressionconfig option to control RPM bundle compression type and level.
Enhancements
1f311832a(#11405 by @amrbashir) Add more context for errors when decoding secret and public keys for signing updater artifacts.e0d1307d3(#11414 by @Czxck001) Migrate the$schemaTauri configuration to the v2 format.c43d5df15(#11512 by @lucasfernog) Associate a newly created capability file with themainwindow on thetauri addandtauri permission addcommands.
Bug Fixes
7af01ff2c(#11523 by @amrbashir) Fixtauri migratefailing to install NPM depenencies when running from Deno.100a4455a(#11529 by @amrbashir) Fix detecting yarn berry (v2 and higher) in various tauri cli commands.60e86d5f6(#11624 by @lucasfernog) Use the public network IP address onandroid devby default on Windows.
Dependencies
- Upgraded to
tauri-cli@2.1.0
[2.0.4]
Enhancements
e4c9268b1(#11258 by @regexident) Support custom project directory structure where the Tauri app folder is not a subfolder of the frontend project. The frontend and Tauri app project paths can be set with theTAURI_FRONTEND_PATHand theTAURI_APP_PATHenvironment variables respectively.
Dependencies
- Upgraded to
tauri-cli@2.0.4
[2.0.3]
New Features
eda5713ea(#11242 by @alex-sandri) AddItalianto supported NSIS installer languagesb3563e3d6(#11304 by @amrbashir) Add Deno support in tauri-cli operations.
Bug Fixes
d609bef9f(#11314 by @amrbashir) Fix android invalid proguard file when using anidentifierthat contains a component that is a reserved kotlin keyword, likein,class, etc069c05e44(#11315 by @amrbashir) Fix CLI crashing and failing to find a.icofile whenbundle > iconoption is using globs and doesn't have a string that ends with.ico.
Dependencies
- Upgraded to
tauri-cli@2.0.3
[2.0.2]
What's Changed
4475fbb50(#11208 by @lucasfernog) Update cargo-mobile2 to 0.17.3, fixing lib name validation.a49a19ffa(#11218) Fix bundlingappimage,debandrpmbundles failing to open when usingmainBinaryNamewith spaces.
Dependencies
- Upgraded to
tauri-cli@2.0.2
[2.0.1]
Dependencies
- Upgraded to
tauri-cli@2.0.1
[2.0.0]
What's Changed
637285790Promote to v2 stable!
Dependencies
- Upgraded to
tauri-cli@2.0.0
[2.0.0-rc.18]
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
f5d61822b(#11184 by @lucasfernog) Fix iOS application not including the provided capabilities (entitlements).
Dependencies
- Upgraded to
tauri-cli@2.0.0-rc.18
[2.0.0-rc.17]
New Features
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.
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
- Upgraded to
tauri-cli@2.0.0-rc.17
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]
New Features
9bb8fc618(#11030 by @amrbashir) Add--no-exampleflag fortauri plugin newandtauri plugin initto disable creation of an example project.
Dependencies
- Upgraded to
tauri-cli@2.0.0-rc.16
[2.0.0-rc.15]
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
94e9d476e(#11011 by @amrbashir) Fixmain_binary_namein custom wix and nsis templates including.exe
Dependencies
- Upgraded to
tauri-cli@2.0.0-rc.15
[2.0.0-rc.14]
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
- Upgraded to
tauri-cli@2.0.0-rc.13
[2.0.0-rc.13]
Bug Fixes
a5848af65(#10944 by @lucasfernog) Synchronize app version (tauri.conf.json > versionorCargo.toml > package > version) with theCFBundleVersionandCFBundleShortVersionStringInfo.plist values.
Dependencies
- Upgraded to
tauri-cli@2.0.0-rc.12
[2.0.0-rc.12]
Dependencies
- Upgraded to
tauri-cli@2.0.0-rc.11
[2.0.0-rc.11]
Enhancements
9c9644d15(#10845 by @lucasfernog) Enhance iOS library validation, checking libs built with link time optimization.
Bug Fixes
b42683592(#10847 by @lucasfernog) Fixesios build --target [aarch64-sim | x86_64]failing to generate the app bundle for the iOS simulator.
Dependencies
- Upgraded to
tauri-cli@2.0.0-rc.10
[2.0.0-rc.10]
Bug Fixes
6faa03276(#10854 by @lucasfernog) Fixes iOS code signing failing on CI due to a missing development certificate.
Dependencies
- Upgraded to
tauri-cli@2.0.0-rc.9
[2.0.0-rc.9]
Bug Fixes
5af1f5dec(#10851 by @lucasfernog) Fixesios buildfailing to build iOS app in CI when using an API key for automatic signing.
Dependencies
- Upgraded to
tauri-cli@2.0.0-rc.9
[2.0.0-rc.8]
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
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
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
fb6bf3142(#10763 by @rdlabo) Update plugin template Android code to match documentation on Android package ID usage.
Dependencies
- Upgraded to
tauri-cli@2.0.0-rc.8
Breaking Changes
073bb4f45(#10772 by @lucasfernog) Removed the deprecatedwebview_fixed_runtime_pathconfig option, use thewebview_install_modeinstead.
[2.0.0-rc.7]
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
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
f4d5241b3(#10731 by @amrbashir) Update documentation icon path.
Dependencies
- Upgraded to
tauri-cli@2.0.0-rc.7
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]
New Features
da381e07f(#10696 by @lucasfernog) Inject configured resources on mobile apps.
Bug Fixes
1a60822a4(#10699 by @lucasfernog) Changed theaddcommand to use a version requirement that matches the CLI's stable and prerelease numbers.
Dependencies
- Upgraded to
tauri-cli@2.0.0-rc.6
[2.0.0-rc.5]
New Features
8d148a9e2(#10634 by @anatawa12) Custom sign command with object notation for whitespaces in the command path and arguments.
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
- Upgraded to
tauri-cli@2.0.0-rc.5
[2.0.0-rc.4]
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
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
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.41c7a6646(#10572 by @lucasfernog) Exit with code 1 if a panic occurs when running the CLI withbun.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.
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
- Upgraded to
tauri-cli@2.0.0-rc.4
[2.0.0-rc.3]
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
f5dfc0280(#10533 by @FabianLars) Fixed an issue causingtauri ios initto fail ifiOS.minimumSystemVersionwas not configured explicitly.
Dependencies
- Upgraded to
tauri-cli@2.0.0-rc.3
[2.0.0-rc.2]
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
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
2e8ab7bac(#10481 by @lucasfernog) Migration from v1 to v2 now adds the updater plugin when it is active.
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
- Upgraded to
tauri-cli@2.0.0-rc.2
[2.0.0-rc.1]
Bug Fixes
fb1933f17(#10467 by @lucasfernog) Fixes runningandroid dev --open.206914fe8(#10466 by @lucasfernog) Fixes runningadb reversein Node.js context.
Dependencies
- Upgraded to
tauri-cli@2.0.0-rc.1
[2.0.0-rc.0]
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
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
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
- Upgraded to
tauri-cli@2.0.0-rc.0
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.23]
Dependencies
- Upgraded to
tauri-cli@2.0.0-beta.23
[2.0.0-beta.22]
New Features
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
-
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
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
- Upgraded to
tauri-cli@2.0.0-beta.22
[2.0.0-beta.21]
New Features
Enhancements
f44a2ec47(#10030) Enhance the plugin template to includepermissions/default.tomland default capabilities file for the example application.
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
Dependencies
- Upgraded to
tauri-cli@2.0.0-beta.21 f955f7b49(#9929) Switch fromdirs_nexttodirsasdirs_nextis now unmaintained whiledirsis
Breaking Changes
911242f09(#9883) Move updater target frombundle > targetsto a separate fieldbundle > createUpdaterArtifacts
[2.0.0-beta.20]
Dependencies
- Upgraded to
tauri-cli@2.0.0-beta.20
[2.0.0-beta.19]
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
8b032c3cf(#9896) Add a blank LaunchScreen.storyboard to the iOS project init template to pass the App Store validation.9970d88be(#9892) Update to latest gradle.
What's Changed
Dependencies
- Upgraded to
tauri-cli@2.0.0-beta.19
Breaking Changes
265c23886(#9375) Avoid renaming main binary to product name and perserve the name generated by cargo.1df5cdeb0(#9858) Usetauri.conf.json > identifierto set thePackageNamein Android andBundleIdin iOS.
[2.0.0-beta.18]
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
- Upgraded to
tauri-cli@2.0.0-beta.18
[2.0.0-beta.17]
Dependencies
- Upgraded to
tauri-cli@2.0.0-beta.17
[2.0.0-beta.16]
Bug Fixes
Dependencies
- Upgraded to
tauri-cli@2.0.0-beta.16
[2.0.0-beta.15]
Dependencies
- Upgraded to
tauri-cli@2.0.0-beta.15
[2.0.0-beta.14]
Enhancements
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
- Upgraded to
tauri-cli@2.0.0-beta.14
[2.0.0-beta.13]
Bug Fixes
73c1c2d33(#9457) Gracefully handle Non-UTF8 files when usingtauri migrate9331435a5(#9412) Fixtauri infocrashing when Node.js is not installed.
What's Changed
Dependencies
- Upgraded to
tauri-cli@2.0.0-beta.13
[2.0.0-beta.12]
New Features
93e0e1392Support specifying a version fortauri addsubcommand, for example:tauri add window-state@2.0.0-beta.2
Dependencies
- Upgraded to
tauri-cli@2.0.0-beta.12
[2.0.0-beta.11]
Enhancements
ac76a22f3(#9183) Allow empty responses fordevUrl,beforeDevCommandandbeforeBuildCommandsquestions intauri init.b525ddadf(#9237)opensslis no longer a required dependency on macOS.
Dependencies
- Upgraded to
tauri-cli@2.0.0-beta.11
[2.0.0-beta.10]
New Features
Dependencies
- Upgraded to
tauri-cli@2.0.0-beta.10
[2.0.0-beta.9]
Bug Fixes
c3ea3a2b7(#9126) Fix bundling whenplugins > updater > windows > installerArgsare set intauri.conf.json
Dependencies
- Upgraded to
tauri-cli@2.0.0-beta.9
[2.0.0-beta.8]
Enhancements
Dependencies
- Upgraded to
tauri-cli@2.0.0-beta.8
[2.0.0-beta.7]
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
- Upgraded to
tauri-cli@2.0.0-beta.7
[2.0.0-beta.6]
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
Dependencies
- Upgraded to
tauri-cli@2.0.0-beta.6
[2.0.0-beta.5]
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
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
Bug Fixes
Dependencies
- Upgraded to
tauri-cli@2.0.0-beta.5
[2.0.0-beta.4]
Bug Fixes
Dependencies
- Upgraded to
tauri-cli@2.0.0-beta.4
Breaking Changes
a76fb118(#8950) Changed the capability format to allow configuring bothremote: { urls: Vec<String> }andlocal: bool (default: true)instead of choosing one on thecontextfield.
[2.0.0-beta.3]
Enhancements
Dependencies
- Upgraded to
tauri-cli@2.0.0-beta.3
[2.0.0-beta.2]
Enhancements
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
- Upgraded to
tauri-cli@2.0.0-beta.2
[2.0.0-beta.1]
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
- Upgraded to
tauri-cli@2.0.0-beta.1
[2.0.0-beta.0]
New Features
7fcc0bcd(#8490) Add plugin initialization rust code when usingtauri add1878766f(#8667) Migrate the allowlist config to the new capability file format.
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
Dependencies
- Upgraded to
tauri-cli@2.0.0-beta.0
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.21]
New Features
27bad32d(#7798) Addfilesobject on thetauri > bundle > macOSconfiguration option.0ec28c39(#8529) Include tauri-build on the migration script.
Enhancements
Bug Fixes
4f73057e(#8486) PreventInvalid target triplewarnings and correctly setTAURI_ENV_vars when target triple contains 4 components.
Dependencies
- Upgraded to
tauri-cli@2.0.0-alpha.21
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]
Dependencies
- Upgraded to
tauri-cli@2.0.0-alpha.20
[2.0.0-alpha.19]
Dependencies
- Upgraded to
tauri-cli@2.0.0-alpha.19
[2.0.0-alpha.18]
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
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
- Upgraded to
tauri-cli@2.0.0-alpha.18
[2.0.0-alpha.17]
Enhancements
c6c59cf2Pull changes from Tauri 1.5 release.
Dependencies
- Upgraded to
tauri-cli@2.0.0-alpha.17
Breaking Changes
[2.0.0-alpha.16]
New Features
8b166e9b(#7949) Add--no-dev-server-waitoption to skip waiting for the dev server to start when usingtauri dev.
Dependencies
- Upgraded to
tauri-cli@2.0.0-alpha.16
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]
New Features
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
- Upgraded to
tauri-cli@2.0.0-alpha.15
[2.0.0-alpha.14]
Dependencies
- Upgraded to
tauri-cli@2.0.0-alpha.14
Breaking Changes
[2.0.0-alpha.13]
Dependencies
- Upgraded to
tauri-cli@2.0.0-alpha.13
Breaking Changes
4cb51a2d(#7779) The custom protocol on Windows now uses thehttpscheme instead ofhttps.974e38b4(#7744) Renamed theplugin addcommand toadd.
[2.0.0-alpha.12]
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
- Upgraded to
tauri-cli@2.0.0-alpha.12
[2.0.0-alpha.11]
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
fbeb5b91(#7170) Update migrate command to update the configuration CSP to includeipc:on theconnect-srcdirective, needed by the new IPC using custom protocols.
Dependencies
- Upgraded to
tauri-cli@2.0.0-alpha.11
[2.0.0-alpha.10]
New Features
7e5905ae(#7023) Addedtauri plugin addcommand to add a plugin to the Tauri project.b0f94775(#7008) Addedmigratecommand.
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
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]
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.2841f49aea(#6659) Update tauri-mobile to fix running ADB scripts.6d1fa49f(#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.d48aaa15(#6894) Add Cargo manifest files for the plugin example templates.e1e85dc2(#6925) Removed the allowlist configuration.
[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]
- 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.
- Readd the Cargo.toml file to the plugin template.
[2.0.0-alpha.6]
- Use Ubuntu 20.04 to compile the CLI, increasing the minimum libc version required.
- Automatically enable the
rustls-tlstauri feature on mobile andnative-tlson desktop ifrustls-tlsis not enabled.
[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.
[2.0.0-alpha.4]
- Fix android project build crashing when using
pnpmcaused by extra--. - Fixes the Android build gradle plugin implementation on Windows.
- Update
napi-rsdependencies to latest to fix CLI hanging up forever.
[2.0.0-alpha.3]
- Added
plugin android addandplugin ios addcommands to add mobile plugin functionality to existing projects. - Add commands to add native Android and iOS functionality to plugins.
- 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]
- 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.
- Fix target directory detection when compiling for Android.
[2.0.0-alpha.1]
- Fixes running on device using Xcode 14.
- Improve local IP address detection with user selection.
[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!
[1.5.11]
Bug Fixes
Dependencies
- Upgraded to
tauri-cli@1.5.11
[1.5.10]
Bug Fixes
b0f27814(#8776) Fixfail to rename appwhen using--profile dev.0bff8c32(#8697) Fix the built-in dev server failing to serve files when URL had queries?and other url components.67d7877f(#8520) The cli now also watches cargo workspace members if the tauri folder is the workspace root.
Dependencies
- Upgraded to
tauri-cli@1.5.10
[1.5.9]
Bug Fixes
0a2175ea(#8439) Expand glob patterns in workspace member paths so the CLI would watch all matching pathhs.
Dependencies
- Upgraded to
tauri-cli@1.5.9
[1.5.8]
Dependencies
- Upgraded to
tauri-cli@1.5.8
[1.5.7]
Bug Fixes
1d5aa38a(#8162) Fixes errors on command output, occuring when the output stream contains an invalid UTF-8 character, or ends with a multi-bytes UTF-8 character.f26d9f08(#8263) Fixes an issue in the NSIS installer which caused the uninstallation to leave empty folders on the system if theresourcesfeature was used.92bc7d0e(#8233) Fixes an issue in the NSIS installer which caused the installation to take much longer than expected when manyresourceswere added to the bundle.
Dependencies
- Upgraded to
tauri-cli@1.5.7
[1.5.6]
Bug Fixes
5264e41d(#8082) Downgradedrust-minisignto0.7.3to fix signing updater bundles with empty passwords.
Dependencies
- Upgraded to
tauri-cli@1.5.6
[1.5.5]
Enhancements
Bug Fixes
Dependencies
- Upgraded to
tauri-cli@1.5.5
[1.5.4]
Dependencies
- Upgraded to
tauri-cli@1.5.4
[1.5.3]
Dependencies
- Upgraded to
tauri-cli@1.5.3
[1.5.2]
Dependencies
- Upgraded to
tauri-cli@1.5.2
[1.5.1]
Bug Fixes
Dependencies
- Upgraded to
tauri-cli@1.5.1
[1.5.0]
New Features
Enhancements
Bug Fixes
dad4f54e(#7277) Removed the automatic version check of the CLI that ran aftertauricommands which caused various issues.
Dependencies
- Upgraded to
tauri-cli@1.5.0
[1.4.0]
New Features
0ddbb3a1(#7015) Provide prebuilt CLIs for Windows ARM64 targets.35cd751a(#5176) Added thedesktop_templateoption ontauri.conf.json > tauri > bundle > deb.6c5ade08(#4537) Addedtauri completionsto generate shell completions scripts.e092f799(#6887) Addnsis > templateoption to specify custom NSIS installer template.
Enhancements
d75c1b82(#7181) Print a useful error whenupdaterbundle target is specified without an updater-enabled target.52474e47(#7141) Enhance injection of Cargo features.2659ca1a(#6900) Addrustlsas default Cargo feature.
Bug Fixes
3cb7a3e6(#6997) Fix built-in devserver adding hot-reload code to non-html files.fb7ef8da(#6667) Fix nodejs binary regex when0is in the version name, for examplenode-201253bbf7(#7013) Fixes Cargo.toml feature rewriting.
[1.3.1]
-
Correctly escape XML for resource files in WiX bundler.
-
Added the following languages to the NSIS bundler:
-
Spanish -
SpanishInternational -
Bumped due to a bump in tauri-bundler.
- Bumped due to a bump in cli.rs.
-
422b4817 Add Spanish and SpanishInternational languages (#6871) on 2023-05-06
-
Correctly escape arguments in NSIS script to fix bundling apps that use non-default WebView2 install modes.
[1.3.0]
- Add
--ciflag and respect theCIenvironment variable on thesigner generatecommand. In this case the default password will be an empty string and the CLI will not prompt for a value. - Fix Outdated Github Actions in the Plugin Templates
with-apiandbackend - Do not crash on Cargo.toml watcher.
- Fix crash when nodejs binary has the version in its name, for example
node-18 - Add
--pngoption for theiconcommand to generate custom icon sizes. - Skip the password prompt on the build command when
TAURI_KEY_PASSWORDenvironment variable is empty and the--ciargument is provided or theCIenvironment variable is set. - Fix
default-runnot deserialized. - Fixes HTML serialization removing template tags on the dev server.
- Use escaping on Handlebars templates.
- Add initial support for building
nsisbundles on non-Windows platforms. - Add
nsisbundle target - Remove default features from Cargo.toml template.
- Use Ubuntu 20.04 to compile the CLI, increasing the minimum libc version required.
[1.2.3]
- Pin
ignoreto=0.4.18.- adcb082b chore(deps): pin
ignoreto =0.4.18 on 2023-01-17
- adcb082b chore(deps): pin
[1.2.2]
- Detect SvelteKit and Vite for the init and info commands.
- Detect SolidJS and SolidStart for the init and info commands.
- Use older icon types to work around a macOS bug resulting in corrupted 16x16px and 32x32px icons in bundled apps.
[1.2.1]
- Fixes injection of Cargo features defined in the configuration file.
- 1ecaeb29 fix(cli): inject config feature flags when features arg is not provided on 2022-11-18
[1.2.0]
- Detect JSON5 and TOML configuration files in the dev watcher.
- Log dev watcher file change detection.
- Fix crash when nodejs binary has the version in its name, for example
node18or when running through deno. - Changed the project template to not enable all APIs by default.
[1.1.1]
- Fix wrong cli metadata that caused new projects (created through
tauri init) fail to build
[1.1.0]
- Allow adding
build > beforeBundleCommandin tauri.conf.json to run a shell command before the bundling phase. - Change
before_dev_commandandbefore_build_commandconfig value to allow configuring the current working directory. - Allow configuring the
before_dev_commandto force the CLI to wait for the command to finish before proceeding. - Check if the default build target is set in the Cargo configuration.
- Use
cargo metadatato detect the workspace root and target directory. - Prompt for
beforeDevCommandandbeforeBuildCommandintauri init. - Added support to configuration files in TOML format (Tauri.toml file).
- Automatically use any
.taurignorefile as ignore rules for dev watcher and app path finder. - Enable WiX FIPS compliance when the
TAURI_FIPS_COMPLIANTenvironment variable is set totrue. - Fixes dev watcher incorrectly exiting the CLI when sequential file updates are detected.
- Add
libcfield to Node packages. - Set the
MACOSX_DEPLOYMENT_TARGETenvironment variable with the configurationminimum_system_versionvalue. - Added
--no-watchargument to thedevcommand to disable the file watcher. - Validate updater signature matches configured public key.
[1.0.5]
- Correctly fill the architecture when building Debian packages targeting ARM64 (aarch64).
[1.0.4]
- Do not capture and force colors of
cargo buildoutput. - Reduce the amount of allocations when converting cases.
[1.0.3]
- Changed the app template to not set the default app menu as it is now set automatically on macOS which is the platform that needs a menu to function properly.
- Improved bundle identifier validation showing the exact source of the configuration value.
- Improve configuration deserialization error messages.
- Revert the
runcommand to run in a separate thread.- f65eb4f8 fix(cli.js): revert
runcommand to be nonblocking on 2022-07-04
- f65eb4f8 fix(cli.js): revert
- Skip the static link of the
vcruntime140.dllif theSTATIC_VCRUNTIMEenvironment variable is set tofalse. - The
TAURI_CONFIGenvironment variable now represents the configuration to be merged instead of the entire JSON. - Watch for Cargo workspace members in the
devfile watcher.
[1.0.2]
- Fixes a crash on the
signer signcommand.
[1.0.1]
- No longer adds the
pkg-configdependency to.debpackages when thesystemTrayis used. This only works with recent versions oflibappindicator-sys(including https://github.com/tauri-apps/libappindicator-rs/pull/38), so acargo updatemay be necessary if you create.debbundles and use the tray feature. - AppImage bundling will now prefer bundling correctly named appindicator library (including
.1version suffix). With a symlink for compatibility with the old naming. - Improve error message when
cargois not installed. - The app template now only sets the default menu on macOS.
- Warn if updater is enabled but not in the bundle target list.
- Check if target exists and is installed on dev and build commands.
- Fixes the covector configuration on the plugin templates.
- b8a64d01 fix(cli): add prepublish scripts to the plugin templates on 2022-06-19
- Set the binary name to the product name in development.
- Allow registering a
.gitignorefile to skip watching some project files and directories via theTAURI_DEV_WATCHER_IGNORE_FILEenvironment variable. - Fix shebang for
kill-children.sh. - Update plugin templates to use newer
tauri-apps/create-pull-requestGitHub action.- 07f90795 chore(cli): update plugin template tauri-apps/create-pull-request on 2022-06-19
- Use UNIX path separator on the init
$schemafield. - The
infocommand now can check the Cargo lockfile on workspaces. - Preserve the
Cargo.tomlformatting when the features array is not changed. - Change the updater signature metadata to include the file name instead of its full path.
- Validate bundle identifier as it must only contain alphanumeric characters, hyphens and periods.
[1.0.0]
[1.0.0-rc.16]
- Use the default window menu in the app template.
[1.0.0-rc.15]
- Removed the tray icon from the Debian and AppImage bundles since they are embedded in the binary now.
[1.0.0-rc.14]
- Set the
TRAY_LIBRARY_PATHenvironment variable to make the bundle copy the appindicator library to the AppImage. - Set the
APPIMAGE_BUNDLE_GSTREAMERenvironment variable to make the bundler copy additional gstreamer files to the AppImage. - Configure the AppImage bundler to copy the
/usr/bin/xdg-openbinary if it exists and the shellopenAPI is enabled. - Fixes multiple occurrences handling of the
bundlesandfeaturesarguments. - Log command output in real time instead of waiting for it to finish.
- Configure the
STATIC_VCRUNTIMEenvironment variable sotauri-buildstatically links it on the build command. - Use the
TAURI_TRAYenvironment variable to determine which package should be added to the Debiandependssection. Possible values areayatanaandgtk.
[1.0.0-rc.13]
- Check if
$CWD/src-tauri/tauri.conf.jsonexists before walking through the file tree to find the tauri dir in case the whole project is gitignored. - Statically link the Visual C++ runtime instead of using a merge module on the installer.
[1.0.0-rc.12]
- Properly fetch the NPM dependency information when using Yarn 2+.
[1.0.0-rc.11]
- Allow configuring the display options for the MSI execution allowing quieter updates.
[1.0.0-rc.10]
- Resolve binary file extension from target triple instead of compile-time checks to allow cross compilation.
- Fixes text overflow on
tauri devon Windows. - Improve CLI's logging output, making use of the standard rust
logsystem. - Don't override the default keychain on macOS while code signing.
-
- Remove startup delay in
tauri devcaused by checking for a newer cli version. The check is now done upon process exit.
- Remove startup delay in
- Add
TAURI_SKIP_UPDATE_CHECKenv variable to skip checking for a newer CLI version. - bbabc8cd fix(cli.rs): remove startup delay in
tauri dev(#3999) on 2022-04-29 - Fix
tauri infopanic when a package isn't installed. - Added
$schemasupport totauri.conf.json. - Breaking change: The
devcommand now reads the custom config file from CWD instead of the Tauri folder. - Fixes a Powershell crash when sending SIGINT to the dev command.
- Prevent building when the bundle identifier is the default
com.tauri.dev.
[1.0.0-rc.9]
- Exit CLI when Cargo returns a non-compilation error in
tauri dev. - Notify CLI update when running
tauri dev. - Kill the
beforeDevCommandand app processes if the dev command returns an error. - Fix
infocommand showing outdated text for latest versions. - Breaking change: Enable default Cargo features except
tauri/custom-protocolon the dev command. - Kill the
beforeDevCommandprocess recursively on Unix.
[1.0.0-rc.8]
- Allows the
tauri.conf.jsonfile to be git ignored on the path lookup function. - Remove
minimumSystemVersion: nullfrom the application template configuration. - Improve readability of the
infosubcommand output. - Fixes DMG bundling on macOS 12.3.
- Fixes resources bundling on Windows when the path is on the root of the Tauri folder.
[1.0.0-rc.6]
- Added
tspconfig option undertauri > bundle > windows, which enables Time-Stamp Protocol (RFC 3161) for the timestamping server under code signing on Windows if set totrue. - Added
i686-pc-windows-msvcto the prebuilt targets. - Change the
plugin inittemplates to use the newtauri::plugin::Buildersyntax.
[1.0.0-rc.5]
- Improve "waiting for your dev server to start" message.
- Do not panic if the updater private key password is wrong.
- Check the current folder before checking the directories on the app and tauri dir path lookup function.
- Fixes the signature of the
signer signcommand to not have duplicated short flags.
[1.0.0-rc.4]
- Change the
runfunction to take a callback and run asynchronously instead of blocking the event loop. - Improve error message when the dev runner command fails.
- Show full error message from
cli.rsinstead of just the outermost underlying error message. - Increase
tauri.conf.jsondirectory lookup depth to3and allow changing it with theTAURI_PATH_DEPTHenvironment variable. - Added
tauri-build,taoandwryversion to theinfocommand output.
[1.0.0-rc.3]
- Change default value for the
freezePrototypeconfiguration tofalse.
[1.0.0-rc.2]
- Fixes Tauri path resolution on projects without Git or a
.gitignorefile.
[1.0.0-rc.1]
- Fix
initcommand prompting for values even if the argument has been provided on the command line. - Fixes CLI freezing when running
light.exeon Windows without the--verboseflag. - Respect
.gitignoreconfiguration when looking for the folder with thetauri.conf.jsonfile.
[1.0.0-rc.0]
- Do not force Tauri application code on
src-taurifolder and use a glob pattern to look for a subfolder with atauri.conf.jsonfile. - Added CommonJS output to the
distfolder. - Fixes
.icoicon generation. - Automatically unplug
@tauri-apps/cliin yarn 2+ installations to fix the download of the rust-cli. - Read
package.jsonand check for atauriobject containing theappPathstring, which points to the tauri crate path. - Removed the
iconcommand, now exposed as a separate package, see https://github.com/tauri-apps/tauricon.