Releases: gabriel-vasile/mimetype
Releases · gabriel-vasile/mimetype
Add Extend functionality and support for .lnk and .xpm formats
Add SetLimit function and support for 5 other formats
Add SetLimit function. It lets users set the length of the header mimetype
reads from the input. Longer headers give better detection results for file formats that keep their magic numbers towards the end of the file.
New supported formats:
- OWL application/owl+xml
- SXC application/vnd.sun.xml.calc
- HDR image/vnd.radiance
- ODC application/x-vnd.oasis.opendocument.chart
- GLB model/gltf-binary
Add support for several formats
Add support for:
- Adobe FDF
- Adobe XFDF
- P7S
- M3U
- CPIO
- TZIF
- Outlook MSG
- GIMP XCF
- GIMP PAT
- GIMP GBR
Add torrent and rmvb support
Add support for torrent and rmvb files.
Ease docx, xlsx and pptx detection for trailing signatures.
Add EqualsAny function
v1.1.0 Add docs for EqualsAny
Add lzip support
Improve zip sub formats detection Add Performance section in README
Add support for XZ and TTF files
v1.0.4 Use Is method in tests instead of string comparƣson
Behave as http.DetectContentType and return text/plain for empty input
v1.0.3 Behave as http.DetectContentType and return text/plain for empty input
Fix panic in msoXML detection
Add check for input slice capacity in msoXML detection and extend the msoXML check from first 4 local headers to 6.
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