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 the TAURI_FRONTEND_PATH
and the TAURI_APP_PATH
environment variables respectively.tauri-cli@2.0.4
eda5713ea
(#11242 by @alex-sandri) Add Italian
to supported NSIS installer languagesb3563e3d6
(#11304 by @amrbashir) Add Deno support in tauri-cli operations.d609bef9f
(#11314 by @amrbashir) Fix android invalid proguard file when using an identifier
that contains a component that is a reserved kotlin keyword, like in
, class
, etc069c05e44
(#11315 by @amrbashir) Fix CLI crashing and failing to find a .ico
file when bundle > icon
option is using globs and doesn't have a string that ends with .ico
.tauri-cli@2.0.3
4475fbb50
(#11208 by @lucasfernog) Update cargo-mobile2 to 0.17.3, fixing lib name validation.a49a19ffa
(#11218) Fix bundling appimage
, deb
and rpm
bundles failing to open when using mainBinaryName
with spaces.tauri-cli@2.0.2
tauri-cli@2.0.1
637285790
Promote to v2 stable!tauri-cli@2.0.0
a08e6ffa6
(#11185 by @lucasfernog) Enhance port forwarding on android dev
to be more resilient and tolerate delays when booting up devices.6cfe7edf6
(#11186 by @lucasfernog) Retain logger verbosity on the android-studio-script
and xcode-script
commands.60a5aea53
(#11181 by @lucasfernog) Set the TRUNK_SERVE_ADDRESS
environment variable when running on iOS physical devices to support Trunk.f5d61822b
(#11184 by @lucasfernog) Fix iOS application not including the provided capabilities (entitlements).tauri-cli@2.0.0-rc.18
a944b9b05
(#11118 by @amrbashir) Add --github-workflows
flag for tauri plugin new/init
.f57a729cd
(#11039 by @amrbashir) Add tauri inspect wix-upgrade-code
to print default Upgrade Code for your MSI installer derived from productName
.62b52f60a
(#11064 by @amrbashir) Fix tauri add
failing to add NPM depenency with npm
package manager.56e087471
(#11100 by @lucasfernog) Fix iOS xcode-script usage with bun
.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.tauri-cli@2.0.0-rc.17
a944b9b05
(#11118 by @amrbashir) tauri plugin init/new
will no longer generate a .github
directory with workflows by default, instead use the new --github-workflows
flag.9bb8fc618
(#11030 by @amrbashir) Add --no-example
flag for tauri plugin new
and tauri plugin init
to disable creation of an example project.tauri-cli@2.0.0-rc.16
5a0e922d4
(#11007 by @lucasfernog) Automatically discover the src-tauri/src/main.rs
binary when it is not explicitly defined in the Cargo manifest bin array.94e9d476e
(#11011 by @amrbashir) Fix main_binary_name
in custom wix and nsis templates including .exe
tauri-cli@2.0.0-rc.15
6c5340f8b
(#11004 by @lucasfernog) Added the log
plugin 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 -vv
is provided to the ios dev
command.tauri-cli@2.0.0-rc.13
a5848af65
(#10944 by @lucasfernog) Synchronize app version (tauri.conf.json > version
or Cargo.toml > package > version
) with the CFBundleVersion
and CFBundleShortVersionString
Info.plist values.tauri-cli@2.0.0-rc.12
tauri-cli@2.0.0-rc.11
9c9644d15
(#10845 by @lucasfernog) Enhance iOS library validation, checking libs built with link time optimization.b42683592
(#10847 by @lucasfernog) Fixes ios build --target [aarch64-sim | x86_64]
failing to generate the app bundle for the iOS simulator.tauri-cli@2.0.0-rc.10
6faa03276
(#10854 by @lucasfernog) Fixes iOS code signing failing on CI due to a missing development certificate.tauri-cli@2.0.0-rc.9
5af1f5dec
(#10851 by @lucasfernog) Fixes ios build
failing to build iOS app in CI when using an API key for automatic signing.tauri-cli@2.0.0-rc.9
91e9e784a
(#10729 by @amrbashir) Add plugins information in tauri info
output09e9dc1aa
(#10752 by @lucasfernog) Allow Xcode to manage iOS code sign and provisioning profiles by default.
On CI, the APPLE_API_KEY
, APPLE_API_ISSUER
and APPLE_API_KEY_PATH
environment variables must be provided for authentication.3a4972b39
(#10793 by @lucasfernog) Include architecture in the tauri info
output.fd68b7fde
(#10785 by @lucasfernog) Remove the .cargo/config
file creation that used to fix mobile build caches.f67a9eb6d
(#10802 by @lucasfernog) Synchronize identifier, development team and lib name with the iOS Xcode project.83ed090bf
(#10790 by @lucasfernog) Do not quit ios dev
and android dev
process 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 the add
command NPM version specifier for known plugins from 2.0.0-rc
(unknown version requirement) to ^2.0.0-rc
.84070bae9
(#10792 by @lucasfernog) Fix tauri plugin ios init
not generating the iOS folder.edb2ca31f
(#10794 by @lucasfernog) Migrate v1 plugins NPM packages.9718dc9e8
(#10791 by @lucasfernog) Reintroduce the targetSdk
value in the Android application template.fb6bf3142
(#10763 by @rdlabo) Update plugin template Android code to match documentation on Android package ID usage.tauri-cli@2.0.0-rc.8
073bb4f45
(#10772 by @lucasfernog) Removed the deprecated webview_fixed_runtime_path
config option, use the webview_install_mode
instead.da8c9a7d3
(#10669 by @lucasfernog) Modify both ExportOptions.plist and project.pbxproj to reflect changes for the IOS_CERTIFICATE
, IOS_CERTIFICATE_PASSWORD
and IOS_MOBILE_PROVISION
environment variables.793ee0531
(#10700 by @lucasfernog) Allow hyphens and underscores on app identifiers.da8c9a7d3
(#10669 by @lucasfernog) Synchronize Xcode project changes with the ExportOptions.plist file so ios build
calls can work with code signing changes made in Xcode.f4d5241b3
(#10731 by @amrbashir) Update documentation icon path.tauri-cli@2.0.0-rc.7
da8c9a7d3
(#10669 by @lucasfernog) The IOS_CERTIFICATE
, IOS_CERTIFICATE_PASSWORD
and IOS_MOBILE_PROVISION
environment variables are now read by the ios build
command instead of ios init
.da381e07f
(#10696 by @lucasfernog) Inject configured resources on mobile apps.1a60822a4
(#10699 by @lucasfernog) Changed the add
command to use a version requirement that matches the CLI's stable and prerelease numbers.tauri-cli@2.0.0-rc.6
8d148a9e2
(#10634 by @anatawa12) Custom sign command with object notation for whitespaces in the command path and arguments.8ae52a615
(#10676 by @rdlabo) Change plugin template call to register_ios_plugin
params 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.tauri-cli@2.0.0-rc.5
78e22bedc
(#10602 by @amrbashir) Add necessary options to AndroidManifest.xml
in android template to support AndroidTV.3bec7b159
(#10544 by @lucasfernog) v1 migrate script now migrates Svelte and Vue.js code.bba1a4419
(#10457 by @mmvanheusden) Added --no-fmt
option to the add
command to skip formatting the code after applying changes.71d00646a
(#10504 by @fu050409) Improve the init
command behavior by detecting the project NPM package manager.8deb1966a
(#10652 by @lucasfernog) Infer macOS codesign identity from the APPLE_CERTIFICATE
environment 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 add
and add
commands 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.f712f31d1
(#10639 by @lucasfernog) Include notarization error output in the error message if it fails.9f75d0622
(#10604 by @lucasfernog) Fixes android dev
port forward failing under some conditions, add better logging and error handling.2d47352a0
(#10418 by @samkearney) CLI commands will now consistently search for the app_dir
(the directory containing package.json
) from the current working directory of the command invocation.f4cd68f04
(#10600 by @lucasfernog) Fixes android dev
not working when using the builtin dev server.41c7a6646
(#10572 by @lucasfernog) Exit with code 1 if a panic occurs when running the CLI with bun
.9089d9763
(#10605 by @lucasfernog) Fixes [android|ios] build --config <config>
failing to resolve.712f1049f
(#10569 by @lucasfernog) Fixes running ios dev
and ios build
using bun
.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 in Cargo.toml
f3837d5b9
(#10539 by @lucasfernog) Improve migration tooling by supporting TOML configs, handle nulls and properly check for updater migration.794cf8234
(#10571 by @lucasfernog) Change iOS template default export method from deprecated development
to debugging
.bfc49cc7a
(#10558 by @ahqsoftwares) Remove targetSdk from gradle filestauri-cli@2.0.0-rc.4
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.f5dfc0280
(#10533 by @FabianLars) Fixed an issue causing tauri ios init
to fail if iOS.minimumSystemVersion
was not configured explicitly.tauri-cli@2.0.0-rc.3
8dc81b6cc
(#10496 by @lucasfernog) Added bundle > ios > template
configuration option for custom Xcode project YML Handlebars template using XcodeGen.02c00abc6
(#10495 by @lucasfernog) Added bundle > ios > minimumSystemVersion
configuration option.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.2e8ab7bac
(#10481 by @lucasfernog) Migration from v1 to v2 now adds the updater plugin when it is active.a3cd9779a
(#10480 by @lucasfernog) Removed the [android|ios] open
command. It is recommended to use [android|ios] dev --open
or [android|ios] build --open
instead.tauri-cli@2.0.0-rc.2
fb1933f17
(#10467 by @lucasfernog) Fixes running android dev --open
.206914fe8
(#10466 by @lucasfernog) Fixes running adb reverse
in Node.js context.tauri-cli@2.0.0-rc.1
d5511c311
(#10395) Added migration from 2.0.0-beta
to 2.0.0-rc
.a5bfbaa62
(#9962) Added bundle > iOS > frameworks
configuration to define a list of frameworks that are linked to the Xcode project when it is generated.a0841d509
(#10421) Changes the default behavior of the dev
command to only expose to localhost (127.0.0.1
) instead of the default system interface.289ae5555
(#10386) Re-enable TLS checks that were previously disabled to support an insecure HTTPS custom protocol on Android which is no longer used.tauri-cli@2.0.0-rc.0
758d28c8a
(#10390) Core plugin permissions are now prefixed with core:
, the core:default
permission set can now be used and the core
plugin name is reserved.
The tauri migrate
tool will automate the migration process, which involves prefixing all app
, event
, image
, menu
, path
, resources
, tray
, webview
and window
permissions with core:
.7ba67b4ac
(#10437) ios dev
and android dev
now 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 the TAURI_DEV_HOST
environment variable instead of checking if the target is iOS or Android (previous recommendation).tauri-cli@2.0.0-beta.23
7c7fa0964
(#9963 by @lucasfernog) Added --method
argument for ios build
to select the export options' method.7c7fa0964
(#9963 by @lucasfernog) Setup iOS signing by reading IOS_CERTIFICATE
, IOS_CERTIFICATE_PASSWORD
and IOS_MOBILE_PROVISION
environment variables.c01e87ad4
(#10198 by @amrbashir) Enhance tauri migrate
to also migrate variables like appWindow
:
import { appWindow } from '@tauri-apps/api/window'
will become:
import { getCurrentWebviewWindow } from '@tauri-apps/api/webviewWindow'
const appWindow = getCurrentWebviewWindow()
94136578b
(#10186 by @amrbashir) Fix migrate
command, migrating incorrect permissions for clipboard
.c01e87ad4
(#10198 by @amrbashir) Fix tauri migrate
incorrectly migrating @tauri-apps/api/tauri
module to just core
and @tauri-apps/api/window
to just webviewWindow
.15e125996
(#10234 by @amrbashir) Fix cli failing to detect the correct cargo target directory when using cargo --target-dir
flag with tauri build
or tauri dev
tauri-cli@2.0.0-beta.22
f44a2ec47
(#10030) Enhance the plugin template to include permissions/default.toml
and default capabilities file for the example application.019a74e97
(#9931) Fix wrong migration of clipboard
and globalShortcut
modules27838365a
(#10135) Fix parsing of cargo profile when using --profile=<profile>
syntax.79542f4d4
(#10039) Fixed an issue that prevented tauri icon
from 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 dependency libayatana-appindicator3.so.1
for 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.tauri-cli@2.0.0-beta.21
f955f7b49
(#9929) Switch from dirs_next
to dirs
as dirs_next
is now unmaintained while dirs
is911242f09
(#9883) Move updater target from bundle > targets
to a separate field bundle > createUpdaterArtifacts
tauri-cli@2.0.0-beta.20
8a1ae2dea
(#9843) Added an option to use a Xcode project for the iOS plugin instead of a plain SwiftPM project.9e4b2253f
(#9734) Add tauri bundle
subcommand which runs the bundle phase only, best paired with tauri build --no-bundle
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.tauri-cli@2.0.0-beta.19
265c23886
(#9375) Avoid renaming main binary to product name and perserve the name generated by cargo.1df5cdeb0
(#9858) Use tauri.conf.json > identifier
to set the PackageName
in Android and BundleId
in iOS.beda18bce
(#9855) Fixed an issue that caused tauri add
to fail for multiple rust-only and platform-specific plugins.4a33bc6a6
(#9553) Fixes pnpm
detection when initializing and running a mobile project.tauri-cli@2.0.0-beta.18
tauri-cli@2.0.0-beta.17
tauri-cli@2.0.0-beta.16
tauri-cli@2.0.0-beta.15
e64b8f1dc
(#9479) Upgrade heck
to v0.5 to better support Chinese and Japanese product name, because Chinese do not have word separation.aaa332c6e
(#9540) Fix tauri migrate
trying to migrate to a non-existing plugin.e64b8f1dc
(#9479) Fixed an issue causing the build.runner
and build.features
configs to not take effect.tauri-cli@2.0.0-beta.14
73c1c2d33
(#9457) Gracefully handle Non-UTF8 files when using tauri migrate
9331435a5
(#9412) Fix tauri info
crashing when Node.js is not installed.tauri-cli@2.0.0-beta.13
93e0e1392
Support specifying a version for tauri add
subcommand, for example: tauri add window-state@2.0.0-beta.2
tauri-cli@2.0.0-beta.12
ac76a22f3
(#9183) Allow empty responses for devUrl
, beforeDevCommand
and beforeBuildCommands
questions in tauri init
.b525ddadf
(#9237) openssl
is no longer a required dependency on macOS.tauri-cli@2.0.0-beta.11
tauri-cli@2.0.0-beta.10
c3ea3a2b7
(#9126) Fix bundling when plugins > updater > windows > installerArgs
are set in tauri.conf.json
tauri-cli@2.0.0-beta.9
tauri-cli@2.0.0-beta.8
c68218b36
(#8990) Add --no-bundle
flag for tauri build
command to skip bundling. Previously none
was used to skip bundling, it will now be treated as invalid format and a warning will be emitted instead.tauri-cli@2.0.0-beta.7
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 running tauri android init
.tauri-cli@2.0.0-beta.6
06d63d67
(#8827) Add new subcommands for managing permissions and cababilities:
tauri permission new
tauri permission add
tauri permission rm
tauri permission ls
tauri capability new
b9e6a018
(#8937) The custom-protocol
Cargo 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")]
.tauri-cli@2.0.0-beta.5
tauri-cli@2.0.0-beta.4
a76fb118
(#8950) Changed the capability format to allow configuring both remote: { urls: Vec<String> }
and local: bool (default: true)
instead of choosing one on the context
field.tauri-cli@2.0.0-beta.3
aa06a053
(#8810) Fix tauri plugin android init
printing invalid code that has a missing closing "
.3cee26a5
(#8865) On Windows, fixed tauri info
fails 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 --config
argument not accepting file paths.baca704d
(#8768) Do not migrate updater configuration if the active flag is set to false.tauri-cli@2.0.0-beta.2
4e101f80
(#8756) Moved the capability JSON schema to the src-tauri/gen
folder so it's easier to track changes on the capabilities
folder.4e101f80
(#8756) Update app and plugin templates following generated files change from tauri-build and tauri-plugin.tauri-cli@2.0.0-beta.1
7fcc0bcd
(#8490) Add plugin initialization rust code when using tauri add
1878766f
(#8667) Migrate the allowlist config to the new capability file format.d6c7568c
(#8720) Add files
option to the AppImage Configuration.b3209bb2
(#8688) Ignore global .gitignore
when searching for tauri directory.e691208e
(#7837) Prevent unneeded double Cargo.toml rewrite on dev
and build
.f492efd7
(#8666) Update app and plugin template following the new access control permission model.tauri-cli@2.0.0-beta.0
8de308d1
(#8723) Restructured Tauri config per RFC#5:
package.productName
, package.version
and tauri.bundle.identifier
fields to the top-level.package
object.tauri
object to app
.tauri.bundle
object to the top-level.build.distDir
field to frontendDist
.build.devPath
field to devUrl
and will no longer accepts paths, it will only accept URLs.tauri.pattern
to app.security.pattern
.tauri.bundle.updater
object, and its fields have been moved to the updater plugin under plugins.updater
object.build.withGlobalTauri
to app.withGlobalTauri
.tauri.bundle.dmg
object to bundle.macOS.dmg
.tauri.bundle.deb
object to bundle.linux.deb
.tauri.bundle.appimage
object to bundle.linux.appimage
.bundle.license
and bundle.licenseFile
.AppUrl
to FrontendDist
and refactored its variants to be more explicit.27bad32d
(#7798) Add files
object on the tauri > bundle > macOS
configuration option.0ec28c39
(#8529) Include tauri-build on the migration script.4f73057e
(#8486) Prevent Invalid target triple
warnings and correctly set TAURI_ENV_
vars when target triple contains 4 components.tauri-cli@2.0.0-alpha.21
4f73057e
(#8486) Removed TAURI_ENV_PLATFORM_TYPE
which will not be set for CLI hook commands anymore, use TAURI_ENV_PLATFORM
instead. Also Changed value of TAURI_ENV_PLATFORM
and TAURI_ENV_ARCH
values to match the target triple more accurately:
darwin
and androideabi
are no longer replaced with macos
and android
in TAURI_ENV_PLATFORM
.i686
and i586
are no longer replaced with x86
in TAURI_ENV_ARCH
.tauri-cli@2.0.0-alpha.20
tauri-cli@2.0.0-alpha.19
50f7ccbb
(#6444) Add suport to SVG input image for the tauri icon
command.25e5f91d
(#8200) Merge src-tauri/Info.plist
and src-tauri/Info.ios.plist
with the iOS project plist file.88dac86f
(#8149) Ensure tauri add
prints rust_code
with plugin name in snake case.977d0e52
(#8202) Fixes android build --open
and ios build --open
IDE 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.tauri-cli@2.0.0-alpha.18
c6c59cf2
Pull changes from Tauri 1.5 release.tauri-cli@2.0.0-alpha.17
8b166e9b
(#7949) Add --no-dev-server-wait
option to skip waiting for the dev server to start when using tauri dev
.tauri-cli@2.0.0-alpha.16
8b166e9b
(#7949) Changed a number of environment variables used by tauri CLI for consistency and clarity:
TAURI_PRIVATE_KEY
-> TAURI_SIGNING_PRIVATE_KEY
TAURI_KEY_PASSWORD
-> TAURI_SIGNING_PRIVATE_KEY_PASSWORD
TAURI_SKIP_DEVSERVER_CHECK
-> TAURI_CLI_NO_DEV_SERVER_WAIT
TAURI_DEV_SERVER_PORT
-> TAURI_CLI_PORT
TAURI_PATH_DEPTH
-> TAURI_CLI_CONFIG_DEPTH
TAURI_FIPS_COMPLIANT
-> TAURI_BUNDLER_WIX_FIPS_COMPLIANT
TAURI_DEV_WATCHER_IGNORE_FILE
-> TAURI_CLI_WATCHER_IGNORE_FILENAME
TAURI_TRAY
-> TAURI_LINUX_AYATANA_APPINDICATOR
TAURI_APPLE_DEVELOPMENT_TEAM
-> APPLE_DEVELOPMENT_TEAM
4caa1cca
(#7990) The tauri plugin
subcommand is receving a couple of consitency and quality of life improvements:
tauri plugin android/ios add
command to tauri plugin android/ios init
to match the tauri plugin init
command.-n/--name
argument from the tauri plugin init
, tauri plugin android/ios init
, and is now parsed from the first positional argument.tauri plugin new
to create a plugin in a new directory.tauri plugin init
to initalize a plugin in an existing directory (defaults to current directory) instead of creating a new one.tauri plugin init
to NOT generate mobile projects by default, you can opt-in to generate them using --android
and --ios
flags or --mobile
flag or initalize them later using tauri plugin android/ios init
.8b166e9b
(#7949) Removed checking for a new version of the CLI.
ebcc21e4
(#8057) Renamed the beforeDevCommand, beforeBuildCommand and beforeBundleCommand hooks environment variables from TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG
to TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG
to differentiate the prefix with other CLI environment variables.
100d9ede
(#7802) Properly read platform-specific configuration files for mobile targets.228e5a4c
(#7902) Fixes icon
command not writing files to the correct Android project folders.tauri-cli@2.0.0-alpha.15
tauri-cli@2.0.0-alpha.14
tauri-cli@2.0.0-alpha.13
4cb51a2d
(#7779) The custom protocol on Windows now uses the http
scheme instead of https
.974e38b4
(#7744) Renamed the plugin add
command to add
.b75a1210
(#7762) Fixes a regression on alpha.11 where iOS logs aren't being displayed when using ios dev
with a real device.8faa5a4a
(#7765) Ensure asset directory exists on the iOS project.tauri-cli@2.0.0-alpha.12
522de0e7
(#7447) Expose an environment variable TAURI_${PLUGIN_NAME}_PLUGIN_CONFIG
for each defined plugin configuration object.c7dacca4
(#7446) Expose the TAURI_IOS_PROJECT_PATH
and TAURI_IOS_APP_NAME
environment variables when using ios
commands.aa94f719
(#7445) Generate empty entitlements file for the iOS project.d010bc07
(#7554) Set the iOS project PRODUCT_NAME value to the string under tauri.conf.json > package > productName
if it is set.8af24974
(#7561) The migrate
command now automatically reads all JavaScript files and updates @tauri-apps/api
import paths and install the missing plugins.fbeb5b91
(#7170) Update migrate command to update the configuration CSP to include ipc:
on the connect-src
directive, needed by the new IPC using custom protocols.tauri-cli@2.0.0-alpha.11
7e5905ae
(#7023) Added tauri plugin add
command to add a plugin to the Tauri project.b0f94775
(#7008) Added migrate
command.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-install
flag for tauri android init
and tauri ios init
to skip installing needed rust targets vie rustup.1ed2600d
(#6771) Set current directory to tauri directory before reading config file.4847b87b
(#7209) Fix tauri (android|ios) (dev|build)
failing when using npx tauri
655c714e
(#7240) Fixes panic when exiting the ios dev
command with Ctrl + C.6252380f
(#7241) Exit beforeDevCommand
process if the android or iOS dev
command fails.19cd0e49
(#6811) Add key.properties
file to android's .gitignore
.124d5c5a
(#6788) On mobile, fix regression introduced in tauri-cli
version 2.0.0-alpha.3
where library not found error was thrown.31444ac1
(#6725) Update mobile template to wry@0.28
41f49aea
(#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 the BundleConfig
.d48aaa15
(#6894) Add Cargo manifest files for the plugin example templates.e1e85dc2
(#6925) Removed the allowlist configuration.buildSrc
folder by default since we removed absolute paths from it.
--release
flag for tauri android dev
however you will need to sign your Android app, see https://next--tauri.netlify.app/next/guides/distribution/sign-android
tauri android build
instead of all.
rustls-tls
tauri feature on mobile and native-tls
on desktop if rustls-tls
is not enabled.
tauri android build/dev
crashing when used with standalone pnpm
executable on Windows.
pnpm
caused by extra --
.
napi-rs
dependencies to latest to fix CLI hanging up forever.
plugin android add
and plugin ios add
commands to add mobile plugin functionality to existing projects.
--ios-color
option to the tauri icon
command.
gen
folder on the dev watcher.
npm run
to tauri
.
--api
flag on plugin init
to --no-api
.
TAURI_*
environment variables for hook scripts on mobile commands.
android build
command.
ios build
command.
android dev
and ios dev
commands.
android init
and ios init
commands.
android open
and ios open
commands.
tauri-cli@1.5.11
b0f27814
(#8776) Fix fail to rename app
when 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.tauri-cli@1.5.10
0a2175ea
(#8439) Expand glob patterns in workspace member paths so the CLI would watch all matching pathhs.tauri-cli@1.5.9
tauri-cli@1.5.8
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 the resources
feature was used.92bc7d0e
(#8233) Fixes an issue in the NSIS installer which caused the installation to take much longer than expected when many resources
were added to the bundle.tauri-cli@1.5.7
5264e41d
(#8082) Downgraded rust-minisign
to 0.7.3
to fix signing updater bundles with empty passwords.tauri-cli@1.5.6
tauri-cli@1.5.5
tauri-cli@1.5.4
tauri-cli@1.5.3
tauri-cli@1.5.2
tauri-cli@1.5.1
dad4f54e
(#7277) Removed the automatic version check of the CLI that ran after tauri
commands which caused various issues.tauri-cli@1.5.0
0ddbb3a1
(#7015) Provide prebuilt CLIs for Windows ARM64 targets.35cd751a
(#5176) Added the desktop_template
option on tauri.conf.json > tauri > bundle > deb
.6c5ade08
(#4537) Added tauri completions
to generate shell completions scripts.e092f799
(#6887) Add nsis > template
option to specify custom NSIS installer template.d75c1b82
(#7181) Print a useful error when updater
bundle target is specified without an updater-enabled target.52474e47
(#7141) Enhance injection of Cargo features.2659ca1a
(#6900) Add rustls
as default Cargo feature.3cb7a3e6
(#6997) Fix built-in devserver adding hot-reload code to non-html files.fb7ef8da
(#6667) Fix nodejs binary regex when 0
is in the version name, for example node-20
1253bbf7
(#7013) Fixes Cargo.toml feature rewriting.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.
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.
--ci
flag and respect the CI
environment variable on the signer generate
command. In this case the default password will be an empty string and the CLI will not prompt for a value.
with-api
and backend
node-18
--png
option for the icon
command to generate custom icon sizes.
TAURI_KEY_PASSWORD
environment variable is empty and the --ci
argument is provided or the CI
environment variable is set.
default-run
not deserialized.
nsis
bundles on non-Windows platforms.
nsis
bundle target
ignore
to =0.4.18
.
ignore
to =0.4.18 on 2023-01-17node18
or when running through deno.
tauri init
) fail to build
build > beforeBundleCommand
in tauri.conf.json to run a shell command before the bundling phase.
before_dev_command
and before_build_command
config value to allow configuring the current working directory.
before_dev_command
to force the CLI to wait for the command to finish before proceeding.
cargo metadata
to detect the workspace root and target directory.
beforeDevCommand
and beforeBuildCommand
in tauri init
.
.taurignore
file as ignore rules for dev watcher and app path finder.
TAURI_FIPS_COMPLIANT
environment variable is set to true
.
libc
field to Node packages.
MACOSX_DEPLOYMENT_TARGET
environment variable with the configuration minimum_system_version
value.
--no-watch
argument to the dev
command to disable the file watcher.
cargo build
output.
run
command to run in a separate thread.
run
command to be nonblocking on 2022-07-04vcruntime140.dll
if the STATIC_VCRUNTIME
environment variable is set to false
.
TAURI_CONFIG
environment variable now represents the configuration to be merged instead of the entire JSON.
dev
file watcher.
signer sign
command.
pkg-config
dependency to .deb
packages when the systemTray
is used.
This only works with recent versions of libappindicator-sys
(including https://github.com/tauri-apps/libappindicator-rs/pull/38),
so a cargo update
may be necessary if you create .deb
bundles and use the tray feature.
.1
version suffix). With a symlink for compatibility with the old naming.
cargo
is not installed.
.gitignore
file to skip watching some project files and directories via the TAURI_DEV_WATCHER_IGNORE_FILE
environment variable.
kill-children.sh
.
tauri-apps/create-pull-request
GitHub action.
$schema
field.
info
command now can check the Cargo lockfile on workspaces.
Cargo.toml
formatting when the features array is not changed.
TRAY_LIBRARY_PATH
environment variable to make the bundle copy the appindicator library to the AppImage.
APPIMAGE_BUNDLE_GSTREAMER
environment variable to make the bundler copy additional gstreamer files to the AppImage.
/usr/bin/xdg-open
binary if it exists and the shell open
API is enabled.
bundles
and features
arguments.
STATIC_VCRUNTIME
environment variable so tauri-build
statically links it on the build command.
TAURI_TRAY
environment variable to determine which package should be added to the Debian depends
section. Possible values are ayatana
and gtk
.
$CWD/src-tauri/tauri.conf.json
exists before walking through the file tree to find the tauri dir in case the whole project is gitignored.
tauri dev
on Windows.
log
system.
tauri dev
caused by checking for a newer cli version. The check is now done upon process exit.TAURI_SKIP_UPDATE_CHECK
env variable to skip checking for a newer CLI version.tauri dev
(#3999) on 2022-04-29tauri info
panic when a package isn't installed.
$schema
support to tauri.conf.json
.
dev
command now reads the custom config file from CWD instead of the Tauri folder.
com.tauri.dev
.
tauri dev
.
tauri dev
.
beforeDevCommand
and app processes if the dev command returns an error.
info
command showing outdated text for latest versions.
tauri/custom-protocol
on the dev command.
beforeDevCommand
process recursively on Unix.
tauri.conf.json
file to be git ignored on the path lookup function.
minimumSystemVersion: null
from the application template configuration.
info
subcommand output.
tsp
config option under tauri > bundle > windows
, which enables Time-Stamp Protocol (RFC 3161) for the timestamping
server under code signing on Windows if set to true
.
i686-pc-windows-msvc
to the prebuilt targets.
plugin init
templates to use the new tauri::plugin::Builder
syntax.
signer sign
command to not have duplicated short flags.
run
function to take a callback and run asynchronously instead of blocking the event loop.
cli.rs
instead of just the outermost underlying error message.
tauri.conf.json
directory lookup depth to 3
and allow changing it with the TAURI_PATH_DEPTH
environment variable.
tauri-build
, tao
and wry
version to the info
command output.
freezePrototype
configuration to false
.
.gitignore
file.
init
command prompting for values even if the argument has been provided on the command line.
light.exe
on Windows without the --verbose
flag.
.gitignore
configuration when looking for the folder with the tauri.conf.json
file.
src-tauri
folder and use a glob pattern to look for a subfolder with a tauri.conf.json
file.
dist
folder.
.ico
icon generation.
@tauri-apps/cli
in yarn 2+ installations to fix the download of the rust-cli.
package.json
and check for a tauri
object containing the appPath
string, which points to the tauri crate path.
icon
command, now exposed as a separate package, see https://github.com/tauri-apps/tauricon.