Change8

@tauri-apps/cli-v2.9.0

📦 tauri
7 features🐛 7 fixes🔧 7 symbols

Summary

Tauri 2.9.0 introduces production run commands for mobile, automated Android environment setup, and expanded Info.plist configuration options for macOS and iOS.

✨ New Features

  • Add tauri.conf.json > bundle > android > autoIncrementVersionCode config option to automatically increment the Android version code.
  • Automatic detection and installation of ANDROID_HOME and NDK_HOME environment variables from default system locations.
  • Support for defining content type of file associations on macOS (LSItemContentTypes).
  • Support for defining metadata for custom types in tauri.conf.json via UTExportedTypeDeclarations Info.plist property.
  • Added bundle > macOS > infoPlist and bundle > iOS > infoPlist configurations for custom Info.plist extensions.
  • Added 'ios run' and 'android run' commands to run the app in production mode.
  • Support for universal app links on macOS via plugins > deep-link > desktop > domains configuration.

🐛 Bug Fixes

  • Strip Windows-only extensions from binary paths for cross-platform Android project compatibility.
  • Enhance Android build script usage on Windows by supporting cmd, bat, and exe formats.
  • Fix iOS CLI usage after modifying the package name.
  • Replaced non-standard nerd font character in 'tauri info' output.
  • Wait for dev server to exit before exiting CLI when app is closed on 'tauri dev --no-watch'.
  • Resolve local IP address when devUrl host is set to 0.0.0.0.
  • Fix mobile project initialization when using pnpx or pnpm dlx.

🔧 Affected Symbols

tauri.conf.jsonios runandroid runtauri infotauri devtauri add logcargo-mobile2