Skip to content

Releases: devmatteini/dra

0.9.0

14 Aug 14:17
0.9.0
f50ca9d
Compare
Choose a tag to compare

Added

  • You can now also pass GitHub URL as repository argument to every
    subcommand (#307)
dra download https://github.com/devmatteini/dra-tests

0.8.2

28 May 18:07
0.8.2
93d6a4d
Compare
Choose a tag to compare
  • Fix windows executable by including static crt (#302)
  • Improve bug report for automatic download error

Updated dependencies

  • bump zip from 2.3.0 to 2.6.1
  • bump uuid from 1.15.1 to 1.16.0
  • bump ureq from 2.12.1 to 3.0.11
  • bump serde from 1.0.218 to 1.0.219
  • bump flate2 from 1.1.0 to 1.1.1
  • bump ctrlc from 3.4.5 to 3.4.6
  • bump clap from 4.5.31 to 4.5.37
  • bump clap_complete from 4.5.46 to 4.5.48
  • bump assert_cmd from 2.0.16 to 2.0.17

0.8.1

18 Mar 12:49
0.8.1
4f0e533
Compare
Choose a tag to compare

This is a maintenance release that updates our dependencies.

Updated dependencies

  • bump zip from 2.2.2 to 2.3.0
  • bump uuid from 1.11.0 to 1.15.1
  • bump tar from 0.4.43 to 0.4.44
  • bump serde from 1.0.217 to 1.0.218
  • bump ring from 0.17.3 to 0.17.13
  • bump indicatif from 0.17.9 to 0.17.11
  • bump flate2 from 1.0.35 to 1.1.0
  • bump clap from 4.5.23 to 4.5.31
  • bump clap_complete from 4.5.40 to 4.5.46
  • bump bzip2 from 0.5.0 to 0.5.2

0.8.0

20 Jan 23:39
0.8.0
e886747
Compare
Choose a tag to compare

Added

Before, you needed to export environment variable GITHUB_TOKEN to make authenticated requests to download assets from
private repositories and avoid rate limit issues.

Now, you can also export one of the following environment variables:

  1. DRA_GITHUB_TOKEN
  2. GITHUB_TOKEN (same as before)
  3. GH_TOKEN

If none of the above environment variables are set, the GitHub cli token (if available) will be used as default value.

If you would like to disable GitHub authentication, you can export the environment variable DRA_DISABLE_GITHUB_AUTHENTICATION=true

0.7.1

15 Jan 22:11
0.7.1
79823f3
Compare
Choose a tag to compare

Added

Automated bash script for initial dra download (see README.md for more information)

curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/devmatteini/dra/refs/heads/main/install.sh | bash -s -- --to <DESTINATION>

Changed

Improve install feature error message when no executables are found to provide more context to the user (based on #232)

Fixed

Automatic download on Linux prioritize musl-based archives when multiple musl assets are available, ensuring better compatibility across distributions. (#267)

Updated dependencies

  • bump zip from 2.2.0 to 2.2.2
  • bump ureq from 2.10.1 to 2.12.1
  • bump tar from 0.4.42 to 0.4.43
  • bump serde from 1.0.214 to 1.0.217
  • bump predicates from 3.1.2 to 3.1.3
  • bump itertools from 0.13.0 to 0.14.0
  • bump indicatif from 0.17.8 to 0.17.9
  • bump hashbrown from 0.15.0 to 0.15.2
  • bump flate2 from 1.0.34 to 1.0.35
  • bump clap from 4.5.20 to 4.5.23
  • bump clap_complete from 4.5.34 to 4.5.40
  • bump bzip2 from 0.4.4 to 0.5.0

0.7.0

22 Nov 16:55
0.7.0
011b6c2
Compare
Choose a tag to compare

Added

Install multiple executables from tar/zip archives in one command (#234, thanks @duong-dt for the initial implementation).

You can now specify -I/--install-file option multiple times:

$ dra download -s helloworld-many-executables-unix.tar.gz -I helloworld-v2 -I random-script devmatteini/dra-tests
# [...]
Extracted archive executable to '/home/<user>/helloworld-v2'
Extracted archive executable to '/home/<user>/random-script'
Installation completed!

Note that the following syntax is not valid as it's not backward compatible:

dra download -s helloworld-many-executables-unix.tar.gz -I helloworld-v2 random-script devmatteini/dra-tests
#                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#                                                       you can't pass space-separated values to -I

When you install multiple executables, --output must be a directory path.

Updated dependencies

  • bump serde from 1.0.210 to 1.0.214
  • bump clap from 4.5.18 to 4.5.20
  • bump clap_complete from 4.5.29 to 4.5.34

0.6.3

27 Oct 18:56
0.6.3
c8ce1b7
Compare
Choose a tag to compare

Added

  • dra is available on Homebrew for macOS/Linux
  • install feature now works with 7-Zip files (#235)

Changed

  • Review and improve dra [command] --help messages to be clearer

Updated dependencies

  • bump zip from 0.6.6 to 2.2.0
  • bump uuid from 1.10.0 to 1.11.0
  • bump tar from 0.4.40 to 0.4.42
  • bump serde from 1.0.209 to 1.0.210
  • bump flate2 from 1.0.33 to 1.0.34
  • bump clap from 4.5.16 to 4.5.18
  • bump clap_complete from 4.5.24 to 4.5.29

0.6.2

07 Sep 14:46
0.6.2
be3c82e
Compare
Choose a tag to compare

Fixed

  • Asset detection for automatic download on windows when win64 is used for both OS and
    ARCH (#224)

Updated dependencies

  • bump ureq from 2.10.0 to 2.10.1
  • bump serde from 1.0.204 to 1.0.209
  • bump flate2 from 1.0.30 to 1.0.33
  • bump ctrlc from 3.4.4 to 3.4.5
  • bump clap from 4.5.13 to 4.5.16
  • bump clap_complete from 4.5.8 to 4.5.24
  • bump assert_cmd from 2.0.15 to 2.0.16

0.6.1

24 Aug 16:24
0.6.1
e904af9
Compare
Choose a tag to compare

Added

  • Show more information about the installed asset. For example, when installing an executable from a
    tar archive, you
    will see a message like Extracted archive executable to '/home/<user>/Downloads/helloworld'.

0.6.0

18 Aug 17:19
0.6.0
a660112
Compare
Choose a tag to compare

This release focuses on improving the install feature and adds support for more assets types (#205).
The install system is now more reliable and can handle more complex scenarios.

Thanks @sandreas and @adriangalilea for the help testing this release.

Added

New supported assets to install are:

  • Compressed executable files
  • Executable files
  • AppImage files

A new option --install-file/-I <INSTALL_FILE> has been added to dra-download command.
This option is useful when a tar archive or zip file contains many executables:

  • dra can't automatically detect which one to install
  • The repository provides more than one executable and you want to install them

See Examples section on for more information.

Changed

  • The --output option of dra-download now also accepts file paths when used with install feature. This allows to rename the installed executable file (examples)

Development

  • Extend release infrastructure to be able to create alpha/beta releases.

Updated dependencies

  • bump uuid from 1.9.1 to 1.10.0
  • bump ureq from 2.9.7 to 2.10.0
  • bump serde from 1.0.203 to 1.0.204
  • bump predicates from 3.1.0 to 3.1.2
  • bump clap from 4.5.8 to 4.5.13
  • bump clap_complete from 4.5.3 to 4.5.8
  • bump assert_cmd from 2.0.14 to 2.0.15