tauri/tooling/bundler/CHANGELOG.md
2022-09-16 14:30:18 -03:00

43 KiB

Changelog

[1.0.7]

  • Add missing allowlist config for set_cursor_grab, set_cursor_visible, set_cursor_icon and set_cursor_position APIs.
    • Bumped due to a bump in tauri-utils.
    • c764408d fix: Add missing allowlist config for cursor apis, closes #5207 (#5211) on 2022-09-16

[1.0.6]

  • Avoid re-downloading AppImage build tools on every build.
    • 02462052 fix(bundler): cache appimage bundle tools (#4790) on 2022-07-30
  • Add fips_compliant configuration option for WiX.
    • d88b9de7 feat(core): add fips_compliant wix config option, closes #4541 (#4843) on 2022-08-04

[1.0.5]

  • Correctly fill the architecture when building Debian packages targeting ARM64 (aarch64).
    • 635f23b8 fix(bundler): correctly set debian architecture for aarch64 (#4700) on 2022-07-17

[1.0.4]

  • Reduce the amount of allocations when converting cases.
    • bc370e32 feat: reduce the amount of heck-related allocations (#4634) on 2022-07-11
  • Automatically load WiX extensions referenced in fragments.
    • 261d1bc9 feat(bundler): load WiX extensions used on fragments, closes #4546 (#4656) on 2022-07-12
  • Fix AppImage builds by pinning the linuxdeploy version.
    • 89cb2526 fix(bundler): pin linuxdeploy version on 2022-07-14
  • Use Bin_${sidecarFilename} as the Id of sidecar file on WiX so you can reference it in your WiX fragments.
    • 597c9820 feat(bundler): use known Id for the sidecar files on WiX, ref #4546 (#4658) on 2022-07-12

[1.0.3]

  • Build AppImages inside the src-tauri/target folder rather than ~/.cache/tauri. Making it easier to clean and rebuild from scratch.
    • 8dd03e69 fix(bundler): Build AppImages inside the target folder (#4521) on 2022-07-03
  • Ensure the notarization RequestUUID and Status parser works on macOS 10.13.6+.
    • 23d3d847 fix(bundler): ensure RequestUUID and Status parser adds a \n, closes #4549 (#4559) on 2022-07-03
    • f7c59ecf fix(bundler): support macOS 10.13.6+ on notarization, closes #4549 (#4593) on 2022-07-05

[1.0.2]

  • Enhance the DownloadedBootstrapper Webview2 install mode compatibility with Windows 8.
    • 3df6c8c6 feat(bundler): enable TLS 1.2 before downloading webview2 bootstrapper (#4543) on 2022-06-30

[1.0.1]

  • Fix AppImage bundling when appimagelauncher is enabled.
    • b0133083 Fix appimage creation in container when host has appimagelauncher enabled (#4457) on 2022-06-27
  • Fixes AppImage bundler crashes when the file path contains whitespace.
    • 82eb6e79 fix(bundler): Fix appimage bundler crashing if path has spaces (#4471) on 2022-06-26
  • Ensure usr/lib is a directory in the AppImage bundle.
    • aa0336d6 fix(bundler): ensure AppImage usr/lib is a dir (#4419) on 2022-06-21
  • AppImage bundling will now prefer bundling correctly named appindicator library (including .1 version suffix). With a symlink for compatibility with the old naming.
    • bf45ca1d fix(cli,bundler): prefer AppImage libraries with ABI version (#4505) on 2022-06-29
  • Fix language code for korean (ko-KR).
  • Use the plist crate instead of the PlistBuddy binary to merge user Info.plist file.
    • 45076b3e refactor(bundler): use the plist crate to create and merge Info.plist (#4412) on 2022-06-21
  • Validate app version before bundling WiX.
    • 672174b8 feat(bundler): validate version before bundling with WiX (#4429) on 2022-06-21
  • 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]

  • Upgrade to stable!

[1.0.0-rc.10]

  • Bundle the tray library file (.so extension) in the AppImage if the TRAY_LIBRARY_PATH environment variable is set.
    • 34552444 feat(cli): bundle appindicator library in the AppImage, closes #3859 (#4267) on 2022-06-07
  • Bundle additional gstreamer files needed for audio and video playback if the APPIMAGE_BUNDLE_GSTREAMER environment variable is set.
    • d335fae9 feat(bundler): bundle additional gstreamer files, closes #4092 (#4271) on 2022-06-10
  • 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.
    • f48b1b0b feat(bundler): cache bundling tools in a common dir for all projects (#4305) on 2022-06-09
  • Pull correct linuxdeploy AppImage when building for 32-bit targets.
    • 53ae13d9 fix(bundler): Pull correct 32bit linuxdeploy appimage, closes #4260 (#4269) on 2022-06-04
  • Copy the /usr/bin/xdg-open binary if it exists and the APPIMAGE_BUNDLE_XDG_OPEN environment variable is set.
    • 2322ac11 fix(bundler): bundle /usr/bin/xdg-open in appimage if open API enabled (#4265) on 2022-06-04
  • On Linux, high-dpi icons are now placed in the correct directory and should be recognized by the desktop environment.
    • c2b7c775 fix: put linux high dpi icons in the correct dir (#4281) on 2022-06-10
  • 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.
    • 76d1eaae feat(cli): debug command output in real time (#4318) on 2022-06-12

[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.
    • 6830a739 fix(bundler): use binary arch on appimage bundle script (#4194) on 2022-05-23
  • Fixes lost files on upgrade due to wrong implementation to keep shortcuts.
    • 8539e02f fix(bundler): wix upgrade do not installing new files, closes #4182 on 2022-05-21

[1.0.0-rc.7]

  • Change tsp value from Option<bool> to bool.
    • 29d8e768 feat(config): adjust schema for documentation website, closes #4139 (#4142) on 2022-05-17
  • Fixes processing of resources with glob patterns when there are nested directories on Windows.
    • 3e702cf8 fix(bundler): ignore duplicated files in resource iter, closes #4126 (#4129) on 2022-05-15
  • Fixes resource bundling on Windows when the resource path includes root or parent directory components.
    • 787ea09a fix: generate windows resource directories using resource_relpath, closes #4087. (#4111) on 2022-05-13
  • Set the application name when signing the Windows MSI.
    • 8e1daad1 fix(bundler): set app name when signing MSI, closes #3945 (#3950) on 2022-05-17
  • Change WiX MajorUpgrade element's Schedule to afterInstallExecute to prevent removal of existing configuration such as the executable's pin to taskbar.
    • d965b921 fix(bundler): prevent removal of pin to taskbar on Windows (#4144) on 2022-05-17
  • Change the MSI reinstall mode so it only reinstall missing or different version files.
    • 1948ae53 fix(bundler): only reinstall missing or != version files, closes #4122 (#4125) on 2022-05-15
  • Allow configuring the display options for the MSI execution allowing quieter updates.
    • 9f2c3413 feat(core): configure msiexec display options, closes #3951 (#4061) on 2022-05-15

[1.0.0-rc.6]

  • Remove Settings::verbose option. You may now bring your own log 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.
    • de444b15 fix(bundler): debian failing to load icns icon, closes #3062 (#4009) on 2022-04-30
  • Fix app downgrades when using the Windows installer.
    • 72e577dc fix(bundler): properly reinstall files on MSI downgrades, closes #3868 (#4044) on 2022-05-04

[1.0.0-rc.5]

[1.0.0-rc.4]

  • Fixes DMG bundling on macOS 12.3.
    • 348a1ab5 fix(bundler): DMG bundling on macOS 12.3 cannot use bless, closes #3719 (#3721) on 2022-03-18

[1.0.0-rc.3]

  • Added tsp config option under tauri > bundle > windows, which enables Time-Stamp Protocol (RFC 3161) for the timestamping server under code signing on Windows if set to true.
    • bdd5f7c2 fix: add support for Time-Stamping Protocol for Windows codesigning (fix #3563) (#3570) on 2022-03-07
  • Properly create the updater bundle for all generated Microsoft Installer files.
    • 6a6f1e7b fix(bundler): build updater bundle for all .msi files (#3520) on 2022-02-24
  • Fixes the Microsoft Installer launch path.
    • 8d699283 fix(bundler): Auto-launch app from install location, closes #3547 (#3553) on 2022-02-24

[1.0.0-rc.2]

  • Fixes sidecar bundling on Windows.

[1.0.0-rc.1]

  • Change default value for the freezePrototype configuration to false.
    • Bumped due to a bump in tauri-utils.
    • 3a4c0160 fix(core): change default freezePrototype to false, closes #3416 #3406 (#3423) on 2022-02-12

[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.

    • 28dd9adb feat(bundler): support building AppImage without FUSE (#3259) on 2022-01-21
  • Fixes AppImage crashes caused by missing WebKit runtime files.

    • bec7833a fix(bundler): bundle additional webkit files. patch absolute paths in libwebkit*.so files. fixes #2805,#2689 (#2940) on 2021-12-09
  • Initialize the preselected installation path with the location of the previous installation.

    • ac1dfd8c feat(bundler): initialize msi install path with previous location (#3158) on 2022-01-07
  • Replaces usage of the nightly command RUSTC_BOOTSTRAP=1 rustc -Z unstable-options --print target-spec-json with the stable command rustc --print cfg, improving target triple detection.

  • Fixes a deadlock on the ResourcePaths iterator.

    • 4c1be451 fix(bundler): deadlock on ResourcePaths iterator, closes #3146 (#3152) on 2022-01-02
  • Move the copying of resources and sidecars from cli.rs to tauri-build so using the Cargo CLI directly processes the files for the application execution in development.

    • 5eb72c24 refactor: copy resources and sidecars on the Cargo build script (#3357) on 2022-02-08
  • The minimum Rust version is now 1.56.

    • a9dfc015 feat: update to edition 2021 and set minimum rust to 1.56 (#2789) on 2021-10-22
  • Breaking change: The sidecar's target triple suffix is now removed at build time.

    • 3035e458 Remove target triple from sidecar bin paths, closes #3355 (#3356) on 2022-02-07
  • 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.

    • 2be1abd1 fix(bundler) wix template escape character (#2608) on 2021-09-21
  • Configure WiX to add an option to launch the application after finishing setup.

    • feb3a8f8 feat(bundler): configure WiX to add launch option, closes #3015 (#3043) on 2021-12-09
  • 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.
    • 537ab1b6 feat(core): inject src-tauri/Info.plist file on dev and merge on bundle, closes #1570 #2338 (#2444) on 2021-08-15
  • Change the WiX config to allow upgrading installation with same version instead of duplicating the application.
    • dd5e1ede fix(bundler): AllowSameVersionUpgrades on WiX, closes #2211 (#2428) on 2021-08-14
  • Check target architecture at runtime running $ RUSTC_BOOTSTRAP=1 rustc -Z unstable-options --print target-spec-json and parsing the llvm-target field, fixing macOS M1 sidecar check until we can compile the CLI with M1 target on GitHub Actions.
    • 5ebf389f feat(bundler): check target arch at runtime, closes #2286 (#2422) on 2021-08-13
  • Added banner_path field to the WixSettings struct.
    • 13003ec7 feat(bundler): add config for WiX banner path, closes #2175 (#2448) on 2021-08-16
  • Added dialog_image_path field to the WixSettings struct.
    • 9bfdeb42 feat(bundler): add config for WiX dialog image path (#2449) on 2021-08-16
  • Only convert package name and binary name to kebab-case, keeping the .desktop Name field with the original configured value.
    • 3f039cb8 fix: keep original productName for .desktop Name field, closes #2295 (#2384) on 2021-08-10
  • Use linuxdeploy instead of appimagetool for AppImage bundling.
    • 397710b2 refactor(bundler): use linuxdeploy instead of appimagetool, closes #1986 (#2437) on 2021-08-15

[1.0.0-beta.3]

  • Fix WIX uninstaller by using unique GUID shortcut.
    • caa8fcc9 fix(windows): use random Guid for uninstaller (wix) (#2208) on 2021-07-14
  • Run powershell commands with -NoProfile flag
    • 3e6f3416 fix(cli.rs): run powershell kill command without profile (#2130) on 2021-06-30

[1.0.0-beta.2]

  • Properly detect target platform's architecture.
    • 628a53eb fix(cli): properly detect target architecture, closes #2040 (#2102) on 2021-06-28
  • Properly bundle resources with nested folder structure.
    • a6157212 fix(bundler): resources bundling on Windows with nested folder structure (#2081) on 2021-06-25

[1.0.0-beta.1]

  • The process of copying binaries and resources to project_out_directory was moved to the Tauri CLI.
    • 8f29a260 fix(cli.rs): copy resources and binaries on dev, closes #1298 (#1946) on 2021-06-04
  • 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.
    • f0603fcc feat(bundler): desktop shortcut on Windows (#2052) on 2021-06-23
  • 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.
    • 35a20527 fix(bundler): windows resources bundling with nested folders (#1878) on 2021-05-21

[1.0.0-beta.0]

  • Fixes the Installed-Size value on the debian package.
    • 8e0d4f6 fix(bundler): debian package Installed-Size value (#1735) on 2021-05-07
  • Use armhf as Debian package architecture on arm CPUs.
    • 894643c feat(bundler): use armhf as Debian package architecture on arm CPUs (#1663) on 2021-04-30
  • Adds basic library documentation.
    • fcee4c2 refactor(bundler): finish initial documentation, reorganize modules (#1662) on 2021-04-30
  • The PackageTypes enum now includes all options, including Windows packages.
    • fcee4c2 refactor(bundler): finish initial documentation, reorganize modules (#1662) on 2021-04-30
  • Adds icon_path field to the WindowsSettings struct (defaults to icons/icon.ico).
    • 314936e feat(bundler): add icon path config instead of enforcing icons/icon.ico (#1698) on 2021-05-03
  • Pull latest changes from create-dmg, fixing unmount issue.
  • Fixes DMG volume icon.
    • e37e187 fix(bundler): dmg volume icon (#1730) on 2021-05-06
  • Added the `#[non_exhaustive] attribute where appropriate.
    • e087f0f feat: add #[non_exhaustive] attribute (#1725) on 2021-05-05

[1.0.0-beta-rc.1]

  • Find best available icon for AppImage, follow .DirIcon spec.
    • fbf73f3 fix(bundler): find icon for AppImage, define .DirIcon, closes #749 (#1594) on 2021-04-23
  • Allow including custom files on the debian package.
    • 9e87fe6 feat(bundler): allow including custom files on debian package, fix #1428 (#1613) on 2021-04-25
  • Adds support to custom WiX template.
  • Adds support to wix fragments for custom .msi installer functionality.
  • Adds skip_webview_install config under windows > wix to disable Webview2 runtime installation after the app install.
    • d13afec feat(bundler): add option to skip webview2 runtime installation, closes #1606 (#1612) on 2021-04-24

[1.0.0-beta-rc.0]

  • Append app version and OS architecture on AppImage output filename.
    • ae76c60 fix(bundler): appimage paths and filename (#1227) on 2021-02-13
  • The Tauri bundler is now a general purpose library instead of a Cargo custom subcommand.
    • b1e6b74 refactor(cli): decouple bundler from cargo (#1269) on 2021-02-21
  • Rename macOS bundle settings from osx to macOS.
    • 080f639 refactor(bundler): specific settings on dedicated structs, update README (#1380) on 2021-03-25
  • The dev and build pipeline is now written in Rust.
    • 3e8abe3 feat(cli) rewrite the core CLI in Rust (#851) on 2021-01-30
    • aea6145 refactor(repo): add /tooling folder (#1457) on 2021-04-12
  • Update all code files to have our license header.
    • bf82136 feat(license): SPDX Headers (#1449) on 2021-04-11
    • a6def70 Refactor(tauri): move tauri-api and tauri-updater to tauri (#1455) on 2021-04-11
    • aea6145 refactor(repo): add /tooling folder (#1457) on 2021-04-12
  • Alpha version of tauri-updater. Please refer to the README for more details.
    • 6d70c8e feat(updater): Alpha version (#643) on 2021-04-05
    • a6def70 Refactor(tauri): move tauri-api and tauri-updater to tauri (#1455) on 2021-04-11
    • aea6145 refactor(repo): add /tooling folder (#1457) on 2021-04-12
  • Bundle Visual C++ redistributable files with VC142_CRT merge modules.
    • 3047a18 feat(bundler): add visual c++ redistributable files with MSM (#1368) on 2021-03-22
  • Automatically install Webview2 runtime alongside app.
    • 8e9752b feat(bundler/wix): install webview2 runtime (#1329) on 2021-03-07
  • Fixes the bundler workspace detection.

[0.9.4]

  • dirs crate is unmaintained, now using dirs-next instead.
    • 82cda98 chore(tauri) dirs crate is unmaintained, use dirst-next instead (#1057) on 2020-10-17
    • 72996be apply version updates (#1024) on 2020-10-21
  • Force IPv4 on wget so AppImage bundling doesn't hang.
  • Set the Windows installer (WiX) WorkingDirectory field to INSTALLDIR so the app can read paths relatively (previously resolving to C:\Windows\System32).
    • 5cf3402 fix: add working directory to wix's shortcut (#1021) on 2020-09-24
    • 72996be apply version updates (#1024) on 2020-10-21

[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.
    • 37bcf5f fix(bundler) missing newline in deb desktop file generation (fix: #899, #925) (#998) on 2020-08-27

[0.9.2]

  • Bump all deps as noted in #975, #976, #977, #978, and #979.
    • 06dd75b chore: bump all js/rust deps (#983) on 2020-08-20

[0.9.1]

  • Hide external scripts output unless --verbose is passed.
    • 78add1e feat(bundler): hide output from shell scripts unless --verbose is passed (fixes #888) (#893) on 2020-07-26
  • Fixes the target directory detection, respecting the CARGO_TARGET_DIR and .cargo/config (build.target-dir) options to set the Cargo output directory.
    • 63b9c64 fix(bundler) properly detect the target directory (#895) on 2020-07-25
  • Bundling every DLL file on the binary directory.
    • a00ac02 fix(bundler) webview dll not being bundled, fixes #875 (#889) on 2020-07-24

[0.9.0]

  • Fixes the AppImage bundling on containers.
    • 53e8dc1 fix(bundler) support AppImage bundling on containers #822 on 2020-07-13
    • bd0118f fix(changes) covector status pass on 2020-07-14
  • Bundler output refactor: move Windows artifacts to the bundle/wix folder and use a standard output name ${bundleName}_${version}_${arch}.${extension}.
    • 9130f1b refactor(bundler) standard output names and path (#823) on 2020-07-13

[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).