Skip to content

Releases: javaLux/hashguard

Release v5.0.0

06 Feb 20:17

Choose a tag to compare

What's Changed

  • Update dependencies
  • improved CLI-Handling
  • Refactoring
  • improved validation of the hash argument
  • improved colored output

Breaking Changes

  • the CLI Flag [-s, --save] for controlling the saving of the calculated hash, must now be set before specifying a command
    • e.g.
      • Old: hashguard download -s "http://example.com"
      • New: hashguard -s download "http://example.com"

Added

  • Now you can disable the colored output, useful if the output is to be redirected to a file

Release v4.1.0

30 Aug 22:02

Choose a tag to compare

  • Update dependencies
  • improve CLI-Handling
  • Refactoring
  • improve error messages

Added

  • You can now use a prefix when passing a hash to specify the algorithm to be used.

Release v4.0.3

19 Aug 19:16

Choose a tag to compare

  • Update dependencies
  • Migration to the new Rust Edition 2024
  • fix cargo clippy hints
  • Reformatting code style
  • improve error messages

Release v4.0.2

08 Jul 03:17

Choose a tag to compare

  • Update dependencies
  • fix cargo clippy hints
  • improve the Hash-Spinner progress bar

Release v4.0.1

08 May 19:06

Choose a tag to compare

  • Update dependencies
  • Refactoring
  • Improved error handling

Added

  • Local-Command
    • Adding the processed bytes to the ProgressBar spinner during the hash sum calculation

Release v4.0.0

04 May 19:52

Choose a tag to compare

  • Update dependencies
  • The calculation of the hash sum when downloading a file has been made more efficient. Now the hash sum is calculated directly during the download, which reduces CPU and memory usage. As only small blocks of data are used for the calculation. The same applies to local files and directories.

Changed

  • Insecure hash algorithms have been removed (MD5, SHA1)

Added

  • SHA3 hash algorithm is now supported
  • -s, --save flag, to be able to store the calculated hash sum in a file, stored in the app data directory
  • Local-Command
    • It is now possible to include file and directory names in the calculation of the hash sum by using the -i, --include-names flag

Release v3.1.1

23 Mar 17:06

Choose a tag to compare

  • Update dependencies

Release v3.1.0

28 Feb 15:17

Choose a tag to compare

  • Update dependencies
  • Improved panic handling to enhance stability
  • Enhanced error messages for better debugging
  • Improved CLI command descriptions for clarity
  • Refactoring

Added

  • pre compiled binaries for Linux, MacOs and Windows
    • provided builds for x86_64 and aarch_64(ARM64)

Changed

  • The data directory for log and crash report files has been moved to the user data directory, which varies based on the operating system.
    • It is no longer created as a hidden directory.
  • Updated logging mechanism:
    • Instead of creating a new log file on every app start, logs are now written to a single file until it reaches 1MB.
    • Once the file reaches this limit, it is renamed with the .old suffix, and a new log file is created.
    • This prevents excessive log file creation and improves log management.
  • Switched from color-eyre to anyhow for error handling.
  • Removed stack trace display when logging=debug.

Release v3.0.5

12 Jan 19:52

Choose a tag to compare

  • Update dependencies

Fixed

  • with the download command, the reading of the file name from the server response was not implemented correctly
  • this bug has been fixed in this version

Release v3.0.4

01 Jan 20:47

Choose a tag to compare

  • Refactoring
  • Update dependencies
  • improve user error messages

Fixed

  • report handler crashed(panicked) on windows if RUST_BACKTRACE set to full
  • download command
    • parsing Content-Range header was incorrect
    • if the header specifies an unknown content size (e.g. Content-Range: bytes 0-1023/*), this was not taken into account
    • now a streamed download is initiated in this case

Added

  • info log level to write only necessary information to the log file
  • download command
    • set connection time out to 25 sec
    • display user info during the connection establishment
    • improve logging behavior by using the debug log level
      • in case of an successfully request, the response headers will be logged
      • in case of an failed request, the response headers and the response body will be logged