Skip to content

Releases: houseabsolute/ubi

v0.8.4

01 Nov 18:55
v0.8.4
00046a1

Choose a tag to compare

  • This is the same as 0.8.3, but I had to publish this with a new tag because of a failed experiment with using GitHub's new immutable releases feature.
  • Fixed a bug where ubi would pick an asset with 64 in the name when trying to pick the best match on a 64-bit platform. This could include things like project-Linux-1.64.0.tgz, where the 64 is part of the version. Now it uses a pickier regex that looks for actual CPU architecture names, like x86-64 or arm64.
  • Made it possible to use ubi on Android.
  • Added linuxstatic as a string to look for when checking for Linux asset names. Apparently, the yao tool produces assets with this string in the name (why the hate for dashes, I ask?). Reported by @egnor (Daniel Egnor). GH #142.
  • Improved libc matching. Previously, this only checked for literal substrings like -gnu or -musl. This meant that an asset name with dashes, like foo_linux_musl.tar.gz, would not be matched. Now this uses regexes to better match the libc name. Reported by @egnor (Daniel Egnor). GH #142.
  • When on a platform with musl as its libc, ubi will now prefer an asset with an explicit indication that it was compiled with musl over an asset with no libc indication in the name. In other words, it will prefer project-linux-x86-64-musl.tar.gz over project-linux-x86-64.tar.gz. Suggested by @egnor (Daniel Egnor). GH #142.

v0.8.2

19 Oct 16:28
Immutable release. Only release title and notes can be modified.
v0.8.2
5bb03ce

Choose a tag to compare

  • Fixed a bug introduced in 0.8.0, which caused ubi to prefer the browser_download_url over the url for a GitHub asset. When both are present, it will now use the url field. This is important because when downloading assets from a private repo, the url will work with the authentication headers that ubi sets. Fixed by @rnaveiras (Raúl Naveiras). GH #139.
  • Added more context to errors and made ubi display the full error context when it fails. This should help with debugging issues like #136.

v0.8.1

11 Oct 16:16
v0.8.1
e19d8a8

Choose a tag to compare

  • The change in 0.7.4 to look for "arm" on macOS caused ubi to not respect the --matching option. Reported (#137) and fixed (#138) by @prashantv.

v0.8.0

14 Sep 17:41
v0.8.0
2b34086

Choose a tag to compare

v0.7.4

24 Aug 18:45
v0.7.4
8d640b7

Choose a tag to compare

  • 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

27 Jul 19:48
c39c365

Choose a tag to compare

  • 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

19 Jun 20:50
v0.7.2
dfd9b69

Choose a tag to compare

  • Added support for release artifacts with a .phar extension. Based on PR #126 from @dpassen (Derek Passen).

v0.7.1

13 Jun 15:09
v0.7.1
c32ad55

Choose a tag to compare

  • Set the minimum support Rust version (MSRV) of the ubi crate to 1.85.

v0.7.0

08 Jun 22:59
v0.7.0
850dab2

Choose a tag to compare

  • Added a new --matching-regex CLI flag and UbiBuilder::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 when ubi 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

18 Mar 20:09
v0.6.1
70bd430

Choose a tag to compare

  • Upgraded the dependency on zip to 2.4.1. Previously, ubi pinned zip 2.2.3, which was yanked, because the 2.3.0 release broke ubi's tests.