Releases: devmatteini/dra
0.3.6
Security
CVE-2022-24713 - Updated regex
crate to 1.5.6 (#23)
Updated dependencies
clap
from 3.1.17 to 3.1.18
0.3.5
0.3.4
Added
- More useful error message on rate limit exceeded and unauthorized errors from GitHub API
dra --help
anddra help
now display examples of the most common commands used.
Fixed
Previously when installing a tar/zip archive without a root directory it would result in an error.
Now this type of structures inside tar/zip archives are supported.
More info on commit 5f73077
Development
In order to speed up integration tests on CI it was created a custom docker image with all
runtime dependencies already installed (devmatteini/dra-ubuntu-base).
Updated dependencies
clap
from 3.1.12 to 3.1.14clap_complete
from 3.1.2 to 3.1.3serde
from 1.0.136 to 1.0.137
0.3.3
Changed
- The release workflow is now using github cli to create github release and upload
assets, sinceactions/create-release
andactions/upload-release-asset
are not maintained anymore.
Development
- Dependabot is now used to weekly update cargo crates and github actions
- Integration tests are now faster to run on both host machine and CI (see 1f36ffc for more details)
Updated dependencies
test-case
from 1.2.1 to 1.2.3dialoguer
from 0.9.0 to 0.10.0ctrlc
from 3.2.1 to 3.2.2clap
from 3.1.6 to 3.1.12clap_complete
from 3.1.1 to 3.1.2
0.3.2
⚠️ Breaking Changes ⚠️
The command line interface has changed to dra <SUBCOMMAND>
.
The <REPO>
positional argument must be passed after choosing download
or untag
subcommand (e.g dra download <REPO>
)
This change was needed in order to add subcommands/flags that didn't require <REPO>
, like the newly added completion
.
Added
- Generate shell completion with
dra completion <SHELL>
Updated dependencies
- clap 3.0.13 -> 3.1.6
0.3.1
Changed
- Improve
dra-download
anddra-untag
UX by showing a spinner while fetching the release information dra-download
anddra-untag
now print which release tag is currently used
Fixed
-
GitHub releases with no assets are now handled properly
-
If CTRL+C was pressed during the asset selection the cursor would not be restored (in both
dra-download
anddra-untag
sub commands).The issue and solution that we implemented is described here mitsuhiko/dialoguer/issues/77.
0.3.0
Added
-
Download and install some supported assets (
dra <repo> download --[i]nstall
).The supported assets are:
- Debian packages (
.deb
) - Tar archive with executable inside (
.tar.[gz|bz2|xz]
) - Zip file with executable inside (
.zip
)
- Debian packages (
Internals
Integration tests have been added to test the installation methods for the various supported assets.
For more information on how this tests works, read the docs.
0.2.3
0.2.2
0.2.1
Added
- Created
CONTRIBUTING.md
guidelines - Instructions for installing on Arch Linux from AUR, by
@orhun (See pull request) - Instructions for installing on Debian-based distributions.