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 #327
- Enhance FilesFromDisk (close #331) by @mholt in #332
- fs: Improve Open and Stat on ArchiveFS for streams by @mholt in #335
- Fix nested directory listing for archives without explicit directory names. by @jeremyje in #339
- Document caveats with compressed fs.FS by @WeidiDeng in #344
- return zip.Reader in FileSystem if file is a zip file by @WeidiDeng in #349
- ignore empty root dir name when compressing file by @WeidiDeng in #355
- rewrite file matching for fs Open, ReadDir and Stat by @WeidiDeng in #354
- add Archive method to SevenZip by @nikolaymatrosov in #364
- zip: fix File.Open not working if called after zip.Extract completes by @ncw in #367
- Allow Identify to take a nil io.Reader by @ncw in #370
- Rework ArchiveAsync interface to make it return any archiving errors by @ncw in #369
- Bump golang.org/x/text from 0.3.7 to 0.3.8 by @dependabot in #372
New Contributors
- @jeremyje made their first contribution in #339
- @WeidiDeng made their first contribution in #344
- @nikolaymatrosov made their first contribution in #364
- @ncw made their first contribution in #367
- @dependabot made their first contribution in #372
Full Changelog: v4.0.0-alpha.6...v4.0.0-alpha.8