64 KiB
Changelog
[1.4.8]
Enhancements
b44e9c0f(#8431) Check if required files/tools for bundling are outdated or mis-hashed and redownload them.
Dependencies
- Upgraded to
tauri-utils@1.5.2
[1.4.7]
Bug Fixes
777ddf43(#8376) UnsetNSISDIRandNSISCONFDIRwhen runningmakensis.exeso it doesn't conflict with NSIS installed by the user.5ff9d459(#8390) NSIS perUser installers will now only check if the app is running on the current user.
[1.4.6]
Bug Fixes
1d5aa38a(#8162) Fixes errors on command output, occuring when the output stream contains an invalid UTF-8 character, or ends with a multi-bytes UTF-8 character.977a39f4(#8292) Migrate the WebView2 offline installer to use shorturl provided by Microsoft.f26d9f08(#8263) Fixes an issue in the NSIS installer which caused the uninstallation to leave empty folders on the system if theresourcesfeature was used.92bc7d0e(#8233) Fixes an issue in the NSIS installer which caused the installation to take much longer than expected when manyresourceswere added to the bundle.
[1.4.5]
Enhancements
[1.4.4]
Enhancements
Bug Fixes
[1.4.3]
Bug Fixes
d0ae6750(#8012) ReadHTTP_PROXYenv var when downloading bundling resources on Windows.113bcd7b(#7980) In Debian packages, setrootthe owner of control files and package files.
[1.4.2]
Bug Fixes
f552c179(#7998) Update the WebView2 offline installer GUIDs to resolve the 404 HTTP response status codes.
[1.4.1]
Bug Fixes
40d34002(#7972) TheAPPLE_TEAM_IDenvironment variable is now required for notarization authentication via Apple ID and app-specific password.cdd5516f(#7956) Fixes an app crash on app updates when the product name contained spaces.
[1.4.0]
New Features
4dd4893d(#5950) Allow using a resource map instead of a simple array inBundleSettings::resources_map.
Enhancements
-
2f8881c0(#7775) Read theAPPLE_TEAM_IDenvironment variable for macOS notarization arguments. -
cb1d4164(#7487) On Windows, code sign the application binaries before trying to create the WiX and NSIS bundles to always sign the executables even if no bundle types are enabled.On Windows, code sign the sidecar binaries if they are not signed already.
-
57f73f1b(#7486) On Windows, NSIS installer will write webview2 installer file to the well-known temp dir instead of the install dir, so we don't pollute the install dir. -
a7777ff4(#7626) Added Bulgarian language support to the NSIS bundler. -
e3bfb014(#7776) Addcompressionconfiguration option undertauri > bundle > windows > nsis.
Bug Fixes
46df2c9b(#7360) Fix bundler skipping updater artifacts ifupdatertarget shows before other updater-enabled targets in the list, see #7349.2d35f937(#7481) Fix bundler skipping updater artifacts if only a macOS DMG bundle target is specified.dcdbe3eb(#7774) Remove extended attributes on the macOS app bundle usingxattr -cr $PATH.dcdbe3eb(#7774) Code sign sidecars and frameworks on macOS.eba8e131(#7386) On Windows, fix installation packages not showing correct copyright information.32218a6f(#7326) On Windows, fix NSIS installer identifying a previous NSIS-installed app as WiX-installed app and then fails to uninstall it.ca977f4b(#7591) On Windows, Fix NSIS uninstaller deleting the wrong application data if the delete the application data checkbox is checked.0ae53f41(#7361) On Windows, fix NSIS installer showing an error dialog even when the previous version was uninstalled sucessfully.09f7f57e(#7711) On Windows, fix NSIS installer trying to kill itself if the installer file name and the appproductNameare the same.6e36ebbf(#7342) On Windows, fix NSIS uninstaller failing to remove Start Menu shortcut ifperMachinemode is used.
Dependencies
- Upgraded to
tauri-utils@1.5.0 a2be88a2(#7405) Removed thebitnessdependency to speed up compile time.
Breaking Changes
964d81ff(#7616) The macOS notarization now usesnotarytoolasaltoolwill be discontinued on November 2023. When authenticating with an API key, the key.p8file path must be provided in theAPPLE_API_KEY_PATHenvironment variable. To prevent a breaking change, we will try to find the key path in thealtooldefault search paths.
[1.3.0]
New Features
35cd751a(#5176) Addeddesktop_templateoption onDebianSettings.29488205(#6867) Allow specifying custom language files of Tauri's custom messages for the NSIS installere092f799(#6887) Addnsis > templateoption to specify custom NSIS installer template.df89ccc1(#6955) For NSIS, Add support for/Pto install or uninstall in passive mode,/Rto (re)start the app and/NSto disable creating shortcuts insilentandpassivemodes.
Enhancements
3327dd64(#7081) Remove macOS app bundles from the output if they are not requested by the user.fc7f9eba(#7001) Added Copyright field as BrandingText to the NSIS bundler.540ddd4e(#6906) Added Dutch language support to the NSIS bundler.b257bebf(#6906) Added Japanese language support to the NSIS bundler.61e3ad89(#7010) Added Korean language support to the NSIS bundler.21d5eb84(#6965) Added Persian language support to the NSIS bundler.df89ccc1(#6955) NSISsilentandpassiveinstaller/updater will auto-kill the app if its running.43858a31(#7038) Added Swedish language support to the NSIS bundler.ac183948(#7018) Added Turkish language support to the NSIS bundler.60334f9e(#6859) NSIS installer will now check if a previous WiX.msiinstallation exist and will prompt users to uninstall it.db7c5fbf(#7143) Removeattohttpcin favor ofureq.
Bug Fixes
0302138f(#6992) - Updated the AppImage bundler to follow symlinks for/usr/lib*.- Fixes AppImage bundling for Void Linux, which was failing to bundle webkit2gtk because the
/usr/lib64is a symlink to/usr/lib.
- Fixes AppImage bundling for Void Linux, which was failing to bundle webkit2gtk because the
1b8001b8(#7056) Fix incorrect estimated app size for NSIS bundler when installed to a non-empty directory.df89ccc1(#6955) Fix NSIS installer disablingdo not uninstallbutton and silent installer aborting, ifallowDowngradeswas disabled even when we are not downgrading.17da87d3(#7036) Fix NSIS bundler failing to build whenproductNamecontained chinsese characters.4d4b72ba(#7086) Fix missing quote in Japanese NSIS language file.3cc295e9(#6928) Fix NSIS installer not using the old installation path as a default when usingperMachineorcurrentUserinstall modes. Also fixes NSIS not respecting the/Dflag which used to set the installation directory from command line.df89ccc1(#6955) Fix NSIS silent installer not creating Desktop and StartMenu shortcuts. Pass/NSto disable creating them.
[1.2.1]
-
Correctly escape XML for resource files in WiX bundler.
-
Added the following languages to the NSIS bundler:
-
Spanish -
SpanishInternational -
422b4817 Add Spanish and SpanishInternational languages (#6871) on 2023-05-06
-
Correctly escape arguments in NSIS script to fix bundling apps that use non-default WebView2 install modes.
[1.2.0]
- Add dylib support to
tauri.bundle.macOS.frameworks. - Added support for pre-release identifiers and build numbers for the
.msibundle target. Only one of each can be used and it must be numeric only. The version must still be semver compatible according to https://semver.org/. - On Windows, printing consistent paths on Windows with backslashs only.
- Fixed error during bundling process for the appimage target on subsequent bundling attempts.
- Fixes DMG bundling not finding bundle to set icon position.
- Use escaping on Handlebars templates.
- Bump minimum supported Rust version to 1.60.
- Add initial support for building
nsisbundles on non-Windows platforms. - Add
nsisbundle target - On Windows, the
msiinstaller'sLaunch Appcheckbox will be checked by default.
[1.1.2]
- Fixes blank taskbar icon on WiX updates.
[1.1.1]
- Fix
allowlist > app > show/hidealways disabled whenallowlist > app > all: false.
[1.1.0]
- Use correct code
ja-JPfor japanese instead ofjp-JP. - Fix WiX DLL load on Windows Server.
- Add
tauri.conf.json > bundle > publisherfield to specify the app publisher. - Clear environment variables on the WiX light.exe and candle.exe commands to avoid "Windows Installer Service could not be accessed" error. Variables prefixed with
TAURIare propagated.
[1.0.7]
- Add missing allowlist config for
set_cursor_grab,set_cursor_visible,set_cursor_iconandset_cursor_positionAPIs.
[1.0.6]
- Avoid re-downloading AppImage build tools on every build.
- Add
fips_compliantconfiguration option for WiX.
[1.0.5]
- Correctly fill the architecture when building Debian packages targeting ARM64 (aarch64).
[1.0.4]
- Reduce the amount of allocations when converting cases.
- Automatically load WiX extensions referenced in fragments.
- Fix AppImage builds by pinning the linuxdeploy version.
- 89cb2526 fix(bundler): pin linuxdeploy version on 2022-07-14
- Use
Bin_${sidecarFilename}as theIdof sidecar file on WiX so you can reference it in your WiX fragments.
[1.0.3]
- Build AppImages inside the
src-tauri/targetfolder rather than~/.cache/tauri. Making it easier to clean and rebuild from scratch. - Ensure the notarization
RequestUUIDandStatusparser works on macOS 10.13.6+.
[1.0.2]
- Enhance the
DownloadedBootstrapperWebview2 install mode compatibility with Windows 8.
[1.0.1]
- Fix AppImage bundling when appimagelauncher is enabled.
- Fixes AppImage bundler crashes when the file path contains whitespace.
- Ensure
usr/libis a directory in the AppImage bundle. - AppImage bundling will now prefer bundling correctly named appindicator library (including
.1version suffix). With a symlink for compatibility with the old naming. - Fix language code for korean (ko-KR).
- Use the plist crate instead of the
PlistBuddybinary to merge user Info.plist file. - Validate app version before bundling WiX.
- Check if
$HOME\AppData\Local\tauri\WixToolsdirectory has all the required files and redownload WiX if something is missing. - Added webview install mode options.
[1.0.0]
[1.0.0-rc.10]
- Bundle the tray library file (
.soextension) in the AppImage if theTRAY_LIBRARY_PATHenvironment variable is set. - Bundle additional gstreamer files needed for audio and video playback if the
APPIMAGE_BUNDLE_GSTREAMERenvironment variable is set. - Cache bundling tools in a directory shared by all tauri projects. Usually in
$XDG_HOME/.cache/taurion Linux and$HOME\AppData\Local\taurion Windows. - Pull correct linuxdeploy AppImage when building for 32-bit targets.
- Copy the
/usr/bin/xdg-openbinary if it exists and theAPPIMAGE_BUNDLE_XDG_OPENenvironment variable is set. - On Linux, high-dpi icons are now placed in the correct directory and should be recognized by the desktop environment.
- Only png files from tauri.conf.json > tauri.bundle.icon are used for app icons for linux targets. Previously, all sizes from all source files (10 files using tauricon defaults) were used. This also prevents unexpectedly mixed icons in cases where platform-specific icons are used.
- Log command output in real time instead of waiting for it to finish.
[1.0.0-rc.9]
- Statically link the Visual C++ runtime instead of using a merge module on the installer.
[1.0.0-rc.8]
- Use binary arch instead of
x86_64on the AppImage bundle script. - Fixes lost files on upgrade due to wrong implementation to keep shortcuts.
[1.0.0-rc.7]
- Change
tspvalue fromOption<bool>tobool. - Fixes processing of resources with glob patterns when there are nested directories on Windows.
- Fixes resource bundling on Windows when the resource path includes root or parent directory components.
- Set the application name when signing the Windows MSI.
- Change WiX MajorUpgrade element's
ScheduletoafterInstallExecuteto prevent removal of existing configuration such as the executable's pin to taskbar. - Change the MSI reinstall mode so it only reinstall missing or different version files.
- Allow configuring the display options for the MSI execution allowing quieter updates.
[1.0.0-rc.6]
- Remove
Settings::verboseoption. You may now bring your ownlogfrontend to receive logging output from the bundler while remaining in control of verbosity and formatting. - Ignore errors when loading
icnsfiles in the.debpackage generation. - Fix app downgrades when using the Windows installer.
[1.0.0-rc.5]
- Set the Debian control file
Priorityfield tooptional. - Fixes DLL resource usage on Windows.
- Breaking change: Removed the
useBootstrapperoption. Use https://github.com/tauri-apps/fix-path-env-rs instead.
[1.0.0-rc.4]
- Fixes DMG bundling on macOS 12.3.
[1.0.0-rc.3]
- Added
tspconfig option undertauri > bundle > windows, which enables Time-Stamp Protocol (RFC 3161) for the timestamping server under code signing on Windows if set totrue. - Properly create the updater bundle for all generated Microsoft Installer files.
- Fixes the Microsoft Installer launch path.
[1.0.0-rc.2]
- Fixes sidecar bundling on Windows.
[1.0.0-rc.1]
- Change default value for the
freezePrototypeconfiguration tofalse.
[1.0.0-rc.0]
-
Provide a provider short name for macOS app notarization if your Apple developer account is connected to more than one team.
-
Allow building AppImages on systems without FUSE setup.
-
Fixes AppImage crashes caused by missing WebKit runtime files.
-
Initialize the preselected installation path with the location of the previous installation.
-
Replaces usage of the nightly command
RUSTC_BOOTSTRAP=1 rustc -Z unstable-options --print target-spec-jsonwith the stable commandrustc --print cfg, improving target triple detection. -
Fixes a deadlock on the
ResourcePathsiterator. -
Move the copying of resources and sidecars from
cli.rstotauri-buildso using the Cargo CLI directly processes the files for the application execution in development. -
The minimum Rust version is now
1.56. -
Breaking change: The sidecar's target triple suffix is now removed at build time.
-
When building Universal macOS Binaries through the virtual target
universal-apple-darwin: -
Expect a universal binary to be created by the user
-
Ensure that binary is bundled and accessed correctly at runtime
-
3035e458 Remove target triple from sidecar bin paths, closes #3355 (#3356) on 2022-02-07
-
Allow setting the localization file for WiX.
-
Fix registry keys on the WiX template.
-
Configure WiX to add an option to launch the application after finishing setup.
-
Sign WiX installer in addition to the executable file.
[1.0.0-beta.4]
- Merge Tauri-generated Info.plist with the contents of
src-tauri/Info.plistif it exists. - Change the WiX config to allow upgrading installation with same version instead of duplicating the application.
- Check target architecture at runtime running
$ RUSTC_BOOTSTRAP=1 rustc -Z unstable-options --print target-spec-jsonand parsing thellvm-targetfield, fixing macOS M1 sidecar check until we can compile the CLI with M1 target on GitHub Actions. - Added
banner_pathfield to theWixSettingsstruct. - Added
dialog_image_pathfield to theWixSettingsstruct. - Only convert package name and binary name to kebab-case, keeping the
.desktopNamefield with the original configured value. - Use
linuxdeployinstead ofappimagetoolforAppImagebundling.
[1.0.0-beta.3]
- Fix WIX uninstaller by using unique
GUIDshortcut. - Run powershell commands with
-NoProfileflag
[1.0.0-beta.2]
- Properly detect target platform's architecture.
- Properly bundle resources with nested folder structure.
[1.0.0-beta.1]
- The process of copying binaries and resources to
project_out_directorywas moved to the Tauri CLI. - Allow setting a path to a license file for the Windows Installer (
tauri.conf.json > bundle > windows > wix > license). - Configure app shortcut on the Windows Installer.
- Allow setting the Windows installer language and using project names that contains non-Unicode characters.
- Fixes resource bundling on Windows when there is nested resource folders.
[1.0.0-beta.0]
- Fixes the
Installed-Sizevalue on the debian package. - Use
armhfas Debian package architecture onarmCPUs. - Adds basic library documentation.
- The
PackageTypesenum now includes all options, including Windows packages. - Adds
icon_pathfield to theWindowsSettingsstruct (defaults toicons/icon.ico). - Pull latest changes from
create-dmg, fixing unmount issue. - Fixes DMG volume icon.
- Added the `#[non_exhaustive] attribute where appropriate.
[1.0.0-beta-rc.1]
- Find best available icon for AppImage, follow
.DirIconspec. - Allow including custom files on the debian package.
- Adds support to custom WiX template.
- Adds support to
wixfragments for custom .msi installer functionality. - Adds
skip_webview_installconfig underwindows > wixto disable Webview2 runtime installation after the app install.
[1.0.0-beta-rc.0]
- Append app version and OS architecture on AppImage output filename.
- The Tauri bundler is now a general purpose library instead of a Cargo custom subcommand.
- Rename macOS bundle settings from
osxtomacOS. - The
devandbuildpipeline is now written in Rust. - Update all code files to have our license header.
- Alpha version of tauri-updater. Please refer to the
READMEfor more details. - Bundle Visual C++ redistributable files with VC142_CRT merge modules.
- Automatically install Webview2 runtime alongside app.
- Fixes the bundler workspace detection.
[0.9.4]
dirscrate is unmaintained, now usingdirs-nextinstead.- Force IPv4 on
wgetso AppImage bundling doesn't hang. - Set the Windows installer (WiX)
WorkingDirectoryfield toINSTALLDIRso the app can read paths relatively (previously resolving toC:\Windows\System32).
[0.9.3]
- Improve checking for Xcode command line tools to allow builds on mac
- add a newline after Categories in deb .desktop file generation to fix issues #899 and #925.
[0.9.2]
- Bump all deps as noted in #975, #976, #977, #978, and #979.
[0.9.1]
- Hide external scripts output unless
--verboseis passed. - Fixes the target directory detection, respecting the
CARGO_TARGET_DIRand.cargo/config (build.target-dir)options to set the Cargo output directory. - Bundling every DLL file on the binary directory.
[0.9.0]
- Fixes the AppImage bundling on containers.
- Bundler output refactor: move Windows artifacts to the
bundle/wixfolder and use a standard output name${bundleName}_${version}_${arch}.${extension}.
[0.8.5]
- Ignoring non UTF-8 characters on the loopback command output.
- f340b29 fix(tauri) addition to the previous commit on 2020-07-10
[0.8.4]
- Properly run the loopback command on Windows.
[0.8.3]
- Fixes the unbound variable issue on the DMG bundler script.
[0.8.2]
- Fixes the AppImage bundler script.
[0.8.1]
- Improves the logging of child processes like bundle_appimage.sh and bundle_dmg.sh.
[0.8.0]
- The bundler now bundles all binaries from your project (undefined) and undefined. When multiple binaries are used, make sure to use the undefined config field.
- Check if mksquashfs is installed before bundling AppImage
[0.7.0]
- Fixes AppImage bundler (appimagetool usage, build script running properly, proper AppRun and .desktop files).