Skip to content

v0.4.0

Compare
Choose a tag to compare
@mstmdev mstmdev released this 19 Apr 16:54
· 484 commits to main since this release

Enhancements

  • Changed minimum supported version to go1.18, removed the go1.17 support.
  • Add the report flag to support enable the report api route and start to collect the report data, need enable manage flag first.
  • Update interface{} type to any.
  • Add the TopList struct and tests, store some elements in list with specified capacity, the oldest elements that exceed specified capacity will be discarded.
  • Add the Time struct and tests in the util/timeutil package.
  • Export the event struct and its fields, and add a Time field for it.
  • Add benchmark tests for the hashutil package and move the TestHashValues test to hash_value_test.go.
  • Add the checkpoint_count flag to use the file checkpoint to reduce transfer unmodified file chunks and update the README doc for it.
  • Add the need_checkpoint parameter to the file query api support to return file checkpoint hash value and update server/README.md doc for it.
  • Update dependency, github.com/no-src/log v0.1.1 => v0.1.2.
  • Remove unused function httputil.HttpPostFileWithCookie.
  • Remove the no_server tags and no longer support to remove file server.
  • Add the hashutil.CheckpointsMD5FromFileName function and tests, calculate the hash value of the full file and first chunk and some checkpoints.
  • Add the hashutil.CompareHashValuesWithFileName function and tests, calculate the file hashes and return the last continuous hit HashValue.
  • Add the checksum flag to calculate and print the checksum for source file.