HISTORY.md (5447B)
1 1.6.18 / 2019-04-26 2 =================== 3 4 * Fix regression passing request object to `typeis.is` 5 6 1.6.17 / 2019-04-25 7 =================== 8 9 * deps: mime-types@~2.1.24 10 - Add Apple file extensions from IANA 11 - Add extension `.csl` to `application/vnd.citationstyles.style+xml` 12 - Add extension `.es` to `application/ecmascript` 13 - Add extension `.nq` to `application/n-quads` 14 - Add extension `.nt` to `application/n-triples` 15 - Add extension `.owl` to `application/rdf+xml` 16 - Add extensions `.siv` and `.sieve` to `application/sieve` 17 - Add extensions from IANA for `image/*` types 18 - Add extensions from IANA for `model/*` types 19 - Add extensions to HEIC image types 20 - Add new mime types 21 - Add `text/mdx` with extension `.mdx` 22 * perf: prevent internal `throw` on invalid type 23 24 1.6.16 / 2018-02-16 25 =================== 26 27 * deps: mime-types@~2.1.18 28 - Add `application/raml+yaml` with extension `.raml` 29 - Add `application/wasm` with extension `.wasm` 30 - Add `text/shex` with extension `.shex` 31 - Add extensions for JPEG-2000 images 32 - Add extensions from IANA for `message/*` types 33 - Add extension `.mjs` to `application/javascript` 34 - Add extension `.wadl` to `application/vnd.sun.wadl+xml` 35 - Add extension `.gz` to `application/gzip` 36 - Add glTF types and extensions 37 - Add new mime types 38 - Update extensions `.md` and `.markdown` to be `text/markdown` 39 - Update font MIME types 40 - Update `text/hjson` to registered `application/hjson` 41 42 1.6.15 / 2017-03-31 43 =================== 44 45 * deps: mime-types@~2.1.15 46 - Add new mime types 47 48 1.6.14 / 2016-11-18 49 =================== 50 51 * deps: mime-types@~2.1.13 52 - Add new mime types 53 54 1.6.13 / 2016-05-18 55 =================== 56 57 * deps: mime-types@~2.1.11 58 - Add new mime types 59 60 1.6.12 / 2016-02-28 61 =================== 62 63 * deps: mime-types@~2.1.10 64 - Add new mime types 65 - Fix extension of `application/dash+xml` 66 - Update primary extension for `audio/mp4` 67 68 1.6.11 / 2016-01-29 69 =================== 70 71 * deps: mime-types@~2.1.9 72 - Add new mime types 73 74 1.6.10 / 2015-12-01 75 =================== 76 77 * deps: mime-types@~2.1.8 78 - Add new mime types 79 80 1.6.9 / 2015-09-27 81 ================== 82 83 * deps: mime-types@~2.1.7 84 - Add new mime types 85 86 1.6.8 / 2015-09-04 87 ================== 88 89 * deps: mime-types@~2.1.6 90 - Add new mime types 91 92 1.6.7 / 2015-08-20 93 ================== 94 95 * Fix type error when given invalid type to match against 96 * deps: mime-types@~2.1.5 97 - Add new mime types 98 99 1.6.6 / 2015-07-31 100 ================== 101 102 * deps: mime-types@~2.1.4 103 - Add new mime types 104 105 1.6.5 / 2015-07-16 106 ================== 107 108 * deps: mime-types@~2.1.3 109 - Add new mime types 110 111 1.6.4 / 2015-07-01 112 ================== 113 114 * deps: mime-types@~2.1.2 115 - Add new mime types 116 * perf: enable strict mode 117 * perf: remove argument reassignment 118 119 1.6.3 / 2015-06-08 120 ================== 121 122 * deps: mime-types@~2.1.1 123 - Add new mime types 124 * perf: reduce try block size 125 * perf: remove bitwise operations 126 127 1.6.2 / 2015-05-10 128 ================== 129 130 * deps: mime-types@~2.0.11 131 - Add new mime types 132 133 1.6.1 / 2015-03-13 134 ================== 135 136 * deps: mime-types@~2.0.10 137 - Add new mime types 138 139 1.6.0 / 2015-02-12 140 ================== 141 142 * fix false-positives in `hasBody` `Transfer-Encoding` check 143 * support wildcard for both type and subtype (`*/*`) 144 145 1.5.7 / 2015-02-09 146 ================== 147 148 * fix argument reassignment 149 * deps: mime-types@~2.0.9 150 - Add new mime types 151 152 1.5.6 / 2015-01-29 153 ================== 154 155 * deps: mime-types@~2.0.8 156 - Add new mime types 157 158 1.5.5 / 2014-12-30 159 ================== 160 161 * deps: mime-types@~2.0.7 162 - Add new mime types 163 - Fix missing extensions 164 - Fix various invalid MIME type entries 165 - Remove example template MIME types 166 - deps: mime-db@~1.5.0 167 168 1.5.4 / 2014-12-10 169 ================== 170 171 * deps: mime-types@~2.0.4 172 - Add new mime types 173 - deps: mime-db@~1.3.0 174 175 1.5.3 / 2014-11-09 176 ================== 177 178 * deps: mime-types@~2.0.3 179 - Add new mime types 180 - deps: mime-db@~1.2.0 181 182 1.5.2 / 2014-09-28 183 ================== 184 185 * deps: mime-types@~2.0.2 186 - Add new mime types 187 - deps: mime-db@~1.1.0 188 189 1.5.1 / 2014-09-07 190 ================== 191 192 * Support Node.js 0.6 193 * deps: media-typer@0.3.0 194 * deps: mime-types@~2.0.1 195 - Support Node.js 0.6 196 197 1.5.0 / 2014-09-05 198 ================== 199 200 * fix `hasbody` to be true for `content-length: 0` 201 202 1.4.0 / 2014-09-02 203 ================== 204 205 * update mime-types 206 207 1.3.2 / 2014-06-24 208 ================== 209 210 * use `~` range on mime-types 211 212 1.3.1 / 2014-06-19 213 ================== 214 215 * fix global variable leak 216 217 1.3.0 / 2014-06-19 218 ================== 219 220 * improve type parsing 221 222 - invalid media type never matches 223 - media type not case-sensitive 224 - extra LWS does not affect results 225 226 1.2.2 / 2014-06-19 227 ================== 228 229 * fix behavior on unknown type argument 230 231 1.2.1 / 2014-06-03 232 ================== 233 234 * switch dependency from `mime` to `mime-types@1.0.0` 235 236 1.2.0 / 2014-05-11 237 ================== 238 239 * support suffix matching: 240 241 - `+json` matches `application/vnd+json` 242 - `*/vnd+json` matches `application/vnd+json` 243 - `application/*+json` matches `application/vnd+json` 244 245 1.1.0 / 2014-04-12 246 ================== 247 248 * add non-array values support 249 * expose internal utilities: 250 251 - `.is()` 252 - `.hasBody()` 253 - `.normalize()` 254 - `.match()` 255 256 1.0.1 / 2014-03-30 257 ================== 258 259 * add `multipart` as a shorthand