Bot releases are hidden (Show)
Full Changelog: https://github.com/gabriel-vasile/mimetype/compare/v1.4.2...v1.4.3
Published by gabriel-vasile over 1 year ago
Full Changelog: https://github.com/gabriel-vasile/mimetype/compare/v1.4.1...v1.4.2
Published by gabriel-vasile over 1 year ago
Full Changelog: https://github.com/gabriel-vasile/mimetype/compare/v1.4.1...v1.4.2-rc1
Published by gabriel-vasile over 2 years ago
Full Changelog: https://github.com/gabriel-vasile/mimetype/compare/v1.4.0...v1.4.1
Published by gabriel-vasile over 2 years ago
.png, image/vnd.mozilla.apng
.ttc, font/collection
.avif, image/avif
.srt, application/x-subrip, alias: application/x-srt, text/x-srt
.vtt, text/vtt
Full Changelog: https://github.com/gabriel-vasile/mimetype/compare/v1.4.0...v1.4.1-rc1
Published by gabriel-vasile about 3 years ago
Features:
Fixes:
Thank you for your contributions @ne1llee, @waybackarchiver, @jonsneyers, @sigma, @anthonyfok, @dennisstritzke, @IevgenLuzan, @Kycklingar.
Published by gabriel-vasile over 3 years ago
v1.2.0 introduced a change where error EOF was returned for empty readers.
Previously, text/plain
would be returned for such an input.
v1.3.1 comes back to the pre-v1.2.0 behavior.
Published by gabriel-vasile over 3 years ago
Add Extend function. It allows users to detect other file formats not detected by mimetype
. See example for usage.
New supported formats:
Fixes:
Published by gabriel-vasile over 3 years ago
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:
Published by gabriel-vasile almost 4 years ago
Add support for:
Published by gabriel-vasile over 4 years ago
Add support for torrent and rmvb files.
Ease docx, xlsx and pptx detection for trailing signatures.
Published by gabriel-vasile over 4 years ago
Published by gabriel-vasile over 4 years ago
Published by gabriel-vasile over 4 years ago
Published by gabriel-vasile over 4 years ago
Published by gabriel-vasile almost 5 years ago
Add check for input slice capacity in msoXML detection and extend the msoXML check from first 4 local headers to 6.
Published by gabriel-vasile almost 5 years ago
Add support for:
Published by gabriel-vasile almost 5 years ago
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.
Published by gabriel-vasile almost 5 years ago
Published by gabriel-vasile almost 5 years ago
Add support for:
Fix heic and heif extensions.