Releases: houseabsolute/ubi
Releases · houseabsolute/ubi
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.
v0.6.0
- The
UbiBuilder::github_tokenandUbiBuilder::gitlab_tokenmethods 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
.jarextension. Based on PR #110 from @vemoo. ubicould 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,
ubinow looks for files with.batextensions 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,
ubiwill 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.bator.exefiles. Based on work by @timothysparg (Tim Sparg) in PR #97.
v0.4.2
- Added
allto 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.
v0.4.1
- Fixed a bug where
ubiwhere zip files containing a directory that matched the expected executable name causedubito extract the directory instead of the actual executable, resulting in a 0-length file. Based on a PR #89 from @fiadliel (Gary Coady). Fixes #88. - Added a new
UbiBuilder::rename_exe_tomethod, along with a--rename-exe-toCLI flag. When this is set, the installed executable will use the name given here, instead of the name that it has in the downloaded file. This is useful for projects that do releases where the executable name includes things like a version number of platform information. Based on discussion in #86. - Added support for release artifacts with a
.pyzextension. These are zip files containing Python code, and they can be directly executed. Based on PR #85 from @itochan (Kazunori Jo). - Added support for release artifacts with a
.AppImageextension. These will only be picked when running Linux. Requested by @SaulH (Saul Reynolds-Haertle). GH #86. - Fixed a bug where
ubiwould consider an asset with.exeextension on non-Windows platforms. In practice, this would probably only have been an issue for projects with exactly one release artifact, where that artifact had a.exeextension. - The
--extract-allCLI option added in the previous release did not have any description in the help output. This has been fixed.
v0.4.0
- The
ubiCLI tool now takes an optional--extract-allargument. If this is passed, it will only look for archive files and it will extract the entire contents of an archive it finds. There is also a new correspondingUbiBuilder::extract_allmethod. Requested by @Entze (Lukas Grassauer). GH #68. - The
UbiBuilder::install_dirmethod now takesAsRef<Path>instead ofPathBuf, which should make it more convenient to use. - Previously,
ubiwould create the install directory very early in its process, well before it had something to install. This meant that if it failed to find an asset, couldn't download the asset, or other errors happened, it would leave this directory behind. Now it creates this directory immediately before writing the executable it found to disk.
v0.3.0
ubinow works with GitLab in addition to GitHub. For the command-line program, if the value you pass to--projecthas agitlab.comdomain, likehttps://gitlab.com/gitlab-org/cli, this will just work. If you just pass a project name, likegitlab-org/cli, then you will also need to pass--forge gitlabin order to tellubito use gitlab. The library interface works the same way, with a newUbiBuilder::forgemethod. Requested by @SangeloDev. GH #51.- When looking for macOS assets,
ubiwill now match againstmacosxin asset names, not justmacosandosx. Implemented by @kattouf (Vasiliy Kattouf). GH #80. - Added a new
--api-url-baseCLI argument. This should allow you to useubiwith Enterprise installations of GitHub and GitLab. Requested by @oalders (Olaf Alders). GH #69. - Renamed the
UbiBuilder::url_basemethod toapi_base_urland changed it to take a&strinstead of aString, which is consistent with all the other builder methods.
v0.2.4
v0.2.3
- Fixed the code to detect whether the filename includes a version number that looks like an extension. If the filename ended with the version, like
foo-1.2.3, then this was not handled properly. It only worked if there something after the version as well, likefoo-1.2.3-linux-amd64. Based on a bug report by @FelisNivalis. GH #77.