Skip to content

Releases: devmatteini/dra

0.10.0

08 Dec 20:54
0.10.0
d62f663

Choose a tag to compare

Added

  • Install RPM assets (#335)

  • Download selection mode now supports wildcard pattern, using * and ? special characters, to select the first asset matching the given pattern (#271).

    This new feature is useful when release assets contain sections that change for each release (e.g. a build number or
    timestamp).

    For example, dra download -s 'helloworld*_amd64.deb' devmatteini/dra-tests.

    Selection mode is backward compatible with previous versions. You can still pass literal or untagged patterns.

Changed

  • Rewrite download automatic mode, without any breaking change, to be more customizable, reliable and easier to
    maintain.

Fixed

  • Handle more Windows OS formats in install script (#336)

Updated dependencies

  • bump zip from 2.6.1 to 6.0.0
  • bump uuid from 1.16.0 to 1.18.1
  • bump url from 2.5.4 to 2.5.7
  • bump ureq from 3.0.12 to 3.1.4
  • bump serde from 1.0.219 to 1.0.228
  • bump indicatif from 0.18.0 to 0.18.3
  • bump flate2 from 1.1.2 to 1.1.5
  • bump dialoguer from 0.11.0 to 0.12.0
  • bump ctrlc from 3.4.7 to 3.5.1
  • bump clap from 4.5.48 to 4.5.53
  • bump clap_complete from 4.5.57 to 4.5.61
  • bump bzip2 from 0.6.0 to 0.6.1
  • bump assert_cmd from 2.0.17 to 2.1.1

0.9.1

10 Nov 23:33
0.9.1
8a0ab55

Choose a tag to compare

Fixed

  • Asset detection for automatic download on windows when win-64bit is used for both OS and
    ARCH (#333)

0.9.0

14 Aug 14:17
0.9.0
f50ca9d

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

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

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

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

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

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

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

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