Skip to content

Releases: javaLux/hashguard

Release v4.0.1

08 May 19:06
Compare
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
Compare
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
Compare
Choose a tag to compare
  • Update dependencies

Release v3.1.0

28 Feb 15:17
Compare
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
Compare
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
Compare
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

Release v3.0.3

16 Dec 20:30
Compare
Choose a tag to compare
  • Performance optimizations
  • Refactoring
  • Update dependencies

Changed

  • Validation improvements of download command options
    • filename validation => option [-r, --rename]
    • output target validation => option [-o, --output]

Release v3.0.2

11 Dec 20:34
Compare
Choose a tag to compare
  • optimization binary size => disable dependency default features
  • Bug fixing when comparing hash sums

Changed

  • Improve error messages
  • Update dependencies

Added

  • Validation of a given hash sum, only a valid hexadecimal digit is accepted for the comparison

Release v3.0.1

12 Nov 18:35
Compare
Choose a tag to compare

Changed

  • local subcommand
    • option --file was renamed to --path
    • now you can use a path pointing to a file or a directory and calculate a hash sum
  • Refactoring

Release v3.0.0

08 Nov 19:12
Compare
Choose a tag to compare

Changed

  • the local subcommand now provides two options [--file, --buffer], the file path no longer needs to be specified via a separate argument
    • --file calculate a hash sum from a local file
    • --buffer calculate a hash sum from any given byte-buffer (e.g. String)
  • Refactoring
  • Update dependencies

Added

  • Now the following hash algorithms are available:
    • SHA2-224
    • SHA2-384