Skip to content

Releases: coralogix/protofetch

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

v0.0.27

23 Aug 08:56
ca9fbbc
Compare
Choose a tag to compare

What's Changed

  • Use vendored dependencies for mac and windows binaries (#88) @rtimush

v0.0.26

21 Aug 10:41
ebe8a4f
Compare
Choose a tag to compare

What's Changed

v0.0.25

03 Aug 09:43
eb6d632
Compare
Choose a tag to compare

What's Changed

v0.0.24

14 Jul 14:48
85d71c0
Compare
Choose a tag to compare

What's Changed

  • Deprecate explicit HTTP credentials (#77) @rtimush
  • Deprecate --repo-output-directory and warn about its usage (#76) @rtimush
  • Change --output-proto-directory behavior (#75) @rtimush
  • Add a convenient public API (#74) @rtimush

v0.0.23

07 Jul 10:30
00b0da0
Compare
Choose a tag to compare

Clean release after CI fixes, same as v0.0.22.

v0.0.22

07 Jul 09:23
16dadd8
Compare
Choose a tag to compare

What's Changed

v0.0.21

27 Feb 15:50
1aee1ff
Compare
Choose a tag to compare

What's Changed