mime-types-data 3.2025.0204 → 3.2025.0220
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +50 -42
- data/CONTRIBUTING.md +14 -14
- data/CONTRIBUTORS.md +1 -0
- data/Rakefile +3 -1
- data/data/mime-types.json +1 -1
- data/data/mime.content_type.column +1 -0
- data/data/mime.docs.column +1 -0
- data/data/mime.encoding.column +1 -0
- data/data/mime.flags.column +1 -0
- data/data/mime.friendly.column +1 -0
- data/data/mime.pext.column +1 -0
- data/data/mime.use_instead.column +1 -0
- data/data/mime.xrefs.column +3 -2
- data/lib/mime/types/data.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 335e91bdeffdddf816f95c795c8181d90054c62ab203da8e9fc7bba4d401cd32
|
4
|
+
data.tar.gz: e134b524974d525e0bd986038913f80ccdb22732e7e3ad90dd2ecd605882e709
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35ba10a184bd975861f12d56876e2a942c8cceb5b6cf35bb0922265fdd6899202db9692ea2c4288c39ac65065cecb6a20138b87b64c0b2e4e84eae1e4670938b
|
7
|
+
data.tar.gz: 6ff470db525f3f5f68e81272ce9fc56d56ea5a5dd4f80c7ff00c1bf610dbecf41c0697a1cfcc117e24c396810cac65b470fa4f05e67909210e00463399c01789
|
data/CHANGELOG.md
CHANGED
@@ -2,20 +2,26 @@
|
|
2
2
|
|
3
3
|
<!-- automatic-release -->
|
4
4
|
|
5
|
-
## 3.2025.
|
5
|
+
## 3.2025.0220 / 2025-02-20
|
6
6
|
|
7
7
|
- Updated the Apache and IANA media registry entries as of release date
|
8
8
|
|
9
|
+
- Added [trusted publishing][tp] for fully automated releases. Developed by
|
10
|
+
Samuel Giddins in [#109][pull-109], merged manually with some updates.
|
11
|
+
|
12
|
+
## 3.2025.0204 / 2025-02-04
|
13
|
+
|
14
|
+
- Updated the Apache and IANA media registry entries as of release date
|
9
15
|
|
10
16
|
- Added the Changelog URL to the README so that RubyGems.org is updated with the
|
11
|
-
`changelog_uri` on release. Contributed by Mark Young in [#96][
|
17
|
+
`changelog_uri` on release. Contributed by Mark Young in [#96][pull-96].
|
12
18
|
|
13
19
|
- Fixed an issue with automated releases that added thousands of files because
|
14
20
|
`vendor/` was no longer ignored.
|
15
21
|
|
16
22
|
- Fixed the automated release builder process to handle the case when the
|
17
23
|
`automatic-release` tag is followed by a `## NEXT / YYYY-MM-DD` header so that
|
18
|
-
changes merged normally are picked up on automatic releases. [#98][
|
24
|
+
changes merged normally are picked up on automatic releases. [#98][pull-98]
|
19
25
|
|
20
26
|
## 3.2025.0107 / 2025-01-07
|
21
27
|
|
@@ -55,7 +61,7 @@
|
|
55
61
|
- Updated the Apache and IANA media registry entries as of release date.
|
56
62
|
|
57
63
|
- Added `.jxl` extension for `image/jxl`. Contributed by Shane Eskritt in
|
58
|
-
[#81][
|
64
|
+
[#81][pull-81].
|
59
65
|
|
60
66
|
## 3.2024.0806 / 2024-08-06
|
61
67
|
|
@@ -70,7 +76,7 @@
|
|
70
76
|
- This update adds a new `haptics/` group with three media types defined.
|
71
77
|
|
72
78
|
- Moved extensions from `audio/x-aac` to `audio/aac` and mark `audio/x-aac` as
|
73
|
-
obsolete. Based on [#77][
|
79
|
+
obsolete. Based on [#77][pull-77] by Samuel Williams.
|
74
80
|
|
75
81
|
- Made the same changes for `audio/flac` and `audio/matroska`.
|
76
82
|
|
@@ -133,8 +139,8 @@
|
|
133
139
|
information available to deprecate `text/javascript` in favour of
|
134
140
|
`application/javascript`. Since the previous update (2022-01-05), IANA has
|
135
141
|
officially deprecated `application/javascript` in favour of `text/javascript`.
|
136
|
-
Samuel Williams discovered this in [#55][
|
137
|
-
were marked obsolete in version 3.2023.0218.
|
142
|
+
Samuel Williams discovered this in [#55][issue-55] by noting that all `js`
|
143
|
+
types were marked obsolete in version 3.2023.0218.
|
138
144
|
|
139
145
|
A hotfix has been applied to resolve this. However, note that
|
140
146
|
`application/javascript` will not be returned by default, only
|
@@ -145,15 +151,15 @@
|
|
145
151
|
- Updated the Apache and IANA media registry entries as of release date.
|
146
152
|
|
147
153
|
- Mohammed Gad added the `jfif` file extension for `image/jpeg` text format.
|
148
|
-
[#52][
|
154
|
+
[#52][pull-52]
|
149
155
|
|
150
156
|
- Reworked the loading of IANA provisional media registries to merge them into
|
151
157
|
the top-level media-type registries instead of a standalone registry file.
|
152
|
-
[#53][
|
158
|
+
[#53][pull-53] originally identified by Chris Salzberg in [#50][pull-50].
|
153
159
|
|
154
160
|
It is worth noting that this is an _imperfect_ solution as if a media type is
|
155
161
|
provisionally registered and withdrawn, it will linger in the registry with no
|
156
|
-
clean way of identifying them at the moment. See [#54][
|
162
|
+
clean way of identifying them at the moment. See [#54][issue-54].
|
157
163
|
|
158
164
|
This release also fixes [ruby-mime-types#163][ruby-mime-types#163], where logs
|
159
165
|
show "Type application/netcdf is already registered as a variant of
|
@@ -164,25 +170,25 @@
|
|
164
170
|
- Updated the Apache and IANA media registry entries as of release date.
|
165
171
|
|
166
172
|
- Fixed an incorrect definition of `image/bmp`, which had been marked obsolete
|
167
|
-
and later registered. Fixed [#48][
|
173
|
+
and later registered. Fixed [#48][issue-48], found by William T. Nelson.
|
168
174
|
|
169
175
|
## 3.2021.1115 / 2021-11-15
|
170
176
|
|
171
177
|
- Updated the Apache and IANA media registry entries as of release date.
|
172
178
|
|
173
179
|
- Added conversion utilities that support the `mini_mime` data format. These
|
174
|
-
have been ported from the [
|
180
|
+
have been ported from the [mini\_mime][mini_mime] repository. [#47][pull-47]
|
175
181
|
|
176
|
-
- Added IANA provisional media registries. Added some notes to
|
182
|
+
- Added IANA provisional media registries. Added some notes to CONTRIBUTING.md
|
177
183
|
about the transient nature of the provisional registration data. This was
|
178
|
-
triggered in part by a pull request by Jon Sneyers. Thanks! [#45][
|
179
|
-
[#43][
|
184
|
+
triggered in part by a pull request by Jon Sneyers. Thanks! [#45][pull-45],
|
185
|
+
[#43][pull-43]
|
180
186
|
|
181
187
|
## 3.2021.0901 / 2021-09-01
|
182
188
|
|
183
189
|
- Updated the Apache and IANA media registry entries as of release date.
|
184
190
|
|
185
|
-
- Added file extension for WebVTT text format. [#46][
|
191
|
+
- Added file extension for WebVTT text format. [#46][pull-46]
|
186
192
|
|
187
193
|
## 3.2021.0704 / 2021-07-04
|
188
194
|
|
@@ -192,7 +198,7 @@
|
|
192
198
|
|
193
199
|
- Updated the Apache and IANA media registry entries as of release date.
|
194
200
|
|
195
|
-
- Added file extension for AVIF video format. [#40][
|
201
|
+
- Added file extension for AVIF video format. [#40][pull-40]
|
196
202
|
|
197
203
|
## 3.2021.0212 / 2021-02-12
|
198
204
|
|
@@ -207,67 +213,68 @@
|
|
207
213
|
|
208
214
|
- Updated the IANA media registry entries as of release date.
|
209
215
|
|
210
|
-
- Added `application/x-zip-compressed`. [#36][
|
216
|
+
- Added `application/x-zip-compressed`. [#36][pull-36]
|
211
217
|
|
212
218
|
- Updated the contributing guide to include information about the release
|
213
|
-
process as described in [#18][
|
219
|
+
process as described in [#18][issue-18]
|
214
220
|
|
215
|
-
- Corrected a misspelling of Yoran Brondsema
|
221
|
+
- Corrected a misspelling of Yoran Brondsema's name. Sorry, Yoran.
|
222
|
+
[#35][pull-35]
|
216
223
|
|
217
224
|
## 3.2020.0512 / 2020-05-12
|
218
225
|
|
219
226
|
- Updated the IANA media registry entries as of release date.
|
220
227
|
|
221
|
-
- Added file extensions for HEIC image types. [#34][
|
228
|
+
- Added file extensions for HEIC image types. [#34][pull-34]
|
222
229
|
|
223
230
|
## 3.2020.0425 / 2020-04-25
|
224
231
|
|
225
232
|
- Updated the IANA media registry entries as of release date.
|
226
233
|
|
227
234
|
- Added several RAW image types based on data from GNOME RAW Thumbnailer.
|
228
|
-
[#33][
|
235
|
+
[#33][pull-33] fixing [#32][issue-32]
|
229
236
|
|
230
|
-
- Added `audio/wav`. [#31][
|
237
|
+
- Added `audio/wav`. [#31][pull-31]
|
231
238
|
|
232
|
-
- Added a type for Smarttech notebook files. [#30][
|
239
|
+
- Added a type for Smarttech notebook files. [#30][pull-30]
|
233
240
|
|
234
|
-
- Added an alias for audio/m4a files. [#29][
|
241
|
+
- Added an alias for audio/m4a files. [#29][pull-29]
|
235
242
|
|
236
|
-
- Added application/x-ms-dos-executable. [#28][
|
243
|
+
- Added application/x-ms-dos-executable. [#28][pull-28]
|
237
244
|
|
238
245
|
## 3.2019.1009 / 2019-10-09
|
239
246
|
|
240
247
|
- Updated the IANA media registry entries as of release date.
|
241
248
|
|
242
249
|
- Reordered the `.ai` extension so that it is not the preferred extension for
|
243
|
-
`application/pdf` [#24][
|
250
|
+
`application/pdf` [#24][pull-24]
|
244
251
|
|
245
252
|
## 3.2019.0904 / 2019-09-04
|
246
253
|
|
247
254
|
- Updated the IANA media registry entries as of release date.
|
248
255
|
|
249
256
|
- Moved the `.ai` extension from `application/postscript` to `application/pdf`.
|
250
|
-
[#23][
|
257
|
+
[#23][pull-23] fixing [#22][issue-22]
|
251
258
|
|
252
259
|
## 3.2019.0331 / 2019-03-31
|
253
260
|
|
254
261
|
- Updated the IANA media registry entries as of release date.
|
255
262
|
|
256
|
-
- Added support for `application/wasm` with extension `.wasm`. [#21][
|
263
|
+
- Added support for `application/wasm` with extension `.wasm`. [#21][pull-21]
|
257
264
|
|
258
|
-
- Fixed `application/ecmascript` extensions. [#20][
|
265
|
+
- Fixed `application/ecmascript` extensions. [#20][pull-20]
|
259
266
|
|
260
267
|
## 3.2018.0812 / 2018-08-12
|
261
268
|
|
262
|
-
- Added `.xsd` extension to `text/xml`. [#10][
|
269
|
+
- Added `.xsd` extension to `text/xml`. [#10][pull-10]
|
263
270
|
|
264
271
|
- Added `.js` and `.mjs` extensions to `text/ecmascript` and `text/javascript`.
|
265
|
-
[#11][
|
272
|
+
[#11][pull-11]
|
266
273
|
|
267
|
-
- Added `.ipa` extension to `application/octet-stream`. [#12][
|
274
|
+
- Added `.ipa` extension to `application/octet-stream`. [#12][pull-12]
|
268
275
|
|
269
276
|
- Moved extensions `.markdown` and `.md` and added `.mkd` extension to
|
270
|
-
`text/markdown`. [#13][
|
277
|
+
`text/markdown`. [#13][pull-13]
|
271
278
|
|
272
279
|
- Because of a bug found with mime-types 3 before 3.2.1, this version requires
|
273
280
|
mime-types 3.1 or later to manage data.
|
@@ -286,7 +293,7 @@
|
|
286
293
|
- Updated the known extension list for application/octet-stream and
|
287
294
|
application/pgp-encrypted to include gpg as an extension. Fixes
|
288
295
|
[#3](https://github.com/mime-types/mime-types-data/pull/3) by Tao Guo
|
289
|
-
(@taoza).
|
296
|
+
([@taoza](https://github.com/taoza)).
|
290
297
|
- Updated the IANA media registry entries as of release date:
|
291
298
|
|
292
299
|
- Updated metadata for application/EmergencyCallData.Comment+xml,
|
@@ -339,7 +346,7 @@
|
|
339
346
|
## 3.2015.1120 / 2015-11-20
|
340
347
|
|
341
348
|
- Extracted from [ruby-mime-types][rmt].
|
342
|
-
- Added a [Code of Conduct].
|
349
|
+
- Added a [Code of Conduct][Code of Conduct].
|
343
350
|
- The versioning has changed to be semantic on format plus date in two parts.
|
344
351
|
|
345
352
|
- All registry formats have been updated to remove deprecated data.
|
@@ -380,7 +387,7 @@
|
|
380
387
|
|
381
388
|
## 2.6 / 2015-05-25
|
382
389
|
|
383
|
-
- Steven Michael Thomas (@stevenmichaelthomas) added `woff2` as an extension to
|
390
|
+
- Steven Michael Thomas ([@stevenmichaelthomas](https://github.com/stevenmichaelthomas)) added `woff2` as an extension to
|
384
391
|
application/font-woff, [ruby-mime-types#99][ruby-mime-types#99].
|
385
392
|
- Updated the IANA media registry entries as of release date:
|
386
393
|
- Updated metadata for application/jose, application/jose+json,
|
@@ -412,17 +419,17 @@
|
|
412
419
|
(RFC7396), application/smil, application/vnd.arastra.swi,
|
413
420
|
application/vnd.geocube+xml, application/vnd.gmx, application/xhtml+xml,
|
414
421
|
text/directory.
|
415
|
-
- Andy Brody (@ab) fixed a pair of embarrassing typos in text/csv and
|
422
|
+
- Andy Brody ([@ab](https://github.com/ab)) fixed a pair of embarrassing typos in text/csv and
|
416
423
|
text/tab-separated-values,
|
417
424
|
[ruby-mime-types#89](https://github.com/mime-types/ruby-mime-types/pull/89).
|
418
|
-
- Aggelos Avgerinos (@eavgerinos) added the unregistered MIME type
|
425
|
+
- Aggelos Avgerinos ([@eavgerinos](https://github.com/eavgerinos)) added the unregistered MIME type
|
419
426
|
image/x-ms-bmp with the extension `bmp`,
|
420
427
|
[ruby-mime-types#90](https://github.com/mime-types/ruby-mime-types/pull/90).
|
421
428
|
|
422
429
|
## 2.4.2 / 2014-10-15
|
423
430
|
|
424
431
|
- Added application/vnd.ms-outlook as an unregistered MIME type with the
|
425
|
-
extension `msg`. Provided by @keerthisiv in
|
432
|
+
extension `msg`. Provided by [@keerthisiv](https://github.com/keerthisiv) in
|
426
433
|
[ruby-mime-types#72](https://github.com/mime-types/ruby-mime-types/pull/72).
|
427
434
|
|
428
435
|
## 2.4.1 / 2014-10-07
|
@@ -480,7 +487,7 @@
|
|
480
487
|
## 2.2 / 2014-03-14
|
481
488
|
|
482
489
|
- Added <tt>.sj</tt> to `application/javascript` as provided by Brandon
|
483
|
-
Galbraith (@brandongalbraith) in
|
490
|
+
Galbraith ([@brandongalbraith](https://github.com/brandongalbraith)) in
|
484
491
|
[ruby-mime-types#58](https://github.com/mime-types/ruby-mime-types/pull/58).
|
485
492
|
- Marked application/excel and application/x-excel as obsolete in favour of
|
486
493
|
application/vnd.ms-excel per
|
@@ -647,7 +654,8 @@
|
|
647
654
|
[#96]: https://github.com/mime-types/mime-types-data/pull/96
|
648
655
|
[#98]: https://github.com/mime-types/mime-types-data/pull/98
|
649
656
|
[rmt]: https://github.com/mime-types/ruby-mime-types
|
650
|
-
[code of conduct]:
|
657
|
+
[code of conduct]: CODE_OF_CONDUCT.md
|
651
658
|
[mini_mime]: https://github.com/discourse/mini_mime/issues/41
|
652
659
|
[ruby-mime-types#99]: https://github.com/mime-types/ruby-mime-types/pull/99
|
653
660
|
[ruby-mime-types#163]: https://github.com/mime-types/ruby-mime-types/issues/163
|
661
|
+
[tp]: https://guides.rubygems.org/trusted-publishing/
|
data/CONTRIBUTING.md
CHANGED
@@ -114,8 +114,12 @@ The release process is almost completely automated, where upstream MIME types
|
|
114
114
|
will be updated weekly (on Tuesdays) and be presented in a reviewable pull
|
115
115
|
request. Once merged, I need to perform a release and the update is complete.
|
116
116
|
|
117
|
-
|
118
|
-
|
117
|
+
With the addition of [trusted publishing][tp], there should no longer be a need
|
118
|
+
for manual releases outside of the update cycle. Pull requests merged between
|
119
|
+
cycles will be released on the next cycle.
|
120
|
+
|
121
|
+
If it becomes necessary to perform a manual release, IANA updates should be
|
122
|
+
performed manually.
|
119
123
|
|
120
124
|
1. Review any outstanding issues or pull requests to see if anything needs to be
|
121
125
|
addressed. This is necessary because there is no automated source for
|
@@ -129,22 +133,18 @@ should be performed manually.
|
|
129
133
|
4. Write up the changes in `CHANGELOG.md`. If any PRs have been merged, these
|
130
134
|
should be noted specifically and contributions should be added in
|
131
135
|
`Contributing.md`.
|
132
|
-
5.
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
### Help Wanted
|
136
|
+
5. Ensure that the `VERSION` in `lib/mime/types/data.rb` is updated with the
|
137
|
+
current date UTC.
|
138
|
+
6. Run `rake gemspec` to ensure that `mime-types.gemspec` has been updated.
|
139
|
+
7. Commit the changes and push to GitHub. The automated trusted publishing
|
140
|
+
workflow will pick up the changes.
|
138
141
|
|
139
|
-
|
140
|
-
release management, so the use of [rubygems/release-gem][release-gem] requires
|
141
|
-
some care (perhaps by exporting `VERSION=$(rake version)` to the job), but
|
142
|
-
assistance in getting this action going for an automated release would be
|
143
|
-
greatly appreciated.
|
142
|
+
This is based on an issue [#18][issue-18].
|
144
143
|
|
145
|
-
[
|
144
|
+
[issue-18]: https://github.com/mime-types/mime-types-data/issues/18
|
146
145
|
[hoe]: https://github.com/seattlerb/hoe
|
147
146
|
[qcm]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
|
148
147
|
[release-gem]: https://github.com/rubygems/release-gem
|
149
148
|
[rmt]: https://github.com/mime-types/ruby-mime-types/
|
150
149
|
[standardrb]: https://github.com/standardrb/standard
|
150
|
+
[tp]: https://guides.rubygems.org/trusted-publishing/
|
data/CONTRIBUTORS.md
CHANGED
data/Rakefile
CHANGED
@@ -17,6 +17,8 @@ Hoe.plugins.delete :signing
|
|
17
17
|
Hoe.spec "mime-types-data" do
|
18
18
|
developer("Austin Ziegler", "halostatue@gmail.com")
|
19
19
|
|
20
|
+
self.trusted_release = ENV["rubygems_release_gem"] == "true"
|
21
|
+
|
20
22
|
require_ruby_version ">= 2.0"
|
21
23
|
|
22
24
|
license "MIT"
|
@@ -26,7 +28,7 @@ Hoe.spec "mime-types-data" do
|
|
26
28
|
}
|
27
29
|
|
28
30
|
extra_dev_deps << ["hoe", "~> 4.0"]
|
29
|
-
extra_dev_deps << ["hoe-halostatue", "~>
|
31
|
+
extra_dev_deps << ["hoe-halostatue", "~> 2.0"]
|
30
32
|
extra_dev_deps << ["mime-types", ">= 3.4.0", "< 4"]
|
31
33
|
extra_dev_deps << ["nokogiri", "~> 1.6"]
|
32
34
|
extra_dev_deps << ["rake", ">= 10.0", "< 14"]
|