Skip to content

Releases: gabriel-vasile/mimetype

Add support for Cabinet and UTF-16 files

23 Dec 19:12
Compare
Choose a tag to compare

Add support for:

  • application/vnd.ms-cab-compressed
  • text/plain; charset=utf-16le
  • text/plain; charset=utf-16be

v1.0.0

11 Dec 14:19
Compare
Choose a tag to compare

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

29 Nov 12:07
Compare
Choose a tag to compare
v0.3.23

Merge branch 'fix_msoxml'

Add support for PUB, MDB and ACCDB file formats

03 Nov 14:42
Compare
Choose a tag to compare

Add support for:

  • .pub
  • .mdb and .accdb

Fix heic and heif extensions.

Add support for multiple formats

27 Oct 10:20
Compare
Choose a tag to compare
  • .heic, .heif
  • .icns
  • .mrc
  • .qcp
  • .macho
  • .nes

Add support for Jpeg2000 formats

06 Oct 11:00
Compare
Choose a tag to compare
  • application/jp2 (.jp2)
  • application/jpx (.jpf)
  • application/jpm (.jpm)

v0.3.19 Add support for .ics, .oga, .ogv, .warc

04 Oct 14:54
Compare
Choose a tag to compare

Add support for:

  • text/calendar
  • audio/ogg
  • video/ogg
  • application/warc

v0.3.18 Add support for NDJSON

02 Sep 12:47
c9b95c7
Compare
Choose a tag to compare
Merge pull request #41 from divyanshgaba/ndjson

Add support for NDJSON file format

v0.3.17 Fix issue #39

19 Aug 14:33
Compare
Choose a tag to compare
Fix index out or range panic for geo json (issue #39)

v0.3.16 Add support for EOT and OTF

26 Jul 11:52
Compare
Choose a tag to compare
Add support for EOT and OTF font types