Releases: gabriel-vasile/mimetype
Releases · gabriel-vasile/mimetype
Add support for Cabinet and UTF-16 files
Add support for:
- application/vnd.ms-cab-compressed
- text/plain; charset=utf-16le
- text/plain; charset=utf-16be
v1.0.0
In v1.x the detect functions no longer return the MIME type and extension as strings. Instead they return a MIME struct. To get the string value of the MIME and the extension, call the String() and the Extension() methods.
In order to play better with the stdlib mime package, v1.x file extensions include the leading dot, as in ".html".
In v1.x the text/plain MIME type is text/plain; charset=utf-8.
Improve mso xml files detection
v0.3.23 Merge branch 'fix_msoxml'
Add support for PUB, MDB and ACCDB file formats
Add support for:
- .pub
- .mdb and .accdb
Fix heic and heif extensions.
Add support for multiple formats
- .heic, .heif
- .icns
- .mrc
- .qcp
- .macho
- .nes
Add support for Jpeg2000 formats
- application/jp2 (.jp2)
- application/jpx (.jpf)
- application/jpm (.jpm)
v0.3.19 Add support for .ics, .oga, .ogv, .warc
Add support for:
- text/calendar
- audio/ogg
- video/ogg
- application/warc
v0.3.18 Add support for NDJSON
Merge pull request #41 from divyanshgaba/ndjson Add support for NDJSON file format
v0.3.17 Fix issue #39
Fix index out or range panic for geo json (issue #39)
v0.3.16 Add support for EOT and OTF
Add support for EOT and OTF font types