Easily create & extract archives, and compress & decompress files of various formats
This release adds support for reading 7zip archives and contains several significant fixes. Thank you to all who contributed!
Full Changelog: https://github.com/mholt/archiver/compare/v4.0.0-alpha.6...v4.0.0-alpha.8
This release focuses some attention on Identify()
, which has a slightly modified signature; please adjust programs accordingly. It can now accept any io.Reader
and no longer requires Seek()
; however, it returns three values including a new Reader that can re-read the buffered bytes consumed during identification. Callers should use that returned Reader after calling Identify()
.
Full Changelog: https://github.com/mholt/archiver/compare/v4.0.0-alpha.5...v4.0.0-alpha.6
A couple minor enhancements (including ArchiveAsync()
). Thanks for your participation and contributions!
Full Changelog: https://github.com/mholt/archiver/compare/v4.0.0-alpha.4...v4.0.0-alpha.5
A few more bug fixes and enhancements. Thanks for your participation and contributions.
Full Changelog: https://github.com/mholt/archiver/compare/v4.0.0-alpha.3...v4.0.0-alpha.4
Bug fixes and minor-moderate enhancements. Things are looking even better now! Thanks for your participation and contributions.
Full Changelog: https://github.com/mholt/archiver/compare/v4.0.0-alpha.2..v4.0.0-alpha.3
A few enhancements and bug fixes.
v4 is a complete rewrite with a simpler, stream-oriented API. The arc
command has yet to be implemented for v4 (please use v3 for now, if you need that).
PR #302 documents the many issues fixed/closed by this new version.
Some of the major new features:
Many other improvements and simplifications have been made.
The v4 godoc is live. See the README for a tour and code examples. Please try it out and leave your feedback!
c8f35d3 --ext: option to specify file type fd5996a Add a way to strip top-level folder 10fd729 Add create-evil-tar.go and create-evil-zip.go 858e52c Add exported encoder/decoder opts for zstd a9434ff Add test fea6146 Added IllegalPathError a723054 Added test cases for archive formats b0ffd5a Implement StripComponents to rar 2e9f979 Implement StripComponents to zip 8217ed3 Prevent arbitrary file overwrite via path traversal (Zip Slip attack) be59044 Remove bundling of GoLangCI Lint as a dependency. c7eae9d Resolve a few go lint issues 7d5af0e add double-evil.tar and double-evil.zip inside testdata/testarchives/evilarchives 279e87c use proper mode and type flags