UNPKG

13.3 kBMarkdownView Raw
10.18.0 / 2022-03-23
2===================
3
4 * Fix emitted 416 error missing headers property
5 * Limit the headers removed for 304 response
6 * deps: depd@2.0.0
7 - Replace internal `eval` usage with `Function` constructor
8 - Use instance methods on `process` to check for listeners
9 * deps: destroy@1.2.0
10 * deps: http-errors@2.0.0
11 - deps: depd@2.0.0
12 - deps: statuses@2.0.1
13 * deps: on-finished@2.4.1
14 * deps: statuses@2.0.1
15
160.17.2 / 2021-12-11
17===================
18
19 * pref: ignore empty http tokens
20 * deps: http-errors@1.8.1
21 - deps: inherits@2.0.4
22 - deps: toidentifier@1.0.1
23 - deps: setprototypeof@1.2.0
24 * deps: ms@2.1.3
25
260.17.1 / 2019-05-10
27===================
28
29 * Set stricter CSP header in redirect & error responses
30 * deps: range-parser@~1.2.1
31
320.17.0 / 2019-05-03
33===================
34
35 * deps: http-errors@~1.7.2
36 - Set constructor name when possible
37 - Use `toidentifier` module to make class names
38 - deps: depd@~1.1.2
39 - deps: setprototypeof@1.1.1
40 - deps: statuses@'>= 1.5.0 < 2'
41 * deps: mime@1.6.0
42 - Add extensions for JPEG-2000 images
43 - Add new `font/*` types from IANA
44 - Add WASM mapping
45 - Update `.bdoc` to `application/bdoc`
46 - Update `.bmp` to `image/bmp`
47 - Update `.m4a` to `audio/mp4`
48 - Update `.rtf` to `application/rtf`
49 - Update `.wav` to `audio/wav`
50 - Update `.xml` to `application/xml`
51 - Update generic extensions to `application/octet-stream`:
52 `.deb`, `.dll`, `.dmg`, `.exe`, `.iso`, `.msi`
53 - Use mime-score module to resolve extension conflicts
54 * deps: ms@2.1.1
55 - Add `week`/`w` support
56 - Fix negative number handling
57 * deps: statuses@~1.5.0
58 * perf: remove redundant `path.normalize` call
59
600.16.2 / 2018-02-07
61===================
62
63 * Fix incorrect end tag in default error & redirects
64 * deps: depd@~1.1.2
65 - perf: remove argument reassignment
66 * deps: encodeurl@~1.0.2
67 - Fix encoding `%` as last character
68 * deps: statuses@~1.4.0
69
700.16.1 / 2017-09-29
71===================
72
73 * Fix regression in edge-case behavior for empty `path`
74
750.16.0 / 2017-09-27
76===================
77
78 * Add `immutable` option
79 * Fix missing `</html>` in default error & redirects
80 * Use instance methods on steam to check for listeners
81 * deps: mime@1.4.1
82 - Add 70 new types for file extensions
83 - Set charset as "UTF-8" for .js and .json
84 * perf: improve path validation speed
85
860.15.6 / 2017-09-22
87===================
88
89 * deps: debug@2.6.9
90 * perf: improve `If-Match` token parsing
91
920.15.5 / 2017-09-20
93===================
94
95 * deps: etag@~1.8.1
96 - perf: replace regular expression with substring
97 * deps: fresh@0.5.2
98 - Fix handling of modified headers with invalid dates
99 - perf: improve ETag match loop
100 - perf: improve `If-None-Match` token parsing
101
1020.15.4 / 2017-08-05
103===================
104
105 * deps: debug@2.6.8
106 * deps: depd@~1.1.1
107 - Remove unnecessary `Buffer` loading
108 * deps: http-errors@~1.6.2
109 - deps: depd@1.1.1
110
1110.15.3 / 2017-05-16
112===================
113
114 * deps: debug@2.6.7
115 - deps: ms@2.0.0
116 * deps: ms@2.0.0
117
1180.15.2 / 2017-04-26
119===================
120
121 * deps: debug@2.6.4
122 - Fix `DEBUG_MAX_ARRAY_LENGTH`
123 - deps: ms@0.7.3
124 * deps: ms@1.0.0
125
1260.15.1 / 2017-03-04
127===================
128
129 * Fix issue when `Date.parse` does not return `NaN` on invalid date
130 * Fix strict violation in broken environments
131
1320.15.0 / 2017-02-25
133===================
134
135 * Support `If-Match` and `If-Unmodified-Since` headers
136 * Add `res` and `path` arguments to `directory` event
137 * Remove usage of `res._headers` private field
138 - Improves compatibility with Node.js 8 nightly
139 * Send complete HTML document in redirect & error responses
140 * Set default CSP header in redirect & error responses
141 * Use `res.getHeaderNames()` when available
142 * Use `res.headersSent` when available
143 * deps: debug@2.6.1
144 - Allow colors in workers
145 - Deprecated `DEBUG_FD` environment variable set to `3` or higher
146 - Fix error when running under React Native
147 - Use same color for same namespace
148 - deps: ms@0.7.2
149 * deps: etag@~1.8.0
150 * deps: fresh@0.5.0
151 - Fix false detection of `no-cache` request directive
152 - Fix incorrect result when `If-None-Match` has both `*` and ETags
153 - Fix weak `ETag` matching to match spec
154 - perf: delay reading header values until needed
155 - perf: enable strict mode
156 - perf: hoist regular expressions
157 - perf: remove duplicate conditional
158 - perf: remove unnecessary boolean coercions
159 - perf: skip checking modified time if ETag check failed
160 - perf: skip parsing `If-None-Match` when no `ETag` header
161 - perf: use `Date.parse` instead of `new Date`
162 * deps: http-errors@~1.6.1
163 - Make `message` property enumerable for `HttpError`s
164 - deps: setprototypeof@1.0.3
165
1660.14.2 / 2017-01-23
167===================
168
169 * deps: http-errors@~1.5.1
170 - deps: inherits@2.0.3
171 - deps: setprototypeof@1.0.2
172 - deps: statuses@'>= 1.3.1 < 2'
173 * deps: ms@0.7.2
174 * deps: statuses@~1.3.1
175
1760.14.1 / 2016-06-09
177===================
178
179 * Fix redirect error when `path` contains raw non-URL characters
180 * Fix redirect when `path` starts with multiple forward slashes
181
1820.14.0 / 2016-06-06
183===================
184
185 * Add `acceptRanges` option
186 * Add `cacheControl` option
187 * Attempt to combine multiple ranges into single range
188 * Correctly inherit from `Stream` class
189 * Fix `Content-Range` header in 416 responses when using `start`/`end` options
190 * Fix `Content-Range` header missing from default 416 responses
191 * Ignore non-byte `Range` headers
192 * deps: http-errors@~1.5.0
193 - Add `HttpError` export, for `err instanceof createError.HttpError`
194 - Support new code `421 Misdirected Request`
195 - Use `setprototypeof` module to replace `__proto__` setting
196 - deps: inherits@2.0.1
197 - deps: statuses@'>= 1.3.0 < 2'
198 - perf: enable strict mode
199 * deps: range-parser@~1.2.0
200 - Fix incorrectly returning -1 when there is at least one valid range
201 - perf: remove internal function
202 * deps: statuses@~1.3.0
203 - Add `421 Misdirected Request`
204 - perf: enable strict mode
205 * perf: remove argument reassignment
206
2070.13.2 / 2016-03-05
208===================
209
210 * Fix invalid `Content-Type` header when `send.mime.default_type` unset
211
2120.13.1 / 2016-01-16
213===================
214
215 * deps: depd@~1.1.0
216 - Support web browser loading
217 - perf: enable strict mode
218 * deps: destroy@~1.0.4
219 - perf: enable strict mode
220 * deps: escape-html@~1.0.3
221 - perf: enable strict mode
222 - perf: optimize string replacement
223 - perf: use faster string coercion
224 * deps: range-parser@~1.0.3
225 - perf: enable strict mode
226
2270.13.0 / 2015-06-16
228===================
229
230 * Allow Node.js HTTP server to set `Date` response header
231 * Fix incorrectly removing `Content-Location` on 304 response
232 * Improve the default redirect response headers
233 * Send appropriate headers on default error response
234 * Use `http-errors` for standard emitted errors
235 * Use `statuses` instead of `http` module for status messages
236 * deps: escape-html@1.0.2
237 * deps: etag@~1.7.0
238 - Improve stat performance by removing hashing
239 * deps: fresh@0.3.0
240 - Add weak `ETag` matching support
241 * deps: on-finished@~2.3.0
242 - Add defined behavior for HTTP `CONNECT` requests
243 - Add defined behavior for HTTP `Upgrade` requests
244 - deps: ee-first@1.1.1
245 * perf: enable strict mode
246 * perf: remove unnecessary array allocations
247
2480.12.3 / 2015-05-13
249===================
250
251 * deps: debug@~2.2.0
252 - deps: ms@0.7.1
253 * deps: depd@~1.0.1
254 * deps: etag@~1.6.0
255 - Improve support for JXcore
256 - Support "fake" stats objects in environments without `fs`
257 * deps: ms@0.7.1
258 - Prevent extraordinarily long inputs
259 * deps: on-finished@~2.2.1
260
2610.12.2 / 2015-03-13
262===================
263
264 * Throw errors early for invalid `extensions` or `index` options
265 * deps: debug@~2.1.3
266 - Fix high intensity foreground color for bold
267 - deps: ms@0.7.0
268
2690.12.1 / 2015-02-17
270===================
271
272 * Fix regression sending zero-length files
273
2740.12.0 / 2015-02-16
275===================
276
277 * Always read the stat size from the file
278 * Fix mutating passed-in `options`
279 * deps: mime@1.3.4
280
2810.11.1 / 2015-01-20
282===================
283
284 * Fix `root` path disclosure
285
2860.11.0 / 2015-01-05
287===================
288
289 * deps: debug@~2.1.1
290 * deps: etag@~1.5.1
291 - deps: crc@3.2.1
292 * deps: ms@0.7.0
293 - Add `milliseconds`
294 - Add `msecs`
295 - Add `secs`
296 - Add `mins`
297 - Add `hrs`
298 - Add `yrs`
299 * deps: on-finished@~2.2.0
300
3010.10.1 / 2014-10-22
302===================
303
304 * deps: on-finished@~2.1.1
305 - Fix handling of pipelined requests
306
3070.10.0 / 2014-10-15
308===================
309
310 * deps: debug@~2.1.0
311 - Implement `DEBUG_FD` env variable support
312 * deps: depd@~1.0.0
313 * deps: etag@~1.5.0
314 - Improve string performance
315 - Slightly improve speed for weak ETags over 1KB
316
3170.9.3 / 2014-09-24
318==================
319
320 * deps: etag@~1.4.0
321 - Support "fake" stats objects
322
3230.9.2 / 2014-09-15
324==================
325
326 * deps: depd@0.4.5
327 * deps: etag@~1.3.1
328 * deps: range-parser@~1.0.2
329
3300.9.1 / 2014-09-07
331==================
332
333 * deps: fresh@0.2.4
334
3350.9.0 / 2014-09-07
336==================
337
338 * Add `lastModified` option
339 * Use `etag` to generate `ETag` header
340 * deps: debug@~2.0.0
341
3420.8.5 / 2014-09-04
343==================
344
345 * Fix malicious path detection for empty string path
346
3470.8.4 / 2014-09-04
348==================
349
350 * Fix a path traversal issue when using `root`
351
3520.8.3 / 2014-08-16
353==================
354
355 * deps: destroy@1.0.3
356 - renamed from dethroy
357 * deps: on-finished@2.1.0
358
3590.8.2 / 2014-08-14
360==================
361
362 * Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
363 * deps: dethroy@1.0.2
364
3650.8.1 / 2014-08-05
366==================
367
368 * Fix `extensions` behavior when file already has extension
369
3700.8.0 / 2014-08-05
371==================
372
373 * Add `extensions` option
374
3750.7.4 / 2014-08-04
376==================
377
378 * Fix serving index files without root dir
379
3800.7.3 / 2014-07-29
381==================
382
383 * Fix incorrect 403 on Windows and Node.js 0.11
384
3850.7.2 / 2014-07-27
386==================
387
388 * deps: depd@0.4.4
389 - Work-around v8 generating empty stack traces
390
3910.7.1 / 2014-07-26
392==================
393
394 * deps: depd@0.4.3
395 - Fix exception when global `Error.stackTraceLimit` is too low
396
3970.7.0 / 2014-07-20
398==================
399
400 * Deprecate `hidden` option; use `dotfiles` option
401 * Add `dotfiles` option
402 * deps: debug@1.0.4
403 * deps: depd@0.4.2
404 - Add `TRACE_DEPRECATION` environment variable
405 - Remove non-standard grey color from color output
406 - Support `--no-deprecation` argument
407 - Support `--trace-deprecation` argument
408
4090.6.0 / 2014-07-11
410==================
411
412 * Deprecate `from` option; use `root` option
413 * Deprecate `send.etag()` -- use `etag` in `options`
414 * Deprecate `send.hidden()` -- use `hidden` in `options`
415 * Deprecate `send.index()` -- use `index` in `options`
416 * Deprecate `send.maxage()` -- use `maxAge` in `options`
417 * Deprecate `send.root()` -- use `root` in `options`
418 * Cap `maxAge` value to 1 year
419 * deps: debug@1.0.3
420 - Add support for multiple wildcards in namespaces
421
4220.5.0 / 2014-06-28
423==================
424
425 * Accept string for `maxAge` (converted by `ms`)
426 * Add `headers` event
427 * Include link in default redirect response
428 * Use `EventEmitter.listenerCount` to count listeners
429
4300.4.3 / 2014-06-11
431==================
432
433 * Do not throw un-catchable error on file open race condition
434 * Use `escape-html` for HTML escaping
435 * deps: debug@1.0.2
436 - fix some debugging output colors on node.js 0.8
437 * deps: finished@1.2.2
438 * deps: fresh@0.2.2
439
4400.4.2 / 2014-06-09
441==================
442
443 * fix "event emitter leak" warnings
444 * deps: debug@1.0.1
445 * deps: finished@1.2.1
446
4470.4.1 / 2014-06-02
448==================
449
450 * Send `max-age` in `Cache-Control` in correct format
451
4520.4.0 / 2014-05-27
453==================
454
455 * Calculate ETag with md5 for reduced collisions
456 * Fix wrong behavior when index file matches directory
457 * Ignore stream errors after request ends
458 - Goodbye `EBADF, read`
459 * Skip directories in index file search
460 * deps: debug@0.8.1
461
4620.3.0 / 2014-04-24
463==================
464
465 * Fix sending files with dots without root set
466 * Coerce option types
467 * Accept API options in options object
468 * Set etags to "weak"
469 * Include file path in etag
470 * Make "Can't set headers after they are sent." catchable
471 * Send full entity-body for multi range requests
472 * Default directory access to 403 when index disabled
473 * Support multiple index paths
474 * Support "If-Range" header
475 * Control whether to generate etags
476 * deps: mime@1.2.11
477
4780.2.0 / 2014-01-29
479==================
480
481 * update range-parser and fresh
482
4830.1.4 / 2013-08-11
484==================
485
486 * update fresh
487
4880.1.3 / 2013-07-08
489==================
490
491 * Revert "Fix fd leak"
492
4930.1.2 / 2013-07-03
494==================
495
496 * Fix fd leak
497
4980.1.0 / 2012-08-25
499==================
500
501 * add options parameter to send() that is passed to fs.createReadStream() [kanongil]
502
5030.0.4 / 2012-08-16
504==================
505
506 * allow custom "Accept-Ranges" definition
507
5080.0.3 / 2012-07-16
509==================
510
511 * fix normalization of the root directory. Closes #3
512
5130.0.2 / 2012-07-09
514==================
515
516 * add passing of req explicitly for now (YUCK)
517
5180.0.1 / 2010-01-03
519==================
520
521 * Initial release
522
\No newline at end of file