tauri-utils@2.0.0-rc.12
tauri-codegen@2.0.0-rc.12
9d468774a
(#10975 by @FabianLars) The executable and NSIS installer on Windows will now use the productName
config for the FileDescription
property instead of shortDescription
.tauri-utils@2.0.0-rc.11
tauri-codegen@2.0.0-rc.11
tauri-utils@2.0.0-rc.10
tauri-codegen@2.0.0-rc.10
tauri-utils@2.0.0-rc.9
tauri-codegen@2.0.0-rc.9
tauri-utils@2.0.0-rc.8
tauri-codegen@2.0.0-rc.8
ad83d41cb
(#10743 by @amrbashir) Add WindowsAttributes::new_without_app_manifest
to create WindowsAttributes
without the default manifest.tauri-utils@2.0.0-rc.7
tauri-codegen@2.0.0-rc.7
793ee0531
(#10700 by @lucasfernog) Allow hyphens and underscores on app identifiers.f4d5241b3
(#10731 by @amrbashir) Update documentation icon path.tauri-utils@2.0.0-rc.6
tauri-codegen@2.0.0-rc.6
tauri-utils@2.0.0-rc.5
tauri-codegen@2.0.0-rc.5
5c335ae9a
(#10648 by @Flakebi) Prevent build script from rerunning unnecessarily by only writing files when the content changes.77844529f
(#10678 by @Norbiros) Correctly export DefaultPermissionsRule
tauri-utils@2.0.0-rc.4
tauri-codegen@2.0.0-rc.4
0bb7b0f35
(#10559 by @Norbiros) Added InlinedPlugin::default_permission
to autogenerate the default permission of an inlined plugin.tauri-codegen@2.0.0-rc.3
tauri-utils@2.0.0-rc.3
tauri-utils@2.0.0-rc.2
tauri-codegen@2.0.0-rc.2
tauri-utils@2.0.0-rc.1
tauri-codegen@2.0.0-rc.1
tauri-codegen@2.0.0-rc.0
tauri-utils@2.0.0-rc.0
69dcfdfe0
(#10267 by @lucasfernog) Fix build script rerun-if-changed instruction if Info.plist do not exist next to tauri.conf.json.tauri-codegen@2.0.0-beta.19
tauri-utils@2.0.0-beta.19
tauri-utils@2.0.0-beta.18
tauri-codegen@2.0.0-beta.18
f955f7b49
(#9929) Switch from dirs_next
to dirs
as dirs_next
is now unmaintained while dirs
is9ac930380
(#9850) Emit cargo:rustc-check-cfg
instruction so Cargo validates custom cfg attributes on Rust 1.80 (or nightly-2024-05-05).tauri-utils@2.0.0-beta.17
tauri-codegen@2.0.0-beta.17
1df5cdeb0
(#9858) Use tauri.conf.json > identifier
to set the PackageName
in Android and BundleId
in iOS.aaecb6a72
(#9890) Renamed dev
function to is_dev
tauri-utils@2.0.0-beta.16
tauri-codegen@2.0.0-beta.16
tauri-utils@2.0.0-beta.15
tauri-codegen@2.0.0-beta.15
tauri-utils@2.0.0-beta.14
tauri-codegen@2.0.0-beta.14
tauri-utils@2.0.0-beta.13
tauri-codegen@2.0.0-beta.13
tauri-utils@2.0.0-beta.12
tauri-codegen@2.0.0-beta.12
tauri-utils@2.0.0-beta.11
tauri-codegen@2.0.0-beta.11
e227fe02f
(#9156) Allow plugins to define (at compile time) JavaScript that are initialized when withGlobalTauri
is true.7213b9e47
(#9124) Fallback to an empty permission set if the plugin did not define its default
permissions.tauri-utils@2.0.0-beta.10
tauri-codegen@2.0.0-beta.10
tauri-codegen@2.0.0-beta.9
tauri-utils@2.0.0-beta.9
tauri-utils@2.0.0-beta.8
tauri-codegen@2.0.0-beta.8
bb23511ea
(#9079) Fixed generation of capability schema for permissions field which previously disallowed mixed (strings and objects) permission definition.tauri-utils@2.0.0-beta.7
tauri-codegen@2.0.0-beta.7
tauri-utils@2.0.0-beta.6
tauri-codegen@2.0.0-beta.6
3657ad82
(#9008) Allow defining permissions for the application commands via tauri_build::Attributes::app_manifest
.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")]
.b9e6a018
(#8937) Removed tauri_build::CodegenContext::dev()
and added tauri_build::dev()
.tauri-utils@2.0.0-beta.5
tauri-codegen@2.0.0-beta.5
tauri-utils@2.0.0-beta.4
tauri-codegen@2.0.0-beta.4
tauri-utils@2.0.0-beta.3
tauri-codegen@2.0.0-beta.3
83a68deb
(#8797) Added a new configuration option tauri.conf.json > app > security > capabilities
to reference existing capabilities and inline new ones. If it is empty, all capabilities are still included preserving the current behavior.edb11c13
(#8781) Added Attributes::plugin()
to register a plugin that is inlined in the application crate.8d16a80d
(#8802) Added CodegenContext::capability
to include a capability file dynamically.0e8e9cd0
(#8906) Fixes the capability schema not resolving inner definitions.19fb5f0b
(#8782) Fix generating invalid schema files.tauri-utils@2.0.0-beta.2
tauri-codegen@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) Do not trigger build script to rerun if the frontendDist directory does not exist.0f2789cd
(#8757) Do not rewrite capability JSON schema if it did not change.tauri-utils@2.0.0-beta.1
tauri-codegen@2.0.0-beta.1
e8d3793c
(#8732) Add config-json
cargo feature flag (enabled by default) to. Disabling this feature flag will stop cargo from rebuilding when tauri.conf.json
changes, see #8721 for more info.tauri-utils@2.0.0-beta.0
tauri-codegen@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.0cdfda28
(#8737) Moved mobile::PluginBuilder
, mobile::update_entitlements
, config::plugin_config
and mobile::update_android_manifest
to the new tauri-plugin
crate.
74a2a603
(#8661) CodegenContext::build
and CodegenContext::try_build
have been removed, use tauri_build::try_build(tauri_build::Attributes::new().codegen(codegen))
instead.
tauri-utils@2.0.0-alpha.13
tauri-codegen@2.0.0-alpha.13
tauri-utils@2.0.0-alpha.12
tauri-codegen@2.0.0-alpha.12
a5479712
(#8168) Fixed an issue that caused the resource compiler to not run on Windows when package.version
was not set in tauri.conf.json
preventing the app from starting.tauri-utils@2.0.0-alpha.11
tauri-codegen@2.0.0-alpha.11
c6c59cf2
Pull changes from Tauri 1.5 release.tauri-codegen@2.0.0-alpha.10
tauri-utils@2.0.0-alpha.10
tauri-utils@2.0.0-alpha.9
tauri-codegen@2.0.0-alpha.9
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.tauri-codegen@2.0.0-alpha.8
tauri-utils@2.0.0-alpha.8
522de0e7
(#7447) Added the config::plugin_config
function to read the plugin configuration set from the CLI.1e1d839e
(#7450) Added the mobile::update_android_manifest
function.aba04fa8
(#7448) Added the mobile::update_entitlements
function for iOS.tauri-utils@2.0.0-alpha.7
tauri-codegen@2.0.0-alpha.7
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.cdad6e08
(#6774) Changed how the tauri-android
dependency is injected. This requires the gen/android
project to be recreated.5a768d5c
(#6886) Remove WindowsAttributes::sdk_dir
.android
configuration object under tauri > bundle
.
IPHONEOS_DEPLOYMENT_TARGET
environment variable to set the Swift iOS target version, defaults to 13.
mobile::PluginBuilder
for running build tasks related to Tauri plugins.
tauri-plugin-log
.
tauri::mobile_entry_point
.
tauri-utils@1.5.2
tauri-codegen@1.4.2
5ecb46b3
(#7773) Automatically set rpath on macOS if frameworks are bundled and copy frameworks to src-tauri/target/Frameworks
for usage in development.290e366a
(#7419) Correctly copy the WebView2 runtime in development when webviewInstallMode
is used instead of webviewFixedRuntimePath
.tauri-utils@1.5.0
tauri-codegen@1.4.1
52474e47
(#7141) Enhance Cargo features check.af937290
(#6676) On Windows, set LegalCopyright
and FileDescription
file properties on the executable from tauri.bundle.copyright
and tauri.bundle.shortDescription
,d2710e9d
(#6944) Unpin time
, ignore
, and winnow
crate versions. Developers now have to pin crates if needed themselves. A list of crates that need pinning to adhere to Tauri's MSRV will be visible in Tauri's GitHub workflow: https://github.com/tauri-apps/tauri/blob/dev/.github/workflows/test-core.yml#L85.nsis
bundles on non-Windows platforms.
WindowsAttributes::app_manifest
to specify the application manifest on Windows.
tauri
and tauri-build
dependencies and disables manifest rewrites accordingly.
winnow
crate to 0.4.1 to keep the 1.60 MSRV.allowlist > app > show/hide
always disabled when allowlist > app > all: false
.
set_cursor_grab
, set_cursor_visible
, set_cursor_icon
and set_cursor_position
APIs.
desktop
and mobile
cfg aliases.
Microsoft.Windows.Common-Controls v6.0.0.0
.
CodegenContext
API.
TAURI_CONFIG
environment variable now represents the configuration to be merged instead of the entire JSON.
platform::windows_version
function.
BundleConfig::targets
to a BundleTarget
enum to enhance generated documentation.
platform::is_windows_7
.
tauri.conf.json > tauri.bundle.windows.webview_fixed_runtime_path
as a resource to the target directory to fix development usage of a fixed Webview2 runtime path.
STATIC_VCRUNTIME
environment variable is set to true
(automatically done by the Tauri CLI).
tauri.conf.json > tauri > bundle > icons
for a .ico
file for the window icon instead of simple default icons/icon.ico
when WindowsAttributes::window_icon_path
is not set.
TAURI_CONFIG
environment variable change.
TAURI_CONFIG
env var changes on 2022-04-26build
panic.
cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET
with the value set on tauri.conf.json > tauri > bundle > macos > minimumSystemVersion
.
cargo:rerun-if-changed
check for non-existent file that caused projects to always rebuild.
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 failedcli.rs
to tauri-build
so using the Cargo CLI directly processes the files for the application execution in development.
1.56
.
tauri
dependency features
under Cargo.toml
matching tauri.conf.json
's allowlist
.
Debug
on public API structs and enums.
script
tags with type="module"
.
FileVersion
, ProductVersion
, ProductName
and FileDescription
) from tauri.conf.json > package
configuration.
try_build
method now has a Attributes
argument to allow specifying the window icon path used on Windows.
package
object on tauri.conf.json
.