This release adds support for reading 7zip archives and contains several significant fixes. Thank you to all who contributed!
What's Changed
- Retain underlying reader if it's an io.Seeker by @jhwz in https://github.com/mholt/archiver/pull/327
- Enhance FilesFromDisk (close #331) by @mholt in https://github.com/mholt/archiver/pull/332
- fs: Improve Open and Stat on ArchiveFS for streams by @mholt in https://github.com/mholt/archiver/pull/335
- Fix nested directory listing for archives without explicit directory names. by @jeremyje in https://github.com/mholt/archiver/pull/339
- Document caveats with compressed fs.FS by @WeidiDeng in https://github.com/mholt/archiver/pull/344
- return zip.Reader in FileSystem if file is a zip file by @WeidiDeng in https://github.com/mholt/archiver/pull/349
- ignore empty root dir name when compressing file by @WeidiDeng in https://github.com/mholt/archiver/pull/355
- rewrite file matching for fs Open, ReadDir and Stat by @WeidiDeng in https://github.com/mholt/archiver/pull/354
- add Archive method to SevenZip by @nikolaymatrosov in https://github.com/mholt/archiver/pull/364
- zip: fix File.Open not working if called after zip.Extract completes by @ncw in https://github.com/mholt/archiver/pull/367
- Allow Identify to take a nil io.Reader by @ncw in https://github.com/mholt/archiver/pull/370
- Rework ArchiveAsync interface to make it return any archiving errors by @ncw in https://github.com/mholt/archiver/pull/369
- Bump golang.org/x/text from 0.3.7 to 0.3.8 by @dependabot in https://github.com/mholt/archiver/pull/372
New Contributors
- @jeremyje made their first contribution in https://github.com/mholt/archiver/pull/339
- @WeidiDeng made their first contribution in https://github.com/mholt/archiver/pull/344
- @nikolaymatrosov made their first contribution in https://github.com/mholt/archiver/pull/364
- @ncw made their first contribution in https://github.com/mholt/archiver/pull/367
- @dependabot made their first contribution in https://github.com/mholt/archiver/pull/372
Full Changelog: https://github.com/mholt/archiver/compare/v4.0.0-alpha.6...v4.0.0-alpha.8