mime-types-data 3.2025.0507.pre1 → 3.2025.0507
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 +183 -302
- data/README.md +16 -9
- data/Rakefile +8 -2
- data/lib/mime/types/data.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2086cef9cd95bd9c2bf8fb13f26fafe7e50c0ea81bf950a142649e1a0776dc6
|
4
|
+
data.tar.gz: 72c039d953d999f4956da587d4099badb305d6c49378b0a4d583fcccd71c310d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc6cbb80e12fc1e77ab4e960bc466f30388783d8f6b4cb3adb4f965d788b73e9900301daa513baf896fa52f1bdaeaf81ba74f4dff13e1f0f6edbcbc816ba7fd0
|
7
|
+
data.tar.gz: 684f7ce9f0c1bed9f14bb95fb85fd71db8a123f57a8903f15b4eaaf39aed9be4b5cb3ec042f7bf90ad2a9df22b6d235e83387783c068426dd24b38f335a09629
|
data/CHANGELOG.md
CHANGED
@@ -2,56 +2,99 @@
|
|
2
2
|
|
3
3
|
<!-- automatic-release -->
|
4
4
|
|
5
|
-
## 3.2025.0507
|
5
|
+
## 3.2025.0507 / 2025-05-07
|
6
6
|
|
7
|
-
-
|
7
|
+
- Added new data for pre-computed priority sorting. This new data requires Ruby
|
8
|
+
mime-types 3.7.0 or later to manage data but is ignored by older versions of
|
9
|
+
mime-types.
|
10
|
+
|
11
|
+
- Added a parser for the [Apache Tika media registry][tika] to enrich the media
|
12
|
+
definitions, mostly by adding new patterns for media type extensions. This
|
13
|
+
parser:
|
14
|
+
|
15
|
+
1. Parses the current `tika-mimetypes.xml` from the main branch of
|
16
|
+
[Tika][tika] on GitHub.
|
17
|
+
|
18
|
+
2. Skips over any `mime-type` record that has attributes. That is, any record
|
19
|
+
which looks like `media/subtype;format=foo` or `media/subtype;version=2`
|
20
|
+
will be skipped. Support for attributes does not currently exist in the
|
21
|
+
mime-types library.
|
22
|
+
|
23
|
+
3. Extracts the `glob` entries for use in the `extensions` field. Globs that
|
24
|
+
use `*` in the middle of a filename are excluded, because that's now how
|
25
|
+
the Ruby MIME::Types field works (I could add a new `glob` field, but that
|
26
|
+
will take a bit more work).
|
27
|
+
|
28
|
+
4. Updates the `extensions` field for any existing MIME::Type or creates new
|
29
|
+
unregistered (not defined in IANA) types for new ones.
|
30
|
+
|
31
|
+
- Updated the history body to reflect the new data source for updates.
|
32
|
+
|
33
|
+
- Some details were removed from older CHANGELOG entries relating to updated
|
34
|
+
MIME types from more or less automated processes.
|
8
35
|
|
9
36
|
## 3.2025.0506 / 2025-05-06
|
10
37
|
|
11
|
-
- Updated
|
38
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
39
|
+
[provisional media registry][provisional] and the
|
40
|
+
[Apache httpd media registry][httpd] as of the release date.
|
12
41
|
|
13
42
|
## 3.2025.0429 / 2025-04-29
|
14
43
|
|
15
|
-
- Updated
|
44
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
45
|
+
[provisional media registry][provisional] and the
|
46
|
+
[Apache httpd media registry][httpd] as of the release date.
|
16
47
|
|
17
48
|
## 3.2025.0422 / 2025-04-22
|
18
49
|
|
19
|
-
- Updated
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
- Updated the Apache and IANA media registry entries as of release date
|
50
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
51
|
+
[provisional media registry][provisional] and the
|
52
|
+
[Apache httpd media registry][httpd] as of the release date.
|
24
53
|
|
25
54
|
## 3.2025.0408 / 2025-04-08
|
26
55
|
|
27
|
-
- Updated
|
56
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
57
|
+
[provisional media registry][provisional] and the
|
58
|
+
[Apache httpd media registry][httpd] as of the release date.
|
28
59
|
|
29
60
|
## 3.2025.0402 / 2025-04-02
|
30
61
|
|
31
|
-
- Updated
|
62
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
63
|
+
[provisional media registry][provisional] and the
|
64
|
+
[Apache httpd media registry][httpd] as of the release date.
|
32
65
|
|
33
66
|
## 3.2025.0325 / 2025-03-25
|
34
67
|
|
35
|
-
- Updated
|
68
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
69
|
+
[provisional media registry][provisional] and the
|
70
|
+
[Apache httpd media registry][httpd] as of the release date.
|
36
71
|
|
37
72
|
## 3.2025.0318 / 2025-03-18
|
38
73
|
|
39
|
-
- Updated
|
74
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
75
|
+
[provisional media registry][provisional] and the
|
76
|
+
[Apache httpd media registry][httpd] as of the release date.
|
40
77
|
|
41
78
|
## 3.2025.0304 / 2025-03-04
|
42
79
|
|
43
|
-
- Updated
|
80
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
81
|
+
[provisional media registry][provisional] and the
|
82
|
+
[Apache httpd media registry][httpd] as of the release date.
|
44
83
|
|
45
84
|
## 3.2025.0220 / 2025-02-20
|
46
85
|
|
47
|
-
- Updated
|
86
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
87
|
+
[provisional media registry][provisional] and the
|
88
|
+
[Apache httpd media registry][httpd] as of the release date.
|
48
89
|
|
49
90
|
- Added [trusted publishing][tp] for fully automated releases. Developed by
|
50
91
|
Samuel Giddins in [#109][pull-109], merged manually with some updates.
|
51
92
|
|
52
93
|
## 3.2025.0204 / 2025-02-04
|
53
94
|
|
54
|
-
- Updated
|
95
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
96
|
+
[provisional media registry][provisional] and the
|
97
|
+
[Apache httpd media registry][httpd] as of the release date.
|
55
98
|
|
56
99
|
- Added the Changelog URL to the README so that RubyGems.org is updated with the
|
57
100
|
`changelog_uri` on release. Contributed by Mark Young in [#96][pull-96].
|
@@ -65,8 +108,12 @@
|
|
65
108
|
|
66
109
|
## 3.2025.0107 / 2025-01-07
|
67
110
|
|
68
|
-
- Updated
|
111
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
112
|
+
[provisional media registry][provisional] and the
|
113
|
+
[Apache httpd media registry][httpd] as of the release date.
|
114
|
+
|
69
115
|
- Restructured documentation for how I prefer to manage Hoe projects now.
|
116
|
+
|
70
117
|
- Reworked the Rakefile because all data updates are now managed by GitHub
|
71
118
|
Actions and should not be managed manually any longer.
|
72
119
|
|
@@ -82,36 +129,48 @@
|
|
82
129
|
|
83
130
|
## 3.2024.1203 / 2024-12-03
|
84
131
|
|
85
|
-
- Updated
|
132
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
133
|
+
[provisional media registry][provisional] and the
|
134
|
+
[Apache httpd media registry][httpd] as of the release date.
|
86
135
|
|
87
136
|
## 3.2024.1105 / 2024-11-05
|
88
137
|
|
89
|
-
- Updated
|
138
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
139
|
+
[provisional media registry][provisional] and the
|
140
|
+
[Apache httpd media registry][httpd] as of the release date.
|
90
141
|
|
91
142
|
## 3.2024.1001 / 2024-10-01
|
92
143
|
|
93
|
-
- Updated
|
144
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
145
|
+
[provisional media registry][provisional] and the
|
146
|
+
[Apache httpd media registry][httpd] as of the release date.
|
94
147
|
|
95
148
|
## 3.2024.0903 / 2024-09-03
|
96
149
|
|
97
|
-
- Updated
|
150
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
151
|
+
[provisional media registry][provisional] and the
|
152
|
+
[Apache httpd media registry][httpd] as of the release date.
|
98
153
|
|
99
154
|
## 3.2024.0820 / 2024-08-20
|
100
155
|
|
101
|
-
- Updated
|
156
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
157
|
+
[provisional media registry][provisional] and the
|
158
|
+
[Apache httpd media registry][httpd] as of the release date.
|
102
159
|
|
103
160
|
- Added `.jxl` extension for `image/jxl`. Contributed by Shane Eskritt in
|
104
161
|
[#81][pull-81].
|
105
162
|
|
106
163
|
## 3.2024.0806 / 2024-08-06
|
107
164
|
|
108
|
-
- Updated
|
165
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
166
|
+
[provisional media registry][provisional] and the
|
167
|
+
[Apache httpd media registry][httpd] as of the release date.
|
109
168
|
|
110
169
|
## 3.2024.0702 / 2024-07-02
|
111
170
|
|
112
|
-
- Updated
|
113
|
-
|
114
|
-
|
171
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
172
|
+
[provisional media registry][provisional] and the
|
173
|
+
[Apache httpd media registry][httpd] as of the release date.
|
115
174
|
|
116
175
|
- This update adds a new `haptics/` group with three media types defined.
|
117
176
|
|
@@ -122,7 +181,9 @@
|
|
122
181
|
|
123
182
|
## 3.2024.0604 / 2024-06-04
|
124
183
|
|
125
|
-
- Updated
|
184
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
185
|
+
[provisional media registry][provisional] and the
|
186
|
+
[Apache httpd media registry][httpd] as of the release date.
|
126
187
|
|
127
188
|
- Internal changes:
|
128
189
|
|
@@ -135,43 +196,63 @@
|
|
135
196
|
|
136
197
|
## 3.2024.0507 / 2024-05-07
|
137
198
|
|
138
|
-
- Updated
|
199
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
200
|
+
[provisional media registry][provisional] and the
|
201
|
+
[Apache httpd media registry][httpd] as of the release date.
|
139
202
|
|
140
203
|
## 3.2024.0402 / 2024-04-02
|
141
204
|
|
142
|
-
- Updated
|
205
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
206
|
+
[provisional media registry][provisional] and the
|
207
|
+
[Apache httpd media registry][httpd] as of the release date.
|
143
208
|
|
144
209
|
## 3.2024.0305 / 2024-03-05
|
145
210
|
|
146
|
-
- Updated
|
211
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
212
|
+
[provisional media registry][provisional] and the
|
213
|
+
[Apache httpd media registry][httpd] as of the release date.
|
147
214
|
|
148
215
|
## 3.2024.0206 / 2024-02-06
|
149
216
|
|
150
|
-
- Updated
|
217
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
218
|
+
[provisional media registry][provisional] and the
|
219
|
+
[Apache httpd media registry][httpd] as of the release date.
|
151
220
|
|
152
221
|
## 3.2024.0102 / 2024-01-02
|
153
222
|
|
154
|
-
- Updated
|
223
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
224
|
+
[provisional media registry][provisional] and the
|
225
|
+
[Apache httpd media registry][httpd] as of the release date.
|
155
226
|
|
156
227
|
## 3.2023.1205 / 2023-12-05
|
157
228
|
|
158
|
-
- Updated
|
229
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
230
|
+
[provisional media registry][provisional] and the
|
231
|
+
[Apache httpd media registry][httpd] as of the release date.
|
159
232
|
|
160
233
|
## 3.2023.1107 / 2023-11-07
|
161
234
|
|
162
|
-
- Updated
|
235
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
236
|
+
[provisional media registry][provisional] and the
|
237
|
+
[Apache httpd media registry][httpd] as of the release date.
|
163
238
|
|
164
239
|
## 3.2023.1003 / 2023-10-03
|
165
240
|
|
166
|
-
- Updated
|
241
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
242
|
+
[provisional media registry][provisional] and the
|
243
|
+
[Apache httpd media registry][httpd] as of the release date.
|
167
244
|
|
168
245
|
## 3.2023.0905 / 2023-09-05
|
169
246
|
|
170
|
-
- Updated
|
247
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
248
|
+
[provisional media registry][provisional] and the
|
249
|
+
[Apache httpd media registry][httpd] as of the release date.
|
171
250
|
|
172
251
|
## 3.2023.0808 / 2023-08-08
|
173
252
|
|
174
|
-
- Updated
|
253
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
254
|
+
[provisional media registry][provisional] and the
|
255
|
+
[Apache httpd media registry][httpd] as of the release date.
|
175
256
|
|
176
257
|
## 3.2023.0218.1 / 2023-02-18
|
177
258
|
|
@@ -182,13 +263,15 @@
|
|
182
263
|
Samuel Williams discovered this in [#55][issue-55] by noting that all `js`
|
183
264
|
types were marked obsolete in version 3.2023.0218.
|
184
265
|
|
185
|
-
A
|
266
|
+
A hot fix has been applied to resolve this. However, note that
|
186
267
|
`application/javascript` will not be returned by default, only
|
187
268
|
`text/javascript`.
|
188
269
|
|
189
270
|
## 3.2023.0218 / 2023-02-18
|
190
271
|
|
191
|
-
- Updated
|
272
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
273
|
+
[provisional media registry][provisional] and the
|
274
|
+
[Apache httpd media registry][httpd] as of the release date.
|
192
275
|
|
193
276
|
- Mohammed Gad added the `jfif` file extension for `image/jpeg` text format.
|
194
277
|
[#52][pull-52]
|
@@ -202,52 +285,62 @@
|
|
202
285
|
clean way of identifying them at the moment. See [#54][issue-54].
|
203
286
|
|
204
287
|
This release also fixes [ruby-mime-types#163][ruby-mime-types#163], where logs
|
205
|
-
show "Type application/netcdf is already registered as a variant of
|
206
|
-
application/netcdf".
|
288
|
+
show "Type `application/netcdf` is already registered as a variant of
|
289
|
+
`application/netcdf`".
|
207
290
|
|
208
291
|
## 3.2022.0105 / 2022-01-05
|
209
292
|
|
210
|
-
- Updated
|
293
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
294
|
+
[provisional media registry][provisional] and the
|
295
|
+
[Apache httpd media registry][httpd] as of the release date.
|
211
296
|
|
212
297
|
- Fixed an incorrect definition of `image/bmp`, which had been marked obsolete
|
213
298
|
and later registered. Fixed [#48][issue-48], found by William T. Nelson.
|
214
299
|
|
215
300
|
## 3.2021.1115 / 2021-11-15
|
216
301
|
|
217
|
-
- Updated
|
302
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
303
|
+
[provisional media registry][provisional] and the
|
304
|
+
[Apache httpd media registry][httpd] as of the release date.
|
218
305
|
|
219
306
|
- Added conversion utilities that support the `mini_mime` data format. These
|
220
307
|
have been ported from the [mini\_mime][mini_mime] repository. [#47][pull-47]
|
221
308
|
|
222
|
-
- Added IANA provisional media registries. Added some notes to CONTRIBUTING
|
309
|
+
- Added IANA provisional media registries. Added some notes to CONTRIBUTING
|
223
310
|
about the transient nature of the provisional registration data. This was
|
224
311
|
triggered in part by a pull request by Jon Sneyers. Thanks! [#45][pull-45],
|
225
312
|
[#43][pull-43]
|
226
313
|
|
227
314
|
## 3.2021.0901 / 2021-09-01
|
228
315
|
|
229
|
-
- Updated
|
316
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
317
|
+
[provisional media registry][provisional] and the
|
318
|
+
[Apache httpd media registry][httpd] as of the release date.
|
230
319
|
|
231
|
-
- Added file extension for WebVTT text format. [#46][pull-46]
|
320
|
+
- Added file extension for `WebVTT` text format. [#46][pull-46]
|
232
321
|
|
233
322
|
## 3.2021.0704 / 2021-07-04
|
234
323
|
|
235
|
-
- Updated
|
324
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
325
|
+
[provisional media registry][provisional] and the
|
326
|
+
[Apache httpd media registry][httpd] as of the release date.
|
236
327
|
|
237
328
|
## 3.2021.0225 / 2021-02-25
|
238
329
|
|
239
|
-
- Updated
|
330
|
+
- Updated registry entries from the IANA [media registry][registry] and
|
331
|
+
[provisional media registry][provisional] and the
|
332
|
+
[Apache httpd media registry][httpd] as of the release date.
|
240
333
|
|
241
|
-
- Added file extension for AVIF video format. [#40][pull-40]
|
334
|
+
- Added file extension for `AVIF` video format. [#40][pull-40]
|
242
335
|
|
243
336
|
## 3.2021.0212 / 2021-02-12
|
244
337
|
|
245
338
|
- Updated the IANA media registry entries as of release date.
|
246
339
|
|
247
340
|
- Added a new rake task (`release:automatic`) that downloads and converts the
|
248
|
-
data from Apache and IANA; if there are changes detected, it
|
249
|
-
release version, changelog, manifest, and gemspec and commits
|
250
|
-
git.
|
341
|
+
data from Apache httpd and IANA registries; if there are changes detected, it
|
342
|
+
updates the release version, changelog, manifest, and `gemspec` and commits
|
343
|
+
the changes to git.
|
251
344
|
|
252
345
|
## 3.2020.1104 / 2020-11-04
|
253
346
|
|
@@ -265,7 +358,7 @@
|
|
265
358
|
|
266
359
|
- Updated the IANA media registry entries as of release date.
|
267
360
|
|
268
|
-
- Added file extensions for HEIC image types. [#34][pull-34]
|
361
|
+
- Added file extensions for `HEIC` image types. [#34][pull-34]
|
269
362
|
|
270
363
|
## 3.2020.0425 / 2020-04-25
|
271
364
|
|
@@ -317,7 +410,7 @@
|
|
317
410
|
`text/markdown`. [#13][pull-13]
|
318
411
|
|
319
412
|
- Because of a bug found with mime-types 3 before 3.2.1, this version requires
|
320
|
-
mime-types 3.
|
413
|
+
mime-types 3.2 or later to manage data.
|
321
414
|
|
322
415
|
- Updated the IANA media registry entries as of release date. The biggest major
|
323
416
|
change here is the addition of the `font/` top-level media type.
|
@@ -330,27 +423,11 @@
|
|
330
423
|
|
331
424
|
## 3.2016.0521 / 2016-05-21
|
332
425
|
|
333
|
-
- Updated the known extension list for application/octet-stream and
|
334
|
-
application/pgp-encrypted to include gpg as an extension. Fixes
|
335
|
-
[#3](https://github.com/
|
336
|
-
|
337
|
-
- Updated the IANA media registry entries as of release date
|
338
|
-
|
339
|
-
- Updated metadata for application/EmergencyCallData.Comment+xml,
|
340
|
-
application/EmergencyCallData.DeviceInfo+xml,
|
341
|
-
application/EmergencyCallData.ProviderInfo+xml,
|
342
|
-
application/EmergencyCallData.ServiceInfo+xml,
|
343
|
-
application/EmergencyCallData.SubscriberInfo+xml, application/ogg,
|
344
|
-
application/problem+json, application/problem+xml, audio/ogg, text/markdown,
|
345
|
-
video/H265, video/ogg.
|
346
|
-
- Added application/efi, application/vnd.3gpp.sms+xml,
|
347
|
-
application/vnd.3lightssoftware.imagescal,
|
348
|
-
application/vnd.coreos.ignition+json, application/vnd.oma.lwm2m+json,
|
349
|
-
application/vnd.onepager, application/vnd.quarantainenet,
|
350
|
-
application/vnd.vel+json, image/emf, image/wmf, text/prs.prop.logic.
|
351
|
-
- image/bmp has a draft RFC which would make it official; it has been finally
|
352
|
-
been registered. As such, this version _reverses_ the use-instead
|
353
|
-
relationship of image/bmp and image/x-bmp.
|
426
|
+
- Updated the known extension list for `application/octet-stream` and
|
427
|
+
`application/pgp-encrypted` to include `gpg` as an extension. Fixes
|
428
|
+
[#3][pull-3] by Tao Guo ([@taonic](https://github.com/taonic)).
|
429
|
+
|
430
|
+
- Updated the IANA media registry entries as of release date.
|
354
431
|
|
355
432
|
- This version requires mime-types 3.1 or later to manage data because of an
|
356
433
|
issue with JSON data encoding for the `xrefs` field.
|
@@ -358,23 +435,9 @@
|
|
358
435
|
## 3.2016.0221 / 2016-02-21
|
359
436
|
|
360
437
|
- Updated the known extensions list for audio/mp4.
|
361
|
-
- Updated the IANA media registry entries as of release date:
|
362
|
-
|
363
|
-
- Updated metadata for 3GPP-defined types (there are many), application/cdni,
|
364
|
-
and application/rfc+xml.
|
365
|
-
- Added application/EmergencyCallData.Comment+xml,
|
366
|
-
application/EmergencyCallData.DeviceInfo+xml,
|
367
|
-
application/EmergencyCallData.ProviderInfo+xml,
|
368
|
-
application/EmergencyCallData.ServiceInfo+xml,
|
369
|
-
application/ppsp-tracker+json, application/problem+json,
|
370
|
-
application/problem+xml, application/vnd.filmit.zfc, application/vnd.hdt,
|
371
|
-
application/vnd.mapbox-vector-tile,
|
372
|
-
application/vnd.ms-PrintDeviceCapabilities+xml,
|
373
|
-
application/vnd.ms-PrintSchemaTicket+xml,
|
374
|
-
application/vnd.ms-windows.nwprinting.oob, application/vnd.tml,
|
375
|
-
model/vnd.rosette.annotated-data-model, and video/H265.
|
376
438
|
|
377
439
|
- Updated to [Contributor Covenant 1.4][code of conduct].
|
440
|
+
|
378
441
|
- Shift the support code in this repository to be developed with Ruby 2.3. This
|
379
442
|
involves:
|
380
443
|
|
@@ -396,81 +459,35 @@
|
|
396
459
|
- Updated the conversion and management utilities to work with ruby-mime-types
|
397
460
|
3.x.
|
398
461
|
|
399
|
-
- Updated the IANA media registry entries as of release date
|
400
|
-
|
401
|
-
- Updated metadata for application/scim+json, audio/G711-0, text/markdown.
|
402
|
-
|
403
|
-
- Added application/cdni, application/csvm+json, application/rfc+xml,
|
404
|
-
application/vnd.3gpp.access-transfer-events+xml,
|
405
|
-
application/vnd.3gpp.srvcc-ext+xml, application/vnd.3gpp.SRVCC-info+xml,
|
406
|
-
application/vnd.ms-windows.devicepairing,
|
407
|
-
application/vnd.ms-windows.wsd.oob, application/vnd.oxli.countgraph,
|
408
|
-
application/vnd.pagerduty+json, video/VP8.
|
462
|
+
- Updated the IANA media registry entries as of release date.
|
409
463
|
|
410
464
|
## 2.6.2 / 2015-09-13
|
411
465
|
|
412
|
-
- Updated the IANA media registry entries as of release date
|
413
|
-
|
414
|
-
- Updated metadata for application/cals-1840, application/index.obj,
|
415
|
-
application/ocsp-response, application/vnd.dtg.local.html,
|
416
|
-
application/vnd.pwg-multiplexed, audio/G7221, audio/opus.
|
417
|
-
|
418
|
-
- Added application/pkcs12, application/scim+json, multipart/form-data.
|
419
|
-
application/vnd.3gpp-prose+xml, application/vnd.3gpp-prose-pc3ch+xml,
|
420
|
-
application/vnd.3gpp.mid-call+xml,
|
421
|
-
application/vnd.3gpp-state-and-event-info+xml, application.3gpp.ussd+xml,
|
422
|
-
application/vnd.anki, application/vnd.biopax.rdf+xml,
|
423
|
-
application/vnd.drive+json, application/vnd.firemonkeys.cloudcell,
|
424
|
-
application/vnd.hyperdrive+json, application/vnd.openblox.game+xml,
|
425
|
-
application/vnd.openblox.game-binary, application/vnd.uri-map, audio/G711-0,
|
426
|
-
image/vnd.mozilla.apng.
|
466
|
+
- Updated the IANA media registry entries as of release date.
|
427
467
|
|
428
468
|
## 2.6 / 2015-05-25
|
429
469
|
|
430
470
|
- Steven Michael Thomas
|
431
471
|
([@stevenmichaelthomas](https://github.com/stevenmichaelthomas)) added `woff2`
|
432
|
-
as an extension to application/font-woff
|
472
|
+
as an extension to `application/font-woff`,
|
433
473
|
[ruby-mime-types#99][ruby-mime-types#99].
|
434
|
-
- Updated the IANA media registry entries as of release date
|
435
|
-
- Updated metadata for application/jose, application/jose+json,
|
436
|
-
application/jwk+json, application/jwk-set+json, application/jwt to reflect
|
437
|
-
the adoption of RFC7519.
|
438
|
-
- Added application/vnd.balsamiq.bmpr.
|
474
|
+
- Updated the IANA media registry entries as of release date.
|
439
475
|
|
440
476
|
## 2.5 / 2015-04-25
|
441
477
|
|
442
|
-
- Updated the IANA media registry entries as of release date
|
443
|
-
|
444
|
-
application/ATXML, application/CDFX+XML, application/CEA, application/DII,
|
445
|
-
application/DIT, application/jose, application/jose+json,
|
446
|
-
application/json-seq, application/jwk+json, application/jwk-set+json,
|
447
|
-
application/jwt, application/LXF, application/MF4, application/rdap+json,
|
448
|
-
application/vnd.apache.thrift.compact, vnd.apache.thrift.json,
|
449
|
-
application/vnd.citationstyles.style+xml, application/vnd.coffeescript,
|
450
|
-
application/vnd.enphase.envoy, application/vnd.fastcopy-disk-image,
|
451
|
-
application/vnd.gerber, application/vnd.gov.sk.e-form+xml,
|
452
|
-
application/vnd.gov.sk.e-form+zip,
|
453
|
-
application/vnd.gov.sk.xmldatacontainer+xml, application/vnd.ims.imsccv1p1,
|
454
|
-
application/vnd.ims.imsccv1p2, application/vnd.ims.imsccv1p3,
|
455
|
-
application/vnd.micro+json, application/vnd.microsoft.portable-executable,
|
456
|
-
application/vnd.msa-disk-image, application/vnd.oracle.resource+json,
|
457
|
-
application/vnd.tmd.mediaflex.api+xml, audio/opus, image/vnd.zbrush.pcx,
|
458
|
-
text/csv-schema, text/markdown (marked as TEMPORARY).
|
459
|
-
- Updated metadata for application/coap-group+json (RFC7390),
|
460
|
-
application/epub+zip (now registered), application/merge-patch+json
|
461
|
-
(RFC7396), application/smil, application/vnd.arastra.swi,
|
462
|
-
application/vnd.geocube+xml, application/vnd.gmx, application/xhtml+xml,
|
463
|
-
text/directory.
|
478
|
+
- Updated the IANA media registry entries as of release date.
|
479
|
+
|
464
480
|
- Andy Brody ([@ab](https://github.com/ab)) fixed a pair of embarrassing typos
|
465
|
-
in text/csv and text/tab-separated-values
|
481
|
+
in `text/csv` and `text/tab-separated-values`,
|
466
482
|
[ruby-mime-types#89](https://github.com/mime-types/ruby-mime-types/pull/89).
|
483
|
+
|
467
484
|
- Aggelos Avgerinos ([@eavgerinos](https://github.com/eavgerinos)) added the
|
468
|
-
unregistered MIME type image/x-ms-bmp with the extension `bmp`,
|
485
|
+
unregistered MIME type `image/x-ms-bmp` with the extension `bmp`,
|
469
486
|
[ruby-mime-types#90](https://github.com/mime-types/ruby-mime-types/pull/90).
|
470
487
|
|
471
488
|
## 2.4.2 / 2014-10-15
|
472
489
|
|
473
|
-
- Added application/vnd.ms-outlook as an unregistered MIME type with the
|
490
|
+
- Added `application/vnd.ms-outlook` as an unregistered MIME type with the
|
474
491
|
extension `msg`. Provided by [@keerthisiv](https://github.com/keerthisiv) in
|
475
492
|
[ruby-mime-types#72](https://github.com/mime-types/ruby-mime-types/pull/72).
|
476
493
|
|
@@ -479,97 +496,29 @@
|
|
479
496
|
- Changed the sort order of many of the extensions to restore behaviour from
|
480
497
|
mime-types 1.25.1.
|
481
498
|
- Added `friendly` MIME::Type descriptions where known.
|
482
|
-
- Added `reg`, `ps1`, and `vbs` extensions to application/x-msdos-program and
|
483
|
-
application/x-msdownload
|
499
|
+
- Added `reg`, `ps1`, and `vbs` extensions to `application/x-msdos-program` and
|
500
|
+
`application/x-msdownload`.
|
484
501
|
- Updated the IANA media registry entries as of release date.
|
485
|
-
- Several MIME types had updated metadata (application/alto-\*, RFC7285;
|
486
|
-
application/calendar+json, RFC7265; application/http, RFC7230;
|
487
|
-
application/xml, RFC7303; application/xml-dtd, RFC7303;
|
488
|
-
application/xml-external-parsed-entity, RFC7303; audio/AMR-WB, RFC4867;
|
489
|
-
audio/aptx, RFC7310; message/http, RFC7230; multipart/byteranges, RFC7233;
|
490
|
-
text/xml, RFC7303; text/xml-external-parsed-entity, RFC7303)
|
491
|
-
- MIME::Type application/EDI-Consent was renamed to application/EDI-consent.
|
492
|
-
- Obsoleted application/vnd.informix-visionary in favour of
|
493
|
-
application/vnd.visionary. Obsoleted
|
494
|
-
application/vnd.nokia.n-gage.symbian.install with no replacement.
|
495
|
-
- Added MIME types: application/ATF, application/coap-group+json,
|
496
|
-
application/DCD, application/merge-patch+json, application/scaip+xml,
|
497
|
-
application/vnd.apache.thrift.binary, application/vnd.artsquare,
|
498
|
-
application/vnd.doremir.scorecloud-binary-document, application/vnd.dzr,
|
499
|
-
application/vnd.maxmind.maxmind-db,
|
500
|
-
application/vnd.ntt-local.ogw_remote-access, application/xml-patch+xml,
|
501
|
-
image/vnd.tencent.tap.
|
502
502
|
|
503
503
|
## 2.3 / 2014-05-23
|
504
504
|
|
505
505
|
- Updated the IANA media registry entries as of release date.
|
506
|
-
- Several MIME types had additional metadata added on the most recent import.
|
507
|
-
- MIME::Type application/pidfxml was renamed to application/pidf+xml.
|
508
|
-
- Added MIME types: application/3gpdash-qoe-report+xml,
|
509
|
-
application/alto-costmap+json, application/alto-costmapfilter+json,
|
510
|
-
application/alto-directory+json, application/alto-endpointcost+json,
|
511
|
-
application/alto-endpointcostparams+json,
|
512
|
-
application/alto-endpointprop+json,
|
513
|
-
application/alto-endpointpropparams+json, application/alto-error+json,
|
514
|
-
application/alto-networkmap+json, application/alto-networkmapfilter+json,
|
515
|
-
application/calendar+json, application/vnd.debian.binary-package,
|
516
|
-
application/vnd.geo+json, application/vnd.ims.lis.v2.result+json,
|
517
|
-
application/vnd.ims.lti.v2.toolconsumerprofile+json,
|
518
|
-
application/vnd.ims.lti.v2.toolproxy+json,
|
519
|
-
application/vnd.ims.lti.v2.toolproxy.id+json,
|
520
|
-
application/vnd.ims.lti.v2.toolsettings+json,
|
521
|
-
application/vnd.ims.lti.v2.toolsettings.simple+json,
|
522
|
-
application/vnd.mason+json, application/vnd.miele+json,
|
523
|
-
application/vnd.ms-3mfdocument, application/vnd.panoply,
|
524
|
-
application/vnd.valve.source.material, application/vnd.yaoweme, audio/aptx,
|
525
|
-
image/vnd.valve.source.texture, model/vnd.opengex,
|
526
|
-
model/vnd.valve.source.compiled-map, model/x3d+fastinfoset,
|
527
|
-
text/cache-manifest
|
528
506
|
|
529
507
|
## 2.2 / 2014-03-14
|
530
508
|
|
531
|
-
- Added
|
532
|
-
|
509
|
+
- Added `.sj` to `application/javascript` as provided by Brandon Galbraith
|
510
|
+
([@brandongalbraith](https://github.com/brandongalbraith)) in
|
533
511
|
[ruby-mime-types#58](https://github.com/mime-types/ruby-mime-types/pull/58).
|
534
|
-
|
535
|
-
|
512
|
+
|
513
|
+
- Marked `application/excel` and `application/x-excel` as obsolete in favour of
|
514
|
+
`application/vnd.ms-excel` per
|
536
515
|
[ruby-mime-types#60](https://github.com/mime-types/ruby-mime-types/pull/60).
|
516
|
+
|
537
517
|
- Merged duplicate MIME types into the registered MIME type. The only difference
|
538
518
|
between the MIME types was capitalization; the MIME type registry is
|
539
519
|
case-preserving.
|
540
520
|
|
541
|
-
- Affected MIME types: application/vnd.3M.Post-it-Notes,
|
542
|
-
application/vnd.FloGraphIt, application/vnd.HandHeld-Entertainment+xml,
|
543
|
-
application/vnd.hp-HPGL, application/vnd.hp-PCL, application/vnd.hp-PCLXL,
|
544
|
-
application/vnd.ibm.MiniPay, application/vnd.Kinar, application/vnd.MFER,
|
545
|
-
application/vnd.Mobius.DAF, application/vnd.Mobius.DIS,
|
546
|
-
application/vnd.Mobius.MBK, application/vnd.Mobius.MSL,
|
547
|
-
application/vnd.Mobius.MQY, application/vnd.Mobius.PLC,
|
548
|
-
application/vnd.Mobius.TXF, application/vnd.ms-excel.addin.macroEnabled.12,
|
549
|
-
application/vnd.ms-excel.sheet.binary.macroEnabled.12,
|
550
|
-
application/vnd.ms-excel.sheet.macroEnabled.12,
|
551
|
-
application/vnd.ms-excel.template.macroEnabled.12,
|
552
|
-
application/vnd.ms-powerpoint.addin.macroEnabled.12,
|
553
|
-
application/vnd.ms-powerpoint.presentation.macroEnabled.12,
|
554
|
-
application/vnd.ms-powerpoint.slide.macroEnabled.12,
|
555
|
-
application/vnd.ms-powerpoint.slideshow.macroEnabled.12,
|
556
|
-
application/vnd.ms-powerpoint.template.macroEnabled.12,
|
557
|
-
application/vnd.ms-word.document.macroEnabled.12,
|
558
|
-
application/vnd.ms-word.template.macroEnabled.12,
|
559
|
-
application/vnd.novadigm.EDM, application/vnd.novadigm.EDX,
|
560
|
-
application/vnd.novadigm.EXT, application/vnd.Quark.QuarkXPress,
|
561
|
-
application/vnd.SimTech-MindMapper, audio/AMR-WB, video/H261, video/H263,
|
562
|
-
video/H264, video/JPEG, video/MJ2.
|
563
|
-
|
564
521
|
- Updated the IANA media registry entries as of release date.
|
565
|
-
- Registered type person names have been updated from surname only to full
|
566
|
-
name.
|
567
|
-
- Several types had updated RFC or draft RFC references.
|
568
|
-
- Added application/bacnet-xdd+zip, application/cms,
|
569
|
-
application/load-control+xml, application/PDX, application/ttml+xml,
|
570
|
-
application/vnd.collection.doc+json,
|
571
|
-
application/vnd.iptc.g2.catalogitem+xml, application/vnd.pcos,
|
572
|
-
text/parameters, text/vnd.a, video/iso.segment
|
573
522
|
|
574
523
|
## 2.1 / 2014-01-25
|
575
524
|
|
@@ -580,88 +529,16 @@
|
|
580
529
|
- MIME types having a publicly available registry application now include a
|
581
530
|
link to that file in references.
|
582
531
|
- Added `xrefs` data as discovered (see the API changes noted above).
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
application/vnd.oma.cab-feature-handler+xml, application/vnd.openeye.oeb,
|
591
|
-
application/vnd.tcpdump.pcap, audio/amr-wb, model/x3d+xml, model/x3d-vrml
|
592
|
-
- Added 180 unregistered MIME types from the Apache list:
|
593
|
-
- application/applixware, application/cu-seeme, application/docbook+xml,
|
594
|
-
application/gml+xml, application/gpx+xml, application/gxf,
|
595
|
-
application/java-archive, application/java-serialized-object,
|
596
|
-
application/java-vm, application/jsonml+json, application/metalink+xml,
|
597
|
-
application/omdoc+xml, application/onenote, application/pics-rules,
|
598
|
-
application/rsd+xml, application/ssdl+xml, application/vnd.3m.post-it-notes,
|
599
|
-
application/vnd.amazon.ebook,
|
600
|
-
application/vnd.anser-web-funds-transfer-initiation,
|
601
|
-
application/vnd.curl.car, application/vnd.curl.pcurl,
|
602
|
-
application/vnd.dolby.mlp, application/vnd.ds-keypoint,
|
603
|
-
application/vnd.flographit, application/vnd.handheld-entertainment+xml,
|
604
|
-
application/vnd.hp-hpgl, application/vnd.hp-pcl, application/vnd.hp-pclxl,
|
605
|
-
application/vnd.ibm.minipay, application/vnd.kinar, application/vnd.mfer,
|
606
|
-
application/vnd.mobius.daf, application/vnd.mobius.dis,
|
607
|
-
application/vnd.mobius.mbk, application/vnd.mobius.mqy,
|
608
|
-
application/vnd.mobius.msl, application/vnd.mobius.plc,
|
609
|
-
application/vnd.mobius.txf, application/vnd.ms-excel.addin.macroenabled.12,
|
610
|
-
application/vnd.ms-excel.sheet.binary.macroenabled.12,
|
611
|
-
application/vnd.ms-excel.sheet.macroenabled.12,
|
612
|
-
application/vnd.ms-excel.template.macroenabled.12,
|
613
|
-
application/vnd.ms-pki.seccat, application/vnd.ms-pki.stl,
|
614
|
-
application/vnd.ms-powerpoint.addin.macroenabled.12,
|
615
|
-
application/vnd.ms-powerpoint.presentation.macroenabled.12,
|
616
|
-
application/vnd.ms-powerpoint.slide.macroenabled.12,
|
617
|
-
application/vnd.ms-powerpoint.slideshow.macroenabled.12,
|
618
|
-
application/vnd.ms-powerpoint.template.macroenabled.12,
|
619
|
-
application/vnd.ms-word.document.macroenabled.12,
|
620
|
-
application/vnd.ms-word.template.macroenabled.12,
|
621
|
-
application/vnd.novadigm.edm, application/vnd.novadigm.edx,
|
622
|
-
application/vnd.novadigm.ext, application/vnd.quark.quarkxpress,
|
623
|
-
application/vnd.rim.cod, application/vnd.rn-realmedia-vbr,
|
624
|
-
application/vnd.simtech-mindmapper, application/vnd.symbian.install,
|
625
|
-
application/winhlp, application/x-abiword, application/x-ace-compressed,
|
626
|
-
application/x-authorware-bin, application/x-authorware-map,
|
627
|
-
application/x-authorware-seg, application/x-bittorrent, application/x-blorb,
|
628
|
-
application/x-bzip, application/x-cbr, application/x-cfs-compressed,
|
629
|
-
application/x-chat, application/x-conference, application/x-dgc-compressed,
|
630
|
-
application/x-doom, application/x-dtbncx+xml, application/x-dtbook+xml,
|
631
|
-
application/x-dtbresource+xml, application/x-envoy, application/x-eva,
|
632
|
-
application/x-font-bdf, application/x-font-ghostscript,
|
633
|
-
application/x-font-linux-psf, application/x-font-otf,
|
634
|
-
application/x-font-pcf, application/x-font-snf, application/x-font-ttf,
|
635
|
-
application/x-font-type1, application/x-freearc,
|
636
|
-
application/x-gca-compressed, application/x-glulx, application/x-gnumeric,
|
637
|
-
application/x-gramps-xml, application/x-install-instructions,
|
638
|
-
application/x-iso9660-image, application/x-lzh-compressed,
|
639
|
-
application/x-mie, application/x-ms-application, application/x-ms-shortcut,
|
640
|
-
application/x-ms-xbap, application/x-msbinder, application/x-mscardfile,
|
641
|
-
application/x-msclip, application/x-msmediaview, application/x-msmetafile,
|
642
|
-
application/x-msmoney, application/x-mspublisher, application/x-msschedule,
|
643
|
-
application/x-msterminal, application/x-mswrite, application/x-nzb,
|
644
|
-
application/x-pkcs12, application/x-pkcs7-certificates,
|
645
|
-
application/x-pkcs7-certreqresp, application/x-research-info-systems,
|
646
|
-
application/x-silverlight-app, application/x-sql, application/x-stuffitx,
|
647
|
-
application/x-subrip, application/x-t3vm-image, application/x-tads,
|
648
|
-
application/x-tex-tfm, application/x-tgif, application/x-xfig,
|
649
|
-
application/x-xliff+xml, application/x-xz, application/x-zmachine,
|
650
|
-
application/xaml+xml, application/xproc+xml, application/xspf+xml,
|
651
|
-
audio/adpcm, audio/amr-wb, audio/AMR-WB, audio/midi, audio/s3m, audio/silk,
|
652
|
-
audio/x-caf, audio/x-flac, audio/x-matroska, audio/x-mpegurl, audio/xm,
|
653
|
-
chemical/x-cdx, chemical/x-cif, chemical/x-cmdf, chemical/x-cml,
|
654
|
-
chemical/x-csml, image/sgi, image/vnd.ms-photo, image/x-3ds, image/x-cmx,
|
655
|
-
image/x-freehand, image/x-icon, image/x-mrsid-image, image/x-pcx,
|
656
|
-
image/x-tga, model/x3d+binary, model/x3d+vrml, text/plain,
|
657
|
-
text/vnd.curl.dcurl, text/vnd.curl.mcurl, text/vnd.curl.scurl, text/x-asm,
|
658
|
-
text/x-c, text/x-fortran, text/x-java-source, text/x-nfo, text/x-opml,
|
659
|
-
text/x-pascal, text/x-sfv, text/x-uuencode, video/h261, video/h263,
|
660
|
-
video/h264, video/jpeg, video/jpm, video/mj2, video/x-f4v, video/x-m4v,
|
661
|
-
video/x-mng, video/x-ms-vob, video/x-smv
|
662
|
-
- Merged the non-standard VMS platform text/plain with the standard text/plain.
|
532
|
+
|
533
|
+
- The Apache httpd mime types configuration has been added to track additional
|
534
|
+
common but unregistered MIME types and known extensions for those MIME types.
|
535
|
+
This has affected many of the available MIME types.
|
536
|
+
|
537
|
+
- Merged the non-standard VMS platform `text/plain` with the standard
|
538
|
+
`text/plain`.
|
663
539
|
|
664
540
|
[code of conduct]: CODE_OF_CONDUCT.md
|
541
|
+
[httpd]: https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
|
665
542
|
[issue-18]: https://github.com/mime-types/mime-types-data/issues/18
|
666
543
|
[issue-22]: https://github.com/mime-types/mime-types-data/issues/22
|
667
544
|
[issue-32]: https://github.com/mime-types/mime-types-data/issues/32
|
@@ -669,6 +546,8 @@
|
|
669
546
|
[issue-54]: https://github.com/mime-types/mime-types-data/issues/54
|
670
547
|
[issue-55]: https://github.com/mime-types/mime-types-data/issues/55
|
671
548
|
[mini_mime]: https://github.com/discourse/mini_mime/issues/41
|
549
|
+
[provisional]: https://www.iana.org/assignments/provisional-standard-media-types/provisional-standard-media-types.xml
|
550
|
+
[pull-3]: https://github.com/mime-types/mime-types-data/pull/3
|
672
551
|
[pull-109]: https://github.com/mime-types/mime-types-data/pull/109
|
673
552
|
[pull-10]: https://github.com/mime-types/mime-types-data/pull/10
|
674
553
|
[pull-11]: https://github.com/mime-types/mime-types-data/pull/11
|
@@ -698,7 +577,9 @@
|
|
698
577
|
[pull-81]: https://github.com/mime-types/mime-types-data/pull/81
|
699
578
|
[pull-96]: https://github.com/mime-types/mime-types-data/pull/96
|
700
579
|
[pull-98]: https://github.com/mime-types/mime-types-data/pull/98
|
580
|
+
[registry]: https://www.iana.org/assignments/media-types/media-types.xml
|
701
581
|
[rmt]: https://github.com/mime-types/ruby-mime-types
|
702
582
|
[ruby-mime-types#163]: https://github.com/mime-types/ruby-mime-types/issues/163
|
703
583
|
[ruby-mime-types#99]: https://github.com/mime-types/ruby-mime-types/pull/99
|
584
|
+
[tika]: https://github.com/apache/tika/blob/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
|
704
585
|
[tp]: https://guides.rubygems.org/trusted-publishing/
|
data/README.md
CHANGED
@@ -3,7 +3,8 @@
|
|
3
3
|
- home :: https://github.com/mime-types/mime-types-data/
|
4
4
|
- issues :: https://github.com/mime-types/mime-types-data/issues
|
5
5
|
- code :: https://github.com/mime-types/mime-types-data/
|
6
|
-
- changelog ::
|
6
|
+
- changelog ::
|
7
|
+
https://github.com/mime-types/mime-types-data/blob/main/CHANGELOG.md
|
7
8
|
|
8
9
|
## Description
|
9
10
|
|
@@ -20,7 +21,8 @@ provided in mime-types-data contains detailed information about MIME entities.
|
|
20
21
|
There are many types defined by RFCs and vendors, so the list is long but
|
21
22
|
invariably; don't hesitate to offer additional type definitions for
|
22
23
|
consideration. MIME type definitions found in mime-types are from RFCs, W3C
|
23
|
-
recommendations, the [IANA Media Types registry][registry],
|
24
|
+
recommendations, the [IANA Media Types registry][registry], the
|
25
|
+
[Apache httpd registry][httpd], the [Apache Tika media registry][tika] and user
|
24
26
|
contributions. It conforms to RFCs 2045 and 2231.
|
25
27
|
|
26
28
|
### Data Formats Supported in this Registry
|
@@ -51,17 +53,19 @@ This registry contains the MIME media types in four formats:
|
|
51
53
|
|
52
54
|
## mime-types-data Modified Semantic Versioning
|
53
55
|
|
54
|
-
mime-types-data uses a
|
55
|
-
indicate that the data formats
|
56
|
-
date of the data update:
|
56
|
+
mime-types-data uses a [Semantic Versioning][semver] scheme heavily modified
|
57
|
+
with [Calendar Versioning][calver] aspects to indicate that the data formats
|
58
|
+
compatibility based on a `SCHEMA` version and the date of the data update:
|
59
|
+
`SCHEMA.YEAR.MONTHDAY`.
|
57
60
|
|
58
61
|
1. If an incompatible data format change is made to any of the supported
|
59
62
|
formats, `SCHEMA` will be incremented. The current `SCHEMA` is 3, supporting
|
60
|
-
the YAML, JSON, and
|
63
|
+
the YAML, JSON, columnar, and mini-mime formats required for Ruby mime-types
|
64
|
+
3.0.
|
61
65
|
|
62
66
|
2. When the data is updated, the `YEAR.MONTHDAY` combination will be updated. An
|
63
|
-
update on the last day of October
|
64
|
-
resulting in the full version of `3.
|
67
|
+
update on the last day of October 2025 would be written as `2025.1031`,
|
68
|
+
resulting in the full version of `3.2025.1031`.
|
65
69
|
|
66
70
|
3. If multiple versions of the data need to be released on the same day due to
|
67
71
|
error, there will be an additional `REVISION` field incremented on the end of
|
@@ -69,6 +73,9 @@ date of the data update: `SCHEMA.YEAR.MONTHDAY`.
|
|
69
73
|
2015, the last release would be `3.2015.1031.2` (remember that the first
|
70
74
|
release has an implied `0`.)
|
71
75
|
|
72
|
-
[registry]: https://www.iana.org/assignments/media-types/media-types.
|
76
|
+
[registry]: https://www.iana.org/assignments/media-types/media-types.xml
|
73
77
|
[semver]: http://semver.org/
|
74
78
|
[minimime]: https://github.com/discourse/mini_mime
|
79
|
+
[httpd]: https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
|
80
|
+
[tika]: https://github.com/apache/tika/blob/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
|
81
|
+
[calver]: https://calver.org
|
data/Rakefile
CHANGED
@@ -28,7 +28,7 @@ Hoe.spec "mime-types-data" do
|
|
28
28
|
|
29
29
|
extra_dev_deps << ["hoe", "~> 4.0"]
|
30
30
|
extra_dev_deps << ["hoe-halostatue", "~> 2.0"]
|
31
|
-
extra_dev_deps << ["mime-types", "
|
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"]
|
34
34
|
extra_dev_deps << ["standard", "~> 1.0"]
|
@@ -41,11 +41,17 @@ namespace :mime do
|
|
41
41
|
IANARegistry.download(to: args.destination)
|
42
42
|
end
|
43
43
|
|
44
|
-
desc "Download the current MIME type configuration from Apache."
|
44
|
+
desc "Download the current MIME type configuration from Apache httpd."
|
45
45
|
task :apache, [:destination] do |_, args|
|
46
46
|
require "apache_mime_types"
|
47
47
|
ApacheMIMETypes.download(to: args.destination)
|
48
48
|
end
|
49
|
+
|
50
|
+
desc "Download the current MIME type configuration from Apache Tika."
|
51
|
+
task :tika, [:destination] do |_, args|
|
52
|
+
require "tika_mime_types"
|
53
|
+
TikeMIMETypes.download(to: args.destination)
|
54
|
+
end
|
49
55
|
end
|
50
56
|
|
51
57
|
task :version do
|
data/lib/mime/types/data.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mime-types-data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2025.0507
|
4
|
+
version: 3.2025.0507
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Austin Ziegler
|
@@ -41,22 +41,22 @@ dependencies:
|
|
41
41
|
name: mime-types
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- - "
|
44
|
+
- - ">"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 3.
|
46
|
+
version: 3.6.2
|
47
47
|
- - "<"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: '
|
49
|
+
version: '5'
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- - "
|
54
|
+
- - ">"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 3.
|
56
|
+
version: 3.6.2
|
57
57
|
- - "<"
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: '
|
59
|
+
version: '5'
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: nokogiri
|
62
62
|
requirement: !ruby/object:Gem::Requirement
|