mime-types-data 3.2026.0701 → 3.2026.0921
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +76 -64
- data/Rakefile +1 -1
- data/data/content_type_mime.db +2 -0
- data/data/ext_mime.db +2 -0
- data/data/mime-types.json +1 -1
- data/data/mime.content_type.column +47 -1
- data/data/mime.docs.column +46 -0
- data/data/mime.encoding.column +46 -0
- data/data/mime.flags.column +46 -0
- data/data/mime.friendly.column +46 -0
- data/data/mime.pext.column +46 -0
- data/data/mime.spri.column +0 -0
- data/data/mime.use_instead.column +46 -0
- data/data/mime.xrefs.column +61 -15
- data/lib/mime/types/data.rb +1 -1
- metadata +12 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5dfd28b20269f967597ca44fa56fcf48c93890433728f98a78786f3e3e18e708
|
|
4
|
+
data.tar.gz: e98478ed7670e9f53741ef05621d30d74f42b72f06ff08ee981378e0717f2aeb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a8d2cca8c916439121bdaafe1ed03093c66f42f25f597d6093992e8cb4140dfd5a291beb5608b8bbc986b4b1e7d8e9212ffeffb4be3995a3b7f72ec8dcdcd12
|
|
7
|
+
data.tar.gz: 0731aaf735f4c878e1422e264167028c8cd43af4d93fbefe1f5ce6593f9126528a3b8179b02a4619f215a345d73ff475530362a541635025654b84914f01a47b
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- automatic-release -->
|
|
4
4
|
|
|
5
|
+
## 3.2026.0921 / 2026-09-21
|
|
6
|
+
|
|
7
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
|
8
|
+
[provisional media registry][provisional] and the
|
|
9
|
+
[Apache Tika media registry][tika] as of the release date.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
- Upgraded `hoe-halostatue` with a fix for YAML issues.
|
|
14
|
+
|
|
5
15
|
## 3.2026.0701 / 2026-07-01
|
|
6
16
|
|
|
7
17
|
- Updated registry entries from the IANA [media registry][registry] and
|
|
@@ -97,9 +107,9 @@
|
|
|
97
107
|
[provisional media registry][provisional] and the
|
|
98
108
|
[Apache Tika media registry][tika] as of the release date.
|
|
99
109
|
|
|
100
|
-
- Manual contributions now require `Signed-off-by` trailers for assertion of
|
|
101
|
-
[Developer Certificate of Origin][dco]. More details will be added in
|
|
102
|
-
coming weeks.
|
|
110
|
+
- Manual contributions now require `Signed-off-by` trailers for assertion of
|
|
111
|
+
the [Developer Certificate of Origin][dco]. More details will be added in
|
|
112
|
+
the coming weeks.
|
|
103
113
|
|
|
104
114
|
- Added `application/microdata+json`, `application/speculationrules+json`,
|
|
105
115
|
`text/event-stream` and `text/ping` from the [WHATWG HTML spec][whatwg]
|
|
@@ -110,8 +120,8 @@
|
|
|
110
120
|
[provisional media registry][provisional] and the
|
|
111
121
|
[Apache Tika media registry][tika] as of the release date.
|
|
112
122
|
|
|
113
|
-
- Removed the [Apache httpd media registry][httpd] from automatic updates. It
|
|
114
|
-
currently failing and no longer provides useful data compared to other
|
|
123
|
+
- Removed the [Apache httpd media registry][httpd] from automatic updates. It
|
|
124
|
+
is currently failing and no longer provides useful data compared to other
|
|
115
125
|
sources.
|
|
116
126
|
|
|
117
127
|
## 3.2025.0916 / 2025-09-16
|
|
@@ -170,11 +180,12 @@
|
|
|
170
180
|
[Apache httpd media registry][httpd], and the
|
|
171
181
|
[Apache Tika media registry][tika] as of the release date.
|
|
172
182
|
|
|
173
|
-
- Remove `.doc` from `text/plain`: The use of `.doc` for `text/plain`
|
|
174
|
-
is mostly a holdover from VAX VMS where the default wasn't `.txt`
|
|
175
|
-
The world now thinks that `.doc` mostly means
|
|
176
|
-
that format is obsolete by almost twenty
|
|
177
|
-
[ruby-mime-types#224][ruby-mime-types#224] with
|
|
183
|
+
- Remove `.doc` from `text/plain`: The use of `.doc` for `text/plain`
|
|
184
|
+
documents is mostly a holdover from VAX VMS where the default wasn't `.txt`
|
|
185
|
+
but `.doc`. The world now thinks that `.doc` mostly means
|
|
186
|
+
`application/msword` even though that format is obsolete by almost twenty
|
|
187
|
+
years. Closes [ruby-mime-types#224][ruby-mime-types#224] with
|
|
188
|
+
[#191][pull-191].
|
|
178
189
|
|
|
179
190
|
- Handle promoted and withdrawn provisional IANA media types. Closes
|
|
180
191
|
[#54][issue-54] with [#192][pull-192].
|
|
@@ -186,8 +197,8 @@
|
|
|
186
197
|
`obsolete`. This indicates that we consider any provisional type as
|
|
187
198
|
potentially withdrawn (and therefore obsolete).
|
|
188
199
|
2. When processing existing regular types, we clear both `provisional` and
|
|
189
|
-
`obsolete` flags so that a type promoted from provisional is now a
|
|
190
|
-
registry entry.
|
|
200
|
+
`obsolete` flags so that a type promoted from provisional is now a
|
|
201
|
+
regular registry entry.
|
|
191
202
|
3. After merging the current list of registry entries, we _clear_
|
|
192
203
|
`provisional` if the type is marked both `provisional` and `obsolete`,
|
|
193
204
|
indicating that the provisional type has been withdrawn.
|
|
@@ -274,26 +285,26 @@
|
|
|
274
285
|
|
|
275
286
|
## 3.2025.0507 / 2025-05-07
|
|
276
287
|
|
|
277
|
-
- Added new data for pre-computed priority sorting. This new data requires
|
|
278
|
-
mime-types 3.7.0 or later to manage data but is ignored by older
|
|
279
|
-
mime-types.
|
|
288
|
+
- Added new data for pre-computed priority sorting. This new data requires
|
|
289
|
+
Ruby mime-types 3.7.0 or later to manage data but is ignored by older
|
|
290
|
+
versions of mime-types.
|
|
280
291
|
|
|
281
|
-
- Added a parser for the [Apache Tika media registry][tika] to enrich the
|
|
282
|
-
definitions, mostly by adding new patterns for media type extensions.
|
|
283
|
-
parser:
|
|
292
|
+
- Added a parser for the [Apache Tika media registry][tika] to enrich the
|
|
293
|
+
media definitions, mostly by adding new patterns for media type extensions.
|
|
294
|
+
This parser:
|
|
284
295
|
|
|
285
296
|
1. Parses the current `tika-mimetypes.xml` from the main branch of
|
|
286
297
|
[Tika][tika] on GitHub.
|
|
287
298
|
|
|
288
|
-
2. Skips over any `mime-type` record that has attributes. That is, any
|
|
289
|
-
which looks like `media/subtype;format=foo` or
|
|
290
|
-
will be skipped. Support for attributes does
|
|
291
|
-
mime-types library.
|
|
299
|
+
2. Skips over any `mime-type` record that has attributes. That is, any
|
|
300
|
+
record which looks like `media/subtype;format=foo` or
|
|
301
|
+
`media/subtype;version=2` will be skipped. Support for attributes does
|
|
302
|
+
not currently exist in the mime-types library.
|
|
292
303
|
|
|
293
304
|
3. Extracts the `glob` entries for use in the `extensions` field. Globs that
|
|
294
305
|
use `*` in the middle of a filename are excluded, because that's now how
|
|
295
|
-
the Ruby MIME::Types field works (I could add a new `glob` field, but
|
|
296
|
-
will take a bit more work).
|
|
306
|
+
the Ruby MIME::Types field works (I could add a new `glob` field, but
|
|
307
|
+
that will take a bit more work).
|
|
297
308
|
|
|
298
309
|
4. Updates the `extensions` field for any existing MIME::Type or creates new
|
|
299
310
|
unregistered (not defined in IANA) types for new ones.
|
|
@@ -366,15 +377,16 @@
|
|
|
366
377
|
[provisional media registry][provisional] and the
|
|
367
378
|
[Apache httpd media registry][httpd] as of the release date.
|
|
368
379
|
|
|
369
|
-
- Added the Changelog URL to the README so that RubyGems.org is updated with
|
|
370
|
-
`changelog_uri` on release. Contributed by Mark Young in [#96][pull-96].
|
|
380
|
+
- Added the Changelog URL to the README so that RubyGems.org is updated with
|
|
381
|
+
the `changelog_uri` on release. Contributed by Mark Young in [#96][pull-96].
|
|
371
382
|
|
|
372
383
|
- Fixed an issue with automated releases that added thousands of files because
|
|
373
384
|
`vendor/` was no longer ignored.
|
|
374
385
|
|
|
375
386
|
- Fixed the automated release builder process to handle the case when the
|
|
376
|
-
`automatic-release` tag is followed by a `## NEXT / YYYY-MM-DD` header so
|
|
377
|
-
changes merged normally are picked up on automatic releases.
|
|
387
|
+
`automatic-release` tag is followed by a `## NEXT / YYYY-MM-DD` header so
|
|
388
|
+
that changes merged normally are picked up on automatic releases.
|
|
389
|
+
[#98][pull-98]
|
|
378
390
|
|
|
379
391
|
## 3.2025.0107 / 2025-01-07
|
|
380
392
|
|
|
@@ -459,8 +471,8 @@
|
|
|
459
471
|
|
|
460
472
|
- Update to latest version of Rubygems for testing.
|
|
461
473
|
|
|
462
|
-
- Remove restriction on Pysch version as that does not work well with
|
|
463
|
-
Rubies.
|
|
474
|
+
- Remove restriction on Pysch version as that does not work well with
|
|
475
|
+
current Rubies.
|
|
464
476
|
|
|
465
477
|
- Fix a bug with the history generation on automatic updates.
|
|
466
478
|
|
|
@@ -529,9 +541,9 @@
|
|
|
529
541
|
- When this data library was created in 2015, I made the decision based on
|
|
530
542
|
information available to deprecate `text/javascript` in favour of
|
|
531
543
|
`application/javascript`. Since the previous update (2022-01-05), IANA has
|
|
532
|
-
officially deprecated `application/javascript` in favour of
|
|
533
|
-
Samuel Williams discovered this in [#55][issue-55] by
|
|
534
|
-
types were marked obsolete in version 3.2023.0218.
|
|
544
|
+
officially deprecated `application/javascript` in favour of
|
|
545
|
+
`text/javascript`. Samuel Williams discovered this in [#55][issue-55] by
|
|
546
|
+
noting that all `js` types were marked obsolete in version 3.2023.0218.
|
|
535
547
|
|
|
536
548
|
A hot fix has been applied to resolve this. However, note that
|
|
537
549
|
`application/javascript` will not be returned by default, only
|
|
@@ -550,12 +562,12 @@
|
|
|
550
562
|
the top-level media-type registries instead of a standalone registry file.
|
|
551
563
|
[#53][pull-53] originally identified by Chris Salzberg in [#50][pull-50].
|
|
552
564
|
|
|
553
|
-
It is worth noting that this is an _imperfect_ solution as if a media type
|
|
554
|
-
provisionally registered and withdrawn, it will linger in the registry
|
|
555
|
-
clean way of identifying them at the moment. See [#54][issue-54].
|
|
565
|
+
It is worth noting that this is an _imperfect_ solution as if a media type
|
|
566
|
+
is provisionally registered and withdrawn, it will linger in the registry
|
|
567
|
+
with no clean way of identifying them at the moment. See [#54][issue-54].
|
|
556
568
|
|
|
557
|
-
This release also fixes [ruby-mime-types#163][ruby-mime-types#163], where
|
|
558
|
-
show "Type `application/netcdf` is already registered as a variant of
|
|
569
|
+
This release also fixes [ruby-mime-types#163][ruby-mime-types#163], where
|
|
570
|
+
logs show "Type `application/netcdf` is already registered as a variant of
|
|
559
571
|
`application/netcdf`".
|
|
560
572
|
|
|
561
573
|
## 3.2022.0105 / 2022-01-05
|
|
@@ -608,9 +620,9 @@
|
|
|
608
620
|
- Updated the IANA media registry entries as of release date.
|
|
609
621
|
|
|
610
622
|
- Added a new rake task (`release:automatic`) that downloads and converts the
|
|
611
|
-
data from Apache httpd and IANA registries; if there are changes detected,
|
|
612
|
-
updates the release version, changelog, manifest, and `gemspec` and
|
|
613
|
-
the changes to git.
|
|
623
|
+
data from Apache httpd and IANA registries; if there are changes detected,
|
|
624
|
+
it updates the release version, changelog, manifest, and `gemspec` and
|
|
625
|
+
commits the changes to git.
|
|
614
626
|
|
|
615
627
|
## 3.2020.1104 / 2020-11-04
|
|
616
628
|
|
|
@@ -656,8 +668,8 @@
|
|
|
656
668
|
|
|
657
669
|
- Updated the IANA media registry entries as of release date.
|
|
658
670
|
|
|
659
|
-
- Moved the `.ai` extension from `application/postscript` to
|
|
660
|
-
[#23][pull-23] fixing [#22][issue-22]
|
|
671
|
+
- Moved the `.ai` extension from `application/postscript` to
|
|
672
|
+
`application/pdf`. [#23][pull-23] fixing [#22][issue-22]
|
|
661
673
|
|
|
662
674
|
## 3.2019.0331 / 2019-03-31
|
|
663
675
|
|
|
@@ -671,8 +683,8 @@
|
|
|
671
683
|
|
|
672
684
|
- Added `.xsd` extension to `text/xml`. [pull-10][pull-10]
|
|
673
685
|
|
|
674
|
-
- Added `.js` and `.mjs` extensions to `text/ecmascript` and
|
|
675
|
-
[#11][pull-11]
|
|
686
|
+
- Added `.js` and `.mjs` extensions to `text/ecmascript` and
|
|
687
|
+
`text/javascript`. [#11][pull-11]
|
|
676
688
|
|
|
677
689
|
- Added `.ipa` extension to `application/octet-stream`. [#12][pull-12]
|
|
678
690
|
|
|
@@ -682,8 +694,8 @@
|
|
|
682
694
|
- Because of a bug found with mime-types 3 before 3.2.1, this version requires
|
|
683
695
|
mime-types 3.2 or later to manage data.
|
|
684
696
|
|
|
685
|
-
- Updated the IANA media registry entries as of release date. The biggest
|
|
686
|
-
change here is the addition of the `font/` top-level media type.
|
|
697
|
+
- Updated the IANA media registry entries as of release date. The biggest
|
|
698
|
+
major change here is the addition of the `font/` top-level media type.
|
|
687
699
|
|
|
688
700
|
- MIME type changes not introduced by pull requests will no longer be
|
|
689
701
|
individually tracked.
|
|
@@ -708,8 +720,8 @@
|
|
|
708
720
|
|
|
709
721
|
- Updated to [Contributor Covenant 1.4][code of conduct].
|
|
710
722
|
|
|
711
|
-
- Shift the support code in this repository to be developed with Ruby 2.3.
|
|
712
|
-
involves:
|
|
723
|
+
- Shift the support code in this repository to be developed with Ruby 2.3.
|
|
724
|
+
This involves:
|
|
713
725
|
|
|
714
726
|
- Adding `frozen_string_literal: true` to all Ruby files.
|
|
715
727
|
- Applied some recommended readability and performance suggestions from
|
|
@@ -738,8 +750,8 @@
|
|
|
738
750
|
## 2.6 / 2015-05-25
|
|
739
751
|
|
|
740
752
|
- Steven Michael Thomas
|
|
741
|
-
([@stevenmichaelthomas](https://github.com/stevenmichaelthomas)) added
|
|
742
|
-
as an extension to `application/font-woff`,
|
|
753
|
+
([@stevenmichaelthomas](https://github.com/stevenmichaelthomas)) added
|
|
754
|
+
`woff2` as an extension to `application/font-woff`,
|
|
743
755
|
[ruby-mime-types#99][ruby-mime-types#99].
|
|
744
756
|
- Updated the IANA media registry entries as of release date.
|
|
745
757
|
|
|
@@ -766,8 +778,8 @@
|
|
|
766
778
|
- Changed the sort order of many of the extensions to restore behaviour from
|
|
767
779
|
mime-types 1.25.1.
|
|
768
780
|
- Added `friendly` MIME::Type descriptions where known.
|
|
769
|
-
- Added `reg`, `ps1`, and `vbs` extensions to `application/x-msdos-program`
|
|
770
|
-
`application/x-msdownload`.
|
|
781
|
+
- Added `reg`, `ps1`, and `vbs` extensions to `application/x-msdos-program`
|
|
782
|
+
and `application/x-msdownload`.
|
|
771
783
|
- Updated the IANA media registry entries as of release date.
|
|
772
784
|
|
|
773
785
|
## 2.3 / 2014-05-23
|
|
@@ -780,13 +792,13 @@
|
|
|
780
792
|
([@brandongalbraith](https://github.com/brandongalbraith)) in
|
|
781
793
|
[ruby-mime-types#58](https://github.com/mime-types/ruby-mime-types/pull/58).
|
|
782
794
|
|
|
783
|
-
- Marked `application/excel` and `application/x-excel` as obsolete in favour
|
|
784
|
-
`application/vnd.ms-excel` per
|
|
795
|
+
- Marked `application/excel` and `application/x-excel` as obsolete in favour
|
|
796
|
+
of `application/vnd.ms-excel` per
|
|
785
797
|
[ruby-mime-types#60](https://github.com/mime-types/ruby-mime-types/pull/60).
|
|
786
798
|
|
|
787
|
-
- Merged duplicate MIME types into the registered MIME type. The only
|
|
788
|
-
between the MIME types was capitalization; the MIME type registry
|
|
789
|
-
case-preserving.
|
|
799
|
+
- Merged duplicate MIME types into the registered MIME type. The only
|
|
800
|
+
difference between the MIME types was capitalization; the MIME type registry
|
|
801
|
+
is case-preserving.
|
|
790
802
|
|
|
791
803
|
- Updated the IANA media registry entries as of release date.
|
|
792
804
|
|
|
@@ -794,15 +806,15 @@
|
|
|
794
806
|
|
|
795
807
|
- The IANA media type registry format changed, resulting in updates to most of
|
|
796
808
|
the 1,427 registered MIME types.
|
|
797
|
-
- Many registered MIME types have had some metadata updates due to the
|
|
798
|
-
in the IANA registry format.
|
|
799
|
-
- MIME types having a publicly available registry application now include
|
|
800
|
-
link to that file in references.
|
|
809
|
+
- Many registered MIME types have had some metadata updates due to the
|
|
810
|
+
change in the IANA registry format.
|
|
811
|
+
- MIME types having a publicly available registry application now include
|
|
812
|
+
a link to that file in references.
|
|
801
813
|
- Added `xrefs` data as discovered (see the API changes noted above).
|
|
802
814
|
|
|
803
815
|
- The Apache httpd mime types configuration has been added to track additional
|
|
804
|
-
common but unregistered MIME types and known extensions for those MIME
|
|
805
|
-
This has affected many of the available MIME types.
|
|
816
|
+
common but unregistered MIME types and known extensions for those MIME
|
|
817
|
+
types. This has affected many of the available MIME types.
|
|
806
818
|
|
|
807
819
|
- Merged the non-standard VMS platform `text/plain` with the standard
|
|
808
820
|
`text/plain`.
|
data/Rakefile
CHANGED
|
@@ -27,7 +27,7 @@ Hoe.spec "mime-types-data" do
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
extra_dev_deps << ["hoe", "~> 4.0"]
|
|
30
|
-
extra_dev_deps << ["hoe-halostatue", "
|
|
30
|
+
extra_dev_deps << ["hoe-halostatue", ">= 3.0.2", "< 4"]
|
|
31
31
|
extra_dev_deps << ["mime-types", "> 3.6.2", "< 5"]
|
|
32
32
|
extra_dev_deps << ["nokogiri", "~> 1.6"]
|
|
33
33
|
extra_dev_deps << ["rake", ">= 10.0", "< 14"]
|
data/data/content_type_mime.db
CHANGED
|
@@ -238,6 +238,7 @@ xbd application/vnd.fujixerox.docuworks.binder
|
|
|
238
238
|
fzs application/vnd.fuzzysheet base64
|
|
239
239
|
txd application/vnd.genomatix.tuxedo base64
|
|
240
240
|
ggb application/vnd.geogebra.file base64
|
|
241
|
+
ggp application/vnd.geogebra.pinboard base64
|
|
241
242
|
ggs application/vnd.geogebra.slides base64
|
|
242
243
|
ggt application/vnd.geogebra.tool base64
|
|
243
244
|
gex application/vnd.geometry-explorer base64
|
|
@@ -888,6 +889,7 @@ pef image/x-raw-pentax
|
|
|
888
889
|
iiq image/x-raw-phaseone base64
|
|
889
890
|
rwz image/x-raw-rawzor base64
|
|
890
891
|
r3d image/x-raw-red base64
|
|
892
|
+
srw image/x-raw-samsung base64
|
|
891
893
|
x3f image/x-raw-sigma base64
|
|
892
894
|
arw image/x-raw-sony base64
|
|
893
895
|
rgb image/x-rgb base64
|
data/data/ext_mime.db
CHANGED
|
@@ -450,6 +450,7 @@ gdl model/vnd.gdl
|
|
|
450
450
|
geo application/vnd.dynageo base64
|
|
451
451
|
gex application/vnd.geometry-explorer base64
|
|
452
452
|
ggb application/vnd.geogebra.file base64
|
|
453
|
+
ggp application/vnd.geogebra.pinboard base64
|
|
453
454
|
ggs application/vnd.geogebra.slides base64
|
|
454
455
|
ggt application/vnd.geogebra.tool base64
|
|
455
456
|
ghf application/vnd.groove-help base64
|
|
@@ -1242,6 +1243,7 @@ srf image/x-raw-sony
|
|
|
1242
1243
|
srl application/sereal base64
|
|
1243
1244
|
srt application/x-subrip base64
|
|
1244
1245
|
sru application/sru+xml base64
|
|
1246
|
+
srw image/x-raw-samsung base64
|
|
1245
1247
|
srx application/sparql-results+xml base64
|
|
1246
1248
|
ss7 application/x-sas-program-data base64
|
|
1247
1249
|
ssdl application/ssdl+xml base64
|