Skip to content

@tauri-apps/cli v2.13.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 13:31
9379ff1

[2.13.0]

New Features

  • 9eda95fa0 (#8656 by @naman-crabnebula) Add the pacman bundle target for Arch Linux. It produces a .tar.gz archive with a PKGBUILD and .SRCINFO ready to be published to the AUR; see bundle > linux > pacman for the package name (<name>-bin by default), release, dependencies, install script, changelog and source options. bundle > licenseFile is installed to /usr/share/licenses/<pkgname>/.

    The pacman target is part of "all", so Linux builds that bundle all targets now also produce the pacman package; list the targets explicitly in bundle > targets to opt out.

  • 74ff201f6 (#15965 by @aaalloc) Audio and video elements can now play asset:// URLs on Linux. The deb, rpm and pacman bundles ship a GStreamer plugin in /usr/lib/<productName>/gstreamer-1.0, the appimage bundle includes it when bundle > linux > appimage > bundleMediaFramework is enabled, and tauri dev downloads it to the tools directory, where development binaries load it from. The plugin is downloaded at bundle time.

    The plugin is only used when app > security > assetProtocol > enable is set. It reads the requested file directly, so media playback is not restricted by assetProtocol > scope.

  • 988cd2ea0 (#16296 by @FabianLars) Add bundle > linux > deb > compression config option to control Debian bundle compression type and level.

  • f69d1f98e (#16562 by @amrbashir) Add bundle.windows.nsis.installerTarget to select x86-unicode (default), x86-ansi, or amd64-unicode independently of the application architecture.

  • e1d7dca25 (#16267 by @savvasioakeim) Added the TAURIDIR NSIS define, holding the path of the directory that contains tauri.conf.json. It is defined before the installer hooks are included, so a hook can refer to files kept next to the config, for example !define MUI_UNICON "${TAURIDIR}\nsis\uninstall.ico".

  • 90747a598 (#16157 by @ThomasBraun1979) Add /DELETEAPPDATA flag to the NSIS uninstaller to delete the application data without user interaction (e.g. in silent or passive mode). In interactive mode, the flag pre-checks the Delete the application data check box.

Enhancements

  • f69d1f98e (#16562 by @amrbashir) On Windows, use an existing NSIS installation found through NSIS_PATH or PATH, falling back to downloading NSIS if none is found.

Bug Fixes

  • d094c3a24 (#16651 by @lucasfernog) Fix tauri android dev failing to load the frontend on physical Android 17 devices. The app could not reach the dev server on the network address because Android 17 requires the ACCESS_LOCAL_NETWORK permission. Debug builds now declare this permission and the CLI grants it.
  • 5e891a8a6 (#15992 by @cuishuang) Fix iOS builds failing when the app version contains both a prerelease tag and build metadata.
  • 4863d2d74 (#16565 by @Stiven-Gjekaj) Do not require an iOS simulator runtime for tauri ios build and tauri ios dev when the target is a device. The CLI now checks the iPhoneOS SDK for device targets. It still checks the simulator runtime for simulator targets.
  • e36b0b96f (#16312 by @su-huldra) Preserve the entitlements of embedded app extensions (and other nested bundles such as watch apps and app clips) when building an iOS app with App Store Connect API key authentication. Previously only the main app binary was signed before export, so extensions silently lost entitlements such as App Groups.
  • 67fbb3d21 (#16630 by @FabianLars) Fix mobile build tasks generated when the CLI is invoked directly with Node.js.

What's Changed

  • 8cbd4f200 (#16170 by @Legend-Master) Set MSRV to 1.92.
  • 31b2efc9d (#16328 by @amrbashir) The built-in NSIS language strings now interpolate $ExistingVersionKind, $Webview2DownloadResult and $Webview2InstallExitCode instead of $R4, $0 and $1. Custom language files using the registers keep working, but should be updated to the named variables.

Dependencies