Skip to content

Releases: devmatteini/dra

0.3.6

07 Jun 20:52
0.3.6
deb1bdb
Compare
Choose a tag to compare

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

12 May 11:52
0.3.5
2a282c1
Compare
Choose a tag to compare

Added

Updated dependencies

  • clap_complete from 3.1.3 to 3.1.4
  • clap from 3.1.14 to 3.1.17
  • dialoguer from 0.10.0 to 0.10.1

0.3.4

07 May 14:48
0.3.4
70200e8
Compare
Choose a tag to compare

Added

  • More useful error message on rate limit exceeded and unauthorized errors from GitHub API
  • dra --help and dra 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.14
  • clap_complete from 3.1.2 to 3.1.3
  • serde from 1.0.136 to 1.0.137

0.3.3

25 Apr 15:47
0.3.3
80b093f
Compare
Choose a tag to compare

Changed

  • The release workflow is now using github cli to create github release and upload
    assets, since actions/create-release and actions/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.3
  • dialoguer from 0.9.0 to 0.10.0
  • ctrlc from 3.2.1 to 3.2.2
  • clap from 3.1.6 to 3.1.12
  • clap_complete from 3.1.1 to 3.1.2

0.3.2

30 Mar 22:17
0.3.2
1fa8a9a
Compare
Choose a tag to compare

⚠️ 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

19 Mar 16:44
0.3.1
19d33a6
Compare
Choose a tag to compare

Changed

  • Improve dra-download and dra-untag UX by showing a spinner while fetching the release information
  • dra-download and dra-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 and dra-untag sub commands).

    The issue and solution that we implemented is described here mitsuhiko/dialoguer/issues/77.

0.3.0

14 Mar 23:07
0.3.0
75fca68
Compare
Choose a tag to compare

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)

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

05 Feb 17:07
0.2.3
c7791b3
Compare
Choose a tag to compare

This release update some of our dependencies and migrates to clap v3 as args parser.

Changed

  • Migration to clap v3 instead of using structopt (fe132c1).

Updated dependencies

  • serde 1.0.130 -> 1.0.136
  • ureq 2.3.1 -> 2.4.0

0.2.2

08 Jan 21:37
Compare
Choose a tag to compare

Added

  • Download assets from a specific release, by @orhun (see issue 3).
    If none is specified, the latest release is used.

    e.g: dra <repo> download --tag <tag>

  • Download assets from private repositories by exporting GITHUB_TOKEN environment variable

0.2.1

06 Jan 18:31
Compare
Choose a tag to compare

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.