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().
What's Changed
- Fix for Identify() failing on empty and small files: by @congop in https://github.com/mholt/archiver/pull/319
- Change Identify API to accept only an io.Reader by @jhwz in https://github.com/mholt/archiver/pull/322
New Contributors
- @congop made their first contribution in https://github.com/mholt/archiver/pull/319
- @jhwz made their first contribution in https://github.com/mholt/archiver/pull/322
Full Changelog: https://github.com/mholt/archiver/compare/v4.0.0-alpha.5...v4.0.0-alpha.6