Change8

@tauri-apps/cli-v2.11.0

Breaking Changes
📦 tauriView on GitHub →
2 breaking3 features🐛 2 fixes1 deprecations🔧 4 symbols

Summary

This release introduces support for uninstaller icons/header images in NSIS installers and adds `minimumWebview2Version` support for the MSI installer. It also fixes an iOS build issue related to Swift library paths.

⚠️ Breaking Changes

  • For `tauri-bundler` lib users, `NsisSettings` now includes new fields `uninstaller_icon` and `uninstaller_header_image`, which may cause issues if existing code relies on the previous structure.
  • For `tauri-bundler` lib users, `WindowsSettings` now includes a new field `minimum_webview2_version`, which may cause issues if existing code relies on the previous structure.

Migration Steps

  1. If using `tauri-bundler` lib, update code to handle the new `uninstaller_icon` and `uninstaller_header_image` fields in `NsisSettings`.
  2. If using `tauri-bundler` lib, update code to handle the new `minimum_webview2_version` field in `WindowsSettings`.
  3. When configuring the MSI (Wix) installer, move `minimumWebview2Version` setting from `bundle > windows > nsis` to `bundle > windows`.
  4. If relying on the `WVRTINSTALLED` `Property` tag in `main.wxs` for Wix installers, rename it to `INSTALLED_WEBVIEW2_VERSION`.

✨ New Features

  • Added uninstaller icon and uninstaller header image support for NSIS installer.
  • Prompt to restart the Android emulator if it is not connected to adb.
  • Added support for `minimumWebview2Version` option for the MSI (Wix) installer.

🐛 Bug Fixes

  • Fixed `build --bundles` to allow `nsis` argument in linux+macOS builds.
  • Fixed iOS build failure when `Metal Toolchain` is installed by using explicit `$(DEVELOPER_DIR)/Toolchains/XcodeDefault.xctoolchain` path instead of `$(TOOLCHAIN_DIR)` for Swift library search paths.

Affected Symbols

⚡ Deprecations

  • The configuration option `bundle > windows > nsis > minimumWebview2Version` is deprecated in favor of `bundle > windows > minimumWebview2Version` for the MSI (Wix) installer.