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-bundler@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-bundler@2.0.2
0ab2b3306
(#11205 by @lucasfernog) Downgrade MSRV to 1.77.2 to support Windows 7.tauri-utils@2.0.1
tauri-macos-sign@2.0.1
tauri-bundler@2.0.1
tauri-utils@2.0.0
tauri-macos-sign@2.0.0
tauri-bundler@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-bundler@2.0.1-rc.15
tauri-macos-sign@0.1.1-rc.1
06718b456
(#11096 by @thep0y) Add the TAURI_BUNDLER_TOOLS_GITHUB_MIRROR_TEMPLATE
environment variable to specify a more accessible mirror template, facilitating companies, organizations, or individuals who cannot access GitHub to download the necessary files through their own mirror servers.a944b9b05
(#11118 by @amrbashir) Add --github-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
.67b8a9a17
(#10940 by @amrbashir) Generate .sig
signature files for installers and bundles when createUpdaterArtifacts
is set to v1Compatible
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-bundler@2.0.1-rc.14
tauri-utils@2.0.0-rc.13
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-utils@2.0.0-rc.12
tauri-bundler@2.0.1-rc.13
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-bundler@2.0.1-rc.12
656618225
(#10866 by @thep0y) Add TAURI_BUNDLER_TOOLS_GITHUB_MIRROR
environment variable to specify a GitHub mirror to download files and tools used by tauri bundler. This is designed for areas like Mainland China where GitHub access can be unreliable.35bd9dd3d
(#10977 by @amrbashir) Add mainBinaryName
config option to set the file name for the main binary.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-bundler@2.0.1-rc.11
tauri-utils@2.0.0-rc.11
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-utils@2.0.0-rc.10
tauri-bundler@2.0.1-rc.10
tauri-utils@2.0.0-rc.9
tauri-bundler@2.0.1-rc.9
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-utils@2.0.0-rc.8
tauri-bundler@2.0.1-rc.8
6faa03276
(#10854 by @lucasfernog) Fixes iOS code signing failing on CI due to a missing development certificate.5af1f5dec
(#10851 by @lucasfernog) Fixes ios build
failing to build iOS app in CI when using an API key for automatic signing.tauri-bundler@2.0.1-rc.7
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-utils@2.0.0-rc.7
tauri-bundler@2.0.1-rc.6
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-utils@2.0.0-rc.6
tauri-bundler@2.0.1-rc.5
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-utils@2.0.0-rc.5
tauri-bundler@2.0.1-rc.4
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-utils@2.0.0-rc.4
tauri-bundler@2.0.1-rc.3
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.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-utils@2.0.0-rc.3
tauri-bundler@2.0.1-rc.2
tauri-macos-sign@0.1.1-rc.0
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-utils@2.0.0-rc.2
tauri-bundler@2.0.1-rc.1
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-bundler@2.0.1-rc.0
tauri-utils@2.0.0-rc.1
fb1933f17
(#10467 by @lucasfernog) Fixes running android dev --open
.206914fe8
(#10466 by @lucasfernog) Fixes running adb reverse
in Node.js context.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-utils@2.0.0-rc.0
tauri-bundler@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-bundler@2.0.1-beta.19
c734b9e3c
(#10072 by @FabianLars) Upgraded the WiX version to 3.14 which fixes vulnerability issues and adds support for Arm targets.7c7fa0964
(#9963 by @lucasfernog) Added --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-bundler@2.0.1-beta.18
tauri-macos-sign@0.1.0-beta.0
tauri-utils@2.0.0-beta.19
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-bundler@2.0.1-beta.17
tauri-utils@2.0.0-beta.18
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-bundler@2.0.1-beta.16
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.71a5e2ba2
(#9799) On Android, allow using Kotlin keywords as identifiers and escape them in templates.9970d88be
(#9892) Update to latest gradle.tauri-bundler@2.0.1-beta.15
tauri-utils@2.0.0-beta.17
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-bundler@2.0.1-beta.14
tauri-utils@2.0.0-beta.16
tauri-utils@2.0.0-beta.15
tauri-bundler@2.0.1-beta.13
tauri-utils@2.0.0-beta.14
tauri-bundler@2.0.1-beta.12
3f0805488
(#9603) Use windows-sys
crate instead of winapi
which fixes installing the published cli from crates.io using cargo install tauri-cli --version "^2.0.0-beta"
.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-bundler@2.0.1-beta.10
tauri-utils@2.0.0-beta.13
73c1c2d33
(#9457) Gracefully handle Non-UTF8 files when using tauri migrate
9331435a5
(#9412) Fix tauri info
crashing when Node.js is not installed.tauri-bundler@2.0.1-beta.9
tauri-utils@2.0.0-beta.12
93e0e1392
Support specifying a version for tauri add
subcommand, for example: tauri add window-state@2.0.0-beta.2
tauri-bundler@2.0.1-beta.8
tauri-utils@2.0.0-beta.11
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-bundler@2.0.1-beta.7
tauri-utils@2.0.0-beta.10
tauri-bundler@2.0.1-beta.6
c3ea3a2b7
(#9126) Fix bundling when plugins > updater > windows > installerArgs
are set in tauri.conf.json
tauri-utils@2.0.0-beta.9
tauri-bundler@2.0.1-beta.5
tauri-utils@2.0.0-beta.8
tauri-bundler@2.0.1-beta.4
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-utils@2.0.0-beta.7
tauri-bundler@2.0.1-beta.3
4f7894176
(#9034) Update dependencies, fix log
compilation issue.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-utils@2.0.0-beta.6
tauri-bundler@2.0.1-beta.2
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-utils@2.0.0-beta.5
tauri-bundler@2.0.1-beta.1
tauri-bundler@2.0.1-beta.0
tauri-utils@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-utils@2.0.0-beta.3
tauri-bundler@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-utils@2.0.0-beta.2
tauri-bundler@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-utils@2.0.0-beta.1
tauri-bundler@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-utils@2.0.0-beta.0
tauri-bundler@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-bundler@2.0.0-alpha.14
tauri-utils@2.0.0-alpha.13
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-utils@2.0.0-alpha.12
tauri-bundler@2.0.0-alpha.13
803c3a79
(#8327) Read the following env vars when using the tauri signer sign
command to make it easier to use in CI.
TAURI_PRIVATE_KEY
TAURI_PRIVATE_KEY_PASSWORD
TAURI_PRIVATE_KEY_PATH
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-bundler@2.0.0-alpha.12
tauri-utils@2.0.0-alpha.11
c6c59cf2
Pull changes from Tauri 1.5 release.tauri-bundler@2.0.0-alpha.11
tauri-utils@2.0.0-alpha.10
8b166e9b
(#7949) Add --no-dev-server-wait
option to skip waiting for the dev server to start when using tauri dev
.880266a7
(#8031) Bump the MSRV to 1.70.tauri-utils@2.0.0-alpha.9
tauri-bundler@2.0.0-alpha.10
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-utils@2.0.0-alpha.8
tauri-bundler@2.0.0-alpha.9
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-bundler@2.0.0-alpha.8
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-utils@2.0.0-alpha.7
tauri-bundler@2.0.0-alpha.7
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.3f4c4ce8
(#7028) Fix --split-per-abi
not building any targets unless specified by --target
flag.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
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
.3188f376
(#6883) Bump the MSRV to 1.65.2969d1cb
(#6773) Use absolute path to each Android plugin project instead of copying the files to enhance developer experience.d48aaa15
(#6894) Add Cargo manifest files for the plugin example templates.e1e85dc2
(#6925) Removed the allowlist configuration.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 --
.
plugin android add
and plugin ios add
commands to add mobile plugin functionality to existing projects.
--port
to specify the port used for static files dev server. It can also be specified through TAURI_DEV_SERVER_PORT
env var.
--force-ip-prompt
to force prompting.
node-18
--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.
97a05145f
(#9119) Fix compilation error due to dependency on unstable features of log
crate.b15948b11
(#8903) Fix .taurignore
failing to ignore in some cases.tauri-bundler@1.5.1
89911296
(#8259) On macOS, support for signing nested .dylib, .app, .xpc and .framework under predefined directories inside the bundled frameworks ("MacOS", "Frameworks", "Plugins", "Helpers", "XPCServices" and "Libraries").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-bundler@1.5.0
0a2175ea
(#8439) Expand glob patterns in workspace member paths so the CLI would watch all matching pathhs.tauri-bundler@1.4.8
tauri-utils@1.5.2
tauri-bundler@1.4.7
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-bundler@1.4.6
5264e41d
(#8082) Downgraded rust-minisign
to 0.7.3
to fix signing updater bundles with empty passwords.tauri-bundler@1.4.5
tauri-bundler@1.4.4
tauri-bundler@1.4.3
tauri-bundler@1.4.2
tauri-bundler@1.4.1
dad4f54e
(#7277) Removed the automatic version check of the CLI that ran after tauri
commands which caused various issues.tauri-bundler@1.4.0
tauri-utils@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.29488205
(#6867) Allow specifying custom language files of Tauri's custom messages for the NSIS installere092f799
(#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.c7056d1b
(#6982) Improve Visual Studio installation detection in tauri info
command to check for the necessary components instead of whole workloads. This also fixes the detection of minimal installations and auto-installations done by rustup
.3cb7a3e6
(#6997) Fix built-in devserver adding hot-reload code to non-html files.fd3b5a16
(#6954) Fix building with a custom cargo profile1253bbf7
(#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.
--port
to specify the port used for static files dev server. It can also be specified through TAURI_DEV_SERVER_PORT
env var.
tauri info
panicking when parsing crates version on a newly created project without a Cargo.lock
file.
rustc
couldn't be found.
--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
--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.
productName
.
nsis
bundles on non-Windows platforms.
nsis
bundle target
tauri
and tauri-build
dependencies and disables manifest rewrites accordingly.
ignore
to =0.4.18
.
ignore
to =0.4.18 on 2023-01-17--no-dev-server
flag to the cli to disable the dev server for static files in dev mode.
tauri dev
watcher alive when the configuration is invalid.
.taurignore
--no-default-features
to the app instead of the runner (Cargo).
package > productName
in the tauri config and produce errors if it contains one of the following characters /\:*?\"<>|
tauri.conf.json > build > devPath
points to a directory.
TAURI_TARGET_TRIPLE
to beforeDevCommand
, beforeBuildCommand
and beforeBundleCommand
TAURI_PLATFORM_TYPE
, TAURI_FAMILY
, TAURI_ARCH
and TAURI_PLATFORM
env vars for hook commands to based on the app not the cli.
tauri.conf.json > bundle > publisher
field to specify the app publisher.
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
.
icon
command to generate icons.
.taurignore
file as ignore rules for dev watcher and app path finder.
TAURI_FIPS_COMPLIANT
environment variable is set to true
.
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.
vcruntime140.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
.
The CLI will not automatically run strip
on release binaries anymore. Use the [strip
][strip] profile setting stabilized with Cargo 1.59.
62106224 refactor: drop strip from build command. closes #3559 (#3863) on 2022-04-06
Kill the beforeDevCommand
and app processes if the dev command returns an error.
Fix info
command showing outdated text for latest versions.
Breaking change: Enable default Cargo features except tauri/custom-protocol
on the dev command.
Kill the 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.
beforeDevCommand
process.
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
.
plugin init
templates to use the new tauri::plugin::Builder
syntax.
signer sign
command to not have duplicated short flags.
build
runner (tauri build -- <ARGS>...
).
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.
tauri dev
using -- <ARGS>...
are now propagated to the runner (defaults to cargo). To pass arguments to your binary using Cargo, you now need to run tauri dev -- -- <ARGS-TO-YOUR-BINARY>...
(notice the double --
).
init
template configuration to disable CSP for better usability for new users.
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.
vswhere.exe
on the published package.
vswhere.exe
on 2022-02-10src-tauri
folder and use a glob pattern to look for a subfolder with a tauri.conf.json
file.
TAURI_PLATFORM
, TAURI_ARCH
, TAURI_FAMILY
, TAURI_PLATFORM_TYPE
, TAURI_PLATFORM_VERSION
and TAURI_DEBUG
environment variables for the beforeDevCommand
and beforeBuildCommand
scripts.
config
arg to be a path to a JSON file on the dev
and build
commands.
rustup
version and active rust toolchain to the info
command output.
Visual Studio Build Tools
installed versions to the info
command output.
8080
(assumes latest Svelte with sirv-cli >= 2.0.0
).
info
command.
dialoguer
soft fork and use the published version instead.
build
command when executed on a 32-bit Windows machine when pulling from the binary-releases
repo.
generate
and sign
commands are now available under a signer
subcommand.
tauri-utils
to get the Config
types.
distDir
contains node_modules
, src-tauri
or target
folders.
tauri build
failing on Windows if tauri.conf.json > tauri > bundle > Windows > wix > license
is used.
dev_csp
to the security
configuration object.
beforeDevCommand
exits with a non-zero status code.
tauri > bundle > windows > webviewFixedRuntimePath
config option.
tauri.conf.json
file, along with also supporting the .json5
extension.Here is the logic flow that determines if JSON or JSON5 will be used to parse the config:
tauri.conf.json
exists
a. Parse it with serde_json
b. Parse it with json5
if serde_json
fails
c. Return original serde_json
error if all above steps failedtauri.conf.json5
exists
a. Parse it with json5
b. Return error if all above steps failed$ tauri plugin init
command, which initializes a Tauri plugin.
macos-private-api
feature flag, enabled via tauri.conf.json > tauri > macOSPrivateApi
.
cli.rs
to tauri-build
so using the Cargo CLI directly processes the files for the application execution in development.
1.56
.
strip
the built binary on Linux and macOS if --debug
is not specified.
pnpm tauri info
.
universal-apple-darwin
(run tauri build --target universal-apple-darwin
).
devPath
URL to be reachable before starting the application. Skipped if the TAURI_SKIP_DEVSERVER_CHECK
environment variable is set to true
.
beforeDevCommand
and beforeBuildCommand
not executing the expected command if it contains quotes. This is done by executing them with CMD /S /C {command}
instead of CMD /C {command}
on Windows.
APPLE_SIGNING_IDENTITY
as supported environment variable for the bundler.
tauri.conf.json > tauri > bundle > windows > wix > bannerPath
.
tauri.conf.json > tauri > bundle > windows > wix > dialogImagePath
.
.desktop
Name
field with the original configured value.
tauri.linux.conf.json
, tauri.windows.conf.json
and tauri.macos.conf.json
into the config JSON from tauri.conf.json
.
-NoProfile
flag
release
argument to the dev
command. Allowing to run the backend in release mode during development.
center
and focus
not being allowed in tauri.conf.json > tauri > windows
and ignored in WindowBuilderWrapper
.
build
command when the target
arg is set.
cargo tauri build
on Apple M1 chip.
app name
and window title
from package.json > productName
or package.json > name
.
Infer distDir
and devPath
by reading the package.json and trying to determine the UI framework (Vue.js, Angular, React, Svelte and some UI frameworks).
dev
command.
features
argument to the dev
and build
commands.
tauri
features that are not managed by the CLI.
OUT_DIR
on tauri dev
command.
tauri.conf.json > build > features
and propagate them on dev
and build
.
tauri.conf.json > tauri > bundle > targets
not applying to the bundler.
info
command not striping \r
from child process version output.
tauri.conf.json > bundle > windows > wix > license
).
csp
value on the template to include wss:
and tauri:
to the default-src
attribute.
tauri > bundle > windows > wix > language
config option. See https://docs.microsoft.com/en-us/windows/win32/msi/localizing-the-error-and-actiontext-tables.
'self'
to default CSP because otherwise no joy on macOS.
target/
cache issue.
info
command.
--runner [PROGRAM]
argument on the dev
and build
command, allowing using the specified program to run and build the application (example program: cross
).
--target [TARGET_TRIPLE]
option to the build
command (example: --target arm-unknown-linux-gnueabihf
).
--target
option on the build
command to --bundle
.
Depends
section.
beforeDevCommand
process.
tauri
dependency as string and table on Cargo.toml
.
framework
and bundler
on the info
command by reading the package.json
file and matching known dependencies.
command
name value on plugin invoke handler.
package
object on tauri.conf.json
.
beforeDevCommand
.
tauri info
display version for the @tauri-apps/api
package.
tauri init
.
tauri
updater
feature when tauri.conf.json > tauri > updater > active
is set to true
.
tauri info
yarn
and npm
versions on windows.metadata.json
cmd
to run yarn
&npm
on windows (#1511) on 2021-04-17metadata.json
via script to update version reference to cli.js, tauri (core) and tauri-build.
files
property in the package.json which mean that the dist
directory was not published and used.
cargo tauri build -t none
to speed up the build if you don't need executables.
dev
and build
pipeline is now written in Rust.
beforeDevCommand
and beforeBuildCommand
in a shell.
<a target="_blank">
polyfill.
productName
and version
configs on tauri.conf.json > package
.
info
command was rewritten in Rust.
init
command was rewritten in Rust.
tauri dev --
are now propagated to the binary.
README
for more details.