mime-types-data 3.2025.0204 → 3.2025.0304

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 840c446d1416a5c5cdce532c70a53873b135ea1006944a4f1fe31e0f27c122ac
4
- data.tar.gz: 200600d2dc811ddf4bbb0dbff135779fdb51ffacb59b40aa47d07c7e4a432798
3
+ metadata.gz: 4e46111f483946285ff4e8814e376456c819301fdf578c267de76f40ad203c3f
4
+ data.tar.gz: 4d4d9149b0bb695ab7772c6ed78ef914cec56d35a0e4c5c97896db768d53c65a
5
5
  SHA512:
6
- metadata.gz: 140991f337bbd821c48a2d0b34d4af0648139a672a751732a832b468ef2871aa902297e416b233ea8ac9654a6e45efd05ae0e0c7d93a59484df3e342b51aa8b1
7
- data.tar.gz: 5dbbe997eeee3f8ddb232666a09037ad275f53b73d7ab6e68434838f258b28c433a408e22ab51659216debcbdfdf8415c8a94944f996c4dcfae1db1d990407db
6
+ metadata.gz: cc49195696ae2836b1b1936ec4b2d18b247bf08cab763a1df5f332b09992954933dda6a8239ee8b58a6df271f22a931e9f494c2d011a17a2b2b573399ef66465
7
+ data.tar.gz: 1939f440fbd005a499892f7e669ab530153159f8693fffb25720c672a19d55381a5cf55c826912f482db274709f6d33655f2d531ae44bb75c648e427ee5b3074
data/CHANGELOG.md CHANGED
@@ -2,20 +2,30 @@
2
2
 
3
3
  <!-- automatic-release -->
4
4
 
5
- ## 3.2025.0204 / 2025-02-04
5
+ ## 3.2025.0304 / 2025-03-04
6
+
7
+ - Updated the Apache and IANA media registry entries as of release date
8
+
9
+ ## 3.2025.0220 / 2025-02-20
6
10
 
7
11
  - Updated the Apache and IANA media registry entries as of release date
8
12
 
13
+ - Added [trusted publishing][tp] for fully automated releases. Developed by
14
+ Samuel Giddins in [#109][pull-109], merged manually with some updates.
15
+
16
+ ## 3.2025.0204 / 2025-02-04
17
+
18
+ - Updated the Apache and IANA media registry entries as of release date
9
19
 
10
20
  - 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][#96].
21
+ `changelog_uri` on release. Contributed by Mark Young in [#96][pull-96].
12
22
 
13
23
  - Fixed an issue with automated releases that added thousands of files because
14
24
  `vendor/` was no longer ignored.
15
25
 
16
26
  - Fixed the automated release builder process to handle the case when the
17
27
  `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][#98]
28
+ changes merged normally are picked up on automatic releases. [#98][pull-98]
19
29
 
20
30
  ## 3.2025.0107 / 2025-01-07
21
31
 
@@ -55,7 +65,7 @@
55
65
  - Updated the Apache and IANA media registry entries as of release date.
56
66
 
57
67
  - Added `.jxl` extension for `image/jxl`. Contributed by Shane Eskritt in
58
- [#81][#81].
68
+ [#81][pull-81].
59
69
 
60
70
  ## 3.2024.0806 / 2024-08-06
61
71
 
@@ -70,7 +80,7 @@
70
80
  - This update adds a new `haptics/` group with three media types defined.
71
81
 
72
82
  - Moved extensions from `audio/x-aac` to `audio/aac` and mark `audio/x-aac` as
73
- obsolete. Based on [#77][#77] by Samuel Williams.
83
+ obsolete. Based on [#77][pull-77] by Samuel Williams.
74
84
 
75
85
  - Made the same changes for `audio/flac` and `audio/matroska`.
76
86
 
@@ -133,8 +143,8 @@
133
143
  information available to deprecate `text/javascript` in favour of
134
144
  `application/javascript`. Since the previous update (2022-01-05), IANA has
135
145
  officially deprecated `application/javascript` in favour of `text/javascript`.
136
- Samuel Williams discovered this in [#55][#55] by noting that all `js` types
137
- were marked obsolete in version 3.2023.0218.
146
+ Samuel Williams discovered this in [#55][issue-55] by noting that all `js`
147
+ types were marked obsolete in version 3.2023.0218.
138
148
 
139
149
  A hotfix has been applied to resolve this. However, note that
140
150
  `application/javascript` will not be returned by default, only
@@ -145,15 +155,15 @@
145
155
  - Updated the Apache and IANA media registry entries as of release date.
146
156
 
147
157
  - Mohammed Gad added the `jfif` file extension for `image/jpeg` text format.
148
- [#52][#52]
158
+ [#52][pull-52]
149
159
 
150
160
  - Reworked the loading of IANA provisional media registries to merge them into
151
161
  the top-level media-type registries instead of a standalone registry file.
152
- [#53][#53] originally identified by Chris Salzberg in [#50][#50].
162
+ [#53][pull-53] originally identified by Chris Salzberg in [#50][pull-50].
153
163
 
154
164
  It is worth noting that this is an _imperfect_ solution as if a media type is
155
165
  provisionally registered and withdrawn, it will linger in the registry with no
156
- clean way of identifying them at the moment. See [#54][#54].
166
+ clean way of identifying them at the moment. See [#54][issue-54].
157
167
 
158
168
  This release also fixes [ruby-mime-types#163][ruby-mime-types#163], where logs
159
169
  show "Type application/netcdf is already registered as a variant of
@@ -164,25 +174,25 @@
164
174
  - Updated the Apache and IANA media registry entries as of release date.
165
175
 
166
176
  - Fixed an incorrect definition of `image/bmp`, which had been marked obsolete
167
- and later registered. Fixed [#48][#48], found by William T. Nelson.
177
+ and later registered. Fixed [#48][issue-48], found by William T. Nelson.
168
178
 
169
179
  ## 3.2021.1115 / 2021-11-15
170
180
 
171
181
  - Updated the Apache and IANA media registry entries as of release date.
172
182
 
173
183
  - Added conversion utilities that support the `mini_mime` data format. These
174
- have been ported from the [mini_mime][mini_mime] repository. [#47][#47]
184
+ have been ported from the [mini\_mime][mini_mime] repository. [#47][pull-47]
175
185
 
176
- - Added IANA provisional media registries. Added some notes to Contributing.md
186
+ - Added IANA provisional media registries. Added some notes to CONTRIBUTING.md
177
187
  about the transient nature of the provisional registration data. This was
178
- triggered in part by a pull request by Jon Sneyers. Thanks! [#45][#45],
179
- [#43][#43]
188
+ triggered in part by a pull request by Jon Sneyers. Thanks! [#45][pull-45],
189
+ [#43][pull-43]
180
190
 
181
191
  ## 3.2021.0901 / 2021-09-01
182
192
 
183
193
  - Updated the Apache and IANA media registry entries as of release date.
184
194
 
185
- - Added file extension for WebVTT text format. [#46][#46]
195
+ - Added file extension for WebVTT text format. [#46][pull-46]
186
196
 
187
197
  ## 3.2021.0704 / 2021-07-04
188
198
 
@@ -192,7 +202,7 @@
192
202
 
193
203
  - Updated the Apache and IANA media registry entries as of release date.
194
204
 
195
- - Added file extension for AVIF video format. [#40][#40]
205
+ - Added file extension for AVIF video format. [#40][pull-40]
196
206
 
197
207
  ## 3.2021.0212 / 2021-02-12
198
208
 
@@ -207,67 +217,68 @@
207
217
 
208
218
  - Updated the IANA media registry entries as of release date.
209
219
 
210
- - Added `application/x-zip-compressed`. [#36][#36]
220
+ - Added `application/x-zip-compressed`. [#36][pull-36]
211
221
 
212
222
  - Updated the contributing guide to include information about the release
213
- process as described in [#18][#18]
223
+ process as described in [#18][issue-18]
214
224
 
215
- - Corrected a misspelling of Yoran Brondsemas name. Sorry, Yoran. [#35][#35]
225
+ - Corrected a misspelling of Yoran Brondsema's name. Sorry, Yoran.
226
+ [#35][pull-35]
216
227
 
217
228
  ## 3.2020.0512 / 2020-05-12
218
229
 
219
230
  - Updated the IANA media registry entries as of release date.
220
231
 
221
- - Added file extensions for HEIC image types. [#34][#34]
232
+ - Added file extensions for HEIC image types. [#34][pull-34]
222
233
 
223
234
  ## 3.2020.0425 / 2020-04-25
224
235
 
225
236
  - Updated the IANA media registry entries as of release date.
226
237
 
227
238
  - Added several RAW image types based on data from GNOME RAW Thumbnailer.
228
- [#33][#33] fixing [#32][#32]
239
+ [#33][pull-33] fixing [#32][issue-32]
229
240
 
230
- - Added `audio/wav`. [#31][#31]
241
+ - Added `audio/wav`. [#31][pull-31]
231
242
 
232
- - Added a type for Smarttech notebook files. [#30][#30]
243
+ - Added a type for Smarttech notebook files. [#30][pull-30]
233
244
 
234
- - Added an alias for audio/m4a files. [#29][#29]
245
+ - Added an alias for audio/m4a files. [#29][pull-29]
235
246
 
236
- - Added application/x-ms-dos-executable. [#28][#28]
247
+ - Added application/x-ms-dos-executable. [#28][pull-28]
237
248
 
238
249
  ## 3.2019.1009 / 2019-10-09
239
250
 
240
251
  - Updated the IANA media registry entries as of release date.
241
252
 
242
253
  - Reordered the `.ai` extension so that it is not the preferred extension for
243
- `application/pdf` [#24][#24]
254
+ `application/pdf` [#24][pull-24]
244
255
 
245
256
  ## 3.2019.0904 / 2019-09-04
246
257
 
247
258
  - Updated the IANA media registry entries as of release date.
248
259
 
249
260
  - Moved the `.ai` extension from `application/postscript` to `application/pdf`.
250
- [#23][#23] fixing [#22][#22]
261
+ [#23][pull-23] fixing [#22][issue-22]
251
262
 
252
263
  ## 3.2019.0331 / 2019-03-31
253
264
 
254
265
  - Updated the IANA media registry entries as of release date.
255
266
 
256
- - Added support for `application/wasm` with extension `.wasm`. [#21][#21]
267
+ - Added support for `application/wasm` with extension `.wasm`. [#21][pull-21]
257
268
 
258
- - Fixed `application/ecmascript` extensions. [#20][#20]
269
+ - Fixed `application/ecmascript` extensions. [#20][pull-20]
259
270
 
260
271
  ## 3.2018.0812 / 2018-08-12
261
272
 
262
- - Added `.xsd` extension to `text/xml`. [#10][#10]
273
+ - Added `.xsd` extension to `text/xml`. [#10][pull-10]
263
274
 
264
275
  - Added `.js` and `.mjs` extensions to `text/ecmascript` and `text/javascript`.
265
- [#11][#11]
276
+ [#11][pull-11]
266
277
 
267
- - Added `.ipa` extension to `application/octet-stream`. [#12][#12]
278
+ - Added `.ipa` extension to `application/octet-stream`. [#12][pull-12]
268
279
 
269
280
  - Moved extensions `.markdown` and `.md` and added `.mkd` extension to
270
- `text/markdown`. [#13][#13]
281
+ `text/markdown`. [#13][pull-13]
271
282
 
272
283
  - Because of a bug found with mime-types 3 before 3.2.1, this version requires
273
284
  mime-types 3.1 or later to manage data.
@@ -286,7 +297,7 @@
286
297
  - Updated the known extension list for application/octet-stream and
287
298
  application/pgp-encrypted to include gpg as an extension. Fixes
288
299
  [#3](https://github.com/mime-types/mime-types-data/pull/3) by Tao Guo
289
- (@taoza).
300
+ ([@taoza](https://github.com/taoza)).
290
301
  - Updated the IANA media registry entries as of release date:
291
302
 
292
303
  - Updated metadata for application/EmergencyCallData.Comment+xml,
@@ -339,7 +350,7 @@
339
350
  ## 3.2015.1120 / 2015-11-20
340
351
 
341
352
  - Extracted from [ruby-mime-types][rmt].
342
- - Added a [Code of Conduct].
353
+ - Added a [Code of Conduct][Code of Conduct].
343
354
  - The versioning has changed to be semantic on format plus date in two parts.
344
355
 
345
356
  - All registry formats have been updated to remove deprecated data.
@@ -380,7 +391,7 @@
380
391
 
381
392
  ## 2.6 / 2015-05-25
382
393
 
383
- - Steven Michael Thomas (@stevenmichaelthomas) added `woff2` as an extension to
394
+ - Steven Michael Thomas ([@stevenmichaelthomas](https://github.com/stevenmichaelthomas)) added `woff2` as an extension to
384
395
  application/font-woff, [ruby-mime-types#99][ruby-mime-types#99].
385
396
  - Updated the IANA media registry entries as of release date:
386
397
  - Updated metadata for application/jose, application/jose+json,
@@ -412,17 +423,17 @@
412
423
  (RFC7396), application/smil, application/vnd.arastra.swi,
413
424
  application/vnd.geocube+xml, application/vnd.gmx, application/xhtml+xml,
414
425
  text/directory.
415
- - Andy Brody (@ab) fixed a pair of embarrassing typos in text/csv and
426
+ - Andy Brody ([@ab](https://github.com/ab)) fixed a pair of embarrassing typos in text/csv and
416
427
  text/tab-separated-values,
417
428
  [ruby-mime-types#89](https://github.com/mime-types/ruby-mime-types/pull/89).
418
- - Aggelos Avgerinos (@eavgerinos) added the unregistered MIME type
429
+ - Aggelos Avgerinos ([@eavgerinos](https://github.com/eavgerinos)) added the unregistered MIME type
419
430
  image/x-ms-bmp with the extension `bmp`,
420
431
  [ruby-mime-types#90](https://github.com/mime-types/ruby-mime-types/pull/90).
421
432
 
422
433
  ## 2.4.2 / 2014-10-15
423
434
 
424
435
  - Added application/vnd.ms-outlook as an unregistered MIME type with the
425
- extension `msg`. Provided by @keerthisiv in
436
+ extension `msg`. Provided by [@keerthisiv](https://github.com/keerthisiv) in
426
437
  [ruby-mime-types#72](https://github.com/mime-types/ruby-mime-types/pull/72).
427
438
 
428
439
  ## 2.4.1 / 2014-10-07
@@ -480,7 +491,7 @@
480
491
  ## 2.2 / 2014-03-14
481
492
 
482
493
  - Added <tt>.sj</tt> to `application/javascript` as provided by Brandon
483
- Galbraith (@brandongalbraith) in
494
+ Galbraith ([@brandongalbraith](https://github.com/brandongalbraith)) in
484
495
  [ruby-mime-types#58](https://github.com/mime-types/ruby-mime-types/pull/58).
485
496
  - Marked application/excel and application/x-excel as obsolete in favour of
486
497
  application/vnd.ms-excel per
@@ -647,7 +658,8 @@
647
658
  [#96]: https://github.com/mime-types/mime-types-data/pull/96
648
659
  [#98]: https://github.com/mime-types/mime-types-data/pull/98
649
660
  [rmt]: https://github.com/mime-types/ruby-mime-types
650
- [code of conduct]: Code-of-Conduct.md
661
+ [code of conduct]: CODE_OF_CONDUCT.md
651
662
  [mini_mime]: https://github.com/discourse/mini_mime/issues/41
652
663
  [ruby-mime-types#99]: https://github.com/mime-types/ruby-mime-types/pull/99
653
664
  [ruby-mime-types#163]: https://github.com/mime-types/ruby-mime-types/issues/163
665
+ [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
- If performing a manual release outside of the update cycle, the IANA updates
118
- should be performed manually.
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. Commit the changes and push to GitHub.
133
- 6. `bundle exec rake release VERSION=newversion`
134
-
135
- This is based on an issue [#18][#18].
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
- I want to automate this even further. I am **not** switching from Hoe for
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
- [#18]: https://github.com/mime-types/mime-types-data/issues/18
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
@@ -43,6 +43,7 @@ Thanks to everyone else who has contributed to mime-types:
43
43
  - Richard Hurt
44
44
  - Richard Schneeman
45
45
  - Robert Buchberger
46
+ - Samuel Giddins
46
47
  - Samuel Williams
47
48
  - Sergio Baptista
48
49
  - Shane Eskritt
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", "~> 1.0"]
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"]