Skip to content

v4.0.0-alpha.6

Pre-release
Pre-release
Compare
Choose a tag to compare
@mholt mholt released this 17 Mar 22:23
· 30 commits to master since this release
v4.0.0-alpha.6
dda6eaa

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