This release adds support for XHTML, Lotus-1-2-3, KML, and shell scripts. Changes were made to make mimetype behave more file linux $ file --mime
utility
https://github.com/gabriel-vasile/mimetype_tests repo is now used for running comparisons betweem mimetype
and $ file --mime
. It contains 50 000 samples and mimetype
identifies the same format as $ file --mime
for ~97% of them.
What's Changed
- charset: remove dependency on x/net for parsing html in #669
- CSV: replace stdlib reader with a parser that allocates less in #672
- svg: make detection harder in #674
- pdf: relax check to match file in #677
- csv: stop mutating input byte slices; for #680 in #681
- charset: remove dependency on mime in #684
- mso_office: increase limit of checked entries from 4 to 100 in #685
- jar: replace application/jar with application/java-archive in #686
- Zip container improvements in #687
- Jar first entry inside a zip in #688
- svg+html: better handling for comments in #689
- xhtml: add support in #690
- misc: behave more like file in #691
- lotus-1-2-3: add support in #695
- Add support for zipped KML files by @dmlambea in #693
- shell: add support by @scop in #694
New Contributors
Full Changelog: v1.4.9...v1.4.10-rc1