diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..f2917cc --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,167 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +## [0.2.0] - 2024-02-27 + +### Bug Fixes + +- Remove leftover comment +- Flush xz encoder/decoder to show correct output size +- Error correction for 0 sized chunks +- Restrict compression levels of bzip2 + +### Documentation + +- Add categories to Cargo.toml +- Update the crate description + +### Features + +- Add bzip2 support +- Add shortcut for cargo audit +- Switch out just for go-task +- Pretty print the error messages +- Add a progress bar to xz +- Add argument to control progress bar +- Add an option to set the chunk size for monitoring progress +- Allow compression levels 'none' 'fast' 'best' +- Add progress bar to bzip2 +- Allow `decompress` as an alias of `extract` +- Add the magic cli + +### Miscellaneous Tasks + +- Overcomplicate the taskfile +- Add git-cliff to generate changelogs +- Release v0.2.0 + +### Refactor + +- Minor changes to the utils +- Move the args and parsing logic into compressor modules + +### Styling + +- Fix clippy warnings + +### Testing + +- Add tests for input parsing +- Add a test script against the official tools + +### Build + +- Add a commit helper script + +## [0.1.0] - 2023-12-09 + +### Bug Fixes + +- Set name for devshell +- Remove unused gzip::EXT +- Removing unnecessary comments +- Fixing bug while checking input extension +- Cleaning up some comments and naming +- Improve error message when inferring output name +- Improve output identification +- Use first file's name to generate output filename +- Default extracted filename for gzip + +### Documentation + +- Update package description +- Add shorthand alias for gzip +- Add usage examples +- Cleanup the README +- Add contributing guide +- Add note about test coverage +- Renaming my GH account to arcuru +- Update description of gzip roundtrip tests +- Cleanup of the README + +### Features + +- Adding tar extraction +- Use subcommands +- Make tar operate on generic Readers/Writers +- Adding gzip support +- Allow compressing/extracting to a pipe +- Make the input filename optional +- Allow multiple input files to compression +- Adding test stubs +- Init Rust workflow +- Rewrite cli parsing +- Add justfile for short scripts +- Add flags to ignore just stdin or stdout pipes +- Add test target to justfile +- Add xz support +- Extend the check script +- Add .envrc + +### Miscellaneous Tasks + +- Bump flake deps +- Expand Rust action +- Ignore direnv cache +- Add act and prettier to the environment +- Add Nix action +- Switch flake to use flake-parts and nci +- All deps +- Nix deps +- Rust deps +- Release v0.1.0 + +### Refactor + +- Redo the dispatching with generics +- Use common arguments struct +- Standardize the interface for compressors +- Use common fn for constructing errors +- Simplifying the compressor API +- Simplify gzip compression and extraction +- Remove the unused extract command + +### Styling + +- Use descriptive names in CI + +### Testing + +- Add some tar cli tests with target inferrence +- Use nextest to run tests + +### Build + +- Rewrite flake to use crane +- Add separate cmprss package/app +- Add overlay for easier consumption +- Fix overlay output +- Remove code coverage from nix flake check + +### Dev + +- Switch to using treefmt + +## [0.0.1] - 2023-04-02 + +### Bug Fixes + +- Disable clippy pre-commit + +### Documentation + +- Adding basic cargo info + +### Features + +- Add initial hello world +- Adding flake for dependency management +- Add tar compression + +### Miscellaneous Tasks + +- Add nix result folder to gitignore +- Bump flake deps + + diff --git a/Cargo.lock b/Cargo.lock index 4f51205..e5696c5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -202,7 +202,7 @@ checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" [[package]] name = "cmprss" -version = "0.1.0" +version = "0.2.0" dependencies = [ "assert_cmd", "assert_fs", diff --git a/Cargo.toml b/Cargo.toml index 1e51e71..f5659e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cmprss" -version = "0.1.0" +version = "0.2.0" edition = "2021" authors = ["Patrick Jackson "] readme = "README.md"