tauri-utils@2.0.20ab2b3306 (#11205 by @lucasfernog) Downgrade MSRV to 1.77.2 to support Windows 7.tauri-utils@2.0.1tauri-utils@2.0.01efa5e718 (#11099 by @lucasfernog) Rerun build script if the platform-specific configuration file changes.tauri-utils@2.0.0-rc.13tauri-utils@2.0.0-rc.12tauri-utils@2.0.0-rc.11tauri-utils@2.0.0-rc.10tauri-utils@2.0.0-rc.927d018343 (#10844 by @lucasfernog) Changes how the Info.plist is embedded on macOS development to avoid a clippy warning.tauri-utils@2.0.0-rc.8tauri-utils@2.0.0-rc.7f4d5241b3 (#10731 by @amrbashir) Update documentation icon path.tauri-utils@2.0.0-rc.6tauri-utils@2.0.0-rc.5tauri-utils@2.0.0-rc.4tauri-utils@2.0.0-rc.2tauri-utils@2.0.0-rc.11e0793b68 (#10357) Enhance AssetResolver::get in development mode by reading distDir directly as a fallback to the embedded assets.tauri-utils@2.0.0-rc.05d2922985 (#10268 by @lucasfernog) Fix icon rewriting always triggering build to rerun due to conflicts between file names.4c239729c (#10167 by @amrbashir) Add support for test = true in generate_context! macro to skip some code generation that could affect some tests, for now it only skips empedding a plist on macOS.tauri-utils@2.0.0-beta.195b769948a (#9959) Add include_image_codegen function to help embedding instances of Image struct at compile-time in rust to be used with window, menu or tray icons.tauri-utils@2.0.0-beta.18ccc3ea729(#9646) Use TAURI_ENV_TARGET_TRIPLE (which is set by tauri-build) to determine the target when reading the config file.tauri-utils@2.0.0-beta.17tauri-utils@2.0.0-beta.16tauri-utils@2.0.0-beta.15tauri-utils@2.0.0-beta.14tauri-utils@2.0.0-beta.13tauri-utils@2.0.0-beta.12tauri-utils@2.0.0-beta.11e227fe02f(#9156) Allow plugins to define (at compile time) JavaScript that are initialized when withGlobalTauri is true.tauri-utils@2.0.0-beta.10ba0206d8a(#9141) The Context codegen now accepts a assets input to define a custom tauri::Assets implementation.tauri-utils@2.0.0-beta.9tauri-utils@2.0.0-beta.8ed48e2b3c(#9122) Expose tauri::image module to export the JsImage type and removed the Image root re-export.tauri-utils@2.0.0-beta.7tauri-utils@2.0.0-beta.63657ad82(#9008) Allow defining permissions for the application commands via tauri_build::Attributes::app_manifest.bc5b5e67(#8984) Do not include a CSP tag in the application HTML and rely on the custom protocol response header instead.tauri-utils@2.0.0-beta.5tauri-utils@2.0.0-beta.4tauri-utils@2.0.0-beta.383a68deb(#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.8d16a80d(#8802) The generate_context proc macro now accepts a capabilities attribute where the value is an array of file paths that can be conditionally compiled. These capabilities are added to the application along the capabilities defined in the Tauri configuration file.tauri-utils@2.0.0-beta.2tauri-utils@2.0.0-beta.1tauri-utils@2.0.0-beta.08de308d1(#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.tauri-utils@2.0.0-alpha.13tauri-utils@2.0.0-alpha.12tauri-utils@2.0.0-alpha.11c6c59cf2 Pull changes from Tauri 1.5 release.tauri-utils@2.0.0-alpha.10tauri-utils@2.0.0-alpha.9ebcc21e4(#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-utils@2.0.0-alpha.8tauri-utils@2.0.0-alpha.7tauri-utils96639ca2(#6749) Moved the shell functionality to its own plugin in the plugins-workspace repository.3188f376(#6883) Bump the MSRV to 1.65.ae102980(#6719) Refactor the Context conditional fields and only parse the tray icon on desktop.android configuration object under tauri > bundle.
bool in the invoke handler.
crate_name field on PackageInfo.
devPath URL to use the local IP address on iOS and Android.
tauri-utils@1.5.2tauri-utils@1.5.017d5a4f5(#6706) Early panic if the PNG icon is not RGBA.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.time to 0.3.15.
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.
TARGET environment variable for code generation inside build scripts.
version field of tauri.config.json not being correctly parsed by generate_context!().
__TAURI_ISOLATION_HOOK__ being set by a file in the isolation application.
TAURI_CONFIG environment variable now represents the configuration to be merged instead of the entire JSON.
platform::windows_version function.
TrayIcon enum has been removed and now Icon is used instead.
This allows you to use more image formats and use embedded icons on Linux.
tauri.conf.json > tauri > bundle > appimage > bundleMediaFramework.
PackageInfo::version is now a semver::Version instead of a String.
dangerous_allow_asset_csp_modification configuration value has been changed to allow a list of CSP directives to disable.
TAURI_CONFIG env var.
Added an option to disable the CSP injection of distributable assets nonces and hashes.
Replace multiple dependencies who's C code compiled concurrently and caused the other ones to bloat compile time significantly.
zstd -> brotli
blake3 -> a vendored version of the blake3 reference
ring -> getrandom
See https://github.com/tauri-apps/tauri/pull/3773 for more information about these specific choices.
tauri > bundle > macOS > minimumSystemVersion to 10.13.
freezePrototype configuration to false.
nonce to script and style tags and set them on the CSP (script-src and style-src fetch directives).
isolation pattern.
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 failed1.56.
script tags with type="module".
dev_path and dist_dir to be an array of root files and directories to embed.
tauri.conf.json > build > devPath and tauri.conf.json > build > distDir values.
tauri.conf.json > tauri > bundle > icons and use the first .png icon as window icon on Linux. Defaults to icon/icon.png if a PNG icon is not configured.
assets field on the tauri::Context struct is now a Arc<impl Assets>.
csp injection, configured on tauri.conf.json > tauri > security > csp.
package object on tauri.conf.json.