Skip to content

Hoard v0.4.0

Compare
Choose a tag to compare
@Shadow53 Shadow53 released this 27 Dec 23:35
· 85 commits to main since this release
29a8ebd

This was originally going to be a bugfix release, but a critical dependency replacement made this a minor release instead.

UPGRADE WARNING:

Due to the change in time libraries, operation log files created by older versions of Hoard can no longer be parsed correctly and will cause Hoard to error.

To prevent this, make sure that your hoards are current (i.e. the files in the hoard and the files on the filesystem are the same, a hoard restore should be enough for this) and then run one of the following commands, depending on your system:

  • Linux/BSD: [ -n "$XDG_DATA_HOME" ] && rm -r "$XDG_DATA_HOME/hoard/history" || rm -r "$HOME/.local/share/hoard/history"
  • Mac: rm -r $HOME/Library/Application Support/com.shadow53.hoard/history
  • Windows: rm -r %AppData%\shadow53\hoard\history

New Features

  • You can now expand environment variables in the path_exists env condition.
  • Added "Getting Started" section to the documentation.
  • Added support for YAML configuration files
    • This is supported on a best-effort basis. I will do my best to avoid breaking this and have some CI/CD tests in place to help with this, but I do not and will not use YAML personally, so bugs may crop up.
  • Added new hoard list command
  • Refactored logging output into a custom format depending on whether debugging or not.
    • If debugging, output should be easier to parse, albeit a bit longer.
    • If not, output should be a bit simpler.

Fixes

  • Switched from chrono to time crate to avoid a CVE.
  • Nonexistent source directories are detected and warned about without failing the operation.
  • Ignore patterns no longer need to be prefixed with **/ to match any nested directory or file.
  • Non-configuration items named config are now detected and warned against.
  • Glob patterns are now parsed with the rest of the configuration rather than at use.

Full Changelog: v0.3.0...v0.4.0