Releases: houseabsolute/ubi
Releases · houseabsolute/ubi
v0.8.4
- 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
ubiwould pick an asset with64in the name when trying to pick the best match on a 64-bit platform. This could include things likeproject-Linux-1.64.0.tgz, where the64is part of the version. Now it uses a pickier regex that looks for actual CPU architecture names, likex86-64orarm64. - Made it possible to use
ubion Android. - Added
linuxstaticas a string to look for when checking for Linux asset names. Apparently, theyaotool 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
-gnuor-musl. This meant that an asset name with dashes, likefoo_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,
ubiwill 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 preferproject-linux-x86-64-musl.tar.gzoverproject-linux-x86-64.tar.gz. Suggested by @egnor (Daniel Egnor). GH #142.
v0.8.2
Immutable
release. Only release title and notes can be modified.
- Fixed a bug introduced in 0.8.0, which caused
ubito prefer thebrowser_download_urlover theurlfor a GitHub asset. When both are present, it will now use theurlfield. This is important because when downloading assets from a private repo, theurlwill work with the authentication headers thatubisets. Fixed by @rnaveiras (Raúl Naveiras). GH #139. - Added more context to errors and made
ubidisplay the full error context when it fails. This should help with debugging issues like #136.
v0.8.1
- The change in 0.7.4 to look for "arm" on macOS caused
ubito not respect the--matchingoption. Reported (#137) and fixed (#138) by @prashantv.
v0.8.0
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
ubiwill 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-tooption. For some file types, like.AppImagefiles, this would preserve the extension on the file even if the value passed to--rename-exe-todid 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
.shand.pyextension. Based on PR #127 from @Finkregh (Oluf Lorenzen ).
v0.7.2
v0.7.1
- Set the minimum support Rust version (MSRV) of the
ubicrate to 1.85.
v0.7.0
- Added a new
--matching-regexCLI flag andUbiBuilder::matching_regexmethod. 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-allis passed has been fixed. Previously, if the directory where the archive was extracted into was not empty, then whenubichecked 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-allmore 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
zipto 2.4.1. Previously,ubipinnedzip2.2.3, which was yanked, because the 2.3.0 release brokeubi's tests.