Releases: axodotdev/axoupdater
Version 0.9.0 (2024-12-19)
Release Notes
This release adds support for XDG_CONFIG_HOME
as the location for install
receipts. If this variable is set and the receipt is located within this path,
it overrides the default location of $HOME/.config
(Mac and Linux) or
%LOCALAPPDATA%
(Windows). Install receipts will be created in this path when
running installers created by dist 0.27.0 or later if XDG_CONFIG_HOME
is set.
This release also adds infrastructure to support app renaming when running as
a library. There are two new features:
- It's now possible to load receipts for alternate app names, not just the one
that a given instance ofAxoUpdater
was instantiated for. This can be done
by runningAxoUpdater::load_receipt_for(app_name)
. - It's now possible to change the name a given
AxoUpdater
instance is for.
This can be done by runningAxoUpdater::set_name(app_name)
. This can
override the name that was loaded from an app receipt.
For example, if your app is changing from oldname
to newname
, you might set
up AxoUpdater
like this:
// Instantiate the updater class with the new app name
let mut updater = AxoUpdater::new_for("newname");
// First, try to check for a "newname" receipt
// (this might be a post-rename release)
if updater.load_receipt_as("newname").is_err() {
// If that didn't work, try again as "oldname"
if updater
.load_receipt_as("oldname")
.map(|updater| updater.set_name("newname"))
.is_err()
{
eprintln!("Unable to load install receipt!");
}
}
Download axoupdater-cli 0.9.0
File | Platform | Checksum |
---|---|---|
axoupdater-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
axoupdater-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
axoupdater-cli-x86_64-pc-windows-gnu.zip | x64 MinGW | checksum |
axoupdater-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
axoupdater-cli-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
axoupdater-cli-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Version 0.8.2 (2024-12-03)
Release Notes
This release adds x86_64-pc-windows-gnu
to the list of targets for which we
publish binaries. It also contains a few small changes to the library:
- The new
AxoUpdater::VERSION
constant exposes axoupdater's version. - The
AxoUpdater::install_prefix_root
method is now public.
Download axoupdater-cli 0.8.2
File | Platform | Checksum |
---|---|---|
axoupdater-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
axoupdater-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
axoupdater-cli-x86_64-pc-windows-gnu.zip | x64 MinGW | checksum |
axoupdater-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
axoupdater-cli-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
axoupdater-cli-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Version 0.8.1 (2024-10-31)
Release Notes
This release fixes an issue with the previous release in which
{app_name}_INSTALLER_GITHUB_BASE_URL
wouldn't respect the port specified by
the user.
Download axoupdater-cli 0.8.1
File | Platform | Checksum |
---|---|---|
axoupdater-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
axoupdater-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
axoupdater-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
axoupdater-cli-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
axoupdater-cli-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Version 0.8.0 (2024-10-31)
Release Notes
This release adds support for overriding the GitHub API URL using new environment variables:
{app_name}_INSTALLER_GITHUB_BASE_URL
{app_name}_INSTALLER_GHE_BASE_URL
For more information, see the dist installer docs.
- impl
Download axoupdater-cli 0.8.0
File | Platform | Checksum |
---|---|---|
axoupdater-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
axoupdater-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
axoupdater-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
axoupdater-cli-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
axoupdater-cli-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Version 0.7.3 (2024-10-22)
Release Notes
This release contains improvements on Windows, ensuring that temporary files and
files from older versions are correctly cleaned up.
Download axoupdater-cli 0.7.3
File | Platform | Checksum |
---|---|---|
axoupdater-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
axoupdater-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
axoupdater-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
axoupdater-cli-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
axoupdater-cli-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Version 0.7.2 (2024-09-11)
Release Notes
This release fixes a bug that caused axoupdater to return a confusing error
message if it attempted to load an install receipt containing a reference to an
install path which no longer exists.
Download axoupdater-cli 0.7.2
File | Platform | Checksum |
---|---|---|
axoupdater-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
axoupdater-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
axoupdater-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
axoupdater-cli-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
axoupdater-cli-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Version 0.7.1 (2024-08-28)
Release Notes
This release improves compatibility with certain Windows configurations by setting the execution policy before running the new installer. A similar change is shipped in cargo-dist 0.21.2.
This release also contains a forward-looking change to ensure compatibility with installers produced by future versions of cargo-dist (#169).
Download axoupdater-cli 0.7.1
File | Platform | Checksum |
---|---|---|
axoupdater-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
axoupdater-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
axoupdater-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
axoupdater-cli-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
axoupdater-cli-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Version 0.7.0 (2024-07-25)
Release Notes
This release improves debugging for users who use axoupdater as a crate and who
disable printing stdout/stderr from the installer. If the installer runs but
fails, we now return a new error type which contains the stderr/stdout and exit
status from the underlying installer; this can be used by callers to help
identify what failed.
This release also introduces a debugging feature for the standalone installer.
It's now possible to override which installer to use by setting the
AXOUPDATER_INSTALLER_PATH
environment variable to the path on disk of the
installer to use. A similar feature was already available to library users
using the AxoUpdater::configure_installer_path
method.
Download axoupdater-cli 0.7.0
File | Platform | Checksum |
---|---|---|
axoupdater-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
axoupdater-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
axoupdater-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
axoupdater-cli-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
axoupdater-cli-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Version 0.6.9 (2024-07-18)
Release Notes
This release fixes a bug in which axoupdater could pick the wrong installer when handling releases containing more than one app.
Download axoupdater-cli 0.6.9
File | Platform | Checksum |
---|---|---|
axoupdater-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
axoupdater-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
axoupdater-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
axoupdater-cli-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
axoupdater-cli-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Version 0.6.8 (2024-07-05)
Release Notes
This release updates cargo-dist.
Download axoupdater-cli 0.6.8
File | Platform | Checksum |
---|---|---|
axoupdater-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
axoupdater-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
axoupdater-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
axoupdater-cli-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
axoupdater-cli-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
axoupdater-cli-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |