Skip to content

Releases: coralogix/protofetch

v0.1.8

16 Aug 14:06
8531549
Compare
Choose a tag to compare

What's Changed

v0.1.7

30 Jul 07:32
728c8a5
Compare
Choose a tag to compare

What's Changed

v0.1.6

02 Jul 08:54
7f4dae3
Compare
Choose a tag to compare

What's Changed

v0.1.5

27 Jun 12:57
e7e2885
Compare
Choose a tag to compare

What's Changed

v0.1.4

22 May 12:41
ca91ea8
Compare
Choose a tag to compare

What's Changed

v0.1.3

23 Apr 07:50
0d7d5fd
Compare
Choose a tag to compare

What's Changed

  • Replace binary-install with simple-binary-install (#133) @rtimush

v0.1.2

12 Feb 16:51
58711be
Compare
Choose a tag to compare

What's Changed

v0.1.1

13 Nov 09:54
9648039
Compare
Choose a tag to compare

What's Changed

  • Add limited support for global known hosts file (#125) @rtimush

v0.1.0

07 Nov 15:13
d19b67f
Compare
Choose a tag to compare

What's Changed

Working with lock files

Previously, Protofetch could not tell if a protofetch.lock file matched the contents of protofetch.toml. Whenever you edited protofetch.toml, you had to run protofetch fetch -f to update the lock file. This is no longer the case: a lock file is updated automatically.

It is also possible to verify that the lock file is up to date with the --locked CLI flag. This can be useful on CI.

This feature required some changes to the lock file format, so old lock files need to be updated using protofetch update.

Git protocol

It was a common practice to specify the git protocol in protofetch.toml. However, this was not ideal, as different people might prefer to use different protocols to fetch files from the same repository.

We have addressed this by making the default protocol configurable. By default protofetch will use ssh, and if you want to use https, you can either set a PROTOFETCH_GIT_PROTOCOL=https environment variable, or create a config file with the following content:

# ~/.config/protofetch/config.toml
[git]
protocol = "https"

It is now recommended to remove the protocol specification from the protofetch.toml descriptors.

Cache location

The default cache directory has been changed from ~/.protofetch/cache to ~/.cache/protofetch. You may want to remove the old directory when you are no longer using old protofetch versions.

Nix flake

The protofetch repository is now a nix flake (contributed by @gshuflin). For example, it allows you to run protofetch without installing it with nix run github:coralogix/protofetch.

Detailed Changelog

v0.0.28

31 Aug 08:26
e16bb5d
Compare
Choose a tag to compare

What's Changed

  • Fix windows artifact name (#95) @rtimush
  • Exit with a nonzero error code on error (#94) @gshuflin
  • Make the way the default cache directory is generated consistent on Windows (#93) @gshuflin
  • revision should be documented as optional (#92) @gshuflin
  • Remember what coordinate was resolved to a locked dependency (#91) @rtimush