packages feed

mime-types 0.1.0.9 → 0.1.1.0

raw patch · 3 files changed

+49/−16 lines, 3 filesdep ~base

Dependency ranges changed: base

Files

ChangeLog.md view
@@ -1,3 +1,24 @@+## 0.1.1.0++* Replace `audio/x-mpegurl` with IANA registered type+  `application/vnd.apple.mpegurl`.+* Add TeX-related types; this includes `bib`, `tex`, `sty`, and `cls`.+* Use type image/x-xcf for `.xcf` files.+* Use type "audio/opus" for `.opus` files.+* Add type text/vtt for `.vtt` text track files.+* Use IANA registered type "application/vnd.rar" for `.rar` files.+* Use font types defined in RFC 8081.+* Replace `audio/x-m4a` with `audio/mp4`.+* Change mime type for `.exe` files; use IANA registered type+  `application/vnd.microsoft.portable-executable`.+* Add `video/dv` for files with extension `dv`.+* Use 'application/xml' instead of 'text/xml'.+* Change type for `.pcx` files to `image/vnd.zbrush.pcx`.+* Use `text/markdown` type for `.md` and `.markdown` files.+* Replace `application/x-gzip` with type `application/gzip`.++See PR [#906](https://github.com/yesodweb/wai/pull/906).+ ## 0.1.0.9  * Add mjs mime type
Network/Mime.hs view
@@ -132,6 +132,7 @@     , ("bdm", "application/vnd.syncml.dm+wbxml")     , ("bed", "application/vnd.realvnc.bed")     , ("bh2", "application/vnd.fujitsu.oasysprs")+    , ("bib", "application/x-bibtex")     , ("bin", "application/octet-stream")     , ("blb", "application/x-blorb")     , ("blorb", "application/x-blorb")@@ -194,6 +195,7 @@     , ("clkw", "application/vnd.crick.clicker.wordbank")     , ("clkx", "application/vnd.crick.clicker")     , ("clp", "application/x-msclip")+    , ("cls", "application/x-tex")     , ("cmc", "application/vnd.cosmocaller")     , ("cmdf", "chemical/x-cmdf")     , ("cml", "chemical/x-cml")@@ -264,6 +266,7 @@     , ("dts", "audio/vnd.dts")     , ("dtshd", "audio/vnd.dts.hd")     , ("dump", "application/octet-stream")+    , ("dv", "video/dv")     , ("dvb", "video/vnd.dvb.file")     , ("dvi", "application/x-dvi")     , ("dwf", "model/vnd.dwf")@@ -296,7 +299,7 @@     , ("etx", "text/x-setext")     , ("eva", "application/x-eva")     , ("evy", "application/x-envoy")-    , ("exe", "application/x-msdownload")+    , ("exe", "application/vnd.microsoft.portable-executable")     , ("exi", "application/exi")     , ("ext", "application/vnd.novadigm.ext")     , ("ez", "application/andrew-inset")@@ -349,6 +352,7 @@     , ("gdl", "model/vnd.gdl")     , ("geo", "application/vnd.dynageo")     , ("gex", "application/vnd.geometry-explorer")+    , ("gf", "application/x-tex-gf")     , ("ggb", "application/vnd.geogebra.file")     , ("ggt", "application/vnd.geogebra.tool")     , ("ghf", "application/vnd.groove-help")@@ -373,7 +377,7 @@     , ("gv", "text/vnd.graphviz")     , ("gxf", "application/gxf")     , ("gxt", "application/vnd.geonext")-    , ("gz", "application/x-gzip")+    , ("gz", "application/gzip")     , ("h", "text/x-c")     , ("h261", "video/h261")     , ("h263", "video/h263")@@ -472,7 +476,7 @@     -- Added after deliberation in PR (https://github.com/yesodweb/wai/pull/534)     -- Accepted mainly because of StackOverflow (http://stackoverflow.com/questions/7319555/how-to-add-less-to-iis-7-0)     , ("less", "text/css")-    +     , ("lha", "application/x-lzh-compressed")     , ("link66", "application/vnd.route66.link66+xml")     , ("list", "text/plain")@@ -484,6 +488,7 @@     , ("lrf", "application/octet-stream")     , ("lrm", "application/vnd.ms-lrm")     , ("ltf", "application/vnd.frogans.ltf")+    , ("ltx", "application/x-tex")     , ("lvp", "audio/vnd.lucent.voice")     , ("lwp", "application/vnd.lotus-wordpro")     , ("lzh", "application/x-lzh-compressed")@@ -494,9 +499,9 @@     , ("m2a", "audio/mpeg")     , ("m2v", "video/mpeg")     , ("m3a", "audio/mpeg")-    , ("m3u", "audio/x-mpegurl")+    , ("m3u", "application/vnd.apple.mpegurl")     , ("m3u8", "application/vnd.apple.mpegurl")-    , ("m4a", "audio/x-m4a")+    , ("m4a", "audio/mp4")     , ("m4u", "video/vnd.mpegurl")     , ("m4v", "video/x-m4v")     , ("ma", "application/mathematica")@@ -506,6 +511,7 @@     , ("man", "text/troff")     , ("manifest", "text/cache-manifest")     , ("mar", "application/octet-stream")+    , ("markdown", "text/markdown")     , ("mathml", "application/mathml+xml")     , ("mb", "application/mathematica")     , ("mbk", "application/vnd.mobius.mbk")@@ -513,6 +519,7 @@     , ("mc1", "application/vnd.medcalcdata")     , ("mcd", "application/vnd.mcd")     , ("mcurl", "text/vnd.curl.mcurl")+    , ("md", "text/markdown")     , ("mdb", "application/x-msaccess")     , ("mdi", "image/vnd.ms-modi")     , ("me", "text/troff")@@ -638,11 +645,12 @@     , ("opf", "application/oebps-package+xml")     , ("opml", "text/x-opml")     , ("oprc", "application/vnd.palm")+    , ("opus", "audio/opus")     , ("org", "application/vnd.lotus-organizer")     , ("osf", "application/vnd.yamaha.openscoreformat")     , ("osfpvg", "application/vnd.yamaha.openscoreformat.osfpvg+xml")     , ("otc", "application/vnd.oasis.opendocument.chart-template")-    , ("otf", "application/x-font-otf")+    , ("otf", "font/otf")     , ("otg", "application/vnd.oasis.opendocument.graphics-template")     , ("oth", "application/vnd.oasis.opendocument.text-web")     , ("oti", "application/vnd.oasis.opendocument.image-template")@@ -671,7 +679,7 @@     , ("pclxl", "application/vnd.hp-pclxl")     , ("pct", "image/x-pict")     , ("pcurl", "application/vnd.curl.pcurl")-    , ("pcx", "image/x-pcx")+    , ("pcx", "image/vnd.zbrush.pcx")     , ("pdb", "application/vnd.palm")     , ("pdf", "application/pdf")     , ("pem", "application/x-x509-ca-cert")@@ -737,7 +745,7 @@     , ("qxt", "application/vnd.quark.quarkxpress")     , ("ra", "audio/x-pn-realaudio")     , ("ram", "audio/x-pn-realaudio")-    , ("rar", "application/x-rar-compressed")+    , ("rar", "application/vnd.rar")     , ("ras", "image/x-cmu-raster")     , ("rcprofile", "application/vnd.ipunplugged.rcprofile")     , ("rdf", "application/rdf+xml")@@ -856,6 +864,7 @@     , ("stl", "application/vnd.ms-pki.stl")     , ("str", "application/vnd.pg.format")     , ("stw", "application/vnd.sun.xml.writer.template")+    , ("sty", "application/x-tex")     , ("sub", "text/vnd.dvb.subtitle")     , ("sus", "application/vnd.sus-calendar")     , ("susp", "application/vnd.sus-calendar")@@ -908,8 +917,8 @@     , ("trm", "application/x-msterminal")     , ("tsd", "application/timestamped-data")     , ("tsv", "text/tab-separated-values")-    , ("ttc", "application/x-font-ttf")-    , ("ttf", "application/x-font-ttf")+    , ("ttc", "font/ttf")+    , ("ttf", "font/ttf")     , ("ttl", "text/turtle")     , ("twd", "application/vnd.simtech-mindmapper")     , ("twds", "application/vnd.simtech-mindmapper")@@ -975,6 +984,7 @@     , ("vss", "application/vnd.visio")     , ("vst", "application/vnd.visio")     , ("vsw", "application/vnd.visio")+    , ("vtt", "text/vtt")     , ("vtu", "model/vnd.vtu")     , ("vxml", "application/voicexml+xml")     , ("w3d", "application/x-director")@@ -1006,8 +1016,8 @@     , ("wmv", "video/x-ms-wmv")     , ("wmx", "video/x-ms-wmx")     , ("wmz", "application/x-msmetafile")-    , ("woff", "application/font-woff")-    , ("woff2", "application/font-woff2")+    , ("woff", "font/woff")+    , ("woff2", "font/woff2")     , ("wpd", "application/vnd.wordperfect")     , ("wpl", "application/vnd.ms-wpl")     , ("wps", "application/vnd.ms-works")@@ -1031,6 +1041,7 @@     , ("xbap", "application/x-ms-xbap")     , ("xbd", "application/vnd.fujixerox.docuworks.binder")     , ("xbm", "image/x-xbitmap")+    , ("xcf", "image/x-xcf")     , ("xdf", "application/xcap-diff+xml")     , ("xdm", "application/vnd.syncml.dm+xml")     , ("xdp", "application/vnd.adobe.xdp+xml")@@ -1058,7 +1069,7 @@     , ("xltx", "application/vnd.openxmlformats-officedocument.spreadsheetml.template")     , ("xlw", "application/vnd.ms-excel")     , ("xm", "audio/xm")-    , ("xml", "text/xml")+    , ("xml", "application/xml")     , ("xo", "application/vnd.olpc-sugar")     , ("xop", "application/xop+xml")     , ("xpi", "application/x-xpinstall")
mime-types.cabal view
@@ -1,5 +1,5 @@ name:                mime-types-version:             0.1.0.9+version:             0.1.1.0 synopsis:            Basic mime-type handling types and functions description:         API docs and the README are available at <http://www.stackage.org/package/mime-types>. homepage:            https://github.com/yesodweb/wai@@ -9,12 +9,13 @@ maintainer:          michael@snoyman.com category:            Web build-type:          Simple-cabal-version:       >=1.8+cabal-version:       >=1.10 extra-source-files:  README.md ChangeLog.md  library   exposed-modules:     Network.Mime-  build-depends:       base           >= 4      && < 5+  default-language:    Haskell2010+  build-depends:       base           >= 4.12   && < 5                      , containers                      , text                      , bytestring