deps: finalhandler@0.5.1
[express.git] / History.md
blob39e64c441a6d01d077fbad2b0f62059a8fe48342
1 unreleased
2 ==========
4   * deps: content-disposition@0.5.2
5   * deps: finalhandler@0.5.1
6     - Fix exception when `err.headers` is not an object
7     - deps: statuses@~1.3.1
8     - perf: hoist regular expressions
9     - perf: remove duplicate validation path
10   * deps: proxy-addr@~1.1.3
11     - deps: ipaddr.js@1.2.0
13 4.14.0 / 2016-06-16
14 ===================
16   * Add `acceptRanges` option to `res.sendFile`/`res.sendfile`
17   * Add `cacheControl` option to `res.sendFile`/`res.sendfile`
18   * Add `options` argument to `req.range`
19     - Includes the `combine` option
20   * Encode URL in `res.location`/`res.redirect` if not already encoded
21   * Fix some redirect handling in `res.sendFile`/`res.sendfile`
22   * Fix Windows absolute path check using forward slashes
23   * Improve error with invalid arguments to `req.get()`
24   * Improve performance for `res.json`/`res.jsonp` in most cases
25   * Improve `Range` header handling in `res.sendFile`/`res.sendfile`
26   * deps: accepts@~1.3.3
27     - Fix including type extensions in parameters in `Accept` parsing
28     - Fix parsing `Accept` parameters with quoted equals
29     - Fix parsing `Accept` parameters with quoted semicolons
30     - Many performance improvments
31     - deps: mime-types@~2.1.11
32     - deps: negotiator@0.6.1
33   * deps: content-type@~1.0.2
34     - perf: enable strict mode
35   * deps: cookie@0.3.1
36     - Add `sameSite` option
37     - Fix cookie `Max-Age` to never be a floating point number
38     - Improve error message when `encode` is not a function
39     - Improve error message when `expires` is not a `Date`
40     - Throw better error for invalid argument to parse
41     - Throw on invalid values provided to `serialize`
42     - perf: enable strict mode
43     - perf: hoist regular expression
44     - perf: use for loop in parse
45     - perf: use string concatination for serialization
46   * deps: finalhandler@0.5.0
47     - Change invalid or non-numeric status code to 500
48     - Overwrite status message to match set status code
49     - Prefer `err.statusCode` if `err.status` is invalid
50     - Set response headers from `err.headers` object
51     - Use `statuses` instead of `http` module for status messages
52   * deps: proxy-addr@~1.1.2
53     - Fix accepting various invalid netmasks
54     - Fix IPv6-mapped IPv4 validation edge cases
55     - IPv4 netmasks must be contingous
56     - IPv6 addresses cannot be used as a netmask
57     - deps: ipaddr.js@1.1.1
58   * deps: qs@6.2.0
59     - Add `decoder` option in `parse` function
60   * deps: range-parser@~1.2.0
61     - Add `combine` option to combine overlapping ranges
62     - Fix incorrectly returning -1 when there is at least one valid range
63     - perf: remove internal function
64   * deps: send@0.14.1
65     - Add `acceptRanges` option
66     - Add `cacheControl` option
67     - Attempt to combine multiple ranges into single range
68     - Correctly inherit from `Stream` class
69     - Fix `Content-Range` header in 416 responses when using `start`/`end` options
70     - Fix `Content-Range` header missing from default 416 responses
71     - Fix redirect error when `path` contains raw non-URL characters
72     - Fix redirect when `path` starts with multiple forward slashes
73     - Ignore non-byte `Range` headers
74     - deps: http-errors@~1.5.0
75     - deps: range-parser@~1.2.0
76     - deps: statuses@~1.3.0
77     - perf: remove argument reassignment
78   * deps: serve-static@~1.11.1
79     - Add `acceptRanges` option
80     - Add `cacheControl` option
81     - Attempt to combine multiple ranges into single range
82     - Fix redirect error when `req.url` contains raw non-URL characters
83     - Ignore non-byte `Range` headers
84     - Use status code 301 for redirects
85     - deps: send@0.14.1
86   * deps: type-is@~1.6.13
87     - Fix type error when given invalid type to match against
88     - deps: mime-types@~2.1.11
89   * deps: vary@~1.1.0
90     - Only accept valid field names in the `field` argument
91   * perf: use strict equality when possible
93 4.13.4 / 2016-01-21
94 ===================
96   * deps: content-disposition@0.5.1
97     - perf: enable strict mode
98   * deps: cookie@0.1.5
99     - Throw on invalid values provided to `serialize`
100   * deps: depd@~1.1.0
101     - Support web browser loading
102     - perf: enable strict mode
103   * deps: escape-html@~1.0.3
104     - perf: enable strict mode
105     - perf: optimize string replacement
106     - perf: use faster string coercion
107   * deps: finalhandler@0.4.1
108     - deps: escape-html@~1.0.3
109   * deps: merge-descriptors@1.0.1
110     - perf: enable strict mode
111   * deps: methods@~1.1.2
112     - perf: enable strict mode
113   * deps: parseurl@~1.3.1
114     - perf: enable strict mode
115   * deps: proxy-addr@~1.0.10
116     - deps: ipaddr.js@1.0.5
117     - perf: enable strict mode
118   * deps: range-parser@~1.0.3
119     - perf: enable strict mode
120   * deps: send@0.13.1
121     - deps: depd@~1.1.0
122     - deps: destroy@~1.0.4
123     - deps: escape-html@~1.0.3
124     - deps: range-parser@~1.0.3
125   * deps: serve-static@~1.10.2
126     - deps: escape-html@~1.0.3
127     - deps: parseurl@~1.3.0
128     - deps: send@0.13.1
130 4.13.3 / 2015-08-02
131 ===================
133   * Fix infinite loop condition using `mergeParams: true`
134   * Fix inner numeric indices incorrectly altering parent `req.params`
136 4.13.2 / 2015-07-31
137 ===================
139   * deps: accepts@~1.2.12
140     - deps: mime-types@~2.1.4
141   * deps: array-flatten@1.1.1
142     - perf: enable strict mode
143   * deps: path-to-regexp@0.1.7
144     - Fix regression with escaped round brackets and matching groups
145   * deps: type-is@~1.6.6
146     - deps: mime-types@~2.1.4
148 4.13.1 / 2015-07-05
149 ===================
151   * deps: accepts@~1.2.10
152     - deps: mime-types@~2.1.2
153   * deps: qs@4.0.0
154     - Fix dropping parameters like `hasOwnProperty`
155     - Fix various parsing edge cases
156   * deps: type-is@~1.6.4
157     - deps: mime-types@~2.1.2
158     - perf: enable strict mode
159     - perf: remove argument reassignment
161 4.13.0 / 2015-06-20
162 ===================
164   * Add settings to debug output
165   * Fix `res.format` error when only `default` provided
166   * Fix issue where `next('route')` in `app.param` would incorrectly skip values
167   * Fix hiding platform issues with `decodeURIComponent`
168     - Only `URIError`s are a 400
169   * Fix using `*` before params in routes
170   * Fix using capture groups before params in routes
171   * Simplify `res.cookie` to call `res.append`
172   * Use `array-flatten` module for flattening arrays
173   * deps: accepts@~1.2.9
174     - deps: mime-types@~2.1.1
175     - perf: avoid argument reassignment & argument slice
176     - perf: avoid negotiator recursive construction
177     - perf: enable strict mode
178     - perf: remove unnecessary bitwise operator
179   * deps: cookie@0.1.3
180     - perf: deduce the scope of try-catch deopt
181     - perf: remove argument reassignments
182   * deps: escape-html@1.0.2
183   * deps: etag@~1.7.0
184     - Always include entity length in ETags for hash length extensions
185     - Generate non-Stats ETags using MD5 only (no longer CRC32)
186     - Improve stat performance by removing hashing
187     - Improve support for JXcore
188     - Remove base64 padding in ETags to shorten
189     - Support "fake" stats objects in environments without fs
190     - Use MD5 instead of MD4 in weak ETags over 1KB
191   * deps: finalhandler@0.4.0
192     - Fix a false-positive when unpiping in Node.js 0.8
193     - Support `statusCode` property on `Error` objects
194     - Use `unpipe` module for unpiping requests
195     - deps: escape-html@1.0.2
196     - deps: on-finished@~2.3.0
197     - perf: enable strict mode
198     - perf: remove argument reassignment
199   * deps: fresh@0.3.0
200     - Add weak `ETag` matching support
201   * deps: on-finished@~2.3.0
202     - Add defined behavior for HTTP `CONNECT` requests
203     - Add defined behavior for HTTP `Upgrade` requests
204     - deps: ee-first@1.1.1
205   * deps: path-to-regexp@0.1.6
206   * deps: send@0.13.0
207     - Allow Node.js HTTP server to set `Date` response header
208     - Fix incorrectly removing `Content-Location` on 304 response
209     - Improve the default redirect response headers
210     - Send appropriate headers on default error response
211     - Use `http-errors` for standard emitted errors
212     - Use `statuses` instead of `http` module for status messages
213     - deps: escape-html@1.0.2
214     - deps: etag@~1.7.0
215     - deps: fresh@0.3.0
216     - deps: on-finished@~2.3.0
217     - perf: enable strict mode
218     - perf: remove unnecessary array allocations
219   * deps: serve-static@~1.10.0
220     - Add `fallthrough` option
221     - Fix reading options from options prototype
222     - Improve the default redirect response headers
223     - Malformed URLs now `next()` instead of 400
224     - deps: escape-html@1.0.2
225     - deps: send@0.13.0
226     - perf: enable strict mode
227     - perf: remove argument reassignment
228   * deps: type-is@~1.6.3
229     - deps: mime-types@~2.1.1
230     - perf: reduce try block size
231     - perf: remove bitwise operations
232   * perf: enable strict mode
233   * perf: isolate `app.render` try block
234   * perf: remove argument reassignments in application
235   * perf: remove argument reassignments in request prototype
236   * perf: remove argument reassignments in response prototype
237   * perf: remove argument reassignments in routing
238   * perf: remove argument reassignments in `View`
239   * perf: skip attempting to decode zero length string
240   * perf: use saved reference to `http.STATUS_CODES`
242 4.12.4 / 2015-05-17
243 ===================
245   * deps: accepts@~1.2.7
246     - deps: mime-types@~2.0.11
247     - deps: negotiator@0.5.3
248   * deps: debug@~2.2.0
249     - deps: ms@0.7.1
250   * deps: depd@~1.0.1
251   * deps: etag@~1.6.0
252     - Improve support for JXcore
253     - Support "fake" stats objects in environments without `fs`
254   * deps: finalhandler@0.3.6
255     - deps: debug@~2.2.0
256     - deps: on-finished@~2.2.1
257   * deps: on-finished@~2.2.1
258     - Fix `isFinished(req)` when data buffered
259   * deps: proxy-addr@~1.0.8
260     - deps: ipaddr.js@1.0.1
261   * deps: qs@2.4.2
262    - Fix allowing parameters like `constructor`
263   * deps: send@0.12.3
264     - deps: debug@~2.2.0
265     - deps: depd@~1.0.1
266     - deps: etag@~1.6.0
267     - deps: ms@0.7.1
268     - deps: on-finished@~2.2.1
269   * deps: serve-static@~1.9.3
270     - deps: send@0.12.3
271   * deps: type-is@~1.6.2
272     - deps: mime-types@~2.0.11
274 4.12.3 / 2015-03-17
275 ===================
277   * deps: accepts@~1.2.5
278     - deps: mime-types@~2.0.10
279   * deps: debug@~2.1.3
280     - Fix high intensity foreground color for bold
281     - deps: ms@0.7.0
282   * deps: finalhandler@0.3.4
283     - deps: debug@~2.1.3
284   * deps: proxy-addr@~1.0.7
285     - deps: ipaddr.js@0.1.9
286   * deps: qs@2.4.1
287     - Fix error when parameter `hasOwnProperty` is present
288   * deps: send@0.12.2
289     - Throw errors early for invalid `extensions` or `index` options
290     - deps: debug@~2.1.3
291   * deps: serve-static@~1.9.2
292     - deps: send@0.12.2
293   * deps: type-is@~1.6.1
294     - deps: mime-types@~2.0.10
296 4.12.2 / 2015-03-02
297 ===================
299   * Fix regression where `"Request aborted"` is logged using `res.sendFile`
301 4.12.1 / 2015-03-01
302 ===================
304   * Fix constructing application with non-configurable prototype properties
305   * Fix `ECONNRESET` errors from `res.sendFile` usage
306   * Fix `req.host` when using "trust proxy" hops count
307   * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
308   * Fix wrong `code` on aborted connections from `res.sendFile`
309   * deps: merge-descriptors@1.0.0
311 4.12.0 / 2015-02-23
312 ===================
314   * Fix `"trust proxy"` setting to inherit when app is mounted
315   * Generate `ETag`s for all request responses
316     - No longer restricted to only responses for `GET` and `HEAD` requests
317   * Use `content-type` to parse `Content-Type` headers
318   * deps: accepts@~1.2.4
319     - Fix preference sorting to be stable for long acceptable lists
320     - deps: mime-types@~2.0.9
321     - deps: negotiator@0.5.1
322   * deps: cookie-signature@1.0.6
323   * deps: send@0.12.1
324     - Always read the stat size from the file
325     - Fix mutating passed-in `options`
326     - deps: mime@1.3.4
327   * deps: serve-static@~1.9.1
328     - deps: send@0.12.1
329   * deps: type-is@~1.6.0
330     - fix argument reassignment
331     - fix false-positives in `hasBody` `Transfer-Encoding` check
332     - support wildcard for both type and subtype (`*/*`)
333     - deps: mime-types@~2.0.9
335 4.11.2 / 2015-02-01
336 ===================
338   * Fix `res.redirect` double-calling `res.end` for `HEAD` requests
339   * deps: accepts@~1.2.3
340     - deps: mime-types@~2.0.8
341   * deps: proxy-addr@~1.0.6
342     - deps: ipaddr.js@0.1.8
343   * deps: type-is@~1.5.6
344     - deps: mime-types@~2.0.8
346 4.11.1 / 2015-01-20
347 ===================
349   * deps: send@0.11.1
350     - Fix root path disclosure
351   * deps: serve-static@~1.8.1
352     - Fix redirect loop in Node.js 0.11.14
353     - Fix root path disclosure
354     - deps: send@0.11.1
356 4.11.0 / 2015-01-13
357 ===================
359   * Add `res.append(field, val)` to append headers
360   * Deprecate leading `:` in `name` for `app.param(name, fn)`
361   * Deprecate `req.param()` -- use `req.params`, `req.body`, or `req.query` instead
362   * Deprecate `app.param(fn)`
363   * Fix `OPTIONS` responses to include the `HEAD` method properly
364   * Fix `res.sendFile` not always detecting aborted connection
365   * Match routes iteratively to prevent stack overflows
366   * deps: accepts@~1.2.2
367     - deps: mime-types@~2.0.7
368     - deps: negotiator@0.5.0
369   * deps: send@0.11.0
370     - deps: debug@~2.1.1
371     - deps: etag@~1.5.1
372     - deps: ms@0.7.0
373     - deps: on-finished@~2.2.0
374   * deps: serve-static@~1.8.0
375     - deps: send@0.11.0
377 4.10.8 / 2015-01-13
378 ===================
380   * Fix crash from error within `OPTIONS` response handler
381   * deps: proxy-addr@~1.0.5
382     - deps: ipaddr.js@0.1.6
384 4.10.7 / 2015-01-04
385 ===================
387   * Fix `Allow` header for `OPTIONS` to not contain duplicate methods
388   * Fix incorrect "Request aborted" for `res.sendFile` when `HEAD` or 304
389   * deps: debug@~2.1.1
390   * deps: finalhandler@0.3.3
391     - deps: debug@~2.1.1
392     - deps: on-finished@~2.2.0
393   * deps: methods@~1.1.1
394   * deps: on-finished@~2.2.0
395   * deps: serve-static@~1.7.2
396     - Fix potential open redirect when mounted at root
397   * deps: type-is@~1.5.5
398     - deps: mime-types@~2.0.7
400 4.10.6 / 2014-12-12
401 ===================
403   * Fix exception in `req.fresh`/`req.stale` without response headers
405 4.10.5 / 2014-12-10
406 ===================
408   * Fix `res.send` double-calling `res.end` for `HEAD` requests
409   * deps: accepts@~1.1.4
410     - deps: mime-types@~2.0.4
411   * deps: type-is@~1.5.4
412     - deps: mime-types@~2.0.4
414 4.10.4 / 2014-11-24
415 ===================
417   * Fix `res.sendfile` logging standard write errors
419 4.10.3 / 2014-11-23
420 ===================
422   * Fix `res.sendFile` logging standard write errors
423   * deps: etag@~1.5.1
424   * deps: proxy-addr@~1.0.4
425     - deps: ipaddr.js@0.1.5
426   * deps: qs@2.3.3
427     - Fix `arrayLimit` behavior
429 4.10.2 / 2014-11-09
430 ===================
432   * Correctly invoke async router callback asynchronously
433   * deps: accepts@~1.1.3
434     - deps: mime-types@~2.0.3
435   * deps: type-is@~1.5.3
436     - deps: mime-types@~2.0.3
438 4.10.1 / 2014-10-28
439 ===================
441   * Fix handling of URLs containing `://` in the path
442   * deps: qs@2.3.2
443     - Fix parsing of mixed objects and values
445 4.10.0 / 2014-10-23
446 ===================
448   * Add support for `app.set('views', array)`
449     - Views are looked up in sequence in array of directories
450   * Fix `res.send(status)` to mention `res.sendStatus(status)`
451   * Fix handling of invalid empty URLs
452   * Use `content-disposition` module for `res.attachment`/`res.download`
453     - Sends standards-compliant `Content-Disposition` header
454     - Full Unicode support
455   * Use `path.resolve` in view lookup
456   * deps: debug@~2.1.0
457     - Implement `DEBUG_FD` env variable support
458   * deps: depd@~1.0.0
459   * deps: etag@~1.5.0
460     - Improve string performance
461     - Slightly improve speed for weak ETags over 1KB
462   * deps: finalhandler@0.3.2
463     - Terminate in progress response only on error
464     - Use `on-finished` to determine request status
465     - deps: debug@~2.1.0
466     - deps: on-finished@~2.1.1
467   * deps: on-finished@~2.1.1
468     - Fix handling of pipelined requests
469   * deps: qs@2.3.0
470     - Fix parsing of mixed implicit and explicit arrays
471   * deps: send@0.10.1
472     - deps: debug@~2.1.0
473     - deps: depd@~1.0.0
474     - deps: etag@~1.5.0
475     - deps: on-finished@~2.1.1
476   * deps: serve-static@~1.7.1
477     - deps: send@0.10.1
479 4.9.8 / 2014-10-17
480 ==================
482   * Fix `res.redirect` body when redirect status specified
483   * deps: accepts@~1.1.2
484     - Fix error when media type has invalid parameter
485     - deps: negotiator@0.4.9
487 4.9.7 / 2014-10-10
488 ==================
490   * Fix using same param name in array of paths
492 4.9.6 / 2014-10-08
493 ==================
495   * deps: accepts@~1.1.1
496     - deps: mime-types@~2.0.2
497     - deps: negotiator@0.4.8
498   * deps: serve-static@~1.6.4
499     - Fix redirect loop when index file serving disabled
500   * deps: type-is@~1.5.2
501     - deps: mime-types@~2.0.2
503 4.9.5 / 2014-09-24
504 ==================
506   * deps: etag@~1.4.0
507   * deps: proxy-addr@~1.0.3
508     - Use `forwarded` npm module
509   * deps: send@0.9.3
510     - deps: etag@~1.4.0
511   * deps: serve-static@~1.6.3
512     - deps: send@0.9.3
514 4.9.4 / 2014-09-19
515 ==================
517   * deps: qs@2.2.4
518     - Fix issue with object keys starting with numbers truncated
520 4.9.3 / 2014-09-18
521 ==================
523   * deps: proxy-addr@~1.0.2
524     - Fix a global leak when multiple subnets are trusted
525     - deps: ipaddr.js@0.1.3
527 4.9.2 / 2014-09-17
528 ==================
530   * Fix regression for empty string `path` in `app.use`
531   * Fix `router.use` to accept array of middleware without path
532   * Improve error message for bad `app.use` arguments
534 4.9.1 / 2014-09-16
535 ==================
537   * Fix `app.use` to accept array of middleware without path
538   * deps: depd@0.4.5
539   * deps: etag@~1.3.1
540   * deps: send@0.9.2
541     - deps: depd@0.4.5
542     - deps: etag@~1.3.1
543     - deps: range-parser@~1.0.2
544   * deps: serve-static@~1.6.2
545     - deps: send@0.9.2
547 4.9.0 / 2014-09-08
548 ==================
550   * Add `res.sendStatus`
551   * Invoke callback for sendfile when client aborts
552     - Applies to `res.sendFile`, `res.sendfile`, and `res.download`
553     - `err` will be populated with request aborted error
554   * Support IP address host in `req.subdomains`
555   * Use `etag` to generate `ETag` headers
556   * deps: accepts@~1.1.0
557     - update `mime-types`
558   * deps: cookie-signature@1.0.5
559   * deps: debug@~2.0.0
560   * deps: finalhandler@0.2.0
561     - Set `X-Content-Type-Options: nosniff` header
562     - deps: debug@~2.0.0
563   * deps: fresh@0.2.4
564   * deps: media-typer@0.3.0
565     - Throw error when parameter format invalid on parse
566   * deps: qs@2.2.3
567     - Fix issue where first empty value in array is discarded
568   * deps: range-parser@~1.0.2
569   * deps: send@0.9.1
570     - Add `lastModified` option
571     - Use `etag` to generate `ETag` header
572     - deps: debug@~2.0.0
573     - deps: fresh@0.2.4
574   * deps: serve-static@~1.6.1
575     - Add `lastModified` option
576     - deps: send@0.9.1
577   * deps: type-is@~1.5.1
578     - fix `hasbody` to be true for `content-length: 0`
579     - deps: media-typer@0.3.0
580     - deps: mime-types@~2.0.1
581   * deps: vary@~1.0.0
582     - Accept valid `Vary` header string as `field`
584 4.8.8 / 2014-09-04
585 ==================
587   * deps: send@0.8.5
588     - Fix a path traversal issue when using `root`
589     - Fix malicious path detection for empty string path
590   * deps: serve-static@~1.5.4
591     - deps: send@0.8.5
593 4.8.7 / 2014-08-29
594 ==================
596   * deps: qs@2.2.2
597     - Remove unnecessary cloning
599 4.8.6 / 2014-08-27
600 ==================
602   * deps: qs@2.2.0
603     - Array parsing fix
604     - Performance improvements
606 4.8.5 / 2014-08-18
607 ==================
609   * deps: send@0.8.3
610     - deps: destroy@1.0.3
611     - deps: on-finished@2.1.0
612   * deps: serve-static@~1.5.3
613     - deps: send@0.8.3
615 4.8.4 / 2014-08-14
616 ==================
618   * deps: qs@1.2.2
619   * deps: send@0.8.2
620     - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
621   * deps: serve-static@~1.5.2
622     - deps: send@0.8.2
624 4.8.3 / 2014-08-10
625 ==================
627   * deps: parseurl@~1.3.0
628   * deps: qs@1.2.1
629   * deps: serve-static@~1.5.1
630     - Fix parsing of weird `req.originalUrl` values
631     - deps: parseurl@~1.3.0
632     - deps: utils-merge@1.0.0
634 4.8.2 / 2014-08-07
635 ==================
637   * deps: qs@1.2.0
638     - Fix parsing array of objects
640 4.8.1 / 2014-08-06
641 ==================
643   * fix incorrect deprecation warnings on `res.download`
644   * deps: qs@1.1.0
645     - Accept urlencoded square brackets
646     - Accept empty values in implicit array notation
648 4.8.0 / 2014-08-05
649 ==================
651   * add `res.sendFile`
652     - accepts a file system path instead of a URL
653     - requires an absolute path or `root` option specified
654   * deprecate `res.sendfile` -- use `res.sendFile` instead
655   * support mounted app as any argument to `app.use()`
656   * deps: qs@1.0.2
657     - Complete rewrite
658     - Limits array length to 20
659     - Limits object depth to 5
660     - Limits parameters to 1,000
661   * deps: send@0.8.1
662     - Add `extensions` option
663   * deps: serve-static@~1.5.0
664     - Add `extensions` option
665     - deps: send@0.8.1
667 4.7.4 / 2014-08-04
668 ==================
670   * fix `res.sendfile` regression for serving directory index files
671   * deps: send@0.7.4
672     - Fix incorrect 403 on Windows and Node.js 0.11
673     - Fix serving index files without root dir
674   * deps: serve-static@~1.4.4
675     - deps: send@0.7.4
677 4.7.3 / 2014-08-04
678 ==================
680   * deps: send@0.7.3
681     - Fix incorrect 403 on Windows and Node.js 0.11
682   * deps: serve-static@~1.4.3
683     - Fix incorrect 403 on Windows and Node.js 0.11
684     - deps: send@0.7.3
686 4.7.2 / 2014-07-27
687 ==================
689   * deps: depd@0.4.4
690     - Work-around v8 generating empty stack traces
691   * deps: send@0.7.2
692     - deps: depd@0.4.4
693   * deps: serve-static@~1.4.2
695 4.7.1 / 2014-07-26
696 ==================
698   * deps: depd@0.4.3
699     - Fix exception when global `Error.stackTraceLimit` is too low
700   * deps: send@0.7.1
701     - deps: depd@0.4.3
702   * deps: serve-static@~1.4.1
704 4.7.0 / 2014-07-25
705 ==================
707   * fix `req.protocol` for proxy-direct connections
708   * configurable query parser with `app.set('query parser', parser)`
709     - `app.set('query parser', 'extended')` parse with "qs" module
710     - `app.set('query parser', 'simple')` parse with "querystring" core module
711     - `app.set('query parser', false)` disable query string parsing
712     - `app.set('query parser', true)` enable simple parsing
713   * deprecate `res.json(status, obj)` -- use `res.status(status).json(obj)` instead
714   * deprecate `res.jsonp(status, obj)` -- use `res.status(status).jsonp(obj)` instead
715   * deprecate `res.send(status, body)` -- use `res.status(status).send(body)` instead
716   * deps: debug@1.0.4
717   * deps: depd@0.4.2
718     - Add `TRACE_DEPRECATION` environment variable
719     - Remove non-standard grey color from color output
720     - Support `--no-deprecation` argument
721     - Support `--trace-deprecation` argument
722   * deps: finalhandler@0.1.0
723     - Respond after request fully read
724     - deps: debug@1.0.4
725   * deps: parseurl@~1.2.0
726     - Cache URLs based on original value
727     - Remove no-longer-needed URL mis-parse work-around
728     - Simplify the "fast-path" `RegExp`
729   * deps: send@0.7.0
730     - Add `dotfiles` option
731     - Cap `maxAge` value to 1 year
732     - deps: debug@1.0.4
733     - deps: depd@0.4.2
734   * deps: serve-static@~1.4.0
735     - deps: parseurl@~1.2.0
736     - deps: send@0.7.0
737   * perf: prevent multiple `Buffer` creation in `res.send`
739 4.6.1 / 2014-07-12
740 ==================
742   * fix `subapp.mountpath` regression for `app.use(subapp)`
744 4.6.0 / 2014-07-11
745 ==================
747   * accept multiple callbacks to `app.use()`
748   * add explicit "Rosetta Flash JSONP abuse" protection
749     - previous versions are not vulnerable; this is just explicit protection
750   * catch errors in multiple `req.param(name, fn)` handlers
751   * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
752   * fix `res.send(status, num)` to send `num` as json (not error)
753   * remove unnecessary escaping when `res.jsonp` returns JSON response
754   * support non-string `path` in `app.use(path, fn)`
755     - supports array of paths
756     - supports `RegExp`
757   * router: fix optimization on router exit
758   * router: refactor location of `try` blocks
759   * router: speed up standard `app.use(fn)`
760   * deps: debug@1.0.3
761     - Add support for multiple wildcards in namespaces
762   * deps: finalhandler@0.0.3
763     - deps: debug@1.0.3
764   * deps: methods@1.1.0
765     - add `CONNECT`
766   * deps: parseurl@~1.1.3
767     - faster parsing of href-only URLs
768   * deps: path-to-regexp@0.1.3
769   * deps: send@0.6.0
770     - deps: debug@1.0.3
771   * deps: serve-static@~1.3.2
772     - deps: parseurl@~1.1.3
773     - deps: send@0.6.0
774   * perf: fix arguments reassign deopt in some `res` methods
776 4.5.1 / 2014-07-06
777 ==================
779  * fix routing regression when altering `req.method`
781 4.5.0 / 2014-07-04
782 ==================
784  * add deprecation message to non-plural `req.accepts*`
785  * add deprecation message to `res.send(body, status)`
786  * add deprecation message to `res.vary()`
787  * add `headers` option to `res.sendfile`
788    - use to set headers on successful file transfer
789  * add `mergeParams` option to `Router`
790    - merges `req.params` from parent routes
791  * add `req.hostname` -- correct name for what `req.host` returns
792  * deprecate things with `depd` module
793  * deprecate `req.host` -- use `req.hostname` instead
794  * fix behavior when handling request without routes
795  * fix handling when `route.all` is only route
796  * invoke `router.param()` only when route matches
797  * restore `req.params` after invoking router
798  * use `finalhandler` for final response handling
799  * use `media-typer` to alter content-type charset
800  * deps: accepts@~1.0.7
801  * deps: send@0.5.0
802    - Accept string for `maxage` (converted by `ms`)
803    - Include link in default redirect response
804  * deps: serve-static@~1.3.0
805    - Accept string for `maxAge` (converted by `ms`)
806    - Add `setHeaders` option
807    - Include HTML link in redirect response
808    - deps: send@0.5.0
809  * deps: type-is@~1.3.2
811 4.4.5 / 2014-06-26
812 ==================
814  * deps: cookie-signature@1.0.4
815    - fix for timing attacks
817 4.4.4 / 2014-06-20
818 ==================
820  * fix `res.attachment` Unicode filenames in Safari
821  * fix "trim prefix" debug message in `express:router`
822  * deps: accepts@~1.0.5
823  * deps: buffer-crc32@0.2.3
825 4.4.3 / 2014-06-11
826 ==================
828  * fix persistence of modified `req.params[name]` from `app.param()`
829  * deps: accepts@1.0.3
830    - deps: negotiator@0.4.6
831  * deps: debug@1.0.2
832  * deps: send@0.4.3
833    - Do not throw un-catchable error on file open race condition
834    - Use `escape-html` for HTML escaping
835    - deps: debug@1.0.2
836    - deps: finished@1.2.2
837    - deps: fresh@0.2.2
838  * deps: serve-static@1.2.3
839    - Do not throw un-catchable error on file open race condition
840    - deps: send@0.4.3
842 4.4.2 / 2014-06-09
843 ==================
845  * fix catching errors from top-level handlers
846  * use `vary` module for `res.vary`
847  * deps: debug@1.0.1
848  * deps: proxy-addr@1.0.1
849  * deps: send@0.4.2
850    - fix "event emitter leak" warnings
851    - deps: debug@1.0.1
852    - deps: finished@1.2.1
853  * deps: serve-static@1.2.2
854    - fix "event emitter leak" warnings
855    - deps: send@0.4.2
856  * deps: type-is@1.2.1
858 4.4.1 / 2014-06-02
859 ==================
861  * deps: methods@1.0.1
862  * deps: send@0.4.1
863    - Send `max-age` in `Cache-Control` in correct format
864  * deps: serve-static@1.2.1
865    - use `escape-html` for escaping
866    - deps: send@0.4.1
868 4.4.0 / 2014-05-30
869 ==================
871  * custom etag control with `app.set('etag', val)`
872    - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
873    - `app.set('etag', 'weak')` weak tag
874    - `app.set('etag', 'strong')` strong etag
875    - `app.set('etag', false)` turn off
876    - `app.set('etag', true)` standard etag
877  * mark `res.send` ETag as weak and reduce collisions
878  * update accepts to 1.0.2
879    - Fix interpretation when header not in request
880  * update send to 0.4.0
881    - Calculate ETag with md5 for reduced collisions
882    - Ignore stream errors after request ends
883    - deps: debug@0.8.1
884  * update serve-static to 1.2.0
885    - Calculate ETag with md5 for reduced collisions
886    - Ignore stream errors after request ends
887    - deps: send@0.4.0
889 4.3.2 / 2014-05-28
890 ==================
892  * fix handling of errors from `router.param()` callbacks
894 4.3.1 / 2014-05-23
895 ==================
897  * revert "fix behavior of multiple `app.VERB` for the same path"
898    - this caused a regression in the order of route execution
900 4.3.0 / 2014-05-21
901 ==================
903  * add `req.baseUrl` to access the path stripped from `req.url` in routes
904  * fix behavior of multiple `app.VERB` for the same path
905  * fix issue routing requests among sub routers
906  * invoke `router.param()` only when necessary instead of every match
907  * proper proxy trust with `app.set('trust proxy', trust)`
908    - `app.set('trust proxy', 1)` trust first hop
909    - `app.set('trust proxy', 'loopback')` trust loopback addresses
910    - `app.set('trust proxy', '10.0.0.1')` trust single IP
911    - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
912    - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
913    - `app.set('trust proxy', false)` turn off
914    - `app.set('trust proxy', true)` trust everything
915  * set proper `charset` in `Content-Type` for `res.send`
916  * update type-is to 1.2.0
917    - support suffix matching
919 4.2.0 / 2014-05-11
920 ==================
922  * deprecate `app.del()` -- use `app.delete()` instead
923  * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
924    - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
925  * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
926    - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
927  * fix `req.next` when inside router instance
928  * include `ETag` header in `HEAD` requests
929  * keep previous `Content-Type` for `res.jsonp`
930  * support PURGE method
931    - add `app.purge`
932    - add `router.purge`
933    - include PURGE in `app.all`
934  * update debug to 0.8.0
935    - add `enable()` method
936    - change from stderr to stdout
937  * update methods to 1.0.0
938    - add PURGE
940 4.1.2 / 2014-05-08
941 ==================
943  * fix `req.host` for IPv6 literals
944  * fix `res.jsonp` error if callback param is object
946 4.1.1 / 2014-04-27
947 ==================
949  * fix package.json to reflect supported node version
951 4.1.0 / 2014-04-24
952 ==================
954  * pass options from `res.sendfile` to `send`
955  * preserve casing of headers in `res.header` and `res.set`
956  * support unicode file names in `res.attachment` and `res.download`
957  * update accepts to 1.0.1
958    - deps: negotiator@0.4.0
959  * update cookie to 0.1.2
960    - Fix for maxAge == 0
961    - made compat with expires field
962  * update send to 0.3.0
963    - Accept API options in options object
964    - Coerce option types
965    - Control whether to generate etags
966    - Default directory access to 403 when index disabled
967    - Fix sending files with dots without root set
968    - Include file path in etag
969    - Make "Can't set headers after they are sent." catchable
970    - Send full entity-body for multi range requests
971    - Set etags to "weak"
972    - Support "If-Range" header
973    - Support multiple index paths
974    - deps: mime@1.2.11
975  * update serve-static to 1.1.0
976    - Accept options directly to `send` module
977    - Resolve relative paths at middleware setup
978    - Use parseurl to parse the URL from request
979    - deps: send@0.3.0
980  * update type-is to 1.1.0
981    - add non-array values support
982    - add `multipart` as a shorthand
984 4.0.0 / 2014-04-09
985 ==================
987  * remove:
988    - node 0.8 support
989    - connect and connect's patches except for charset handling
990    - express(1) - moved to [express-generator](https://github.com/expressjs/generator)
991    - `express.createServer()` - it has been deprecated for a long time. Use `express()`
992    - `app.configure` - use logic in your own app code
993    - `app.router` - is removed
994    - `req.auth` - use `basic-auth` instead
995    - `req.accepted*` - use `req.accepts*()` instead
996    - `res.location` - relative URL resolution is removed
997    - `res.charset` - include the charset in the content type when using `res.set()`
998    - all bundled middleware except `static`
999  * change:
1000    - `app.route` -> `app.mountpath` when mounting an express app in another express app
1001    - `json spaces` no longer enabled by default in development
1002    - `req.accepts*` -> `req.accepts*s` - i.e. `req.acceptsEncoding` -> `req.acceptsEncodings`
1003    - `req.params` is now an object instead of an array
1004    - `res.locals` is no longer a function. It is a plain js object. Treat it as such.
1005    - `res.headerSent` -> `res.headersSent` to match node.js ServerResponse object
1006  * refactor:
1007    - `req.accepts*` with [accepts](https://github.com/expressjs/accepts)
1008    - `req.is` with [type-is](https://github.com/expressjs/type-is)
1009    - [path-to-regexp](https://github.com/component/path-to-regexp)
1010  * add:
1011    - `app.router()` - returns the app Router instance
1012    - `app.route()` - Proxy to the app's `Router#route()` method to create a new route
1013    - Router & Route - public API
1015 3.21.2 / 2015-07-31
1016 ===================
1018   * deps: connect@2.30.2
1019     - deps: body-parser@~1.13.3
1020     - deps: compression@~1.5.2
1021     - deps: errorhandler@~1.4.2
1022     - deps: method-override@~2.3.5
1023     - deps: serve-index@~1.7.2
1024     - deps: type-is@~1.6.6
1025     - deps: vhost@~3.0.1
1026   * deps: vary@~1.0.1
1027     - Fix setting empty header from empty `field`
1028     - perf: enable strict mode
1029     - perf: remove argument reassignments
1031 3.21.1 / 2015-07-05
1032 ===================
1034   * deps: basic-auth@~1.0.3
1035   * deps: connect@2.30.1
1036     - deps: body-parser@~1.13.2
1037     - deps: compression@~1.5.1
1038     - deps: errorhandler@~1.4.1
1039     - deps: morgan@~1.6.1
1040     - deps: pause@0.1.0
1041     - deps: qs@4.0.0
1042     - deps: serve-index@~1.7.1
1043     - deps: type-is@~1.6.4
1045 3.21.0 / 2015-06-18
1046 ===================
1048   * deps: basic-auth@1.0.2
1049     - perf: enable strict mode
1050     - perf: hoist regular expression
1051     - perf: parse with regular expressions
1052     - perf: remove argument reassignment
1053   * deps: connect@2.30.0
1054     - deps: body-parser@~1.13.1
1055     - deps: bytes@2.1.0
1056     - deps: compression@~1.5.0
1057     - deps: cookie@0.1.3
1058     - deps: cookie-parser@~1.3.5
1059     - deps: csurf@~1.8.3
1060     - deps: errorhandler@~1.4.0
1061     - deps: express-session@~1.11.3
1062     - deps: finalhandler@0.4.0
1063     - deps: fresh@0.3.0
1064     - deps: morgan@~1.6.0
1065     - deps: serve-favicon@~2.3.0
1066     - deps: serve-index@~1.7.0
1067     - deps: serve-static@~1.10.0
1068     - deps: type-is@~1.6.3
1069   * deps: cookie@0.1.3
1070     - perf: deduce the scope of try-catch deopt
1071     - perf: remove argument reassignments
1072   * deps: escape-html@1.0.2
1073   * deps: etag@~1.7.0
1074     - Always include entity length in ETags for hash length extensions
1075     - Generate non-Stats ETags using MD5 only (no longer CRC32)
1076     - Improve stat performance by removing hashing
1077     - Improve support for JXcore
1078     - Remove base64 padding in ETags to shorten
1079     - Support "fake" stats objects in environments without fs
1080     - Use MD5 instead of MD4 in weak ETags over 1KB
1081   * deps: fresh@0.3.0
1082     - Add weak `ETag` matching support
1083   * deps: mkdirp@0.5.1
1084     - Work in global strict mode
1085   * deps: send@0.13.0
1086     - Allow Node.js HTTP server to set `Date` response header
1087     - Fix incorrectly removing `Content-Location` on 304 response
1088     - Improve the default redirect response headers
1089     - Send appropriate headers on default error response
1090     - Use `http-errors` for standard emitted errors
1091     - Use `statuses` instead of `http` module for status messages
1092     - deps: escape-html@1.0.2
1093     - deps: etag@~1.7.0
1094     - deps: fresh@0.3.0
1095     - deps: on-finished@~2.3.0
1096     - perf: enable strict mode
1097     - perf: remove unnecessary array allocations
1099 3.20.3 / 2015-05-17
1100 ===================
1102   * deps: connect@2.29.2
1103     - deps: body-parser@~1.12.4
1104     - deps: compression@~1.4.4
1105     - deps: connect-timeout@~1.6.2
1106     - deps: debug@~2.2.0
1107     - deps: depd@~1.0.1
1108     - deps: errorhandler@~1.3.6
1109     - deps: finalhandler@0.3.6
1110     - deps: method-override@~2.3.3
1111     - deps: morgan@~1.5.3
1112     - deps: qs@2.4.2
1113     - deps: response-time@~2.3.1
1114     - deps: serve-favicon@~2.2.1
1115     - deps: serve-index@~1.6.4
1116     - deps: serve-static@~1.9.3
1117     - deps: type-is@~1.6.2
1118   * deps: debug@~2.2.0
1119     - deps: ms@0.7.1
1120   * deps: depd@~1.0.1
1121   * deps: proxy-addr@~1.0.8
1122     - deps: ipaddr.js@1.0.1
1123   * deps: send@0.12.3
1124     - deps: debug@~2.2.0
1125     - deps: depd@~1.0.1
1126     - deps: etag@~1.6.0
1127     - deps: ms@0.7.1
1128     - deps: on-finished@~2.2.1
1130 3.20.2 / 2015-03-16
1131 ===================
1133   * deps: connect@2.29.1
1134     - deps: body-parser@~1.12.2
1135     - deps: compression@~1.4.3
1136     - deps: connect-timeout@~1.6.1
1137     - deps: debug@~2.1.3
1138     - deps: errorhandler@~1.3.5
1139     - deps: express-session@~1.10.4
1140     - deps: finalhandler@0.3.4
1141     - deps: method-override@~2.3.2
1142     - deps: morgan@~1.5.2
1143     - deps: qs@2.4.1
1144     - deps: serve-index@~1.6.3
1145     - deps: serve-static@~1.9.2
1146     - deps: type-is@~1.6.1
1147   * deps: debug@~2.1.3
1148     - Fix high intensity foreground color for bold
1149     - deps: ms@0.7.0
1150   * deps: merge-descriptors@1.0.0
1151   * deps: proxy-addr@~1.0.7
1152     - deps: ipaddr.js@0.1.9
1153   * deps: send@0.12.2
1154     - Throw errors early for invalid `extensions` or `index` options
1155     - deps: debug@~2.1.3
1157 3.20.1 / 2015-02-28
1158 ===================
1160   * Fix `req.host` when using "trust proxy" hops count
1161   * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
1163 3.20.0 / 2015-02-18
1164 ===================
1166   * Fix `"trust proxy"` setting to inherit when app is mounted
1167   * Generate `ETag`s for all request responses
1168     - No longer restricted to only responses for `GET` and `HEAD` requests
1169   * Use `content-type` to parse `Content-Type` headers
1170   * deps: connect@2.29.0
1171     - Use `content-type` to parse `Content-Type` headers
1172     - deps: body-parser@~1.12.0
1173     - deps: compression@~1.4.1
1174     - deps: connect-timeout@~1.6.0
1175     - deps: cookie-parser@~1.3.4
1176     - deps: cookie-signature@1.0.6
1177     - deps: csurf@~1.7.0
1178     - deps: errorhandler@~1.3.4
1179     - deps: express-session@~1.10.3
1180     - deps: http-errors@~1.3.1
1181     - deps: response-time@~2.3.0
1182     - deps: serve-index@~1.6.2
1183     - deps: serve-static@~1.9.1
1184     - deps: type-is@~1.6.0
1185   * deps: cookie-signature@1.0.6
1186   * deps: send@0.12.1
1187     - Always read the stat size from the file
1188     - Fix mutating passed-in `options`
1189     - deps: mime@1.3.4
1191 3.19.2 / 2015-02-01
1192 ===================
1194   * deps: connect@2.28.3
1195     - deps: compression@~1.3.1
1196     - deps: csurf@~1.6.6
1197     - deps: errorhandler@~1.3.3
1198     - deps: express-session@~1.10.2
1199     - deps: serve-index@~1.6.1
1200     - deps: type-is@~1.5.6
1201   * deps: proxy-addr@~1.0.6
1202     - deps: ipaddr.js@0.1.8
1204 3.19.1 / 2015-01-20
1205 ===================
1207   * deps: connect@2.28.2
1208     - deps: body-parser@~1.10.2
1209     - deps: serve-static@~1.8.1
1210   * deps: send@0.11.1
1211     - Fix root path disclosure
1213 3.19.0 / 2015-01-09
1214 ===================
1216   * Fix `OPTIONS` responses to include the `HEAD` method property
1217   * Use `readline` for prompt in `express(1)`
1218   * deps: commander@2.6.0
1219   * deps: connect@2.28.1
1220     - deps: body-parser@~1.10.1
1221     - deps: compression@~1.3.0
1222     - deps: connect-timeout@~1.5.0
1223     - deps: csurf@~1.6.4
1224     - deps: debug@~2.1.1
1225     - deps: errorhandler@~1.3.2
1226     - deps: express-session@~1.10.1
1227     - deps: finalhandler@0.3.3
1228     - deps: method-override@~2.3.1
1229     - deps: morgan@~1.5.1
1230     - deps: serve-favicon@~2.2.0
1231     - deps: serve-index@~1.6.0
1232     - deps: serve-static@~1.8.0
1233     - deps: type-is@~1.5.5
1234   * deps: debug@~2.1.1
1235   * deps: methods@~1.1.1
1236   * deps: proxy-addr@~1.0.5
1237     - deps: ipaddr.js@0.1.6
1238   * deps: send@0.11.0
1239     - deps: debug@~2.1.1
1240     - deps: etag@~1.5.1
1241     - deps: ms@0.7.0
1242     - deps: on-finished@~2.2.0
1244 3.18.6 / 2014-12-12
1245 ===================
1247   * Fix exception in `req.fresh`/`req.stale` without response headers
1249 3.18.5 / 2014-12-11
1250 ===================
1252   * deps: connect@2.27.6
1253     - deps: compression@~1.2.2
1254     - deps: express-session@~1.9.3
1255     - deps: http-errors@~1.2.8
1256     - deps: serve-index@~1.5.3
1257     - deps: type-is@~1.5.4
1259 3.18.4 / 2014-11-23
1260 ===================
1262   * deps: connect@2.27.4
1263     - deps: body-parser@~1.9.3
1264     - deps: compression@~1.2.1
1265     - deps: errorhandler@~1.2.3
1266     - deps: express-session@~1.9.2
1267     - deps: qs@2.3.3
1268     - deps: serve-favicon@~2.1.7
1269     - deps: serve-static@~1.5.1
1270     - deps: type-is@~1.5.3
1271   * deps: etag@~1.5.1
1272   * deps: proxy-addr@~1.0.4
1273     - deps: ipaddr.js@0.1.5
1275 3.18.3 / 2014-11-09
1276 ===================
1278   * deps: connect@2.27.3
1279     - Correctly invoke async callback asynchronously
1280     - deps: csurf@~1.6.3
1282 3.18.2 / 2014-10-28
1283 ===================
1285   * deps: connect@2.27.2
1286     - Fix handling of URLs containing `://` in the path
1287     - deps: body-parser@~1.9.2
1288     - deps: qs@2.3.2
1290 3.18.1 / 2014-10-22
1291 ===================
1293   * Fix internal `utils.merge` deprecation warnings
1294   * deps: connect@2.27.1
1295     - deps: body-parser@~1.9.1
1296     - deps: express-session@~1.9.1
1297     - deps: finalhandler@0.3.2
1298     - deps: morgan@~1.4.1
1299     - deps: qs@2.3.0
1300     - deps: serve-static@~1.7.1
1301   * deps: send@0.10.1
1302     - deps: on-finished@~2.1.1
1304 3.18.0 / 2014-10-17
1305 ===================
1307   * Use `content-disposition` module for `res.attachment`/`res.download`
1308     - Sends standards-compliant `Content-Disposition` header
1309     - Full Unicode support
1310   * Use `etag` module to generate `ETag` headers
1311   * deps: connect@2.27.0
1312     - Use `http-errors` module for creating errors
1313     - Use `utils-merge` module for merging objects
1314     - deps: body-parser@~1.9.0
1315     - deps: compression@~1.2.0
1316     - deps: connect-timeout@~1.4.0
1317     - deps: debug@~2.1.0
1318     - deps: depd@~1.0.0
1319     - deps: express-session@~1.9.0
1320     - deps: finalhandler@0.3.1
1321     - deps: method-override@~2.3.0
1322     - deps: morgan@~1.4.0
1323     - deps: response-time@~2.2.0
1324     - deps: serve-favicon@~2.1.6
1325     - deps: serve-index@~1.5.0
1326     - deps: serve-static@~1.7.0
1327   * deps: debug@~2.1.0
1328     - Implement `DEBUG_FD` env variable support
1329   * deps: depd@~1.0.0
1330   * deps: send@0.10.0
1331     - deps: debug@~2.1.0
1332     - deps: depd@~1.0.0
1333     - deps: etag@~1.5.0
1335 3.17.8 / 2014-10-15
1336 ===================
1338   * deps: connect@2.26.6
1339     - deps: compression@~1.1.2
1340     - deps: csurf@~1.6.2
1341     - deps: errorhandler@~1.2.2
1343 3.17.7 / 2014-10-08
1344 ===================
1346   * deps: connect@2.26.5
1347     - Fix accepting non-object arguments to `logger`
1348     - deps: serve-static@~1.6.4
1350 3.17.6 / 2014-10-02
1351 ===================
1353   * deps: connect@2.26.4
1354     - deps: morgan@~1.3.2
1355     - deps: type-is@~1.5.2
1357 3.17.5 / 2014-09-24
1358 ===================
1360   * deps: connect@2.26.3
1361     - deps: body-parser@~1.8.4
1362     - deps: serve-favicon@~2.1.5
1363     - deps: serve-static@~1.6.3
1364   * deps: proxy-addr@~1.0.3
1365     - Use `forwarded` npm module
1366   * deps: send@0.9.3
1367     - deps: etag@~1.4.0
1369 3.17.4 / 2014-09-19
1370 ===================
1372   * deps: connect@2.26.2
1373     - deps: body-parser@~1.8.3
1374     - deps: qs@2.2.4
1376 3.17.3 / 2014-09-18
1377 ===================
1379   * deps: proxy-addr@~1.0.2
1380     - Fix a global leak when multiple subnets are trusted
1381     - deps: ipaddr.js@0.1.3
1383 3.17.2 / 2014-09-15
1384 ===================
1386   * Use `crc` instead of `buffer-crc32` for speed
1387   * deps: connect@2.26.1
1388     - deps: body-parser@~1.8.2
1389     - deps: depd@0.4.5
1390     - deps: express-session@~1.8.2
1391     - deps: morgan@~1.3.1
1392     - deps: serve-favicon@~2.1.3
1393     - deps: serve-static@~1.6.2
1394   * deps: depd@0.4.5
1395   * deps: send@0.9.2
1396     - deps: depd@0.4.5
1397     - deps: etag@~1.3.1
1398     - deps: range-parser@~1.0.2
1400 3.17.1 / 2014-09-08
1401 ===================
1403   * Fix error in `req.subdomains` on empty host
1405 3.17.0 / 2014-09-08
1406 ===================
1408   * Support `X-Forwarded-Host` in `req.subdomains`
1409   * Support IP address host in `req.subdomains`
1410   * deps: connect@2.26.0
1411     - deps: body-parser@~1.8.1
1412     - deps: compression@~1.1.0
1413     - deps: connect-timeout@~1.3.0
1414     - deps: cookie-parser@~1.3.3
1415     - deps: cookie-signature@1.0.5
1416     - deps: csurf@~1.6.1
1417     - deps: debug@~2.0.0
1418     - deps: errorhandler@~1.2.0
1419     - deps: express-session@~1.8.1
1420     - deps: finalhandler@0.2.0
1421     - deps: fresh@0.2.4
1422     - deps: media-typer@0.3.0
1423     - deps: method-override@~2.2.0
1424     - deps: morgan@~1.3.0
1425     - deps: qs@2.2.3
1426     - deps: serve-favicon@~2.1.3
1427     - deps: serve-index@~1.2.1
1428     - deps: serve-static@~1.6.1
1429     - deps: type-is@~1.5.1
1430     - deps: vhost@~3.0.0
1431   * deps: cookie-signature@1.0.5
1432   * deps: debug@~2.0.0
1433   * deps: fresh@0.2.4
1434   * deps: media-typer@0.3.0
1435     - Throw error when parameter format invalid on parse
1436   * deps: range-parser@~1.0.2
1437   * deps: send@0.9.1
1438     - Add `lastModified` option
1439     - Use `etag` to generate `ETag` header
1440     - deps: debug@~2.0.0
1441     - deps: fresh@0.2.4
1442   * deps: vary@~1.0.0
1443     - Accept valid `Vary` header string as `field`
1445 3.16.10 / 2014-09-04
1446 ====================
1448   * deps: connect@2.25.10
1449     - deps: serve-static@~1.5.4
1450   * deps: send@0.8.5
1451     - Fix a path traversal issue when using `root`
1452     - Fix malicious path detection for empty string path
1454 3.16.9 / 2014-08-29
1455 ===================
1457   * deps: connect@2.25.9
1458     - deps: body-parser@~1.6.7
1459     - deps: qs@2.2.2
1461 3.16.8 / 2014-08-27
1462 ===================
1464   * deps: connect@2.25.8
1465     - deps: body-parser@~1.6.6
1466     - deps: csurf@~1.4.1
1467     - deps: qs@2.2.0
1469 3.16.7 / 2014-08-18
1470 ===================
1472   * deps: connect@2.25.7
1473     - deps: body-parser@~1.6.5
1474     - deps: express-session@~1.7.6
1475     - deps: morgan@~1.2.3
1476     - deps: serve-static@~1.5.3
1477   * deps: send@0.8.3
1478     - deps: destroy@1.0.3
1479     - deps: on-finished@2.1.0
1481 3.16.6 / 2014-08-14
1482 ===================
1484   * deps: connect@2.25.6
1485     - deps: body-parser@~1.6.4
1486     - deps: qs@1.2.2
1487     - deps: serve-static@~1.5.2
1488   * deps: send@0.8.2
1489     - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
1491 3.16.5 / 2014-08-11
1492 ===================
1494   * deps: connect@2.25.5
1495     - Fix backwards compatibility in `logger`
1497 3.16.4 / 2014-08-10
1498 ===================
1500   * Fix original URL parsing in `res.location`
1501   * deps: connect@2.25.4
1502     - Fix `query` middleware breaking with argument
1503     - deps: body-parser@~1.6.3
1504     - deps: compression@~1.0.11
1505     - deps: connect-timeout@~1.2.2
1506     - deps: express-session@~1.7.5
1507     - deps: method-override@~2.1.3
1508     - deps: on-headers@~1.0.0
1509     - deps: parseurl@~1.3.0
1510     - deps: qs@1.2.1
1511     - deps: response-time@~2.0.1
1512     - deps: serve-index@~1.1.6
1513     - deps: serve-static@~1.5.1
1514   * deps: parseurl@~1.3.0
1516 3.16.3 / 2014-08-07
1517 ===================
1519   * deps: connect@2.25.3
1520     - deps: multiparty@3.3.2
1522 3.16.2 / 2014-08-07
1523 ===================
1525   * deps: connect@2.25.2
1526     - deps: body-parser@~1.6.2
1527     - deps: qs@1.2.0
1529 3.16.1 / 2014-08-06
1530 ===================
1532   * deps: connect@2.25.1
1533     - deps: body-parser@~1.6.1
1534     - deps: qs@1.1.0
1536 3.16.0 / 2014-08-05
1537 ===================
1539   * deps: connect@2.25.0
1540     - deps: body-parser@~1.6.0
1541     - deps: compression@~1.0.10
1542     - deps: csurf@~1.4.0
1543     - deps: express-session@~1.7.4
1544     - deps: qs@1.0.2
1545     - deps: serve-static@~1.5.0
1546   * deps: send@0.8.1
1547     - Add `extensions` option
1549 3.15.3 / 2014-08-04
1550 ===================
1552   * fix `res.sendfile` regression for serving directory index files
1553   * deps: connect@2.24.3
1554     - deps: serve-index@~1.1.5
1555     - deps: serve-static@~1.4.4
1556   * deps: send@0.7.4
1557     - Fix incorrect 403 on Windows and Node.js 0.11
1558     - Fix serving index files without root dir
1560 3.15.2 / 2014-07-27
1561 ===================
1563   * deps: connect@2.24.2
1564     - deps: body-parser@~1.5.2
1565     - deps: depd@0.4.4
1566     - deps: express-session@~1.7.2
1567     - deps: morgan@~1.2.2
1568     - deps: serve-static@~1.4.2
1569   * deps: depd@0.4.4
1570     - Work-around v8 generating empty stack traces
1571   * deps: send@0.7.2
1572     - deps: depd@0.4.4
1574 3.15.1 / 2014-07-26
1575 ===================
1577   * deps: connect@2.24.1
1578     - deps: body-parser@~1.5.1
1579     - deps: depd@0.4.3
1580     - deps: express-session@~1.7.1
1581     - deps: morgan@~1.2.1
1582     - deps: serve-index@~1.1.4
1583     - deps: serve-static@~1.4.1
1584   * deps: depd@0.4.3
1585     - Fix exception when global `Error.stackTraceLimit` is too low
1586   * deps: send@0.7.1
1587     - deps: depd@0.4.3
1589 3.15.0 / 2014-07-22
1590 ===================
1592   * Fix `req.protocol` for proxy-direct connections
1593   * Pass options from `res.sendfile` to `send`
1594   * deps: connect@2.24.0
1595     - deps: body-parser@~1.5.0
1596     - deps: compression@~1.0.9
1597     - deps: connect-timeout@~1.2.1
1598     - deps: debug@1.0.4
1599     - deps: depd@0.4.2
1600     - deps: express-session@~1.7.0
1601     - deps: finalhandler@0.1.0
1602     - deps: method-override@~2.1.2
1603     - deps: morgan@~1.2.0
1604     - deps: multiparty@3.3.1
1605     - deps: parseurl@~1.2.0
1606     - deps: serve-static@~1.4.0
1607   * deps: debug@1.0.4
1608   * deps: depd@0.4.2
1609     - Add `TRACE_DEPRECATION` environment variable
1610     - Remove non-standard grey color from color output
1611     - Support `--no-deprecation` argument
1612     - Support `--trace-deprecation` argument
1613   * deps: parseurl@~1.2.0
1614     - Cache URLs based on original value
1615     - Remove no-longer-needed URL mis-parse work-around
1616     - Simplify the "fast-path" `RegExp`
1617   * deps: send@0.7.0
1618     - Add `dotfiles` option
1619     - Cap `maxAge` value to 1 year
1620     - deps: debug@1.0.4
1621     - deps: depd@0.4.2
1623 3.14.0 / 2014-07-11
1624 ===================
1626  * add explicit "Rosetta Flash JSONP abuse" protection
1627    - previous versions are not vulnerable; this is just explicit protection
1628  * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
1629  * fix `res.send(status, num)` to send `num` as json (not error)
1630  * remove unnecessary escaping when `res.jsonp` returns JSON response
1631  * deps: basic-auth@1.0.0
1632    - support empty password
1633    - support empty username
1634  * deps: connect@2.23.0
1635    - deps: debug@1.0.3
1636    - deps: express-session@~1.6.4
1637    - deps: method-override@~2.1.0
1638    - deps: parseurl@~1.1.3
1639    - deps: serve-static@~1.3.1
1640   * deps: debug@1.0.3
1641     - Add support for multiple wildcards in namespaces
1642   * deps: methods@1.1.0
1643     - add `CONNECT`
1644   * deps: parseurl@~1.1.3
1645     - faster parsing of href-only URLs
1647 3.13.0 / 2014-07-03
1648 ===================
1650  * add deprecation message to `app.configure`
1651  * add deprecation message to `req.auth`
1652  * use `basic-auth` to parse `Authorization` header
1653  * deps: connect@2.22.0
1654    - deps: csurf@~1.3.0
1655    - deps: express-session@~1.6.1
1656    - deps: multiparty@3.3.0
1657    - deps: serve-static@~1.3.0
1658  * deps: send@0.5.0
1659    - Accept string for `maxage` (converted by `ms`)
1660    - Include link in default redirect response
1662 3.12.1 / 2014-06-26
1663 ===================
1665  * deps: connect@2.21.1
1666    - deps: cookie-parser@1.3.2
1667    - deps: cookie-signature@1.0.4
1668    - deps: express-session@~1.5.2
1669    - deps: type-is@~1.3.2
1670  * deps: cookie-signature@1.0.4
1671    - fix for timing attacks
1673 3.12.0 / 2014-06-21
1674 ===================
1676  * use `media-typer` to alter content-type charset
1677  * deps: connect@2.21.0
1678    - deprecate `connect(middleware)` -- use `app.use(middleware)` instead
1679    - deprecate `connect.createServer()` -- use `connect()` instead
1680    - fix `res.setHeader()` patch to work with with get -> append -> set pattern
1681    - deps: compression@~1.0.8
1682    - deps: errorhandler@~1.1.1
1683    - deps: express-session@~1.5.0
1684    - deps: serve-index@~1.1.3
1686 3.11.0 / 2014-06-19
1687 ===================
1689  * deprecate things with `depd` module
1690  * deps: buffer-crc32@0.2.3
1691  * deps: connect@2.20.2
1692    - deprecate `verify` option to `json` -- use `body-parser` npm module instead
1693    - deprecate `verify` option to `urlencoded` -- use `body-parser` npm module instead
1694    - deprecate things with `depd` module
1695    - use `finalhandler` for final response handling
1696    - use `media-typer` to parse `content-type` for charset
1697    - deps: body-parser@1.4.3
1698    - deps: connect-timeout@1.1.1
1699    - deps: cookie-parser@1.3.1
1700    - deps: csurf@1.2.2
1701    - deps: errorhandler@1.1.0
1702    - deps: express-session@1.4.0
1703    - deps: multiparty@3.2.9
1704    - deps: serve-index@1.1.2
1705    - deps: type-is@1.3.1
1706    - deps: vhost@2.0.0
1708 3.10.5 / 2014-06-11
1709 ===================
1711  * deps: connect@2.19.6
1712    - deps: body-parser@1.3.1
1713    - deps: compression@1.0.7
1714    - deps: debug@1.0.2
1715    - deps: serve-index@1.1.1
1716    - deps: serve-static@1.2.3
1717  * deps: debug@1.0.2
1718  * deps: send@0.4.3
1719    - Do not throw un-catchable error on file open race condition
1720    - Use `escape-html` for HTML escaping
1721    - deps: debug@1.0.2
1722    - deps: finished@1.2.2
1723    - deps: fresh@0.2.2
1725 3.10.4 / 2014-06-09
1726 ===================
1728  * deps: connect@2.19.5
1729    - fix "event emitter leak" warnings
1730    - deps: csurf@1.2.1
1731    - deps: debug@1.0.1
1732    - deps: serve-static@1.2.2
1733    - deps: type-is@1.2.1
1734  * deps: debug@1.0.1
1735  * deps: send@0.4.2
1736    - fix "event emitter leak" warnings
1737    - deps: finished@1.2.1
1738    - deps: debug@1.0.1
1740 3.10.3 / 2014-06-05
1741 ===================
1743  * use `vary` module for `res.vary`
1744  * deps: connect@2.19.4
1745    - deps: errorhandler@1.0.2
1746    - deps: method-override@2.0.2
1747    - deps: serve-favicon@2.0.1
1748  * deps: debug@1.0.0
1750 3.10.2 / 2014-06-03
1751 ===================
1753  * deps: connect@2.19.3
1754    - deps: compression@1.0.6
1756 3.10.1 / 2014-06-03
1757 ===================
1759  * deps: connect@2.19.2
1760    - deps: compression@1.0.4
1761  * deps: proxy-addr@1.0.1
1763 3.10.0 / 2014-06-02
1764 ===================
1766  * deps: connect@2.19.1
1767    - deprecate `methodOverride()` -- use `method-override` npm module instead
1768    - deps: body-parser@1.3.0
1769    - deps: method-override@2.0.1
1770    - deps: multiparty@3.2.8
1771    - deps: response-time@2.0.0
1772    - deps: serve-static@1.2.1
1773  * deps: methods@1.0.1
1774  * deps: send@0.4.1
1775    - Send `max-age` in `Cache-Control` in correct format
1777 3.9.0 / 2014-05-30
1778 ==================
1780  * custom etag control with `app.set('etag', val)`
1781    - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
1782    - `app.set('etag', 'weak')` weak tag
1783    - `app.set('etag', 'strong')` strong etag
1784    - `app.set('etag', false)` turn off
1785    - `app.set('etag', true)` standard etag
1786  * Include ETag in HEAD requests
1787  * mark `res.send` ETag as weak and reduce collisions
1788  * update connect to 2.18.0
1789    - deps: compression@1.0.3
1790    - deps: serve-index@1.1.0
1791    - deps: serve-static@1.2.0
1792  * update send to 0.4.0
1793    - Calculate ETag with md5 for reduced collisions
1794    - Ignore stream errors after request ends
1795    - deps: debug@0.8.1
1797 3.8.1 / 2014-05-27
1798 ==================
1800  * update connect to 2.17.3
1801    - deps: body-parser@1.2.2
1802    - deps: express-session@1.2.1
1803    - deps: method-override@1.0.2
1805 3.8.0 / 2014-05-21
1806 ==================
1808  * keep previous `Content-Type` for `res.jsonp`
1809  * set proper `charset` in `Content-Type` for `res.send`
1810  * update connect to 2.17.1
1811    - fix `res.charset` appending charset when `content-type` has one
1812    - deps: express-session@1.2.0
1813    - deps: morgan@1.1.1
1814    - deps: serve-index@1.0.3
1816 3.7.0 / 2014-05-18
1817 ==================
1819  * proper proxy trust with `app.set('trust proxy', trust)`
1820    - `app.set('trust proxy', 1)` trust first hop
1821    - `app.set('trust proxy', 'loopback')` trust loopback addresses
1822    - `app.set('trust proxy', '10.0.0.1')` trust single IP
1823    - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
1824    - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
1825    - `app.set('trust proxy', false)` turn off
1826    - `app.set('trust proxy', true)` trust everything
1827  * update connect to 2.16.2
1828    - deprecate `res.headerSent` -- use `res.headersSent`
1829    - deprecate `res.on("header")` -- use on-headers module instead
1830    - fix edge-case in `res.appendHeader` that would append in wrong order
1831    - json: use body-parser
1832    - urlencoded: use body-parser
1833    - dep: bytes@1.0.0
1834    - dep: cookie-parser@1.1.0
1835    - dep: csurf@1.2.0
1836    - dep: express-session@1.1.0
1837    - dep: method-override@1.0.1
1839 3.6.0 / 2014-05-09
1840 ==================
1842  * deprecate `app.del()` -- use `app.delete()` instead
1843  * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
1844    - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
1845  * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
1846    - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
1847  * support PURGE method
1848    - add `app.purge`
1849    - add `router.purge`
1850    - include PURGE in `app.all`
1851  * update connect to 2.15.0
1852    * Add `res.appendHeader`
1853    * Call error stack even when response has been sent
1854    * Patch `res.headerSent` to return Boolean
1855    * Patch `res.headersSent` for node.js 0.8
1856    * Prevent default 404 handler after response sent
1857    * dep: compression@1.0.2
1858    * dep: connect-timeout@1.1.0
1859    * dep: debug@^0.8.0
1860    * dep: errorhandler@1.0.1
1861    * dep: express-session@1.0.4
1862    * dep: morgan@1.0.1
1863    * dep: serve-favicon@2.0.0
1864    * dep: serve-index@1.0.2
1865  * update debug to 0.8.0
1866    * add `enable()` method
1867    * change from stderr to stdout
1868  * update methods to 1.0.0
1869    - add PURGE
1870  * update mkdirp to 0.5.0
1872 3.5.3 / 2014-05-08
1873 ==================
1875  * fix `req.host` for IPv6 literals
1876  * fix `res.jsonp` error if callback param is object
1878 3.5.2 / 2014-04-24
1879 ==================
1881  * update connect to 2.14.5
1882  * update cookie to 0.1.2
1883  * update mkdirp to 0.4.0
1884  * update send to 0.3.0
1886 3.5.1 / 2014-03-25
1887 ==================
1889  * pin less-middleware in generated app
1891 3.5.0 / 2014-03-06
1892 ==================
1894  * bump deps
1896 3.4.8 / 2014-01-13
1897 ==================
1899  * prevent incorrect automatic OPTIONS responses #1868 @dpatti
1900  * update binary and examples for jade 1.0 #1876 @yossi, #1877 @reqshark, #1892 @matheusazzi
1901  * throw 400 in case of malformed paths @rlidwka
1903 3.4.7 / 2013-12-10
1904 ==================
1906  * update connect
1908 3.4.6 / 2013-12-01
1909 ==================
1911  * update connect (raw-body)
1913 3.4.5 / 2013-11-27
1914 ==================
1916  * update connect
1917  * res.location: remove leading ./ #1802 @kapouer
1918  * res.redirect: fix `res.redirect('toString') #1829 @michaelficarra
1919  * res.send: always send ETag when content-length > 0
1920  * router: add Router.all() method
1922 3.4.4 / 2013-10-29
1923 ==================
1925  * update connect
1926  * update supertest
1927  * update methods
1928  * express(1): replace bodyParser() with urlencoded() and json() #1795 @chirag04
1930 3.4.3 / 2013-10-23
1931 ==================
1933  * update connect
1935 3.4.2 / 2013-10-18
1936 ==================
1938  * update connect
1939  * downgrade commander
1941 3.4.1 / 2013-10-15
1942 ==================
1944  * update connect
1945  * update commander
1946  * jsonp: check if callback is a function
1947  * router: wrap encodeURIComponent in a try/catch #1735 (@lxe)
1948  * res.format: now includes charset @1747 (@sorribas)
1949  * res.links: allow multiple calls @1746 (@sorribas)
1951 3.4.0 / 2013-09-07
1952 ==================
1954  * add res.vary(). Closes #1682
1955  * update connect
1957 3.3.8 / 2013-09-02
1958 ==================
1960  * update connect
1962 3.3.7 / 2013-08-28
1963 ==================
1965  * update connect
1967 3.3.6 / 2013-08-27
1968 ==================
1970  * Revert "remove charset from json responses. Closes #1631" (causes issues in some clients)
1971  * add: req.accepts take an argument list
1973 3.3.4 / 2013-07-08
1974 ==================
1976  * update send and connect
1978 3.3.3 / 2013-07-04
1979 ==================
1981  * update connect
1983 3.3.2 / 2013-07-03
1984 ==================
1986  * update connect
1987  * update send
1988  * remove .version export
1990 3.3.1 / 2013-06-27
1991 ==================
1993  * update connect
1995 3.3.0 / 2013-06-26
1996 ==================
1998  * update connect
1999  * add support for multiple X-Forwarded-Proto values. Closes #1646
2000  * change: remove charset from json responses. Closes #1631
2001  * change: return actual booleans from req.accept* functions
2002  * fix jsonp callback array throw
2004 3.2.6 / 2013-06-02
2005 ==================
2007  * update connect
2009 3.2.5 / 2013-05-21
2010 ==================
2012  * update connect
2013  * update node-cookie
2014  * add: throw a meaningful error when there is no default engine
2015  * change generation of ETags with res.send() to GET requests only. Closes #1619
2017 3.2.4 / 2013-05-09
2018 ==================
2020   * fix `req.subdomains` when no Host is present
2021   * fix `req.host` when no Host is present, return undefined
2023 3.2.3 / 2013-05-07
2024 ==================
2026   * update connect / qs
2028 3.2.2 / 2013-05-03
2029 ==================
2031   * update qs
2033 3.2.1 / 2013-04-29
2034 ==================
2036   * add app.VERB() paths array deprecation warning
2037   * update connect
2038   * update qs and remove all ~ semver crap
2039   * fix: accept number as value of Signed Cookie
2041 3.2.0 / 2013-04-15
2042 ==================
2044   * add "view" constructor setting to override view behaviour
2045   * add req.acceptsEncoding(name)
2046   * add req.acceptedEncodings
2047   * revert cookie signature change causing session race conditions
2048   * fix sorting of Accept values of the same quality
2050 3.1.2 / 2013-04-12
2051 ==================
2053   * add support for custom Accept parameters
2054   * update cookie-signature
2056 3.1.1 / 2013-04-01
2057 ==================
2059   * add X-Forwarded-Host support to `req.host`
2060   * fix relative redirects
2061   * update mkdirp
2062   * update buffer-crc32
2063   * remove legacy app.configure() method from app template.
2065 3.1.0 / 2013-01-25
2066 ==================
2068   * add support for leading "." in "view engine" setting
2069   * add array support to `res.set()`
2070   * add node 0.8.x to travis.yml
2071   * add "subdomain offset" setting for tweaking `req.subdomains`
2072   * add `res.location(url)` implementing `res.redirect()`-like setting of Location
2073   * use app.get() for x-powered-by setting for inheritance
2074   * fix colons in passwords for `req.auth`
2076 3.0.6 / 2013-01-04
2077 ==================
2079   * add http verb methods to Router
2080   * update connect
2081   * fix mangling of the `res.cookie()` options object
2082   * fix jsonp whitespace escape. Closes #1132
2084 3.0.5 / 2012-12-19
2085 ==================
2087   * add throwing when a non-function is passed to a route
2088   * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses
2089   * revert "add 'etag' option"
2091 3.0.4 / 2012-12-05
2092 ==================
2094   * add 'etag' option to disable `res.send()` Etags
2095   * add escaping of urls in text/plain in `res.redirect()`
2096     for old browsers interpreting as html
2097   * change crc32 module for a more liberal license
2098   * update connect
2100 3.0.3 / 2012-11-13
2101 ==================
2103   * update connect
2104   * update cookie module
2105   * fix cookie max-age
2107 3.0.2 / 2012-11-08
2108 ==================
2110   * add OPTIONS to cors example. Closes #1398
2111   * fix route chaining regression. Closes #1397
2113 3.0.1 / 2012-11-01
2114 ==================
2116   * update connect
2118 3.0.0 / 2012-10-23
2119 ==================
2121   * add `make clean`
2122   * add "Basic" check to req.auth
2123   * add `req.auth` test coverage
2124   * add cb && cb(payload) to `res.jsonp()`. Closes #1374
2125   * add backwards compat for `res.redirect()` status. Closes #1336
2126   * add support for `res.json()` to retain previously defined Content-Types. Closes #1349
2127   * update connect
2128   * change `res.redirect()` to utilize a pathname-relative Location again. Closes #1382
2129   * remove non-primitive string support for `res.send()`
2130   * fix view-locals example. Closes #1370
2131   * fix route-separation example
2133 3.0.0rc5 / 2012-09-18
2134 ==================
2136   * update connect
2137   * add redis search example
2138   * add static-files example
2139   * add "x-powered-by" setting (`app.disable('x-powered-by')`)
2140   * add "application/octet-stream" redirect Accept test case. Closes #1317
2142 3.0.0rc4 / 2012-08-30
2143 ==================
2145   * add `res.jsonp()`. Closes #1307
2146   * add "verbose errors" option to error-pages example
2147   * add another route example to express(1) so people are not so confused
2148   * add redis online user activity tracking example
2149   * update connect dep
2150   * fix etag quoting. Closes #1310
2151   * fix error-pages 404 status
2152   * fix jsonp callback char restrictions
2153   * remove old OPTIONS default response
2155 3.0.0rc3 / 2012-08-13
2156 ==================
2158   * update connect dep
2159   * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds]
2160   * fix `res.render()` clobbering of "locals"
2162 3.0.0rc2 / 2012-08-03
2163 ==================
2165   * add CORS example
2166   * update connect dep
2167   * deprecate `.createServer()` & remove old stale examples
2168   * fix: escape `res.redirect()` link
2169   * fix vhost example
2171 3.0.0rc1 / 2012-07-24
2172 ==================
2174   * add more examples to view-locals
2175   * add scheme-relative redirects (`res.redirect("//foo.com")`) support
2176   * update cookie dep
2177   * update connect dep
2178   * update send dep
2179   * fix `express(1)` -h flag, use -H for hogan. Closes #1245
2180   * fix `res.sendfile()` socket error handling regression
2182 3.0.0beta7 / 2012-07-16
2183 ==================
2185   * update connect dep for `send()` root normalization regression
2187 3.0.0beta6 / 2012-07-13
2188 ==================
2190   * add `err.view` property for view errors. Closes #1226
2191   * add "jsonp callback name" setting
2192   * add support for "/foo/:bar*" non-greedy matches
2193   * change `res.sendfile()` to use `send()` module
2194   * change `res.send` to use "response-send" module
2195   * remove `app.locals.use` and `res.locals.use`, use regular middleware
2197 3.0.0beta5 / 2012-07-03
2198 ==================
2200   * add "make check" support
2201   * add route-map example
2202   * add `res.json(obj, status)` support back for BC
2203   * add "methods" dep, remove internal methods module
2204   * update connect dep
2205   * update auth example to utilize cores pbkdf2
2206   * updated tests to use "supertest"
2208 3.0.0beta4 / 2012-06-25
2209 ==================
2211   * Added `req.auth`
2212   * Added `req.range(size)`
2213   * Added `res.links(obj)`
2214   * Added `res.send(body, status)` support back for backwards compat
2215   * Added `.default()` support to `res.format()`
2216   * Added 2xx / 304 check to `req.fresh`
2217   * Revert "Added + support to the router"
2218   * Fixed `res.send()` freshness check, respect res.statusCode
2220 3.0.0beta3 / 2012-06-15
2221 ==================
2223   * Added hogan `--hjs` to express(1) [nullfirm]
2224   * Added another example to content-negotiation
2225   * Added `fresh` dep
2226   * Changed: `res.send()` always checks freshness
2227   * Fixed: expose connects mime module. Closes #1165
2229 3.0.0beta2 / 2012-06-06
2230 ==================
2232   * Added `+` support to the router
2233   * Added `req.host`
2234   * Changed `req.param()` to check route first
2235   * Update connect dep
2237 3.0.0beta1 / 2012-06-01
2238 ==================
2240   * Added `res.format()` callback to override default 406 behaviour
2241   * Fixed `res.redirect()` 406. Closes #1154
2243 3.0.0alpha5 / 2012-05-30
2244 ==================
2246   * Added `req.ip`
2247   * Added `{ signed: true }` option to `res.cookie()`
2248   * Removed `res.signedCookie()`
2249   * Changed: dont reverse `req.ips`
2250   * Fixed "trust proxy" setting check for `req.ips`
2252 3.0.0alpha4 / 2012-05-09
2253 ==================
2255   * Added: allow `[]` in jsonp callback. Closes #1128
2256   * Added `PORT` env var support in generated template. Closes #1118 [benatkin]
2257   * Updated: connect 2.2.2
2259 3.0.0alpha3 / 2012-05-04
2260 ==================
2262   * Added public `app.routes`. Closes #887
2263   * Added _view-locals_ example
2264   * Added _mvc_ example
2265   * Added `res.locals.use()`. Closes #1120
2266   * Added conditional-GET support to `res.send()`
2267   * Added: coerce `res.set()` values to strings
2268   * Changed: moved `static()` in generated apps below router
2269   * Changed: `res.send()` only set ETag when not previously set
2270   * Changed connect 2.2.1 dep
2271   * Changed: `make test` now runs unit / acceptance tests
2272   * Fixed req/res proto inheritance
2274 3.0.0alpha2 / 2012-04-26
2275 ==================
2277   * Added `make benchmark` back
2278   * Added `res.send()` support for `String` objects
2279   * Added client-side data exposing example
2280   * Added `res.header()` and `req.header()` aliases for BC
2281   * Added `express.createServer()` for BC
2282   * Perf: memoize parsed urls
2283   * Perf: connect 2.2.0 dep
2284   * Changed: make `expressInit()` middleware self-aware
2285   * Fixed: use app.get() for all core settings
2286   * Fixed redis session example
2287   * Fixed session example. Closes #1105
2288   * Fixed generated express dep. Closes #1078
2290 3.0.0alpha1 / 2012-04-15
2291 ==================
2293   * Added `app.locals.use(callback)`
2294   * Added `app.locals` object
2295   * Added `app.locals(obj)`
2296   * Added `res.locals` object
2297   * Added `res.locals(obj)`
2298   * Added `res.format()` for content-negotiation
2299   * Added `app.engine()`
2300   * Added `res.cookie()` JSON cookie support
2301   * Added "trust proxy" setting
2302   * Added `req.subdomains`
2303   * Added `req.protocol`
2304   * Added `req.secure`
2305   * Added `req.path`
2306   * Added `req.ips`
2307   * Added `req.fresh`
2308   * Added `req.stale`
2309   * Added comma-delimited / array support for `req.accepts()`
2310   * Added debug instrumentation
2311   * Added `res.set(obj)`
2312   * Added `res.set(field, value)`
2313   * Added `res.get(field)`
2314   * Added `app.get(setting)`. Closes #842
2315   * Added `req.acceptsLanguage()`
2316   * Added `req.acceptsCharset()`
2317   * Added `req.accepted`
2318   * Added `req.acceptedLanguages`
2319   * Added `req.acceptedCharsets`
2320   * Added "json replacer" setting
2321   * Added "json spaces" setting
2322   * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92
2323   * Added `--less` support to express(1)
2324   * Added `express.response` prototype
2325   * Added `express.request` prototype
2326   * Added `express.application` prototype
2327   * Added `app.path()`
2328   * Added `app.render()`
2329   * Added `res.type()` to replace `res.contentType()`
2330   * Changed: `res.redirect()` to add relative support
2331   * Changed: enable "jsonp callback" by default
2332   * Changed: renamed "case sensitive routes" to "case sensitive routing"
2333   * Rewrite of all tests with mocha
2334   * Removed "root" setting
2335   * Removed `res.redirect('home')` support
2336   * Removed `req.notify()`
2337   * Removed `app.register()`
2338   * Removed `app.redirect()`
2339   * Removed `app.is()`
2340   * Removed `app.helpers()`
2341   * Removed `app.dynamicHelpers()`
2342   * Fixed `res.sendfile()` with non-GET. Closes #723
2343   * Fixed express(1) public dir for windows. Closes #866
2345 2.5.9/ 2012-04-02
2346 ==================
2348   * Added support for PURGE request method [pbuyle]
2349   * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]
2351 2.5.8 / 2012-02-08
2352 ==================
2354   * Update mkdirp dep. Closes #991
2356 2.5.7 / 2012-02-06
2357 ==================
2359   * Fixed `app.all` duplicate DELETE requests [mscdex]
2361 2.5.6 / 2012-01-13
2362 ==================
2364   * Updated hamljs dev dep. Closes #953
2366 2.5.5 / 2012-01-08
2367 ==================
2369   * Fixed: set `filename` on cached templates [matthewleon]
2371 2.5.4 / 2012-01-02
2372 ==================
2374   * Fixed `express(1)` eol on 0.4.x. Closes #947
2376 2.5.3 / 2011-12-30
2377 ==================
2379   * Fixed `req.is()` when a charset is present
2381 2.5.2 / 2011-12-10
2382 ==================
2384   * Fixed: express(1) LF -> CRLF for windows
2386 2.5.1 / 2011-11-17
2387 ==================
2389   * Changed: updated connect to 1.8.x
2390   * Removed sass.js support from express(1)
2392 2.5.0 / 2011-10-24
2393 ==================
2395   * Added ./routes dir for generated app by default
2396   * Added npm install reminder to express(1) app gen
2397   * Added 0.5.x support
2398   * Removed `make test-cov` since it wont work with node 0.5.x
2399   * Fixed express(1) public dir for windows. Closes #866
2401 2.4.7 / 2011-10-05
2402 ==================
2404   * Added mkdirp to express(1). Closes #795
2405   * Added simple _json-config_ example
2406   * Added  shorthand for the parsed request's pathname via `req.path`
2407   * Changed connect dep to 1.7.x to fix npm issue...
2408   * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]
2409   * Fixed `req.flash()`, only escape args
2410   * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]
2412 2.4.6 / 2011-08-22
2413 ==================
2415   * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]
2417 2.4.5 / 2011-08-19
2418 ==================
2420   * Added support for routes to handle errors. Closes #809
2421   * Added `app.routes.all()`. Closes #803
2422   * Added "basepath" setting to work in conjunction with reverse proxies etc.
2423   * Refactored `Route` to use a single array of callbacks
2424   * Added support for multiple callbacks for `app.param()`. Closes #801
2425 Closes #805
2426   * Changed: removed .call(self) for route callbacks
2427   * Dependency: `qs >= 0.3.1`
2428   * Fixed `res.redirect()` on windows due to `join()` usage. Closes #808
2430 2.4.4 / 2011-08-05
2431 ==================
2433   * Fixed `res.header()` intention of a set, even when `undefined`
2434   * Fixed `*`, value no longer required
2435   * Fixed `res.send(204)` support. Closes #771
2437 2.4.3 / 2011-07-14
2438 ==================
2440   * Added docs for `status` option special-case. Closes #739
2441   * Fixed `options.filename`, exposing the view path to template engines
2443 2.4.2. / 2011-07-06
2444 ==================
2446   * Revert "removed jsonp stripping" for XSS
2448 2.4.1 / 2011-07-06
2449 ==================
2451   * Added `res.json()` JSONP support. Closes #737
2452   * Added _extending-templates_ example. Closes #730
2453   * Added "strict routing" setting for trailing slashes
2454   * Added support for multiple envs in `app.configure()` calls. Closes #735
2455   * Changed: `res.send()` using `res.json()`
2456   * Changed: when cookie `path === null` don't default it
2457   * Changed; default cookie path to "home" setting. Closes #731
2458   * Removed _pids/logs_ creation from express(1)
2460 2.4.0 / 2011-06-28
2461 ==================
2463   * Added chainable `res.status(code)`
2464   * Added `res.json()`, an explicit version of `res.send(obj)`
2465   * Added simple web-service example
2467 2.3.12 / 2011-06-22
2468 ==================
2470   * \#express is now on freenode! come join!
2471   * Added `req.get(field, param)`
2472   * Added links to Japanese documentation, thanks @hideyukisaito!
2473   * Added; the `express(1)` generated app outputs the env
2474   * Added `content-negotiation` example
2475   * Dependency: connect >= 1.5.1 < 2.0.0
2476   * Fixed view layout bug. Closes #720
2477   * Fixed; ignore body on 304. Closes #701
2479 2.3.11 / 2011-06-04
2480 ==================
2482   * Added `npm test`
2483   * Removed generation of dummy test file from `express(1)`
2484   * Fixed; `express(1)` adds express as a dep
2485   * Fixed; prune on `prepublish`
2487 2.3.10 / 2011-05-27
2488 ==================
2490   * Added `req.route`, exposing the current route
2491   * Added _package.json_ generation support to `express(1)`
2492   * Fixed call to `app.param()` function for optional params. Closes #682
2494 2.3.9 / 2011-05-25
2495 ==================
2497   * Fixed bug-ish with `../' in `res.partial()` calls
2499 2.3.8 / 2011-05-24
2500 ==================
2502   * Fixed `app.options()`
2504 2.3.7 / 2011-05-23
2505 ==================
2507   * Added route `Collection`, ex: `app.get('/user/:id').remove();`
2508   * Added support for `app.param(fn)` to define param logic
2509   * Removed `app.param()` support for callback with return value
2510   * Removed module.parent check from express(1) generated app. Closes #670
2511   * Refactored router. Closes #639
2513 2.3.6 / 2011-05-20
2514 ==================
2516   * Changed; using devDependencies instead of git submodules
2517   * Fixed redis session example
2518   * Fixed markdown example
2519   * Fixed view caching, should not be enabled in development
2521 2.3.5 / 2011-05-20
2522 ==================
2524   * Added export `.view` as alias for `.View`
2526 2.3.4 / 2011-05-08
2527 ==================
2529   * Added `./examples/say`
2530   * Fixed `res.sendfile()` bug preventing the transfer of files with spaces
2532 2.3.3 / 2011-05-03
2533 ==================
2535   * Added "case sensitive routes" option.
2536   * Changed; split methods supported per rfc [slaskis]
2537   * Fixed route-specific middleware when using the same callback function several times
2539 2.3.2 / 2011-04-27
2540 ==================
2542   * Fixed view hints
2544 2.3.1 / 2011-04-26
2545 ==================
2547   * Added `app.match()` as `app.match.all()`
2548   * Added `app.lookup()` as `app.lookup.all()`
2549   * Added `app.remove()` for `app.remove.all()`
2550   * Added `app.remove.VERB()`
2551   * Fixed template caching collision issue. Closes #644
2552   * Moved router over from connect and started refactor
2554 2.3.0 / 2011-04-25
2555 ==================
2557   * Added options support to `res.clearCookie()`
2558   * Added `res.helpers()` as alias of `res.locals()`
2559   * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel   * Dependency `connect >= 1.4.0`
2560   * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]
2561   * Renamed "cache views" to "view cache". Closes #628
2562   * Fixed caching of views when using several apps. Closes #637
2563   * Fixed gotcha invoking `app.param()` callbacks once per route middleware.
2564 Closes #638
2565   * Fixed partial lookup precedence. Closes #631
2566 Shaw]
2568 2.2.2 / 2011-04-12
2569 ==================
2571   * Added second callback support for `res.download()` connection errors
2572   * Fixed `filename` option passing to template engine
2574 2.2.1 / 2011-04-04
2575 ==================
2577   * Added `layout(path)` helper to change the layout within a view. Closes #610
2578   * Fixed `partial()` collection object support.
2579     Previously only anything with `.length` would work.
2580     When `.length` is present one must still be aware of holes,
2581     however now `{ collection: {foo: 'bar'}}` is valid, exposes
2582     `keyInCollection` and `keysInCollection`.
2584   * Performance improved with better view caching
2585   * Removed `request` and `response` locals
2586   * Changed; errorHandler page title is now `Express` instead of `Connect`
2588 2.2.0 / 2011-03-30
2589 ==================
2591   * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #606
2592   * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #606
2593   * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.
2594   * Dependency `connect >= 1.2.0`
2596 2.1.1 / 2011-03-29
2597 ==================
2599   * Added; expose `err.view` object when failing to locate a view
2600   * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]
2601   * Fixed; `res.send(undefined)` responds with 204 [aheckmann]
2603 2.1.0 / 2011-03-24
2604 ==================
2606   * Added `<root>/_?<name>` partial lookup support. Closes #447
2607   * Added `request`, `response`, and `app` local variables
2608   * Added `settings` local variable, containing the app's settings
2609   * Added `req.flash()` exception if `req.session` is not available
2610   * Added `res.send(bool)` support (json response)
2611   * Fixed stylus example for latest version
2612   * Fixed; wrap try/catch around `res.render()`
2614 2.0.0 / 2011-03-17
2615 ==================
2617   * Fixed up index view path alternative.
2618   * Changed; `res.locals()` without object returns the locals
2620 2.0.0rc3 / 2011-03-17
2621 ==================
2623   * Added `res.locals(obj)` to compliment `res.local(key, val)`
2624   * Added `res.partial()` callback support
2625   * Fixed recursive error reporting issue in `res.render()`
2627 2.0.0rc2 / 2011-03-17
2628 ==================
2630   * Changed; `partial()` "locals" are now optional
2631   * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]
2632   * Fixed .filename view engine option [reported by drudge]
2633   * Fixed blog example
2634   * Fixed `{req,res}.app` reference when mounting [Ben Weaver]
2636 2.0.0rc / 2011-03-14
2637 ==================
2639   * Fixed; expose `HTTPSServer` constructor
2640   * Fixed express(1) default test charset. Closes #579 [reported by secoif]
2641   * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]
2643 2.0.0beta3 / 2011-03-09
2644 ==================
2646   * Added support for `res.contentType()` literal
2647     The original `res.contentType('.json')`,
2648     `res.contentType('application/json')`, and `res.contentType('json')`
2649     will work now.
2650   * Added `res.render()` status option support back
2651   * Added charset option for `res.render()`
2652   * Added `.charset` support (via connect 1.0.4)
2653   * Added view resolution hints when in development and a lookup fails
2654   * Added layout lookup support relative to the page view.
2655     For example while rendering `./views/user/index.jade` if you create
2656     `./views/user/layout.jade` it will be used in favour of the root layout.
2657   * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]
2658   * Fixed; default `res.send()` string charset to utf8
2659   * Removed `Partial` constructor (not currently used)
2661 2.0.0beta2 / 2011-03-07
2662 ==================
2664   * Added res.render() `.locals` support back to aid in migration process
2665   * Fixed flash example
2667 2.0.0beta / 2011-03-03
2668 ==================
2670   * Added HTTPS support
2671   * Added `res.cookie()` maxAge support
2672   * Added `req.header()` _Referrer_ / _Referer_ special-case, either works
2673   * Added mount support for `res.redirect()`, now respects the mount-point
2674   * Added `union()` util, taking place of `merge(clone())` combo
2675   * Added stylus support to express(1) generated app
2676   * Added secret to session middleware used in examples and generated app
2677   * Added `res.local(name, val)` for progressive view locals
2678   * Added default param support to `req.param(name, default)`
2679   * Added `app.disabled()` and `app.enabled()`
2680   * Added `app.register()` support for omitting leading ".", either works
2681   * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #539
2682   * Added `app.param()` to map route params to async/sync logic
2683   * Added; aliased `app.helpers()` as `app.locals()`. Closes #481
2684   * Added extname with no leading "." support to `res.contentType()`
2685   * Added `cache views` setting, defaulting to enabled in "production" env
2686   * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.
2687   * Added `req.accepts()` support for extensions
2688   * Changed; `res.download()` and `res.sendfile()` now utilize Connect's
2689     static file server `connect.static.send()`.
2690   * Changed; replaced `connect.utils.mime()` with npm _mime_ module
2691   * Changed; allow `req.query` to be pre-defined (via middleware or other parent
2692   * Changed view partial resolution, now relative to parent view
2693   * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.
2694   * Fixed `req.param()` bug returning Array.prototype methods. Closes #552
2695   * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()`
2696   * Fixed; using _qs_ module instead of _querystring_
2697   * Fixed; strip unsafe chars from jsonp callbacks
2698   * Removed "stream threshold" setting
2700 1.0.8 / 2011-03-01
2701 ==================
2703   * Allow `req.query` to be pre-defined (via middleware or other parent app)
2704   * "connect": ">= 0.5.0 < 1.0.0". Closes #547
2705   * Removed the long deprecated __EXPRESS_ENV__ support
2707 1.0.7 / 2011-02-07
2708 ==================
2710   * Fixed `render()` setting inheritance.
2711     Mounted apps would not inherit "view engine"
2713 1.0.6 / 2011-02-07
2714 ==================
2716   * Fixed `view engine` setting bug when period is in dirname
2718 1.0.5 / 2011-02-05
2719 ==================
2721   * Added secret to generated app `session()` call
2723 1.0.4 / 2011-02-05
2724 ==================
2726   * Added `qs` dependency to _package.json_
2727   * Fixed namespaced `require()`s for latest connect support
2729 1.0.3 / 2011-01-13
2730 ==================
2732   * Remove unsafe characters from JSONP callback names [Ryan Grove]
2734 1.0.2 / 2011-01-10
2735 ==================
2737   * Removed nested require, using `connect.router`
2739 1.0.1 / 2010-12-29
2740 ==================
2742   * Fixed for middleware stacked via `createServer()`
2743     previously the `foo` middleware passed to `createServer(foo)`
2744     would not have access to Express methods such as `res.send()`
2745     or props like `req.query` etc.
2747 1.0.0 / 2010-11-16
2748 ==================
2750   * Added; deduce partial object names from the last segment.
2751     For example by default `partial('forum/post', postObject)` will
2752     give you the _post_ object, providing a meaningful default.
2753   * Added http status code string representation to `res.redirect()` body
2754   * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__.
2755   * Added `req.is()` to aid in content negotiation
2756   * Added partial local inheritance [suggested by masylum]. Closes #102
2757     providing access to parent template locals.
2758   * Added _-s, --session[s]_ flag to express(1) to add session related middleware
2759   * Added _--template_ flag to express(1) to specify the
2760     template engine to use.
2761   * Added _--css_ flag to express(1) to specify the
2762     stylesheet engine to use (or just plain css by default).
2763   * Added `app.all()` support [thanks aheckmann]
2764   * Added partial direct object support.
2765     You may now `partial('user', user)` providing the "user" local,
2766     vs previously `partial('user', { object: user })`.
2767   * Added _route-separation_ example since many people question ways
2768     to do this with CommonJS modules. Also view the _blog_ example for
2769     an alternative.
2770   * Performance; caching view path derived partial object names
2771   * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #454
2772   * Fixed jsonp support; _text/javascript_ as per mailinglist discussion
2774 1.0.0rc4 / 2010-10-14
2775 ==================
2777   * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.0
2778   * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))
2779   * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass]
2780   * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass]
2781   * Added `partial()` support for array-like collections. Closes #434
2782   * Added support for swappable querystring parsers
2783   * Added session usage docs. Closes #443
2784   * Added dynamic helper caching. Closes #439 [suggested by maritz]
2785   * Added authentication example
2786   * Added basic Range support to `res.sendfile()` (and `res.download()` etc)
2787   * Changed; `express(1)` generated app using 2 spaces instead of 4
2788   * Default env to "development" again [aheckmann]
2789   * Removed _context_ option is no more, use "scope"
2790   * Fixed; exposing _./support_ libs to examples so they can run without installs
2791   * Fixed mvc example
2793 1.0.0rc3 / 2010-09-20
2794 ==================
2796   * Added confirmation for `express(1)` app generation. Closes #391
2797   * Added extending of flash formatters via `app.flashFormatters`
2798   * Added flash formatter support. Closes #411
2799   * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold"
2800   * Added _stream threshold_ setting for `res.sendfile()`
2801   * Added `res.send()` __HEAD__ support
2802   * Added `res.clearCookie()`
2803   * Added `res.cookie()`
2804   * Added `res.render()` headers option
2805   * Added `res.redirect()` response bodies
2806   * Added `res.render()` status option support. Closes #425 [thanks aheckmann]
2807   * Fixed `res.sendfile()` responding with 403 on malicious path
2808   * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_
2809   * Fixed; mounted apps settings now inherit from parent app [aheckmann]
2810   * Fixed; stripping Content-Length / Content-Type when 204
2811   * Fixed `res.send()` 204. Closes #419
2812   * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #402
2813   * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]
2816 1.0.0rc2 / 2010-08-17
2817 ==================
2819   * Added `app.register()` for template engine mapping. Closes #390
2820   * Added `res.render()` callback support as second argument (no options)
2821   * Added callback support to `res.download()`
2822   * Added callback support for `res.sendfile()`
2823   * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()`
2824   * Added "partials" setting to docs
2825   * Added default expresso tests to `express(1)` generated app. Closes #384
2826   * Fixed `res.sendfile()` error handling, defer via `next()`
2827   * Fixed `res.render()` callback when a layout is used [thanks guillermo]
2828   * Fixed; `make install` creating ~/.node_libraries when not present
2829   * Fixed issue preventing error handlers from being defined anywhere. Closes #387
2831 1.0.0rc / 2010-07-28
2832 ==================
2834   * Added mounted hook. Closes #369
2835   * Added connect dependency to _package.json_
2837   * Removed "reload views" setting and support code
2838     development env never caches, production always caches.
2840   * Removed _param_ in route callbacks, signature is now
2841     simply (req, res, next), previously (req, res, params, next).
2842     Use _req.params_ for path captures, _req.query_ for GET params.
2844   * Fixed "home" setting
2845   * Fixed middleware/router precedence issue. Closes #366
2846   * Fixed; _configure()_ callbacks called immediately. Closes #368
2848 1.0.0beta2 / 2010-07-23
2849 ==================
2851   * Added more examples
2852   * Added; exporting `Server` constructor
2853   * Added `Server#helpers()` for view locals
2854   * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #349
2855   * Added support for absolute view paths
2856   * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #363
2857   * Added Guillermo Rauch to the contributor list
2858   * Added support for "as" for non-collection partials. Closes #341
2859   * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]
2860   * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]
2861   * Fixed instanceof `Array` checks, now `Array.isArray()`
2862   * Fixed express(1) expansion of public dirs. Closes #348
2863   * Fixed middleware precedence. Closes #345
2864   * Fixed view watcher, now async [thanks aheckmann]
2866 1.0.0beta / 2010-07-15
2867 ==================
2869   * Re-write
2870     - much faster
2871     - much lighter
2872     - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs
2874 0.14.0 / 2010-06-15
2875 ==================
2877   * Utilize relative requires
2878   * Added Static bufferSize option [aheckmann]
2879   * Fixed caching of view and partial subdirectories [aheckmann]
2880   * Fixed mime.type() comments now that ".ext" is not supported
2881   * Updated haml submodule
2882   * Updated class submodule
2883   * Removed bin/express
2885 0.13.0 / 2010-06-01
2886 ==================
2888   * Added node v0.1.97 compatibility
2889   * Added support for deleting cookies via Request#cookie('key', null)
2890   * Updated haml submodule
2891   * Fixed not-found page, now using using charset utf-8
2892   * Fixed show-exceptions page, now using using charset utf-8
2893   * Fixed view support due to fs.readFile Buffers
2894   * Changed; mime.type() no longer accepts ".type" due to node extname() changes
2896 0.12.0 / 2010-05-22
2897 ==================
2899   * Added node v0.1.96 compatibility
2900   * Added view `helpers` export which act as additional local variables
2901   * Updated haml submodule
2902   * Changed ETag; removed inode, modified time only
2903   * Fixed LF to CRLF for setting multiple cookies
2904   * Fixed cookie complation; values are now urlencoded
2905   * Fixed cookies parsing; accepts quoted values and url escaped cookies
2907 0.11.0 / 2010-05-06
2908 ==================
2910   * Added support for layouts using different engines
2911     - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })
2912     - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'
2913     - this.render('page.html.haml', { layout: false }) // no layout
2914   * Updated ext submodule
2915   * Updated haml submodule
2916   * Fixed EJS partial support by passing along the context. Issue #307
2918 0.10.1 / 2010-05-03
2919 ==================
2921   * Fixed binary uploads.
2923 0.10.0 / 2010-04-30
2924 ==================
2926   * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s
2927     encoding is set to 'utf8' or 'utf-8'.
2928   * Added "encoding" option to Request#render(). Closes #299
2929   * Added "dump exceptions" setting, which is enabled by default.
2930   * Added simple ejs template engine support
2931   * Added error response support for text/plain, application/json. Closes #297
2932   * Added callback function param to Request#error()
2933   * Added Request#sendHead()
2934   * Added Request#stream()
2935   * Added support for Request#respond(304, null) for empty response bodies
2936   * Added ETag support to Request#sendfile()
2937   * Added options to Request#sendfile(), passed to fs.createReadStream()
2938   * Added filename arg to Request#download()
2939   * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request
2940   * Performance enhanced by preventing several calls to toLowerCase() in Router#match()
2941   * Changed; Request#sendfile() now streams
2942   * Changed; Renamed Request#halt() to Request#respond(). Closes #289
2943   * Changed; Using sys.inspect() instead of JSON.encode() for error output
2944   * Changed; run() returns the http.Server instance. Closes #298
2945   * Changed; Defaulting Server#host to null (INADDR_ANY)
2946   * Changed; Logger "common" format scale of 0.4f
2947   * Removed Logger "request" format
2948   * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found
2949   * Fixed several issues with http client
2950   * Fixed Logger Content-Length output
2951   * Fixed bug preventing Opera from retaining the generated session id. Closes #292
2953 0.9.0 / 2010-04-14
2954 ==================
2956   * Added DSL level error() route support
2957   * Added DSL level notFound() route support
2958   * Added Request#error()
2959   * Added Request#notFound()
2960   * Added Request#render() callback function. Closes #258
2961   * Added "max upload size" setting
2962   * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #254
2963   * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js
2964   * Added callback function support to Request#halt() as 3rd/4th arg
2965   * Added preprocessing of route param wildcards using param(). Closes #251
2966   * Added view partial support (with collections etc)
2967   * Fixed bug preventing falsey params (such as ?page=0). Closes #286
2968   * Fixed setting of multiple cookies. Closes #199
2969   * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)
2970   * Changed; session cookie is now httpOnly
2971   * Changed; Request is no longer global
2972   * Changed; Event is no longer global
2973   * Changed; "sys" module is no longer global
2974   * Changed; moved Request#download to Static plugin where it belongs
2975   * Changed; Request instance created before body parsing. Closes #262
2976   * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #253
2977   * Changed; Pre-caching view partials in memory when "cache view partials" is enabled
2978   * Updated support to node --version 0.1.90
2979   * Updated dependencies
2980   * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})
2981   * Removed utils.mixin(); use Object#mergeDeep()
2983 0.8.0 / 2010-03-19
2984 ==================
2986   * Added coffeescript example app. Closes #242
2987   * Changed; cache api now async friendly. Closes #240
2988   * Removed deprecated 'express/static' support. Use 'express/plugins/static'
2990 0.7.6 / 2010-03-19
2991 ==================
2993   * Added Request#isXHR. Closes #229
2994   * Added `make install` (for the executable)
2995   * Added `express` executable for setting up simple app templates
2996   * Added "GET /public/*" to Static plugin, defaulting to <root>/public
2997   * Added Static plugin
2998   * Fixed; Request#render() only calls cache.get() once
2999   * Fixed; Namespacing View caches with "view:"
3000   * Fixed; Namespacing Static caches with "static:"
3001   * Fixed; Both example apps now use the Static plugin
3002   * Fixed set("views"). Closes #239
3003   * Fixed missing space for combined log format
3004   * Deprecated Request#sendfile() and 'express/static'
3005   * Removed Server#running
3007 0.7.5 / 2010-03-16
3008 ==================
3010   * Added Request#flash() support without args, now returns all flashes
3011   * Updated ext submodule
3013 0.7.4 / 2010-03-16
3014 ==================
3016   * Fixed session reaper
3017   * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)
3019 0.7.3 / 2010-03-16
3020 ==================
3022   * Added package.json
3023   * Fixed requiring of haml / sass due to kiwi removal
3025 0.7.2 / 2010-03-16
3026 ==================
3028   * Fixed GIT submodules (HAH!)
3030 0.7.1 / 2010-03-16
3031 ==================
3033   * Changed; Express now using submodules again until a PM is adopted
3034   * Changed; chat example using millisecond conversions from ext
3036 0.7.0 / 2010-03-15
3037 ==================
3039   * Added Request#pass() support (finds the next matching route, or the given path)
3040   * Added Logger plugin (default "common" format replaces CommonLogger)
3041   * Removed Profiler plugin
3042   * Removed CommonLogger plugin
3044 0.6.0 / 2010-03-11
3045 ==================
3047   * Added seed.yml for kiwi package management support
3048   * Added HTTP client query string support when method is GET. Closes #205
3050   * Added support for arbitrary view engines.
3051     For example "foo.engine.html" will now require('engine'),
3052     the exports from this module are cached after the first require().
3054   * Added async plugin support
3056   * Removed usage of RESTful route funcs as http client
3057     get() etc, use http.get() and friends
3059   * Removed custom exceptions
3061 0.5.0 / 2010-03-10
3062 ==================
3064   * Added ext dependency (library of js extensions)
3065   * Removed extname() / basename() utils. Use path module
3066   * Removed toArray() util. Use arguments.values
3067   * Removed escapeRegexp() util. Use RegExp.escape()
3068   * Removed process.mixin() dependency. Use utils.mixin()
3069   * Removed Collection
3070   * Removed ElementCollection
3071   * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com)  ;)
3073 0.4.0 / 2010-02-11
3074 ==================
3076   * Added flash() example to sample upload app
3077   * Added high level restful http client module (express/http)
3078   * Changed; RESTful route functions double as HTTP clients. Closes #69
3079   * Changed; throwing error when routes are added at runtime
3080   * Changed; defaulting render() context to the current Request. Closes #197
3081   * Updated haml submodule
3083 0.3.0 / 2010-02-11
3084 ==================
3086   * Updated haml / sass submodules. Closes #200
3087   * Added flash message support. Closes #64
3088   * Added accepts() now allows multiple args. fixes #117
3089   * Added support for plugins to halt. Closes #189
3090   * Added alternate layout support. Closes #119
3091   * Removed Route#run(). Closes #188
3092   * Fixed broken specs due to use(Cookie) missing
3094 0.2.1 / 2010-02-05
3095 ==================
3097   * Added "plot" format option for Profiler (for gnuplot processing)
3098   * Added request number to Profiler plugin
3099   * Fixed binary encoding for multi-part file uploads, was previously defaulting to UTF8
3100   * Fixed issue with routes not firing when not files are present. Closes #184
3101   * Fixed process.Promise -> events.Promise
3103 0.2.0 / 2010-02-03
3104 ==================
3106   * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #180
3107   * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #174
3108   * Added expiration support to cache api with reaper. Closes #133
3109   * Added cache Store.Memory#reap()
3110   * Added Cache; cache api now uses first class Cache instances
3111   * Added abstract session Store. Closes #172
3112   * Changed; cache Memory.Store#get() utilizing Collection
3113   * Renamed MemoryStore -> Store.Memory
3114   * Fixed use() of the same plugin several time will always use latest options. Closes #176
3116 0.1.0 / 2010-02-03
3117 ==================
3119   * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context
3120   * Updated node support to 0.1.27 Closes #169
3121   * Updated dirname(__filename) -> __dirname
3122   * Updated libxmljs support to v0.2.0
3123   * Added session support with memory store / reaping
3124   * Added quick uid() helper
3125   * Added multi-part upload support
3126   * Added Sass.js support / submodule
3127   * Added production env caching view contents and static files
3128   * Added static file caching. Closes #136
3129   * Added cache plugin with memory stores
3130   * Added support to StaticFile so that it works with non-textual files.
3131   * Removed dirname() helper
3132   * Removed several globals (now their modules must be required)
3134 0.0.2 / 2010-01-10
3135 ==================
3137   * Added view benchmarks; currently haml vs ejs
3138   * Added Request#attachment() specs. Closes #116
3139   * Added use of node's parseQuery() util. Closes #123
3140   * Added `make init` for submodules
3141   * Updated Haml
3142   * Updated sample chat app to show messages on load
3143   * Updated libxmljs parseString -> parseHtmlString
3144   * Fixed `make init` to work with older versions of git
3145   * Fixed specs can now run independent specs for those who cant build deps. Closes #127
3146   * Fixed issues introduced by the node url module changes. Closes 126.
3147   * Fixed two assertions failing due to Collection#keys() returning strings
3148   * Fixed faulty Collection#toArray() spec due to keys() returning strings
3149   * Fixed `make test` now builds libxmljs.node before testing
3151 0.0.1 / 2010-01-03
3152 ==================
3154   * Initial release