mime-types-data 3.2025.0722 → 3.2025.0729

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: e086afe84f344a5ae7e3096e01de7cacd72cf8d37b036bf877df52602e9dea18
4
- data.tar.gz: 8b03d36a0e057fe291d534fc24db0f7d61dd582fb26a427a581a23e2ca3b6378
3
+ metadata.gz: 5338384775dfb99da645cef596734c0d444e290ec62b835485e0ad4facb6beb8
4
+ data.tar.gz: 7d289e615e29934c8b3a87c5cdd72eedcfa0bee555e2bff1ef6140842974c605
5
5
  SHA512:
6
- metadata.gz: 8c8a385172f155bdada401c876b913706075e2a6ff0092d550a2ec3dfa692d6216c1434201e6a499dcf8ff3a5dc36058834f20c6dd55fb43c542c83683c0dc83
7
- data.tar.gz: 61a043f1fea54aa08349fc86da1737453783495ee6aa98beb8b6f215e448aa5155037fba3f26dd8b81a42db2b5d4b1abcf2e97810ca2f1c0452ae7fe5bd45cc4
6
+ metadata.gz: 62d2e602bfb907592130816740a78add66600373deacbb355875461a0261225609da6b04f3d84d29779f9a203e07af2c18f92c643505490b4da569add299b54a
7
+ data.tar.gz: 712f468e18a50fa1a4b46a5da3e180c874cd9aed46583924ac17fdc0f0a1a1a7bf8a9e914049635a319d14d2a111c3d4dc6c0d24cb8ea6cc9479bb15d2463e35
data/CHANGELOG.md CHANGED
@@ -2,82 +2,115 @@
2
2
 
3
3
  <!-- automatic-release -->
4
4
 
5
- ## 3.2025.0722 / 2025-07-22
5
+ ## 3.2025.0729 / 2025-07-29
6
6
 
7
7
  - Updated registry entries from the IANA [media registry][registry] and
8
8
  [provisional media registry][provisional], the [Apache httpd media registry][httpd],
9
9
  and the [Apache Tika media registry][tika] as of the release date.
10
10
 
11
11
 
12
- ## 3.2025.0715 / 2025-07-15
12
+
13
+ - Remove `.doc` from `text/plain`: The use of `.doc` for `text/plain` documents
14
+ is mostly a holdover from VAX VMS where the default wasn't `.txt` but `.doc`.
15
+ The world now thinks that `.doc` mostly means `application/msword` even though
16
+ that format is obsolete by almost twenty years. Closes
17
+ [ruby-mime-types#224][ruby-mime-types#224] with [#191][pull-191].
18
+
19
+ - Handle promoted and withdrawn provisional IANA media types. Closes
20
+ [#54][issue-54] with [#192][pull-192].
21
+
22
+ The logic is three relatively simple phases:
23
+
24
+ 1. When loading an existing registry grouping (such as
25
+ `types/application.yaml`), we mark any type that is `provisional` as
26
+ `obsolete`. This indicates that we consider any provisional type as
27
+ potentially withdrawn (and therefore obsolete).
28
+ 2. When processing existing regular types, we clear both `provisional` and
29
+ `obsolete` flags so that a type promoted from provisional is now a regular
30
+ registry entry.
31
+ 3. After merging the current list of registry entries, we _clear_
32
+ `provisional` if the type is marked both `provisional` and `obsolete`,
33
+ indicating that the provisional type has been withdrawn.
34
+
35
+ These heuristics match several types which have been promoted and withdrawn
36
+ since the handling of provisional types was improved with [#53][pull-53].
37
+
38
+ ## 3.2025.0722 / 2025-07-22
13
39
 
14
40
  - Updated registry entries from the IANA [media registry][registry] and
15
- [provisional media registry][provisional], the [Apache httpd media registry][httpd],
16
- and the [Apache Tika media registry][tika] as of the release date.
41
+ [provisional media registry][provisional], the
42
+ [Apache httpd media registry][httpd], and the
43
+ [Apache Tika media registry][tika] as of the release date.
17
44
 
45
+ ## 3.2025.0715 / 2025-07-15
46
+
47
+ - Updated registry entries from the IANA [media registry][registry] and
48
+ [provisional media registry][provisional], the
49
+ [Apache httpd media registry][httpd], and the
50
+ [Apache Tika media registry][tika] as of the release date.
18
51
 
19
52
  ## 3.2025.0708 / 2025-07-08
20
53
 
21
54
  - Updated registry entries from the IANA [media registry][registry] and
22
- [provisional media registry][provisional], the [Apache httpd media registry][httpd],
23
- and the [Apache Tika media registry][tika] as of the release date.
24
-
55
+ [provisional media registry][provisional], the
56
+ [Apache httpd media registry][httpd], and the
57
+ [Apache Tika media registry][tika] as of the release date.
25
58
 
26
59
  ## 3.2025.0701 / 2025-07-01
27
60
 
28
61
  - Updated registry entries from the IANA [media registry][registry] and
29
- [provisional media registry][provisional], the [Apache httpd media registry][httpd],
30
- and the [Apache Tika media registry][tika] as of the release date.
31
-
62
+ [provisional media registry][provisional], the
63
+ [Apache httpd media registry][httpd], and the
64
+ [Apache Tika media registry][tika] as of the release date.
32
65
 
33
66
  ## 3.2025.0624 / 2025-06-24
34
67
 
35
68
  - Updated registry entries from the IANA [media registry][registry] and
36
- [provisional media registry][provisional], the [Apache httpd media registry][httpd],
37
- and the [Apache Tika media registry][tika] as of the release date.
38
-
69
+ [provisional media registry][provisional], the
70
+ [Apache httpd media registry][httpd], and the
71
+ [Apache Tika media registry][tika] as of the release date.
39
72
 
40
73
  ## 3.2025.0617 / 2025-06-17
41
74
 
42
75
  - Updated registry entries from the IANA [media registry][registry] and
43
- [provisional media registry][provisional], the [Apache httpd media registry][httpd],
44
- and the [Apache Tika media registry][tika] as of the release date.
45
-
76
+ [provisional media registry][provisional], the
77
+ [Apache httpd media registry][httpd], and the
78
+ [Apache Tika media registry][tika] as of the release date.
46
79
 
47
80
  ## 3.2025.0610 / 2025-06-10
48
81
 
49
82
  - Updated registry entries from the IANA [media registry][registry] and
50
- [provisional media registry][provisional], the [Apache httpd media registry][httpd],
51
- and the [Apache Tika media registry][tika] as of the release date.
52
-
83
+ [provisional media registry][provisional], the
84
+ [Apache httpd media registry][httpd], and the
85
+ [Apache Tika media registry][tika] as of the release date.
53
86
 
54
87
  ## 3.2025.0603 / 2025-06-03
55
88
 
56
89
  - Updated registry entries from the IANA [media registry][registry] and
57
- [provisional media registry][provisional], the [Apache httpd media registry][httpd],
58
- and the [Apache Tika media registry][tika] as of the release date.
59
-
90
+ [provisional media registry][provisional], the
91
+ [Apache httpd media registry][httpd], and the
92
+ [Apache Tika media registry][tika] as of the release date.
60
93
 
61
94
  ## 3.2025.0527 / 2025-05-27
62
95
 
63
96
  - Updated registry entries from the IANA [media registry][registry] and
64
- [provisional media registry][provisional], the [Apache httpd media registry][httpd],
65
- and the [Apache Tika media registry][tika] as of the release date.
66
-
97
+ [provisional media registry][provisional], the
98
+ [Apache httpd media registry][httpd], and the
99
+ [Apache Tika media registry][tika] as of the release date.
67
100
 
68
101
  ## 3.2025.0520 / 2025-05-20
69
102
 
70
103
  - Updated registry entries from the IANA [media registry][registry] and
71
- [provisional media registry][provisional], the [Apache httpd media registry][httpd],
72
- and the [Apache Tika media registry][tika] as of the release date.
73
-
104
+ [provisional media registry][provisional], the
105
+ [Apache httpd media registry][httpd], and the
106
+ [Apache Tika media registry][tika] as of the release date.
74
107
 
75
108
  ## 3.2025.0514 / 2025-05-14
76
109
 
77
110
  - Updated registry entries from the IANA [media registry][registry] and
78
- [provisional media registry][provisional], the [Apache httpd media registry][httpd],
79
- and the [Apache Tika media registry][tika] as of the release date.
80
-
111
+ [provisional media registry][provisional], the
112
+ [Apache httpd media registry][httpd], and the
113
+ [Apache Tika media registry][tika] as of the release date.
81
114
 
82
115
  ## 3.2025.0507 / 2025-05-07
83
116
 
@@ -624,12 +657,13 @@
624
657
  [issue-55]: https://github.com/mime-types/mime-types-data/issues/55
625
658
  [mini_mime]: https://github.com/discourse/mini_mime/issues/41
626
659
  [provisional]: https://www.iana.org/assignments/provisional-standard-media-types/provisional-standard-media-types.xml
627
- [pull-3]: https://github.com/mime-types/mime-types-data/pull/3
628
660
  [pull-109]: https://github.com/mime-types/mime-types-data/pull/109
629
661
  [pull-10]: https://github.com/mime-types/mime-types-data/pull/10
630
662
  [pull-11]: https://github.com/mime-types/mime-types-data/pull/11
631
663
  [pull-12]: https://github.com/mime-types/mime-types-data/pull/12
632
664
  [pull-13]: https://github.com/mime-types/mime-types-data/pull/13
665
+ [pull-191]: https://github.com/mime-types/mime-types-data/pull/191
666
+ [pull-192]: https://github.com/mime-types/mime-types-data/pull/192
633
667
  [pull-20]: https://github.com/mime-types/mime-types-data/pull/20
634
668
  [pull-21]: https://github.com/mime-types/mime-types-data/pull/21
635
669
  [pull-23]: https://github.com/mime-types/mime-types-data/pull/23
@@ -642,6 +676,7 @@
642
676
  [pull-34]: https://github.com/mime-types/mime-types-data/pull/34
643
677
  [pull-35]: https://github.com/mime-types/mime-types-data/pull/35
644
678
  [pull-36]: https://github.com/mime-types/mime-types-data/pull/36
679
+ [pull-3]: https://github.com/mime-types/mime-types-data/pull/3
645
680
  [pull-40]: https://github.com/mime-types/mime-types-data/pull/40
646
681
  [pull-43]: https://github.com/mime-types/mime-types-data/pull/43
647
682
  [pull-45]: https://github.com/mime-types/mime-types-data/pull/45
@@ -657,6 +692,7 @@
657
692
  [registry]: https://www.iana.org/assignments/media-types/media-types.xml
658
693
  [rmt]: https://github.com/mime-types/ruby-mime-types
659
694
  [ruby-mime-types#163]: https://github.com/mime-types/ruby-mime-types/issues/163
695
+ [ruby-mime-types#224]: https://github.com/mime-types/ruby-mime-types/pull/224
660
696
  [ruby-mime-types#99]: https://github.com/mime-types/ruby-mime-types/pull/99
661
697
  [tika]: https://github.com/apache/tika/blob/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
662
698
  [tp]: https://guides.rubygems.org/trusted-publishing/
data/data/ext_mime.db CHANGED
@@ -284,7 +284,7 @@ dms application/octet-stream
284
284
  dna application/vnd.dna base64
285
285
  dng image/x-adobe-dng base64
286
286
  do application/x-stata-do base64
287
- doc text/plain quoted-printable
287
+ doc application/msword base64
288
288
  docm application/vnd.ms-word.document.macroEnabled.12 base64
289
289
  docx application/vnd.openxmlformats-officedocument.wordprocessingml.document base64
290
290
  dot application/msword base64