Change8

@tauri-apps/cli-v2.8.0

Breaking Changes
📦 tauri
1 breaking3 features🐛 4 fixes🔧 8 symbols

Summary

Tauri 2.8.0 introduces custom watch folders for development, increases the iOS deployment target to 14.0, and adds support for root certificates on mobile dev servers. It also includes several CLI bug fixes regarding plugin initialization and permission management.

⚠️ Breaking Changes

  • The default iOS deployment target has been increased to 14.0. Projects targeting older iOS versions must update their deployment configuration.

Migration Steps

  1. Update iOS project settings to target iOS 14.0 or higher.
  2. If using AppImage on Linux, ensure the environment can pull the latest linuxdeploy plugin (libfuse requirement is now removed).

✨ New Features

  • Introduces a new configuration option to specify custom folders to watch for changes during 'tauri dev'.
  • Added version checking for installed plugin NPM/crate packages to detect incompatible releases.
  • Added '--root-certificate-path' option to 'android dev' and 'ios dev' commands to support HTTPS development servers.

🐛 Bug Fixes

  • Fix generated plugin initialization code for 'tauri-plugin-autostart' and 'tauri-plugin-single-instance' when using 'tauri add'.
  • Fix codesigning verification failures caused by binary-patching during the bundling process.
  • Fix 'tauri permission add' command adding duplicate permissions to capability files.
  • Properly migrate Svelte to v5 in the plugin example template.

🔧 Affected Symbols

tauri devandroid devios devtauri addtauri permission addtauri-plugin-autostarttauri-plugin-single-instancegoblin