Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
74 KiB
Changelog
[2.0.1-beta.7]
Bug Fixes
a799f24f9
(#9185) Fixed an issue that caused the msi bundler to crash when deep link schemes were configured.
[2.0.1-beta.6]
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.10
[2.0.1-beta.5]
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.9
[2.0.1-beta.4]
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.8
[2.0.1-beta.3]
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.7
[2.0.1-beta.2]
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.6
[2.0.1-beta.1]
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.5
[2.0.1-beta.0]
Bug Fixes
84c783f6
(#8948) Fix NSIS installer always containing a license page even thoughlicenseFile
option is not set in the config.84c783f6
(#8948) Don't fallback tolicenseFile
and use onlylicense
field when building RPM.
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.4
[2.0.0-beta.3]
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.3
[2.0.0-beta.2]
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.2
[2.0.0-beta.1]
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.1
[2.0.0-beta.0]
Enhancements
d6c7568c
(#8720) Addfiles
option to the AppImage Configuration.30be0e30
(#8303) Added Russian language support to the NSIS bundler.
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.0
Breaking Changes
8de308d1
(#8723) - Removed all license fields fromWixSettings
,NsisSettings
andMacOsSettings
and replaced withlicense
andlicense_file
fields inBundlerSettings
.
[2.0.0-alpha.14]
New Features
27bad32d
(#7798) Addfiles
object on thetauri > bundle > macOS
configuration option.27bad32d
(#7798) Addfiles
map on theMacOsSettings
struct to add custom files to the.app
bundle.
Enhancements
091100ac
(#5202) Add RPM packaging8032b22f
(#8596) Support using socks proxy from environment when downloading files.
Dependencies
- Upgraded to
tauri-utils@2.0.0-alpha.13
[2.0.0-alpha.13]
Dependencies
- Upgraded to
tauri-utils@2.0.0-alpha.12
[2.0.0-alpha.12]
Bug Fixes
Dependencies
- Upgraded to
tauri-utils@2.0.0-alpha.11
[2.0.0-alpha.11]
Enhancements
c6c59cf2
Pull changes from Tauri 1.5 release.cfe6fa6c
(#8061) Added German language support to the NSIS bundler.
Dependencies
- Upgraded to
tauri-utils@2.0.0-alpha.10
[2.0.0-alpha.10]
New Features
Dependencies
- Upgraded to
tauri-utils@2.0.0-alpha.9
[2.0.0-alpha.9]
Dependencies
- Upgraded to
tauri-utils@2.0.0-alpha.8
[2.0.0-alpha.8]
Enhancements
[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.5.0]
New Features
7aa30dec
(#8620) Addpriority
,section
andchangelog
options in Debian config.89911296
(#8259) On macOS, support for signing nested .dylib, .app, .xpc and .framework under predefined directories inside the bundled frameworks ("MacOS", "Frameworks", "Plugins", "Helpers", "XPCServices" and "Libraries").8ce51cec
(#7718) On Windows, NSIS installer now supports/ARGS
flag to pass arguments to be used when launching the app after installation, only works if/R
is used.
Enhancements
Bug Fixes
Dependencies
49266487
(#8618) Replacelibflate
withflate2
, this will help to provide additional functionalities and features.
[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) UnsetNSISDIR
andNSISCONFDIR
when runningmakensis.exe
so 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 theresources
feature was used.92bc7d0e
(#8233) Fixes an issue in the NSIS installer which caused the installation to take much longer than expected when manyresources
were added to the bundle.
[1.4.5]
Enhancements
[1.4.4]
Enhancements
Bug Fixes
[1.4.3]
Bug Fixes
d0ae6750
(#8012) ReadHTTP_PROXY
env var when downloading bundling resources on Windows.113bcd7b
(#7980) In Debian packages, setroot
the 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_ID
environment 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_ID
environment 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) Addcompression
configuration option undertauri > bundle > windows > nsis
.
Bug Fixes
46df2c9b
(#7360) Fix bundler skipping updater artifacts ifupdater
target 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 appproductName
are the same.6e36ebbf
(#7342) On Windows, fix NSIS uninstaller failing to remove Start Menu shortcut ifperMachine
mode is used.
Dependencies
- Upgraded to
tauri-utils@1.5.0
a2be88a2
(#7405) Removed thebitness
dependency to speed up compile time.
Breaking Changes
964d81ff
(#7616) The macOS notarization now usesnotarytool
asaltool
will be discontinued on November 2023. When authenticating with an API key, the key.p8
file path must be provided in theAPPLE_API_KEY_PATH
environment variable. To prevent a breaking change, we will try to find the key path in thealtool
default search paths.
[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).