Releases: coralogix/protofetch
v0.1.8
v0.1.7
v0.1.6
v0.1.5
v0.1.4
v0.1.3
v0.1.2
What's Changed
- Bump libgit2-sys from 0.16.1+1.7.1 to 0.16.2+1.7.2 (#130) @dependabot
- Support SSH on custom ports (#128) @rtimush
v0.1.1
v0.1.0
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
- Update cache protocol (#103) @Gor027
- Update dependencies and drop unnecessary ones (#123) @rtimush
- Check semver violations (#122) @rtimush
- Use a more standard cache directory (#121) @rtimush
- Allow configuring protofetch with a config file (#120) @rtimush
- Lockfile v2 (#117) @rtimush
- Make protocol optional and configurable locally (#119) @rtimush
- Make cache dir configurable with an environment variable (#118) @rtimush
- Update README.md to match the current code state (#116) @rtimush
- Do not access remotes unless necessary (#115) @rtimush
- Only update the lock file if something has changed (#114) @rtimush
- Do not fail if a branch has other commits than the lock file (#112) @rtimush
- Remove deprecated CLI options (#111) @rtimush
- Update the lock file when necessary (#110) @rtimush
- Create a more specialized trait for module resolution (#109) @rtimush
- Resolve to the "nearest" version (#108) @rtimush
- Remove specifications field from the lock file (#107) @rtimush
- Remove output dir from the lock file (#106) @rtimush
- Build aarch64 darwin binary (#105) @rtimush
- Don't error out when
clean
has already removed output dir (#99) @gshuflin - Print filename and line in log messages (#98) @gshuflin
- Add nix flake (#97) @gshuflin
v0.0.28
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