Debian Codegraph @

ChangeLog

raw
1 ======= version history for MIME::Types
2
3 Unless explicitly stated differently are all changes produced by
4 Mark Overmeer.
5
6 TODO:
7 . Add source http://www.ltsw.se/knbase/internet/mime.htp ?
8
9 version 2.30: Mon 8 Dec 20:33:20 CET 2025
10
11 Fixes:
12 - no undef when simplifying illegal type
13 github issue #15 [Todd Richmond]
14
15 Improvements:
16 - add bugtracker to meta
17 - better OO use of attributes.
18
19 version 2.29: Mon 15 Sep 12:51:21 CEST 2025
20
21 Changes:
22 - require 5.16 (2012), remove xt/98perl.t
23
24 Improvements:
25 - remove html generation and releases.
26 - ::Type->defaultCharset()
27 - remove use of bareword filehandle.
28 - File::Slurp::Tiny -> File::Slurper
29 - iana updates
30 - upgrades to OODoc 3.04
31
32 version 2.28: Fri Apr 18 08:54:43 PM CEST 2025
33
34 Fixes:
35 - some 'deprecated' texts made it to types.db.
36
37 Improvements:
38 - text/ecmascript RFC9239
39 - default charsets according to RFC6657
40 - update reference to specs RFC6838 and RFC9694
41 - iana updates.
42
43 version 2.27: Fri 7 Feb 11:08:22 CET 2025
44
45 Fixes:
46 - explicitly set $/ before reading the file by line [Jan Kratochvil]
47
48 Improvements:
49 - iana updates.
50
51 version 2.26: Tue 6 Feb 10:08:33 CET 2024
52
53 Improvements:
54 - iana updates
55
56 version 2.25: Thu 29 Dec 10:27:24 CET 2022
57
58 Improvements:
59 - support multi-level extensions. Flagged by [Michał Górny]
60
61 version 2.24: Wed 28 Dec 13:06:23 CET 2022
62
63 Fixes:
64 - vnd.gentoo officially took 'tar' and 'tbz2', but 'application/
65 x-tar' resp 'x-gtar' prevails. [Andreas Koenig]
66
67 version 2.23: Thu 22 Dec 17:20:33 CET 2022
68
69 Improvements:
70 - iana updates
71
72 version 2.22: Wed 27 Oct 16:54:38 CEST 2021
73
74 Changes:
75 - webm keeps on producting unexpected results [issue #11, Даша Федорова]
76
77 Improvements:
78 - iana updates
79
80 version 2.21: Fri 28 May 12:01:00 CEST 2021
81
82 Changes:
83 - application/octet-stream is better for .dat [issue #11, Даша Федорова]
84 - add video/webm which Google forgot to register [issue #12, Brent Laabs]
85 - add image/webp which Google registered too late [issue #12, Brent Laabs]
86
87 version 2.20: Thu 22 Apr 12:48:35 CEST 2021
88
89 Fixes:
90 - problems with PAUSE cause the previous release to show-up in
91 the wrong location. Let's hope this release solves it.
92
93 Changes:
94 - heif/heic/heifs/heics/hif fix [issue #9, Даша Федорова]
95 - no 'and' and 'or' extensions [issue #9, Даша Федорова]
96 - application/octet-stream is better for .bin [issue #10, Даша Федорова]
97
98 version 2.19: Fri 16 Apr 11:47:10 CEST 2021
99
100 Improvements:
101 - update with the newest data from IANA and Apache httpd
102
103 Changes:
104 - mp4 preference is video/mp4 [issue #5, Даша Федорова]
105 - yt preference is video/vnd.youtube.yt [issue #6, Даша Федорова]
106 - 3gp and 3gpp preference is video/3gpp [issue #7, Даша Федорова]
107
108 version 2.18: Wed 9 Dec 10:29:46 CET 2020
109
110 Improvements:
111 - update with newest data
112
113 Changes:
114 - Mojo 6.0 changed types() into mapping() [Dmitry Latin]
115 - Mojo 7.94 adds experimental file_type()
116 - Mojo 7.94 adds experimental content_type()
117
118 version 2.17: Fri Jan 26 23:42:01 CET 2018
119
120 Fixes:
121 - when picking a preferred type for an extension, do prefer the type
122 with the same minor-name. Issue triggered by [Henry van Styn]
123 - remove iana obsoleted types
124
125 version 2.16: Tue 23 Jan 12:14:39 CET 2018
126
127 Fixes:
128 - collecting of IANA info has stalled: logic rewritten
129 Discovered by [Julien Lüthi]
130
131 Improvements:
132 - move scripts and source files into MANIFEST.extra
133 - update types and extensions
134
135 version 2.15: Fri 19 Jan 17:23:56 CET 2018
136
137 Improvements:
138 - moved to GIT and GitHUB.
139
140 version 2.14: Wed 8 Nov 17:45:22 CET 2017
141
142 Fixes:
143 - MojoX should not die on missing types.
144 rt.cpan.org#123298 [Dmitry Latin]
145
146 version 2.13: Mon 7 Mar 15:48:28 CET 2016
147
148 Fixes:
149 - not all information was extracted from the Apache tables.
150 [Thomas Eckardt]
151
152 version 2.12: Wed 11 Nov 12:24:55 CET 2015
153
154 Improvements:
155 - downgrade prereq perl to 5.6 [Peter Rabbitson]
156 - update IANA
157
158 version 2.11: Tue Jun 16 17:16:20 CEST 2015
159
160 Improvements:
161 - strict Perl 5.8
162 rt.cpan.org #105267 [Miyagawa], cpantesters
163
164 version 2.10: Mon Jun 15 17:32:22 CEST 2015
165
166 Fixes:
167 - accept field 'q' weights [Theo van Hoesel]
168
169 Improvements:
170 - introduce PERL_MIME_TYPE_DB
171 rt.cpan.org#104945 [Philip Gwyn]
172
173 version 2.09: Sun Sep 14 18:12:08 CEST 2014
174
175 Improvements:
176 - documentation use consistent parameter casing
177 - do not use '//' to support 5.8.*
178 rt.cpan.org#98664 [Paul]
179
180 version 2.08: Fri Sep 5 15:29:52 CEST 2014
181
182 Fixes:
183 - fix test t/40mojo.t which mojo is not installed
184 rt.cpan.org#98639 [Chris]
185
186 Improvements:
187 - remove dependency on Scalar::Util
188 - documentation fixes
189
190 version 2.07: Fri Sep 5 12:08:06 CEST 2014
191
192 Fixes:
193 - MIME::Type::equals() did cmp not eq
194
195 Improvements:
196 - new httpAccept() wth tests in t/21accept.t
197 - new httpAcceptBest() and httpAcceptSelect() with tests
198 in t/22accbest.t
199 - add MojoX::MIME::Types with tests in t/40mojo.t
200 - now depends on List::Util and Scalar::Util
201
202 version 2.06: Thu Aug 28 16:28:43 CEST 2014
203
204 Improvements:
205 - needed other file from broofa :(
206 rt.cpan.org#98308 [Lars Dɪᴇᴄᴋᴏᴡ]
207 - fix scan of freedesktop definitions
208 rt.cpan.org #98385 [Russell Jenkins]
209
210 version 2.05: Wed Aug 27 09:43:03 CEST 2014
211
212 Improvements:
213 - rename ::Type::isAscii() into ::Type::isText()
214 - add source table broofa
215 rt.cpan.org#98308 [Lars Dɪᴇᴄᴋᴏᴡ]
216 - add source table freedesktop
217 rt.cpan.org#98309 [Lars Dɪᴇᴄᴋᴏᴡ]
218 - update iana types
219
220 version 2.04: Thu Sep 12 15:46:28 CEST 2013
221 Fixes:
222 - one more localize $_ in ::Types::_read_db()
223 rt.cpan.org#87856 [Gerda Shank]
224
225 version 2.03: Wed Sep 4 17:12:27 CEST 2013
226 Improvements:
227 - typo in docs, rt.cpan.org#88394 [Gregor Herrmann, Debian]
228 - require perl 5.8.8, because <:encoding [cpantesters]
229 - updated IANA
230 - a bit more DESCRIPTION
231
232 version 2.02: Sun Aug 18 12:49:23 CEST 2013
233 Fixes:
234 - localize DB and $_ in ::Types::_read_db()
235 rt.cpan.org#87856 [Gerda Shank]
236
237 version 2.01: Sat Aug 3 01:07:27 CEST 2013
238 Improvements:
239 - add dummy ::Types::create_type_index() because
240 Catalyst-Plugin-Static-Simple calls it :(
241
242 version 2.00: Fri Aug 2 17:44:53 CEST 2013
243 Changes:
244 - the mime information is now collected from various sources, amongst
245 them IANA. Therefore, some types may use different x-'s
246 #types up from 995 to 2096
247 - a separate table is built for the extension-to-type mapping.
248 #exts up from 734 to 1425
249 - the memory foot-print and start-up speed should have improved
250 considerably.
251
252 Improvements:
253 - added bin/collect_types
254 - 3 typos. rt.cpan.org#86847 [D Steinbrunner]
255 - add ::Type::isVendor(), ::isExperimental(), ::isPersonal on request
256 by rt.cpan.org#87062 [Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯]
257 - cleaned-up Exporter syntax of (very) old interface.
258 - added ::Types::listTypes()
259
260 version 1.38: Fri Jan 11 09:58:08 CET 2013
261 - add application/vnd.ms-excel.template.macroEnabled.12 and five
262 related from http://filext.com/faq/office_mime_types.php
263 rt.cpan.org#82616 [M Jemmeson]
264
265 version 1.37: Fri Dec 21 11:33:53 CET 2012:
266 - all mime.types files agree that perl scripts should use
267 application/x-perl. Hence removed text/x-perl
268 rt.cpan.org#82100 [Kent Fredric]
269
270 version 1.36: Wed Oct 31 20:34:42 CET 2012
271 - xlsx and friends had encoding 'binary' (since version 1.30),
272 but should have been 'base64'
273 rt.cpan.org#80529 [Douglas Wilson]
274
275 version 1.35: Tue Jun 19 20:37:21 CEST 2012
276 - added video/webm and audio/webm, although not (yet) IANA registered.
277 [Kurian Jose Aerthail]
278
279 version 1.34: Thu Jan 12 11:16:07 CET 2012
280 - subType() did not handle subType's with '+' in them.
281 [Roman V. Nikolaev]
282
283 version 1.33: Thu Jan 12 08:46:05 CET 2012
284 - all openxmlformats are binary [Beverly Wang]
285 - mediaType() and subType() did not handle subType's with dots
286 in them correctly. [Roman V. Nikolaev]
287
288 version 1.32: Thu Aug 18 23:30:25 CEST 2011
289 - explain how to use MIME::Types in mod_perl, after complains
290 from [Steve Simms], [Nicolas Mendoza], [Yves Orton] and
291 [Hans Dieter Pearcey]
292 - when you do not read the documentation about mod_perl/fork,
293 then it will work as ever but still inefficient.
294
295 version 1.31: Tue Sep 21 15:38:58 CEST 2010
296 - moved POD test to xt directory, reducing the number of
297 dependencies. [Alexis Sukrieh]
298
299 version 1.30: Thu Jun 3 12:00:37 CEST 2010
300 - typo. rt.cpan.org#55655 [Salvatore.Bonaccorso]
301 - xlsx must be encoded binary [Ben Prew]
302 - added f4v, f4p, f4a, f4b extensions for mpeg4
303 rt.cpan.org#55168 [Oskari Ojala]
304
305 version 1.29: Tue Mar 16 23:28:00 CET 2010
306
307 - added a zillions of new types from debian's /etc/mime.types.
308 implemented by [Roman V. Nikolaev]
309
310 - changed table format, hopefully to speed-up load times per
311 type, slightly compensating for the increased list.
312
313 version 1.28: Mon Sep 7 00:12:53 CEST 2009
314
315 - fix initiation when using by_mediatype().
316 rt.cpan.org#49111 [GENEHACK]
317
318 version 1.27: Tue Feb 3 12:23:08 CET 2009
319
320 - fix application/ogg to .ogx. Add other oggs [John Drago]
321
322 - alternative for ogg in test scripts,
323
324 - test by_mediatype with regexp parameter.
325
326 - do not use /bin/pwd in t/pod.t
327
328 version 1.26: Wed Dec 17 09:01:27 CET 2008
329
330 - added many ooxml types [Joe Spooner]
331
332 version 1.25: Sat Nov 29 15:00:20 CET 2008
333
334 - added application/jsoni
335 rt.cpan.org #36812 [Christopher H. Laco]
336
337 - added text/x-component
338 rt.cpan.org#41293 [Stephen Steneker]
339
340 version 1.24: Fri May 23 09:43:28 CEST 2008
341
342 - message/rfc822 relates to .eml [Jonas Liljegren]
343
344 - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
345 is an .xlsx [Jonas Liljegren]
346
347 - added zillion of application/vnd.oasis.opendocument.* and
348 application/vnd.stardevision.* names [Michiel Leenaars]
349
350 version 1.23: Mon Dec 17 16:12:52 CET 2007
351
352 - /xml file attributes were separated by blanks, not commas.
353 [Alex Kapranoff]
354
355 version 1.22: Wed Nov 14 17:20:22 CET 2007
356
357 - use RFC4180 text/csv, not text/comma-separated-values
358 Reported by [Mike Eldridge]
359
360 - refer to File::TypeInfo for access to mime.types files.
361
362 version 1.21: Mon Sep 10 21:18:08 CEST 2007
363
364 - patch tests to work on VMS [Peter (Stig) Edwards]
365
366 - patch for image/pjpeg bug IE6 [Nicolas Mendosa]
367
368 version 1.20: Fri Jun 8 16:21:33 CEST 2007
369
370 - added application/xslt+xml (.xslt) [David Dierauer]
371
372 - moved extension .xml from text/xml (deprecated) to
373 application/xml, and added .xsl to it [David Dierauer]
374
375 - Moved .dtd from text/xml to application/xml-dtd
376
377 - added t/pod.t
378
379 version 1.19: Sun Mar 25 17:09:38 CEST 2007
380
381 - converted to use OODoc 0.99
382
383 - removed mkdist, mkdoc, README.oodoc, version
384
385 version 1.18: Fri Nov 17 21:20:20 CET 2006
386
387 - [David Nesting] application/atom+xml and image/svg+xml
388
389 - [Islue Hu] audio/3gpp2 and video/3gpp2
390
391 - [Stephen Steneker] application/octet-stream += dmg, so, dll
392 and video/x-flv.
393
394 version 1.17: Sun Aug 13 10:32:37 CEST 2006
395
396 - [Hailin Hu] application/rdf+xml
397
398 - reprocessed manual-pages because FUNCTIONS chapers was lost
399 (bug in OODoc) [Schwern]
400
401 - use 'version' file for version
402
403 - added kml and kmz types by Google-Earth
404
405 version 1.16: Thu Sep 29 17:42:24 CEST 2005
406
407 - [Jan Kratochvil] application/smil is 8bit
408
409 - [Jan Kratochvil] application/x-javascript becomes
410 application/javascript. New is application/ecmascript
411
412 - Adapted to new behavior on stringification introduced by
413 Test::Builder v0.31, reported by [Jurgen Pletinckx]
414
415 version 1.15: Thu Mar 31 14:12:54 CEST 2005
416
417 - [Ave Wringeley] contributed MIME::Types methods types() and
418 extensions()
419
420 - [Kjetil Kjernsmo] Added non-registered but useful OpenOffice/
421 StarOffice types application/vnd.sun.xml.*
422
423 - [Tatsuhiko Miyagawa] contributed audio/3gpp and video/3gpp
424 from RFC3839.
425
426 version 1.14: Wed Nov 24 18:09:49 CET 2004
427
428 - [Ville Skyttä] provided some minor fixes and two new types
429
430 - [Ave Wringley] contributed video/x-ms-wmv
431
432 - [Ave Wringley] reported a bug in MIME::Types->addType, which
433 produced a warning about double declaration where it shoudln't
434
435 version 1.13: Sat Apr 24 00:15:09 CEST 2004
436
437 - [Ville Skyttä] and [Austing Ziegler] updated the type list to
438 IANA registry dated 2004-04-09. Many changes to clean-up the
439 list, trying to find a good balance between IANA's rules and
440 common practice.
441
442 version 1.12: Wed Jan 21 10:09:43 CET 2004
443
444 - [Ville Skyttä] requested removal of application/excel, because
445 it is not IANA registered. Applied.
446
447 - Documented that alternative types for a certain extension will
448 be used at random in mimeTypeOf()
449
450 - Documentation fix: only_complete returns all types with defined
451 extensions. Transfer-encoding is optional.
452
453 version 1.11: Tue Jan 13 10:36:41 CET 2004
454
455 - [Ville Skyttä] contributed a large set of new mime-types, and
456 applied some fixes. New IANA names are now all included.
457
458 version 1.10: Wed Dec 17 12:47:00 CET 2003
459
460 - [Miha Lampret] and [Jean-Marc Delafont] bumped into __DATA__
461 conflict between MIME::Types table and mod_perl.
462
463 version 1.09: Wed Nov 5 10:51:52 CET 2003
464
465 - Translated tests to use Test::More
466
467 - tests failed for detection '.doc', because OS-detection
468 failed, which (with 5.8.1 random hash order) made VMS'es
469 version of doc (plain/text) prevail in some situations.
470
471 version 1.08: Mon Nov 3 17:44:57 CET 2003
472
473 - [Tuomas Salo] removed warning on "undef".
474
475 - .txt extension preferred over .asc for plain text
476
477 version 1.07: Mon Jul 28 18:38:59 CEST 2003
478
479 - Translated documentation to newest version of OODoc
480
481 - Moved modules to lib/*, which removes the need for a nested
482 Makefile.PL.
483
484 version 1.06: Thu May 1 18:45:55 CEST 2003
485
486 - [NN Poster] updated the attributes for the PGP types.
487
488 - Converted documentation to be generated with OODoc.
489
490 version 1.005: Tue Dec 24 13:01:00 CET 2002
491
492 - [Guangzu Wang] pointed to typos in the Synopsis of both packages:
493 $mimetype --> $mimetypes
494
495 - [Ville Skyttä] some doc patches and many tweaks and additions
496 to the type list.
497
498 - [Ville Skyttä] fixed bug, where the third column was taken as
499 second if that one was empty.
500
501 version 1.004: Tue Oct 22 19:22:43 CEST 2002
502
503 - [Dan Puro] sent a reference to a list stored at
504 http://www.indiana.edu/cgi-bin-local/mimetypes. Most differences
505 are added, but some where competing... and I won.
506
507 version 1.003: Wed Oct 2 09:42:58 CEST 2002
508
509 - [Darell Fuhriman] added application/x-rar-compressed and
510 application/x-msdownload
511
512 - [Vladimir V. Kolpakov] set $/ = "\n" on parsing data from
513 inside file, which was written on UNIX and used in Windows.
514
515 - [Dan Puro] added application/wordperfect5.1 extension wpd.
516
517 - [Petri Riihikallio] added .xlt for Excel and .pps/.pot
518 for PowerPoint.
519
520 version 1.002: Mon Aug 12 11:40:55 CEST 2002
521
522 - [Jan Kratochvil] added audio/amr and audio/amr-wb to the
523 set of known datatypes. Types defined by rfc3267
524
525 version 1.001: Tue Jun 18 13:39:56 CEST 2002
526
527 - Brown paper-bag release. Accidentally, code was installing
528 itself as MIME::MIME::Types
529
530 version 1.00: Tue Jun 18 13:27:16 CEST 2002
531
532 - No real changes for some time now, so released a stable with
533 version of 1.00
534
535 - Doc typo: MIME::Types->extension must be MIME::Types->mimeTypeOf
536
537 - Overloaded comparison of $mimetype with string now works. Before,
538 only two objects could be compared.
539
540 version 0.16: Tue Feb 19 12:08:51 CET 2002
541
542 - MIME::Type->simplified('text') will return 'text/plain'
543
544 - MIME::Types->type($mime) will return undef for illegal $mime
545
546 version 0.15: Wed Jan 23 21:22:26 CET 2002
547
548 - [Dirk Lutsebaeck] contributed a few mime-types. I am open
549 to receive more improvements.
550
551 - Refrased the reason for removal of import_mime_types, a
552 residual of the pre-0.10 version of this module.
553
554 - Changed MIME::Type::mainType() into MIME::Type::mediaType() to
555 follow the terminology of the RFC more closely. The old name
556 is still usable.
557
558 - Added MIME::Types::addType
559
560 - Added overloading stringify and comparison to MIME::Type objects.
561 some tests in t/11typeol.t
562
563 version 0.14: Sat Dec 1 13:56:51 CET 2001
564 - Did a bad job (it's hard to support backwards compat if you run
565 5.6) Thanks to [Tatsuhiko Miyagawa]
566
567 version 0.13: Sat Dec 1 01:53:20 CET 2001
568 - [Slaven Radic] back-port to 5.005
569
570 version 0.12: Wed Nov 28 09:39:44 CET 2001
571 Mark Overmeer took the namespace over from Jeff Okamoto
572 - In scalar context MIME::Types::type will return only the
573 first type that fits.
574
575 version 0.11:
576
577 version 0.10: Sat Nov 3 22:46:22 2001
578 Mark Overmeer
579 - Total redesign of the interface, object oriented with two
580 classes: the MIME::Types and the MIME::Type.
581 - No seperate mime.types file anymore, but included inside
582 MIME::Types, such that installation is much easier.
583 - Merged-in apache's mime types 1.3.14
584 - New test files.
585 - Modernized test.pl into t/30export.t
586
587 version 0.06: Fri Jun 22 15:18:28 PDT 2001
588 - Repackage.
589
590 version 0.05: Fri Jun 15 15:10:08 PDT 2001
591 - Added changes to import_mime_types by Antonios Christofides
592 ([email protected])
593
594 version 0.04: Thu Apr 19 15:37:23 PDT 2001
595 - Added new function import_mime_types by Mike Cramer
596 ([email protected]) to read an Apache-style mime.types file.
597
598 version 0.03: Fri Feb 23 10:32:44 2001
599 - Many changes by David Wheeler ([email protected]) including:
600 - substituting some regexp's with faster string calls
601 - simplifying the mapping table startup code
602 - allowing the returning of array references instead of lists
603
604 version 0.02: Sat Nov 6 00:00:00 1999
605 - Fix a few bad suffix mappings and add a bit of robustness
606
607 version 0.01: Tue Oct 5 14:00:18 1999
608 - original version; created by h2xs 1.18