[2.13.0]
New Features
-
9eda95fa0(#8656 by @naman-crabnebula) Add thepacmanbundle target for Arch Linux. It produces a.tar.gzarchive with aPKGBUILDand.SRCINFOready to be published to the AUR; seebundle > linux > pacmanfor the package name (<name>-binby default), release, dependencies, install script, changelog and source options.bundle > licenseFileis installed to/usr/share/licenses/<pkgname>/.The
pacmantarget is part of"all", so Linux builds that bundle all targets now also produce the pacman package; list the targets explicitly inbundle > targetsto opt out. -
74ff201f6(#15965 by @aaalloc) Audio and video elements can now playasset://URLs on Linux. Thedeb,rpmandpacmanbundles ship a GStreamer plugin in/usr/lib/<productName>/gstreamer-1.0, theappimagebundle includes it whenbundle > linux > appimage > bundleMediaFrameworkis enabled, andtauri devdownloads 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 > enableis set. It reads the requested file directly, so media playback is not restricted byassetProtocol > scope. -
988cd2ea0(#16296 by @FabianLars) Addbundle > linux > deb > compressionconfig option to control Debian bundle compression type and level. -
f69d1f98e(#16562 by @amrbashir) Addbundle.windows.nsis.installerTargetto selectx86-unicode(default),x86-ansi, oramd64-unicodeindependently of the application architecture. -
e1d7dca25(#16267 by @savvasioakeim) Added theTAURIDIRNSIS define, holding the path of the directory that containstauri.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/DELETEAPPDATAflag 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 theDelete the application datacheck box.
Enhancements
f69d1f98e(#16562 by @amrbashir) On Windows, use an existing NSIS installation found throughNSIS_PATHorPATH, falling back to downloading NSIS if none is found.
Bug Fixes
d094c3a24(#16651 by @lucasfernog) Fixtauri android devfailing 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 theACCESS_LOCAL_NETWORKpermission. 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 fortauri ios buildandtauri ios devwhen 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,$Webview2DownloadResultand$Webview2InstallExitCodeinstead of$R4,$0and$1. Custom language files using the registers keep working, but should be updated to the named variables.
Dependencies
- Upgraded to
tauri-cli@2.13.0 003fcd99e(#16631 by @Legend-Master) Updated AGP to v9.5.2 and Gradle to v9.9.2 intauri android inittemplate