mime-types-data 3.2022.0105 → 3.2023.0218.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 329d601098ccd4e2d3978e6e323230a2ae19d2349f869711d899207c19b16994
4
- data.tar.gz: 1dedab8c410c72bb0c84cb089000b87003a026ac109b9bf7cac165b102720fac
3
+ metadata.gz: 407b6b3f39d8864db03fcc6ea0188d1e5702e14a9034b224b8f8a59750a139d8
4
+ data.tar.gz: 8514ceab66d7117cd381f3096dd3c0e8218c87cfd933fc091b5691273717531e
5
5
  SHA512:
6
- metadata.gz: 1c2c164f48716aebc3caed14a571f783aea3397cb218b6bc494c960561304a593a8e13c7f6362e1d9abd900c3c6b7752fa2cc8bdae6fb41681178fa3186dddbe
7
- data.tar.gz: 3272473043d3359581c716e0fff76225219302573f7a1c31c7755b6fce7a4ad40aa0f183889e55f61fb043133562ba2e682b214cb2843df5340bc5ad50b3b8a3
6
+ metadata.gz: bd84d3815eba7e299393fda98c78f658d318d265d828f487cf7829d5f2db612a74bcca62604467cdab76fdc8fab8e2e2853d13086ce1fdcb30de9342bc346e56
7
+ data.tar.gz: f3b1d056bb4979058da50b0920d09dbaf3ff28a62ec27d47e352a62bbe5b22aaf72f3a7056ce784df58310ee2a8f8989cdc746657a40482379c0ce3b952c84bd
data/Contributing.md CHANGED
@@ -204,6 +204,7 @@ Thanks to everyone else who has contributed to mime-types:
204
204
  - Bradley Meck
205
205
  - Brandon Galbraith
206
206
  - Chris Gat
207
+ - Chris Salzberg
207
208
  - David Genord
208
209
  - Eric Marden
209
210
  - Garret Alfert
@@ -222,6 +223,7 @@ Thanks to everyone else who has contributed to mime-types:
222
223
  - Lucia
223
224
  - Martin d'Allens
224
225
  - Mauricio Linhares
226
+ - Mohammed Gad
225
227
  - Myk Klemme
226
228
  - nycvotes-dev
227
229
  - Postmodern
@@ -229,6 +231,7 @@ Thanks to everyone else who has contributed to mime-types:
229
231
  - Richard Hurt
230
232
  - Richard Schneeman
231
233
  - Robert Buchberger
234
+ - Samuel Williams
232
235
  - Sergio Baptista
233
236
  - Tao Guo
234
237
  - Thomas Leese
data/History.md CHANGED
@@ -2,29 +2,62 @@
2
2
 
3
3
  <!-- automatic-release -->
4
4
 
5
+ ## 3.2023.0218.1 / 2023-02-18
6
+
7
+ - When this data library was created in 2015, I made the decision based on
8
+ information available to deprecate `text/javascript` in favour of
9
+ `application/javascript`. Since the previous update (2022-01-05), IANA has
10
+ officially deprecated `application/javascript` in favour of
11
+ `text/javascript`. Samuel Williams discovered this in [#55][] by noting
12
+ that all `js` types were marked obsolete in version 3.2023.0218.
13
+
14
+ A hotfix has been applied to resolve this. However, note that
15
+ `application/javascript` will not be returned by default, only
16
+ `text/javascript`.
17
+
18
+ ## 3.2023.0218 / 2023-02-18
19
+
20
+ - Updated the Apache and IANA media registry entries as of release date.
21
+
22
+ - Mohammed Gad added the `jfif` file extension for `image/jpeg` text format.
23
+ [#52][]
24
+
25
+ - Reworked the loading of IANA provisional media registries to merge them
26
+ into the top-level media-type registries instead of a standalone registry
27
+ file. [#53][] originally identified by Chris Salzberg in [#50][].
28
+
29
+ It is worth noting that this is an _imperfect_ solution as if a media type
30
+ is provisionally registered and withdrawn, it will linger in the registry
31
+ with no clean way of identifying them at the moment. See [#54][].
32
+
33
+ This release also fixes [ruby-mime-types#163][], where logs show "Type
34
+ application/netcdf is already registered as a variant of
35
+ application/netcdf".
36
+
5
37
  ## 3.2022.0105 / 2022-01-05
6
38
 
7
39
  - Updated the Apache and IANA media registry entries as of release date.
8
40
 
9
- - Fixed an incorrect definition of `image/bmp`, which had been marked obsolete
10
- and later registered. Fixed [#48], found by William T. Nelson.
41
+ - Fixed an incorrect definition of `image/bmp`, which had been marked
42
+ obsolete and later registered. Fixed [#48][], found by William T. Nelson.
11
43
 
12
44
  ## 3.2021.1115 / 2021-11-15
13
45
 
14
46
  - Updated the Apache and IANA media registry entries as of release date.
15
47
 
16
48
  - Added conversion utilities that support the `mini_mime` data format. These
17
- have been ported from the [mini_mime] repository. [#47]
49
+ have been ported from the [mini_mime][] repository. [#47][]
18
50
 
19
- - Added IANA provisional media registries. Added some notes to Contributing.md
20
- about the transient nature of the provisional registration data. This was
21
- triggered in part by a pull request by Jon Sneyers. Thanks! [#45], [#43]
51
+ - Added IANA provisional media registries. Added some notes to
52
+ Contributing.md about the transient nature of the provisional registration
53
+ data. This was triggered in part by a pull request by Jon Sneyers. Thanks!
54
+ [#45][], [#43][]
22
55
 
23
56
  ## 3.2021.0901 / 2021-09-01
24
57
 
25
58
  - Updated the Apache and IANA media registry entries as of release date.
26
59
 
27
- - Added file extension for WebVTT text format. [#46]
60
+ - Added file extension for WebVTT text format. [#46][]
28
61
 
29
62
  ## 3.2021.0704 / 2021-07-04
30
63
 
@@ -34,82 +67,82 @@
34
67
 
35
68
  - Updated the Apache and IANA media registry entries as of release date.
36
69
 
37
- - Added file extension for AVIF video format. [#40]
70
+ - Added file extension for AVIF video format. [#40][]
38
71
 
39
72
  ## 3.2021.0212 / 2021-02-12
40
73
 
41
74
  - Updated the IANA media registry entries as of release date.
42
75
 
43
- - Added a new rake task (`release:automatic`) that downloads and converts the
44
- data from Apache and IANA; if there are changes detected, it updates the
45
- release version, changelog, manifest, and gemspec and commits the changes
46
- to git.
76
+ - Added a new rake task (`release:automatic`) that downloads and converts
77
+ the data from Apache and IANA; if there are changes detected, it updates
78
+ the release version, changelog, manifest, and gemspec and commits the
79
+ changes to git.
47
80
 
48
81
  ## 3.2020.1104 / 2020-11-04
49
82
 
50
83
  - Updated the IANA media registry entries as of release date.
51
84
 
52
- - Added `application/x-zip-compressed`. [#36]
85
+ - Added `application/x-zip-compressed`. [#36][]
53
86
 
54
87
  - Updated the contributing guide to include information about the release
55
- process as described in [#18]
88
+ process as described in [#18][]
56
89
 
57
- - Corrected a misspelling of Yoran Brondsema’s name. Sorry, Yoran. [#35]
90
+ - Corrected a misspelling of Yoran Brondsema’s name. Sorry, Yoran. [#35][]
58
91
 
59
92
  ## 3.2020.0512 / 2020-05-12
60
93
 
61
94
  - Updated the IANA media registry entries as of release date.
62
95
 
63
- - Added file extensions for HEIC image types. [#34]
96
+ - Added file extensions for HEIC image types. [#34][]
64
97
 
65
98
  ## 3.2020.0425 / 2020-04-25
66
99
 
67
100
  - Updated the IANA media registry entries as of release date.
68
101
 
69
102
  - Added several RAW image types based on data from GNOME RAW Thumbnailer.
70
- [#33] fixing [#32]
103
+ [#33][] fixing [#32][]
71
104
 
72
- - Added `audio/wav`. [#31]
105
+ - Added `audio/wav`. [#31][]
73
106
 
74
- - Added a type for Smarttech notebook files. [#30]
107
+ - Added a type for Smarttech notebook files. [#30][]
75
108
 
76
- - Added an alias for audio/m4a files. [#29]
109
+ - Added an alias for audio/m4a files. [#29][]
77
110
 
78
- - Added application/x-ms-dos-executable. [#28]
111
+ - Added application/x-ms-dos-executable. [#28][]
79
112
 
80
113
  ## 3.2019.1009 / 2019-10-09
81
114
 
82
115
  - Updated the IANA media registry entries as of release date.
83
116
 
84
- - Reordered the `.ai` extension so that it is not the preferred extension for
85
- `application/pdf` [#24]
117
+ - Reordered the `.ai` extension so that it is not the preferred extension
118
+ for `application/pdf` [#24][]
86
119
 
87
120
  ## 3.2019.0904 / 2019-09-04
88
121
 
89
122
  - Updated the IANA media registry entries as of release date.
90
123
 
91
- - Moved the `.ai` extension from `application/postscript` to `application/pdf`.
92
- [#23] fixing [#22]
124
+ - Moved the `.ai` extension from `application/postscript` to
125
+ `application/pdf`. [#23][] fixing [#22][]
93
126
 
94
127
  ## 3.2019.0331 / 2019-03-31
95
128
 
96
129
  - Updated the IANA media registry entries as of release date.
97
130
 
98
- - Added support for `application/wasm` with extension `.wasm`. [#21]
131
+ - Added support for `application/wasm` with extension `.wasm`. [#21][]
99
132
 
100
- - Fixed `application/ecmascript` extensions. [#20]
133
+ - Fixed `application/ecmascript` extensions. [#20][]
101
134
 
102
135
  ## 3.2018.0812 / 2018-08-12
103
136
 
104
- - Added `.xsd` extension to `text/xml`. [#10]
137
+ - Added `.xsd` extension to `text/xml`. [#10][]
105
138
 
106
139
  - Added `.js` and `.mjs` extensions to `text/ecmascript` and
107
- `text/javascript`. [#11]
140
+ `text/javascript`. [#11][]
108
141
 
109
- - Added `.ipa` extension to `application/octet-stream`. [#12]
142
+ - Added `.ipa` extension to `application/octet-stream`. [#12][]
110
143
 
111
144
  - Moved extensions `.markdown` and `.md` and added `.mkd` extension to
112
- `text/markdown`. [#13]
145
+ `text/markdown`. [#13][]
113
146
 
114
147
  - Because of a bug found with mime-types 3 before 3.2.1, this version
115
148
  requires mime-types 3.1 or later to manage data.
@@ -182,7 +215,8 @@
182
215
 
183
216
  - Extracted from [ruby-mime-types][rmt].
184
217
  - Added a [Code of Conduct].
185
- - The versioning has changed to be semantic on format plus date in two parts.
218
+ - The versioning has changed to be semantic on format plus date in two
219
+ parts.
186
220
 
187
221
  - All registry formats have been updated to remove deprecated data.
188
222
  - The columnar format has been updated to store three boolean flags in a
@@ -224,8 +258,7 @@
224
258
  ## 2.6 / 2015-05-25
225
259
 
226
260
  - Steven Michael Thomas (@stevenmichaelthomas) added `woff2` as an extension
227
- to application/font-woff,
228
- [ruby-mime-types#99](https://github.com/mime-types/ruby-mime-types/pull/99).
261
+ to application/font-woff, [ruby-mime-types#99][].
229
262
  - Updated the IANA media registry entries as of release date:
230
263
  - Updated metadata for application/jose, application/jose+json,
231
264
  application/jwk+json, application/jwk-set+json, application/jwt to
@@ -497,6 +530,13 @@
497
530
  [#46]: https://github.com/mime-types/mime-types-data/pull/46
498
531
  [#47]: https://github.com/mime-types/mime-types-data/pull/47
499
532
  [#48]: https://github.com/mime-types/mime-types-data/issues/48
533
+ [#50]: https://github.com/mime-types/mime-types-data/pull/50
534
+ [#52]: https://github.com/mime-types/mime-types-data/pull/52
535
+ [#53]: https://github.com/mime-types/mime-types-data/pull/53
536
+ [#54]: https://github.com/mime-types/mime-types-data/issues/54
537
+ [#55]: https://github.com/mime-types/mime-types-data/issues/55
500
538
  [rmt]: https://github.com/mime-types/ruby-mime-types
501
539
  [code of conduct]: Code-of-Conduct.md
502
540
  [mini_mime]: https://github.com/discourse/mini_mime/issues/41
541
+ [ruby-mime-types#99]: https://github.com/mime-types/ruby-mime-types/pull/99
542
+ [ruby-mime-types#163]: https://github.com/mime-types/ruby-mime-types/issues/163
data/Manifest.txt CHANGED
@@ -28,7 +28,6 @@ types/image.yaml
28
28
  types/message.yaml
29
29
  types/model.yaml
30
30
  types/multipart.yaml
31
- types/provisional-standard-types.yaml
32
31
  types/text.yaml
33
32
  types/video.yaml
34
33
  types/world.yaml
data/Rakefile CHANGED
@@ -23,7 +23,7 @@ Hoe.spec "mime-types-data" do
23
23
  extra_dev_deps << ["nokogiri", "~> 1.6"]
24
24
  extra_dev_deps << ["hoe-doofus", "~> 1.0"]
25
25
  extra_dev_deps << ["hoe-gemspec2", "~> 1.1"]
26
- extra_dev_deps << ["hoe-git", "~> 1.6"]
26
+ extra_dev_deps << ["hoe-git2", "~> 1.7"]
27
27
  extra_dev_deps << ["hoe-rubygems", "~> 1.0"]
28
28
  extra_dev_deps << ["rake", ">= 10.0", "< 14"]
29
29
  extra_dev_deps << ["mime-types", ">= 3.4.0", "< 4"]
@@ -120,7 +120,7 @@ namespace :update do
120
120
  desc "Update the release version"
121
121
  task :version do
122
122
  file = IO.read("lib/mime/types/data.rb")
123
- updated = file.sub(/VERSION = ['"][.0-9]+['"]/, %Q(VERSION = "#{new_version}"))
123
+ updated = file.sub(/VERSION = ['"][.0-9]+['"]/, %(VERSION = "#{new_version}"))
124
124
 
125
125
  IO.write("lib/mime/types/data.rb", updated)
126
126
  end
@@ -787,6 +787,7 @@ ics text/calendar
787
787
  css text/css 8bit
788
788
  csv text/csv 8bit
789
789
  html text/html 8bit
790
+ js text/javascript quoted-printable
790
791
  markdown text/markdown quoted-printable
791
792
  n3 text/n3 quoted-printable
792
793
  txt text/plain quoted-printable
data/data/ext_mime.db CHANGED
@@ -408,6 +408,7 @@ jad text/vnd.sun.j2me.app-descriptor
408
408
  jam application/vnd.jam base64
409
409
  jar application/java-archive base64
410
410
  java text/x-java-source quoted-printable
411
+ jfif image/jpeg base64
411
412
  jisp application/vnd.jisp base64
412
413
  jlt application/vnd.hp-jlyt base64
413
414
  jnlp application/x-java-jnlp-file base64
@@ -422,7 +423,7 @@ jpgm image/jpm
422
423
  jpgv video/JPEG base64
423
424
  jpm image/jpm base64
424
425
  jpx image/jpx base64
425
- js application/javascript 8bit
426
+ js text/javascript quoted-printable
426
427
  json application/json 8bit
427
428
  jsonml application/jsonml+json base64
428
429
  k25 image/x-kodak-k25 base64
@@ -521,7 +522,7 @@ mj2 video/MJ2
521
522
  mjp2 video/MJ2 base64
522
523
  mjpeg video/x-motion-jpeg base64
523
524
  mjpg video/x-motion-jpeg base64
524
- mjs application/javascript 8bit
525
+ mjs text/javascript quoted-printable
525
526
  mk3d video/x-matroska base64
526
527
  mka audio/x-matroska base64
527
528
  mkd text/markdown quoted-printable