- Add mimes for ZSTD, APNG, JP2000
- Add
known_types/0
to list all known types
- Allow conflicting extension to be overridden
- Only returns extensions from known suffixes
- Allow mime types to be fully overridden
- Support Markdown, JPEG XL, and PSD formats
- Support Associated Signature Containers (ASiC) files
- Support
.atom
and.rss
files
- Add
.text
extension to text/plain
Upgrade note: mime v2 no longer ships with a complete database of mime.types, instead it lists the most common mime types used by web applications. When upgrading, check carefully if all mime types used by your app are supported.
- Ship with our own minimal types database
- Deprecate MIME.valid?
- Ignore media type params
- Detect subtype suffix according to the spec
- Compare extensions in a case-insensitive way (see elixir-plug/mime#38).