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 #319
- Change Identify API to accept only an io.Reader by @jhwz in #322
New Contributors
Full Changelog: v4.0.0-alpha.5...v4.0.0-alpha.6