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.xmlfrom the main branch of Tika on GitHub. -
Skips over any
mime-typerecord that has attributes. That is, any record which looks likemedia/subtype;format=fooormedia/subtype;version=2will be skipped. Support for attributes does not currently exist in the mime-types library. -
Extracts the
globentries for use in theextensionsfield. Globs that use*in the middle of a filename are excluded, because that's now how the RubyMIME::Typesfield works (I could add a newglobfield, but that will take a bit more work). -
Updates the
extensionsfield 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
MIMEtypes 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_urion 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-releasetag is followed by a## NEXT / YYYY-MM-DDheader 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:preparenow does the same work asrake release:gha, but does not commit or create a pull request. -
rake convertno longer has any subtasks. -
rake updatehas been removed with no replacement. -
Updated
.hoercto 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
.jxlextension 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-aactoaudio/aacand markaudio/x-aacas obsolete. Based on #77 by Samuel Williams. -
Made the same changes for
audio/flacandaudio/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/javascriptin favour ofapplication/javascript. Since the previous update (2022-01-05), IANA has officially deprecatedapplication/javascriptin favour oftext/javascript. Samuel Williams discovered this in #55 by noting that alljstypes 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
jfiffile extension forimage/jpegtext 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_mimedata 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
WebVTTtext 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
AVIFvideo 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, andgemspecand 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
HEICimage 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
.aiextension 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
.aiextension fromapplication/postscripttoapplication/pdf. #23 fixing #22
3.2019.0331 / 2019-03-31¶ ↑
-
Updated the IANA media registry entries as of release date.
-
Added support for
application/wasmwith extension.wasm. #21 -
Fixed
application/ecmascriptextensions. #20
3.2018.0812 / 2018-08-12¶ ↑
-
Added
.xsdextension totext/xml. pull-10 -
Added
.jsand.mjsextensions totext/ecmascriptandtext/javascript. #11 -
Added
.ipaextension toapplication/octet-stream. #12 -
Moved extensions
.markdownand.mdand added.mkdextension 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. -
MIMEtype 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-streamandapplication/pgp-encryptedto includegpgas 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
xrefsfield.
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: trueto all Ruby files. -
Applied some recommended readability and performance suggestions from Rubocop. Ignored some style recommendations, too.
-
Replaced some cases of
foo.bar rescue nilwithfoo&.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
woff2as 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/csvandtext/tab-separated-values, ruby-mime-types#89. -
Aggelos Avgerinos (@eavgerinos) added the unregistered
MIMEtypeimage/x-ms-bmpwith the extensionbmp, ruby-mime-types#90.
2.4.2 / 2014-10-15¶ ↑
-
Added
application/vnd.ms-outlookas an unregisteredMIMEtype 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
friendlyMIME::Type descriptions where known. -
Added
reg,ps1, andvbsextensions toapplication/x-msdos-programandapplication/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
.sjtoapplication/javascriptas provided by Brandon Galbraith (@brandongalbraith) in ruby-mime-types#58. -
Marked
application/excelandapplication/x-excelas obsolete in favour ofapplication/vnd.ms-excelper ruby-mime-types#60. -
Merged duplicate
MIMEtypes into the registeredMIMEtype. The only difference between theMIMEtypes was capitalization; theMIMEtype 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
MIMEtypes. -
Many registered
MIMEtypes have had some metadata updates due to the change in the IANA registry format. -
Added
xrefsdata as discovered (see the API changes noted above). -
The Apache httpd mime types configuration has been added to track additional common but unregistered
MIMEtypes and known extensions for thoseMIMEtypes. This has affected many of the availableMIMEtypes. -
Merged the non-standard VMS platform
text/plainwith the standardtext/plain.