Releases: houseabsolute/ubi
Releases · houseabsolute/ubi
v0.7.4
- Changed macOS on ARM artifact name matching to look for "arm", not just "arm64", before looking for 64-bit names. This means that
ubi
will pick something like "foo-macos-arm.tgz" over "foo-macos-x86-64.tgz" on the macOS ARM platform. Implemented by !itochan (Kazunori Jo). GH #132. - Added support for Zstd compression with both standalone files and tarballs. Implemented by @alaviss. GH #134.
- Fixed handling of the
--rename-exe-to
option. For some file types, like.AppImage
files, this would preserve the extension on the file even if the value passed to--rename-exe-to
did not include the extension. This contradicted the documentation, which said that the name was used as given. Reported by @pale3(Marko Rakamaric). GH #129. - Fixed regressions introduced in 0.7.0 by eliminating default features for
clap
, which made the CLI experience generally worse.
v0.7.3
- Added support for 7-Zip archive (
.7z
). Based on PR #115130 from @yjoer (Yeoh Joer). - Added support for projects on GitLab with more than one slash in the path name, like https://gitlab.com/gitlab-com/gl-infra/terra-transformer. GitLab allows for more path components in project names, unlike GitHub. Based on PR #115 from @suprememoocow (Andrew Newdigate).
- Added support for release artifacts with
.sh
and.py
extension. Based on PR #127 from @Finkregh (Oluf Lorenzen ).
v0.7.2
v0.7.1
- Set the minimum support Rust version (MSRV) of the
ubi
crate to 1.85.
v0.7.0
- Added a new
--matching-regex
CLI flag andUbiBuilder::matching_regex
method. This regex is matched against potential release filenames before attempting to find a release with a matching OS, architecture, etc. This is useful for doing things like filtering for a single tool when a project releases multiple tools in a single GitHub release. PR by @yjoer (Yeoh Joer). GH #122. - The logic for determining whether or not to include a top-level directory when
--extract-all
is passed has been fixed. Previously, if the directory where the archive was extracted into was not empty, then whenubi
checked for whether it should ignore a top-level directory in the archive, it would see these files, and never ignore the top-level directory. Now it extracts the archive into a temp directory and checks that. This makes the behavior of--extract-all
more predictable, and it means you can use to, for example, extract an archive into an existing tree, like~/.local
, that contains~/.local/bin
,~/.local/share
, etc. Reported by @jinnatar (Jinna Kiisuo). GH #106. - Changed dependency declarations to mostly eliminate default features, which removed quite a few transitive dependencies.
v0.6.1
- Upgraded the dependency on
zip
to 2.4.1. Previously,ubi
pinnedzip
2.2.3, which was yanked, because the 2.3.0 release brokeubi
's tests.
v0.6.0
- The
UbiBuilder::github_token
andUbiBuilder::gitlab_token
methods are deprecated in favor of a new ``UbiBuilder::token` method. These deprecated methods will be removed in a future release. - Added support for release artifacts with a
.jar
extension. Based on PR #110 from @vemoo. ubi
could incorrectly pick a release for Android when running on Linux aarch64 platforms. Reported by @jahands (Jacob Hands). GH #111.
v0.5.2 - Fix regression in v0.5.0
0.5.2 - 2025-02-22
- This is identical to 0.5.1, but it was necessary to work around a bug in my GitHub release
automation. The 0.5.1 is no longer available on GitHub, but the crates.io releases still exist and
there's no issue with using them.
0.5.1 - 2025-02-22
v0.5.0
- On Windows,
ubi
now looks for files with.bat
extensions as an executable. This applies both to releases of standalone files and executables in an archive file (tarball or zip). Based on work by @timothysparg (Tim Sparg) in PR #97. - If there are no files that are an exact match for the project name in an archive file,
ubi
will now look for files that start with the project name. On non-Windows, boxes, this will only match executables. On Windows, this will only match.bat
or.exe
files. Based on work by @timothysparg (Tim Sparg) in PR #97.
v0.4.2
- Added
all
to the list of architecture strings to match against for macOS on ARM64. It looks like this is in use in the wild. See https://github.com/segmentio/golines/releases/tag/v0.12.2 for an example. Reported by Shyam Subramaniyam.