Releases: javaLux/hashguard
Releases · javaLux/hashguard
Release v4.0.1
Release v4.0.0
- 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
- It is now possible to include file and directory names in the calculation of the hash sum by using the
Release v3.1.1
- Update dependencies
Release v3.1.0
- 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
andaarch_64(ARM64)
- provided builds for
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
toanyhow
for error handling. - Removed stack trace display when
logging=debug
.
Release v3.0.5
- 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
- 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
- parsing
Added
info
log level to write only necessary information to the log filedownload
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
- Performance optimizations
- Refactoring
- Update dependencies
Changed
- Validation improvements of download command options
- filename validation => option
[-r, --rename]
- output target validation => option
[-o, --output]
- filename validation => option
Release v3.0.2
- 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
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
- option
- Refactoring
Release v3.0.0
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