After 100+ PRs and 326 commits from 15 contributors, here's a summary for 0.4.0
!
Packaging Ouch
If your package was broken by this release, or you want more info about packaging Ouch, check this page.
Highlights of this release
- More than 15 bug fixes (including major bugs).
- New accessible mode.
- Added
list
command. - Added support for
.lz4
and.sz
(snappy). - Infer file type while decompressing via MIME types.
- New flags to ignore hidden files and
.gitignore
'd files when compressing. - Flag
-o/--output
was renamed to-d/--dir
.
Contributors
Many thanks to all who contributed to Ouch!
Here's a non-exhaustive list of people who contributed to this release:
@marcospb19
@figsoda
@sigmaSd
@vrmiguel
@Crypto-Spartan
@jcgruenhage
@LovecraftianHorror
@Artturin
@AntonHermann
@hivehand
@SpyrosRoum
@khubo
@exoego
@dnaka91
@dcariotti
Also, thanks to those who helped with packaging and issue reporting.
More changes
Other than the highlighted features, here are more 33 PRs with changes:
- Fix short flag for the --dir flag by @marcospb19 in #149
- Fix typo by @marcospb19 in #176
- Improve zip errors when paths are not utf8 valid by @marcospb19 in #181
- Fix error message panic when cannot list non-archive files by @marcospb19 in #182
- add supported formats to help message by @figsoda in #189
- Fix not overwriting files/dirs when trying to create a dir by @SpyrosRoum in #190
- add link to github to help message by @figsoda in #191
- Fix error with format infer by @marcospb19 in #205
- Skip compressing file if its the same file as the output by @sigmaSd in #193
- Fix zip memory warnings by @Crypto-Spartan in #217
- Fix the hint suggestion for compressing multiple files by @Crypto-Spartan in #219
- Ignore broken symlinks when compressing by @sigmaSd in #224
- simple eprintln fixes by @Crypto-Spartan in #226
- Actually use relative paths when extracting by @sigmaSd in #229
- Mark directories when compressing to zip regardless of their contents by @sigmaSd in #230
- Make yes, no, and accessible flags global by @LovecraftianHorror in #236
- feat: recover last modified time when unpacking zip archives by @vrmiguel in #250
- fix warning for zip with additional formats by @Crypto-Spartan in #239
- Fix the
decompress
-d
argument description by @hivehand in #265 - Fix wrong filename suggestions when compressing folders into non-archives by @vrmiguel in #269
- fix: incorrect warnings for decompression by @figsoda in #270
- fix: respect file permissions when compressing zip files by @figsoda in #271
- Generate man pages with clap_mangen by @figsoda in #273
- Show subcommand aliases on
--help
by @marcospb19 in #275 - Warn user if file extension is passed as file name by @marcospb19 in #277
- Check for errors when setting the last modified time by @marcospb19 in #278
- set last modified time during zip compression by @figsoda in #279
- fix infinite compression if output file is inside the input folder by @figsoda in #288
- Fix not overwriting a folder when compressing by @marcospb19 in #295
- fix error message when compressing zip archive by @marcospb19 in #299
- Fix fatal error if read fails when compressing by @marcospb19 in #297
- Improve error message when compressing folder with single-file formats by @marcospb19 in #303
- Check for EOF when asking questions by @marcospb19 in #311
PRs made for optimization, testing, refactoring, and documentation are not listed.
Regressed feature during development
This version was supposed to feature a progress bar with estimated time left and throughput data (MBs/s), unfortunately, it couldn't be shipped in this version because it introduced a couple of bugs.
We agreed to regress the progress bar until we could fix all these issues.
Full changelog
GitHub Diff: 0.3.1...0.4.0
CHANGELOG.md file: https://github.com/ouch-org/ouch/blob/main/CHANGELOG.md