MIME
Types Changes by Version¶ ↑
3.2025.0507 / 2025-05-07¶ ↑
-
Added new data for pre-computed priority sorting. This new data requires Ruby mime-types 3.7.0 or later to manage data but is ignored by older versions of mime-types.
-
Added a parser for the Apache Tika media registry to enrich the media definitions, mostly by adding new patterns for media type extensions. This parser:
-
Parses the current
tika-mimetypes.xml
from the main branch of Tika on GitHub. -
Skips over any
mime-type
record that has attributes. That is, any record which looks likemedia/subtype;format=foo
ormedia/subtype;version=2
will be skipped. Support for attributes does not currently exist in the mime-types library. -
Extracts the
glob
entries for use in theextensions
field. Globs that use*
in the middle of a filename are excluded, because that's now how the RubyMIME::Types
field works (I could add a newglob
field, but that will take a bit more work). -
Updates the
extensions
field for any existing MIME::Type or creates new unregistered (not defined in IANA) types for new ones. -
Updated the history body to reflect the new data source for updates.
-
Some details were removed from older CHANGELOG entries relating to updated
MIME
types from more or less automated processes.
3.2025.0506 / 2025-05-06¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2025.0429 / 2025-04-29¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2025.0422 / 2025-04-22¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2025.0408 / 2025-04-08¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2025.0402 / 2025-04-02¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2025.0325 / 2025-03-25¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2025.0318 / 2025-03-18¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2025.0304 / 2025-03-04¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2025.0220 / 2025-02-20¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
-
Added trusted publishing for fully automated releases. Developed by Samuel Giddins in #109, merged manually with some updates.
3.2025.0204 / 2025-02-04¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
-
Added the Changelog URL to the README so that RubyGems.org is updated with the
changelog_uri
on release. Contributed by Mark Young in #96. -
Fixed an issue with automated releases that added thousands of files because
vendor/
was no longer ignored. -
Fixed the automated release builder process to handle the case when the
automatic-release
tag is followed by a## NEXT / YYYY-MM-DD
header so that changes merged normally are picked up on automatic releases. #98
3.2025.0107 / 2025-01-07¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
-
Restructured documentation for how I prefer to manage Hoe projects now.
-
Reworked the Rakefile because all data updates are now managed by GitHub Actions and should not be managed manually any longer.
-
rake release:prepare
now does the same work asrake release:gha
, but does not commit or create a pull request. -
rake convert
no longer has any subtasks. -
rake update
has been removed with no replacement. -
Updated
.hoerc
to properly excludesupport/
andtypes/
from the manifest.
3.2024.1203 / 2024-12-03¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2024.1105 / 2024-11-05¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2024.1001 / 2024-10-01¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2024.0903 / 2024-09-03¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2024.0820 / 2024-08-20¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
-
Added
.jxl
extension forimage/jxl
. Contributed by Shane Eskritt in #81.
3.2024.0806 / 2024-08-06¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2024.0702 / 2024-07-02¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
-
This update adds a new
haptics/
group with three media types defined. -
Moved extensions from
audio/x-aac
toaudio/aac
and markaudio/x-aac
as obsolete. Based on #77 by Samuel Williams. -
Made the same changes for
audio/flac
andaudio/matroska
.
3.2024.0604 / 2024-06-04¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
-
Internal changes:
-
Update to latest version of Rubygems for testing.
-
Remove restriction on Pysch version as that does not work well with current Rubies.
-
Fix a bug with the history generation on automatic updates.
3.2024.0507 / 2024-05-07¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2024.0402 / 2024-04-02¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2024.0305 / 2024-03-05¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2024.0206 / 2024-02-06¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2024.0102 / 2024-01-02¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2023.1205 / 2023-12-05¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2023.1107 / 2023-11-07¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2023.1003 / 2023-10-03¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2023.0905 / 2023-09-05¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2023.0808 / 2023-08-08¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2023.0218.1 / 2023-02-18¶ ↑
-
When this data library was created in 2015, I made the decision based on information available to deprecate
text/javascript
in favour ofapplication/javascript
. Since the previous update (2022-01-05), IANA has officially deprecatedapplication/javascript
in favour oftext/javascript
. Samuel Williams discovered this in #55 by noting that alljs
types were marked obsolete in version 3.2023.0218.
A hot fix has been applied to resolve this. However, note that application/javascript
will not be returned by default, only text/javascript
.
3.2023.0218 / 2023-02-18¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
-
Mohammed Gad added the
jfif
file extension forimage/jpeg
text format. #52 -
Reworked the loading of IANA provisional media registries to merge them into the top-level media-type registries instead of a standalone registry file. #53 originally identified by Chris Salzberg in #50.
It is worth noting that this is an imperfect solution as if a media type is provisionally registered and withdrawn, it will linger in the registry with no clean way of identifying them at the moment. See #54.
This release also fixes ruby-mime-types#163, where logs show "Type application/netcdf
is already registered as a variant of application/netcdf
".
3.2022.0105 / 2022-01-05¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
-
Fixed an incorrect definition of
image/bmp
, which had been marked obsolete and later registered. Fixed #48, found by William T. Nelson.
3.2021.1115 / 2021-11-15¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
-
Added conversion utilities that support the
mini_mime
data format. These have been ported from the mini_mime repository. #47 -
Added IANA provisional media registries. Added some notes to CONTRIBUTING about the transient nature of the provisional registration data. This was triggered in part by a pull request by Jon Sneyers. Thanks! #45, #43
3.2021.0901 / 2021-09-01¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
-
Added file extension for
WebVTT
text format. #46
3.2021.0704 / 2021-07-04¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
3.2021.0225 / 2021-02-25¶ ↑
-
Updated registry entries from the IANA media registry and provisional media registry and the Apache httpd media registry as of the release date.
-
Added file extension for
AVIF
video format. #40
3.2021.0212 / 2021-02-12¶ ↑
-
Updated the IANA media registry entries as of release date.
-
Added a new rake task (
release:automatic
) that downloads and converts the data from Apache httpd and IANA registries; if there are changes detected, it updates the release version, changelog, manifest, andgemspec
and commits the changes to git.
3.2020.1104 / 2020-11-04¶ ↑
-
Updated the IANA media registry entries as of release date.
-
Added
application/x-zip-compressed
. #36 -
Updated the contributing guide to include information about the release process as described in #18
-
Corrected a misspelling of Yoran Brondsema's name. Sorry, Yoran. #35
3.2020.0512 / 2020-05-12¶ ↑
-
Updated the IANA media registry entries as of release date.
-
Added file extensions for
HEIC
image types. #34
3.2020.0425 / 2020-04-25¶ ↑
-
Updated the IANA media registry entries as of release date.
-
Added several RAW image types based on data from GNOME RAW Thumbnailer. #33 fixing #32
-
Added
audio/wav
. #31 -
Added a type for Smarttech notebook files. #30
-
Added an alias for audio/m4a files. #29
-
Added application/x-ms-dos-executable. #28
3.2019.1009 / 2019-10-09¶ ↑
-
Updated the IANA media registry entries as of release date.
-
Reordered the
.ai
extension so that it is not the preferred extension forapplication/pdf
#24
3.2019.0904 / 2019-09-04¶ ↑
-
Updated the IANA media registry entries as of release date.
-
Moved the
.ai
extension fromapplication/postscript
toapplication/pdf
. #23 fixing #22
3.2019.0331 / 2019-03-31¶ ↑
-
Updated the IANA media registry entries as of release date.
-
Added support for
application/wasm
with extension.wasm
. #21 -
Fixed
application/ecmascript
extensions. #20
3.2018.0812 / 2018-08-12¶ ↑
-
Added
.xsd
extension totext/xml
. pull-10 -
Added
.js
and.mjs
extensions totext/ecmascript
andtext/javascript
. #11 -
Added
.ipa
extension toapplication/octet-stream
. #12 -
Moved extensions
.markdown
and.md
and added.mkd
extension totext/markdown
. #13 -
Because of a bug found with mime-types 3 before 3.2.1, this version requires mime-types 3.2 or later to manage data.
-
Updated the IANA media registry entries as of release date. The biggest major change here is the addition of the
font/
top-level media type. -
MIME
type changes not introduced by pull requests will no longer be individually tracked. -
Clarified that the YAML editable format is not shipped with the Ruby gem for size considerations.
3.2016.0521 / 2016-05-21¶ ↑
-
Updated the known extension list for
application/octet-stream
andapplication/pgp-encrypted
to includegpg
as an extension. Fixes #3 by Tao Guo (@taonic). -
Updated the IANA media registry entries as of release date.
-
This version requires mime-types 3.1 or later to manage data because of an issue with JSON data encoding for the
xrefs
field.
3.2016.0221 / 2016-02-21¶ ↑
-
Updated the known extensions list for audio/mp4.
-
Updated to Contributor Covenant 1.4.
-
Shift the support code in this repository to be developed with Ruby 2.3. This involves:
-
Adding
frozen_string_literal: true
to all Ruby files. -
Applied some recommended readability and performance suggestions from Rubocop. Ignored some style recommendations, too.
-
Replaced some cases of
foo.bar rescue nil
withfoo&.bar
.
3.2015.1120 / 2015-11-20¶ ↑
-
Extracted from ruby-mime-types.
-
Added a [Code of Conduct][Code of Conduct].
-
The versioning has changed to be semantic on format plus date in two parts.
-
All registry formats have been updated to remove deprecated data.
-
The columnar format has been updated to store three boolean flags in a single flags file.
-
Updated the conversion and management utilities to work with ruby-mime-types 3.x.
-
Updated the IANA media registry entries as of release date.
2.6.2 / 2015-09-13¶ ↑
-
Updated the IANA media registry entries as of release date.
2.6 / 2015-05-25¶ ↑
-
Steven Michael Thomas (@stevenmichaelthomas) added
woff2
as an extension toapplication/font-woff
, ruby-mime-types#99. -
Updated the IANA media registry entries as of release date.
2.5 / 2015-04-25¶ ↑
-
Updated the IANA media registry entries as of release date.
-
Andy Brody (@ab) fixed a pair of embarrassing typos in
text/csv
andtext/tab-separated-values
, ruby-mime-types#89. -
Aggelos Avgerinos (@eavgerinos) added the unregistered
MIME
typeimage/x-ms-bmp
with the extensionbmp
, ruby-mime-types#90.
2.4.2 / 2014-10-15¶ ↑
-
Added
application/vnd.ms-outlook
as an unregisteredMIME
type with the extensionmsg
. Provided by @keerthisiv in ruby-mime-types#72.
2.4.1 / 2014-10-07¶ ↑
-
Changed the sort order of many of the extensions to restore behaviour from mime-types 1.25.1.
-
Added
friendly
MIME::Type descriptions where known. -
Added
reg
,ps1
, andvbs
extensions toapplication/x-msdos-program
andapplication/x-msdownload
. -
Updated the IANA media registry entries as of release date.
2.3 / 2014-05-23¶ ↑
-
Updated the IANA media registry entries as of release date.
2.2 / 2014-03-14¶ ↑
-
Added
.sj
toapplication/javascript
as provided by Brandon Galbraith (@brandongalbraith) in ruby-mime-types#58. -
Marked
application/excel
andapplication/x-excel
as obsolete in favour ofapplication/vnd.ms-excel
per ruby-mime-types#60. -
Merged duplicate
MIME
types into the registeredMIME
type. The only difference between theMIME
types was capitalization; theMIME
type registry is case-preserving. -
Updated the IANA media registry entries as of release date.
2.1 / 2014-01-25¶ ↑
-
The IANA media type registry format changed, resulting in updates to most of the 1,427 registered
MIME
types. -
Many registered
MIME
types have had some metadata updates due to the change in the IANA registry format. -
Added
xrefs
data as discovered (see the API changes noted above). -
The Apache httpd mime types configuration has been added to track additional common but unregistered
MIME
types and known extensions for thoseMIME
types. This has affected many of the availableMIME
types. -
Merged the non-standard VMS platform
text/plain
with the standardtext/plain
.