Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
58 KiB
Changelog
[2.0.0-alpha.7]
Bug Fixes
3065c8ae
(#7296) Enablezip
'sdeflate
feature flag to fix issues when downloading nsis and wix tools.
Dependencies
- Upgraded to
tauri-utils@2.0.0-alpha.7
[2.0.0-alpha.6]
Dependencies
- Updated to latest
tauri-utils
[2.0.0-alpha.5]
-
6a6b1388
(#6853) Correctly escape XML for resource files in WiX bundler. -
422b4817
(#6871) Added the following languages to the NSIS bundler:Spanish
SpanishInternational
-
2915bd06
(#6854) Correctly escape arguments in NSIS script to fix bundling apps that use non-default WebView2 install modes.
[2.0.0-alpha.4]
- Added
android
configuration object undertauri > bundle
.
[2.0.0-alpha.3]
[2.0.0-alpha.2]
- Added the
shadow
option to the window configuration andset_shadow
option to thewindow
allow list.
[2.0.0-alpha.1]
[2.0.0-alpha.0]
[1.3.0]
New Features
35cd751a
(#5176) Addeddesktop_template
option onDebianSettings
.29488205
(#6867) Allow specifying custom language files of Tauri's custom messages for the NSIS installere092f799
(#6887) Addnsis > template
option to specify custom NSIS installer template.df89ccc1
(#6955) For NSIS, Add support for/P
to install or uninstall in passive mode,/R
to (re)start the app and/NS
to disable creating shortcuts insilent
andpassive
modes.
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) NSISsilent
andpassive
installer/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.msi
installation exist and will prompt users to uninstall it.db7c5fbf
(#7143) Removeattohttpc
in 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/lib64
is 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 uninstall
button and silent installer aborting, ifallowDowngrades
was disabled even when we are not downgrading.17da87d3
(#7036) Fix NSIS bundler failing to build whenproductName
contained 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 usingperMachine
orcurrentUser
install modes. Also fixes NSIS not respecting the/D
flag which used to set the installation directory from command line.df89ccc1
(#6955) Fix NSIS silent installer not creating Desktop and StartMenu shortcuts. Pass/NS
to 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
.msi
bundle 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
nsis
bundles on non-Windows platforms. - Add
nsis
bundle target - On Windows, the
msi
installer'sLaunch App
checkbox will be checked by default.
[1.1.2]
- Fixes blank taskbar icon on WiX updates.
[1.1.1]
- Fix
allowlist > app > show/hide
always disabled whenallowlist > app > all: false
.
[1.1.0]
- Use correct code
ja-JP
for japanese instead ofjp-JP
. - Fix WiX DLL load on Windows Server.
- Add
tauri.conf.json > bundle > publisher
field 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
TAURI
are propagated.
[1.0.7]
- Add missing allowlist config for
set_cursor_grab
,set_cursor_visible
,set_cursor_icon
andset_cursor_position
APIs.
[1.0.6]
- Avoid re-downloading AppImage build tools on every build.
- Add
fips_compliant
configuration 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 theId
of sidecar file on WiX so you can reference it in your WiX fragments.
[1.0.3]
- Build AppImages inside the
src-tauri/target
folder rather than~/.cache/tauri
. Making it easier to clean and rebuild from scratch. - Ensure the notarization
RequestUUID
andStatus
parser works on macOS 10.13.6+.
[1.0.2]
- Enhance the
DownloadedBootstrapper
Webview2 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/lib
is a directory in the AppImage bundle. - AppImage bundling will now prefer bundling correctly named appindicator library (including
.1
version suffix). With a symlink for compatibility with the old naming. - Fix language code for korean (ko-KR).
- Use the plist crate instead of the
PlistBuddy
binary to merge user Info.plist file. - Validate app version before bundling WiX.
- Check if
$HOME\AppData\Local\tauri\WixTools
directory 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 (
.so
extension) in the AppImage if theTRAY_LIBRARY_PATH
environment variable is set. - Bundle additional gstreamer files needed for audio and video playback if the
APPIMAGE_BUNDLE_GSTREAMER
environment variable is set. - Cache bundling tools in a directory shared by all tauri projects. Usually in
$XDG_HOME/.cache/tauri
on Linux and$HOME\AppData\Local\tauri
on Windows. - Pull correct linuxdeploy AppImage when building for 32-bit targets.
- Copy the
/usr/bin/xdg-open
binary if it exists and theAPPIMAGE_BUNDLE_XDG_OPEN
environment 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_64
on the AppImage bundle script. - Fixes lost files on upgrade due to wrong implementation to keep shortcuts.
[1.0.0-rc.7]
- Change
tsp
value 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
Schedule
toafterInstallExecute
to 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::verbose
option. You may now bring your ownlog
frontend to receive logging output from the bundler while remaining in control of verbosity and formatting. - Ignore errors when loading
icns
files in the.deb
package generation. - Fix app downgrades when using the Windows installer.
[1.0.0-rc.5]
- Set the Debian control file
Priority
field tooptional
. - Fixes DLL resource usage on Windows.
- Breaking change: Removed the
useBootstrapper
option. 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
tsp
config 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
freezePrototype
configuration 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-json
with the stable commandrustc --print cfg
, improving target triple detection. -
Fixes a deadlock on the
ResourcePaths
iterator. -
Move the copying of resources and sidecars from
cli.rs
totauri-build
so 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.plist
if 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-json
and parsing thellvm-target
field, fixing macOS M1 sidecar check until we can compile the CLI with M1 target on GitHub Actions. - Added
banner_path
field to theWixSettings
struct. - Added
dialog_image_path
field to theWixSettings
struct. - Only convert package name and binary name to kebab-case, keeping the
.desktop
Name
field with the original configured value. - Use
linuxdeploy
instead ofappimagetool
forAppImage
bundling.
[1.0.0-beta.3]
- Fix WIX uninstaller by using unique
GUID
shortcut. - Run powershell commands with
-NoProfile
flag
[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_directory
was 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-Size
value on the debian package. - Use
armhf
as Debian package architecture onarm
CPUs. - Adds basic library documentation.
- The
PackageTypes
enum now includes all options, including Windows packages. - Adds
icon_path
field to theWindowsSettings
struct (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
.DirIcon
spec. - Allow including custom files on the debian package.
- Adds support to custom WiX template.
- Adds support to
wix
fragments for custom .msi installer functionality. - Adds
skip_webview_install
config underwindows > wix
to 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
osx
tomacOS
. - The
dev
andbuild
pipeline is now written in Rust. - Update all code files to have our license header.
- Alpha version of tauri-updater. Please refer to the
README
for 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]
dirs
crate is unmaintained, now usingdirs-next
instead.- Force IPv4 on
wget
so AppImage bundling doesn't hang. - Set the Windows installer (WiX)
WorkingDirectory
field toINSTALLDIR
so 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
--verbose
is passed. - Fixes the target directory detection, respecting the
CARGO_TARGET_DIR
and.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/wix
folder 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).