UNPKG

9.91 kBMarkdownView Raw
10.15.0 / 2017-02-25
2===================
3
4 * Support `If-Match` and `If-Unmodified-Since` headers
5 * Add `res` and `path` arguments to `directory` event
6 * Remove usage of `res._headers` private field
7 - Improves compatibility with Node.js 8 nightly
8 * Send complete HTML document in redirect & error responses
9 * Set default CSP header in redirect & error responses
10 * Use `res.getHeaderNames()` when available
11 * Use `res.headersSent` when available
12 * deps: debug@2.6.1
13 - Allow colors in workers
14 - Deprecated `DEBUG_FD` environment variable set to `3` or higher
15 - Fix error when running under React Native
16 - Use same color for same namespace
17 - deps: ms@0.7.2
18 * deps: etag@~1.8.0
19 * deps: fresh@0.5.0
20 - Fix false detection of `no-cache` request directive
21 - Fix incorrect result when `If-None-Match` has both `*` and ETags
22 - Fix weak `ETag` matching to match spec
23 - perf: delay reading header values until needed
24 - perf: enable strict mode
25 - perf: hoist regular expressions
26 - perf: remove duplicate conditional
27 - perf: remove unnecessary boolean coercions
28 - perf: skip checking modified time if ETag check failed
29 - perf: skip parsing `If-None-Match` when no `ETag` header
30 - perf: use `Date.parse` instead of `new Date`
31 * deps: http-errors@~1.6.1
32 - Make `message` property enumerable for `HttpError`s
33 - deps: setprototypeof@1.0.3
34
350.14.2 / 2017-01-23
36===================
37
38 * deps: http-errors@~1.5.1
39 - deps: inherits@2.0.3
40 - deps: setprototypeof@1.0.2
41 - deps: statuses@'>= 1.3.1 < 2'
42 * deps: ms@0.7.2
43 * deps: statuses@~1.3.1
44
450.14.1 / 2016-06-09
46===================
47
48 * Fix redirect error when `path` contains raw non-URL characters
49 * Fix redirect when `path` starts with multiple forward slashes
50
510.14.0 / 2016-06-06
52===================
53
54 * Add `acceptRanges` option
55 * Add `cacheControl` option
56 * Attempt to combine multiple ranges into single range
57 * Correctly inherit from `Stream` class
58 * Fix `Content-Range` header in 416 responses when using `start`/`end` options
59 * Fix `Content-Range` header missing from default 416 responses
60 * Ignore non-byte `Range` headers
61 * deps: http-errors@~1.5.0
62 - Add `HttpError` export, for `err instanceof createError.HttpError`
63 - Support new code `421 Misdirected Request`
64 - Use `setprototypeof` module to replace `__proto__` setting
65 - deps: inherits@2.0.1
66 - deps: statuses@'>= 1.3.0 < 2'
67 - perf: enable strict mode
68 * deps: range-parser@~1.2.0
69 - Fix incorrectly returning -1 when there is at least one valid range
70 - perf: remove internal function
71 * deps: statuses@~1.3.0
72 - Add `421 Misdirected Request`
73 - perf: enable strict mode
74 * perf: remove argument reassignment
75
760.13.2 / 2016-03-05
77===================
78
79 * Fix invalid `Content-Type` header when `send.mime.default_type` unset
80
810.13.1 / 2016-01-16
82===================
83
84 * deps: depd@~1.1.0
85 - Support web browser loading
86 - perf: enable strict mode
87 * deps: destroy@~1.0.4
88 - perf: enable strict mode
89 * deps: escape-html@~1.0.3
90 - perf: enable strict mode
91 - perf: optimize string replacement
92 - perf: use faster string coercion
93 * deps: range-parser@~1.0.3
94 - perf: enable strict mode
95
960.13.0 / 2015-06-16
97===================
98
99 * Allow Node.js HTTP server to set `Date` response header
100 * Fix incorrectly removing `Content-Location` on 304 response
101 * Improve the default redirect response headers
102 * Send appropriate headers on default error response
103 * Use `http-errors` for standard emitted errors
104 * Use `statuses` instead of `http` module for status messages
105 * deps: escape-html@1.0.2
106 * deps: etag@~1.7.0
107 - Improve stat performance by removing hashing
108 * deps: fresh@0.3.0
109 - Add weak `ETag` matching support
110 * deps: on-finished@~2.3.0
111 - Add defined behavior for HTTP `CONNECT` requests
112 - Add defined behavior for HTTP `Upgrade` requests
113 - deps: ee-first@1.1.1
114 * perf: enable strict mode
115 * perf: remove unnecessary array allocations
116
1170.12.3 / 2015-05-13
118===================
119
120 * deps: debug@~2.2.0
121 - deps: ms@0.7.1
122 * deps: depd@~1.0.1
123 * deps: etag@~1.6.0
124 - Improve support for JXcore
125 - Support "fake" stats objects in environments without `fs`
126 * deps: ms@0.7.1
127 - Prevent extraordinarily long inputs
128 * deps: on-finished@~2.2.1
129
1300.12.2 / 2015-03-13
131===================
132
133 * Throw errors early for invalid `extensions` or `index` options
134 * deps: debug@~2.1.3
135 - Fix high intensity foreground color for bold
136 - deps: ms@0.7.0
137
1380.12.1 / 2015-02-17
139===================
140
141 * Fix regression sending zero-length files
142
1430.12.0 / 2015-02-16
144===================
145
146 * Always read the stat size from the file
147 * Fix mutating passed-in `options`
148 * deps: mime@1.3.4
149
1500.11.1 / 2015-01-20
151===================
152
153 * Fix `root` path disclosure
154
1550.11.0 / 2015-01-05
156===================
157
158 * deps: debug@~2.1.1
159 * deps: etag@~1.5.1
160 - deps: crc@3.2.1
161 * deps: ms@0.7.0
162 - Add `milliseconds`
163 - Add `msecs`
164 - Add `secs`
165 - Add `mins`
166 - Add `hrs`
167 - Add `yrs`
168 * deps: on-finished@~2.2.0
169
1700.10.1 / 2014-10-22
171===================
172
173 * deps: on-finished@~2.1.1
174 - Fix handling of pipelined requests
175
1760.10.0 / 2014-10-15
177===================
178
179 * deps: debug@~2.1.0
180 - Implement `DEBUG_FD` env variable support
181 * deps: depd@~1.0.0
182 * deps: etag@~1.5.0
183 - Improve string performance
184 - Slightly improve speed for weak ETags over 1KB
185
1860.9.3 / 2014-09-24
187==================
188
189 * deps: etag@~1.4.0
190 - Support "fake" stats objects
191
1920.9.2 / 2014-09-15
193==================
194
195 * deps: depd@0.4.5
196 * deps: etag@~1.3.1
197 * deps: range-parser@~1.0.2
198
1990.9.1 / 2014-09-07
200==================
201
202 * deps: fresh@0.2.4
203
2040.9.0 / 2014-09-07
205==================
206
207 * Add `lastModified` option
208 * Use `etag` to generate `ETag` header
209 * deps: debug@~2.0.0
210
2110.8.5 / 2014-09-04
212==================
213
214 * Fix malicious path detection for empty string path
215
2160.8.4 / 2014-09-04
217==================
218
219 * Fix a path traversal issue when using `root`
220
2210.8.3 / 2014-08-16
222==================
223
224 * deps: destroy@1.0.3
225 - renamed from dethroy
226 * deps: on-finished@2.1.0
227
2280.8.2 / 2014-08-14
229==================
230
231 * Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
232 * deps: dethroy@1.0.2
233
2340.8.1 / 2014-08-05
235==================
236
237 * Fix `extensions` behavior when file already has extension
238
2390.8.0 / 2014-08-05
240==================
241
242 * Add `extensions` option
243
2440.7.4 / 2014-08-04
245==================
246
247 * Fix serving index files without root dir
248
2490.7.3 / 2014-07-29
250==================
251
252 * Fix incorrect 403 on Windows and Node.js 0.11
253
2540.7.2 / 2014-07-27
255==================
256
257 * deps: depd@0.4.4
258 - Work-around v8 generating empty stack traces
259
2600.7.1 / 2014-07-26
261==================
262
263 * deps: depd@0.4.3
264 - Fix exception when global `Error.stackTraceLimit` is too low
265
2660.7.0 / 2014-07-20
267==================
268
269 * Deprecate `hidden` option; use `dotfiles` option
270 * Add `dotfiles` option
271 * deps: debug@1.0.4
272 * deps: depd@0.4.2
273 - Add `TRACE_DEPRECATION` environment variable
274 - Remove non-standard grey color from color output
275 - Support `--no-deprecation` argument
276 - Support `--trace-deprecation` argument
277
2780.6.0 / 2014-07-11
279==================
280
281 * Deprecate `from` option; use `root` option
282 * Deprecate `send.etag()` -- use `etag` in `options`
283 * Deprecate `send.hidden()` -- use `hidden` in `options`
284 * Deprecate `send.index()` -- use `index` in `options`
285 * Deprecate `send.maxage()` -- use `maxAge` in `options`
286 * Deprecate `send.root()` -- use `root` in `options`
287 * Cap `maxAge` value to 1 year
288 * deps: debug@1.0.3
289 - Add support for multiple wildcards in namespaces
290
2910.5.0 / 2014-06-28
292==================
293
294 * Accept string for `maxAge` (converted by `ms`)
295 * Add `headers` event
296 * Include link in default redirect response
297 * Use `EventEmitter.listenerCount` to count listeners
298
2990.4.3 / 2014-06-11
300==================
301
302 * Do not throw un-catchable error on file open race condition
303 * Use `escape-html` for HTML escaping
304 * deps: debug@1.0.2
305 - fix some debugging output colors on node.js 0.8
306 * deps: finished@1.2.2
307 * deps: fresh@0.2.2
308
3090.4.2 / 2014-06-09
310==================
311
312 * fix "event emitter leak" warnings
313 * deps: debug@1.0.1
314 * deps: finished@1.2.1
315
3160.4.1 / 2014-06-02
317==================
318
319 * Send `max-age` in `Cache-Control` in correct format
320
3210.4.0 / 2014-05-27
322==================
323
324 * Calculate ETag with md5 for reduced collisions
325 * Fix wrong behavior when index file matches directory
326 * Ignore stream errors after request ends
327 - Goodbye `EBADF, read`
328 * Skip directories in index file search
329 * deps: debug@0.8.1
330
3310.3.0 / 2014-04-24
332==================
333
334 * Fix sending files with dots without root set
335 * Coerce option types
336 * Accept API options in options object
337 * Set etags to "weak"
338 * Include file path in etag
339 * Make "Can't set headers after they are sent." catchable
340 * Send full entity-body for multi range requests
341 * Default directory access to 403 when index disabled
342 * Support multiple index paths
343 * Support "If-Range" header
344 * Control whether to generate etags
345 * deps: mime@1.2.11
346
3470.2.0 / 2014-01-29
348==================
349
350 * update range-parser and fresh
351
3520.1.4 / 2013-08-11
353==================
354
355 * update fresh
356
3570.1.3 / 2013-07-08
358==================
359
360 * Revert "Fix fd leak"
361
3620.1.2 / 2013-07-03
363==================
364
365 * Fix fd leak
366
3670.1.0 / 2012-08-25
368==================
369
370 * add options parameter to send() that is passed to fs.createReadStream() [kanongil]
371
3720.0.4 / 2012-08-16
373==================
374
375 * allow custom "Accept-Ranges" definition
376
3770.0.3 / 2012-07-16
378==================
379
380 * fix normalization of the root directory. Closes #3
381
3820.0.2 / 2012-07-09
383==================
384
385 * add passing of req explicitly for now (YUCK)
386
3870.0.1 / 2010-01-03
388==================
389
390 * Initial release
391
\No newline at end of file