4 * Add debug message when loading view engine
5 * Add `next("router")` to exit from router
6 * Fix case where `router.use` skipped requests routes did not
7 * Remove usage of `res._headers` private field
8 - Improves compatibility with Node.js 8 nightly
9 * Skip routing when `req.url` is not set
10 * Use `%o` in path debug to tell types apart
11 * Use `Object.create` to setup request & response prototypes
12 * Use `setprototypeof` module to replace `__proto__` setting
13 * Use `statuses` instead of `http` module for status messages
15 - Allow colors in workers
16 - Deprecated `DEBUG_FD` environment variable set to `3` or higher
17 - Fix error when running under React Native
18 - Use same color for same namespace
21 - Use SHA1 instead of MD5 for ETag hashing
22 - Works with FIPS 140-2 OpenSSL configuration
23 * deps: finalhandler@~1.0.0
24 - Fix exception when `err` cannot be converted to a string
25 - Fully URL-encode the pathname in the 404
26 - Only include the pathname in the 404 message
27 - Send complete HTML document
28 - Set `Content-Security-Policy: default-src 'self'` header
31 - Fix false detection of `no-cache` request directive
32 - Fix incorrect result when `If-None-Match` has both `*` and ETags
33 - Fix weak `ETag` matching to match spec
34 - perf: delay reading header values until needed
35 - perf: enable strict mode
36 - perf: hoist regular expressions
37 - perf: remove duplicate conditional
38 - perf: remove unnecessary boolean coercions
39 - perf: skip checking modified time if ETag check failed
40 - perf: skip parsing `If-None-Match` when no `ETag` header
41 - perf: use `Date.parse` instead of `new Date`
43 - Fix array parsing from skipping empty values
44 - Fix compacting nested arrays
46 - Fix false detection of `no-cache` request directive
47 - Fix incorrect result when `If-None-Match` has both `*` and ETags
48 - Fix weak `ETag` matching to match spec
49 - Remove usage of `res._headers` private field
50 - Support `If-Match` and `If-Unmodified-Since` headers
51 - Use `res.getHeaderNames()` when available
52 - Use `res.headersSent` when available
56 - deps: http-errors@~1.6.1
57 * deps: serve-static@1.12.0
58 - Fix false detection of `no-cache` request directive
59 - Fix incorrect result when `If-None-Match` has both `*` and ETags
60 - Fix weak `ETag` matching to match spec
61 - Remove usage of `res._headers` private field
62 - Send complete HTML document in redirect response
63 - Set default CSP header in redirect response
64 - Support `If-Match` and `If-Unmodified-Since` headers
65 - Use `res.getHeaderNames()` when available
66 - Use `res.headersSent` when available
68 * perf: add fast match path for `*` route
69 * perf: improve `req.ips` performance
74 * deps: content-disposition@0.5.2
75 * deps: finalhandler@0.5.1
76 - Fix exception when `err.headers` is not an object
77 - deps: statuses@~1.3.1
78 - perf: hoist regular expressions
79 - perf: remove duplicate validation path
80 * deps: proxy-addr@~1.1.3
81 - deps: ipaddr.js@1.2.0
83 - deps: http-errors@~1.5.1
85 - deps: statuses@~1.3.1
86 * deps: serve-static@~1.11.2
88 * deps: type-is@~1.6.14
89 - deps: mime-types@~2.1.13
94 * Add `acceptRanges` option to `res.sendFile`/`res.sendfile`
95 * Add `cacheControl` option to `res.sendFile`/`res.sendfile`
96 * Add `options` argument to `req.range`
97 - Includes the `combine` option
98 * Encode URL in `res.location`/`res.redirect` if not already encoded
99 * Fix some redirect handling in `res.sendFile`/`res.sendfile`
100 * Fix Windows absolute path check using forward slashes
101 * Improve error with invalid arguments to `req.get()`
102 * Improve performance for `res.json`/`res.jsonp` in most cases
103 * Improve `Range` header handling in `res.sendFile`/`res.sendfile`
104 * deps: accepts@~1.3.3
105 - Fix including type extensions in parameters in `Accept` parsing
106 - Fix parsing `Accept` parameters with quoted equals
107 - Fix parsing `Accept` parameters with quoted semicolons
108 - Many performance improvments
109 - deps: mime-types@~2.1.11
110 - deps: negotiator@0.6.1
111 * deps: content-type@~1.0.2
112 - perf: enable strict mode
114 - Add `sameSite` option
115 - Fix cookie `Max-Age` to never be a floating point number
116 - Improve error message when `encode` is not a function
117 - Improve error message when `expires` is not a `Date`
118 - Throw better error for invalid argument to parse
119 - Throw on invalid values provided to `serialize`
120 - perf: enable strict mode
121 - perf: hoist regular expression
122 - perf: use for loop in parse
123 - perf: use string concatination for serialization
124 * deps: finalhandler@0.5.0
125 - Change invalid or non-numeric status code to 500
126 - Overwrite status message to match set status code
127 - Prefer `err.statusCode` if `err.status` is invalid
128 - Set response headers from `err.headers` object
129 - Use `statuses` instead of `http` module for status messages
130 * deps: proxy-addr@~1.1.2
131 - Fix accepting various invalid netmasks
132 - Fix IPv6-mapped IPv4 validation edge cases
133 - IPv4 netmasks must be contingous
134 - IPv6 addresses cannot be used as a netmask
135 - deps: ipaddr.js@1.1.1
137 - Add `decoder` option in `parse` function
138 * deps: range-parser@~1.2.0
139 - Add `combine` option to combine overlapping ranges
140 - Fix incorrectly returning -1 when there is at least one valid range
141 - perf: remove internal function
143 - Add `acceptRanges` option
144 - Add `cacheControl` option
145 - Attempt to combine multiple ranges into single range
146 - Correctly inherit from `Stream` class
147 - Fix `Content-Range` header in 416 responses when using `start`/`end` options
148 - Fix `Content-Range` header missing from default 416 responses
149 - Fix redirect error when `path` contains raw non-URL characters
150 - Fix redirect when `path` starts with multiple forward slashes
151 - Ignore non-byte `Range` headers
152 - deps: http-errors@~1.5.0
153 - deps: range-parser@~1.2.0
154 - deps: statuses@~1.3.0
155 - perf: remove argument reassignment
156 * deps: serve-static@~1.11.1
157 - Add `acceptRanges` option
158 - Add `cacheControl` option
159 - Attempt to combine multiple ranges into single range
160 - Fix redirect error when `req.url` contains raw non-URL characters
161 - Ignore non-byte `Range` headers
162 - Use status code 301 for redirects
164 * deps: type-is@~1.6.13
165 - Fix type error when given invalid type to match against
166 - deps: mime-types@~2.1.11
168 - Only accept valid field names in the `field` argument
169 * perf: use strict equality when possible
174 * deps: content-disposition@0.5.1
175 - perf: enable strict mode
177 - Throw on invalid values provided to `serialize`
179 - Support web browser loading
180 - perf: enable strict mode
181 * deps: escape-html@~1.0.3
182 - perf: enable strict mode
183 - perf: optimize string replacement
184 - perf: use faster string coercion
185 * deps: finalhandler@0.4.1
186 - deps: escape-html@~1.0.3
187 * deps: merge-descriptors@1.0.1
188 - perf: enable strict mode
189 * deps: methods@~1.1.2
190 - perf: enable strict mode
191 * deps: parseurl@~1.3.1
192 - perf: enable strict mode
193 * deps: proxy-addr@~1.0.10
194 - deps: ipaddr.js@1.0.5
195 - perf: enable strict mode
196 * deps: range-parser@~1.0.3
197 - perf: enable strict mode
200 - deps: destroy@~1.0.4
201 - deps: escape-html@~1.0.3
202 - deps: range-parser@~1.0.3
203 * deps: serve-static@~1.10.2
204 - deps: escape-html@~1.0.3
205 - deps: parseurl@~1.3.0
211 * Fix infinite loop condition using `mergeParams: true`
212 * Fix inner numeric indices incorrectly altering parent `req.params`
217 * deps: accepts@~1.2.12
218 - deps: mime-types@~2.1.4
219 * deps: array-flatten@1.1.1
220 - perf: enable strict mode
221 * deps: path-to-regexp@0.1.7
222 - Fix regression with escaped round brackets and matching groups
223 * deps: type-is@~1.6.6
224 - deps: mime-types@~2.1.4
229 * deps: accepts@~1.2.10
230 - deps: mime-types@~2.1.2
232 - Fix dropping parameters like `hasOwnProperty`
233 - Fix various parsing edge cases
234 * deps: type-is@~1.6.4
235 - deps: mime-types@~2.1.2
236 - perf: enable strict mode
237 - perf: remove argument reassignment
242 * Add settings to debug output
243 * Fix `res.format` error when only `default` provided
244 * Fix issue where `next('route')` in `app.param` would incorrectly skip values
245 * Fix hiding platform issues with `decodeURIComponent`
246 - Only `URIError`s are a 400
247 * Fix using `*` before params in routes
248 * Fix using capture groups before params in routes
249 * Simplify `res.cookie` to call `res.append`
250 * Use `array-flatten` module for flattening arrays
251 * deps: accepts@~1.2.9
252 - deps: mime-types@~2.1.1
253 - perf: avoid argument reassignment & argument slice
254 - perf: avoid negotiator recursive construction
255 - perf: enable strict mode
256 - perf: remove unnecessary bitwise operator
258 - perf: deduce the scope of try-catch deopt
259 - perf: remove argument reassignments
260 * deps: escape-html@1.0.2
262 - Always include entity length in ETags for hash length extensions
263 - Generate non-Stats ETags using MD5 only (no longer CRC32)
264 - Improve stat performance by removing hashing
265 - Improve support for JXcore
266 - Remove base64 padding in ETags to shorten
267 - Support "fake" stats objects in environments without fs
268 - Use MD5 instead of MD4 in weak ETags over 1KB
269 * deps: finalhandler@0.4.0
270 - Fix a false-positive when unpiping in Node.js 0.8
271 - Support `statusCode` property on `Error` objects
272 - Use `unpipe` module for unpiping requests
273 - deps: escape-html@1.0.2
274 - deps: on-finished@~2.3.0
275 - perf: enable strict mode
276 - perf: remove argument reassignment
278 - Add weak `ETag` matching support
279 * deps: on-finished@~2.3.0
280 - Add defined behavior for HTTP `CONNECT` requests
281 - Add defined behavior for HTTP `Upgrade` requests
282 - deps: ee-first@1.1.1
283 * deps: path-to-regexp@0.1.6
285 - Allow Node.js HTTP server to set `Date` response header
286 - Fix incorrectly removing `Content-Location` on 304 response
287 - Improve the default redirect response headers
288 - Send appropriate headers on default error response
289 - Use `http-errors` for standard emitted errors
290 - Use `statuses` instead of `http` module for status messages
291 - deps: escape-html@1.0.2
294 - deps: on-finished@~2.3.0
295 - perf: enable strict mode
296 - perf: remove unnecessary array allocations
297 * deps: serve-static@~1.10.0
298 - Add `fallthrough` option
299 - Fix reading options from options prototype
300 - Improve the default redirect response headers
301 - Malformed URLs now `next()` instead of 400
302 - deps: escape-html@1.0.2
304 - perf: enable strict mode
305 - perf: remove argument reassignment
306 * deps: type-is@~1.6.3
307 - deps: mime-types@~2.1.1
308 - perf: reduce try block size
309 - perf: remove bitwise operations
310 * perf: enable strict mode
311 * perf: isolate `app.render` try block
312 * perf: remove argument reassignments in application
313 * perf: remove argument reassignments in request prototype
314 * perf: remove argument reassignments in response prototype
315 * perf: remove argument reassignments in routing
316 * perf: remove argument reassignments in `View`
317 * perf: skip attempting to decode zero length string
318 * perf: use saved reference to `http.STATUS_CODES`
323 * deps: accepts@~1.2.7
324 - deps: mime-types@~2.0.11
325 - deps: negotiator@0.5.3
330 - Improve support for JXcore
331 - Support "fake" stats objects in environments without `fs`
332 * deps: finalhandler@0.3.6
334 - deps: on-finished@~2.2.1
335 * deps: on-finished@~2.2.1
336 - Fix `isFinished(req)` when data buffered
337 * deps: proxy-addr@~1.0.8
338 - deps: ipaddr.js@1.0.1
340 - Fix allowing parameters like `constructor`
346 - deps: on-finished@~2.2.1
347 * deps: serve-static@~1.9.3
349 * deps: type-is@~1.6.2
350 - deps: mime-types@~2.0.11
355 * deps: accepts@~1.2.5
356 - deps: mime-types@~2.0.10
358 - Fix high intensity foreground color for bold
360 * deps: finalhandler@0.3.4
362 * deps: proxy-addr@~1.0.7
363 - deps: ipaddr.js@0.1.9
365 - Fix error when parameter `hasOwnProperty` is present
367 - Throw errors early for invalid `extensions` or `index` options
369 * deps: serve-static@~1.9.2
371 * deps: type-is@~1.6.1
372 - deps: mime-types@~2.0.10
377 * Fix regression where `"Request aborted"` is logged using `res.sendFile`
382 * Fix constructing application with non-configurable prototype properties
383 * Fix `ECONNRESET` errors from `res.sendFile` usage
384 * Fix `req.host` when using "trust proxy" hops count
385 * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
386 * Fix wrong `code` on aborted connections from `res.sendFile`
387 * deps: merge-descriptors@1.0.0
392 * Fix `"trust proxy"` setting to inherit when app is mounted
393 * Generate `ETag`s for all request responses
394 - No longer restricted to only responses for `GET` and `HEAD` requests
395 * Use `content-type` to parse `Content-Type` headers
396 * deps: accepts@~1.2.4
397 - Fix preference sorting to be stable for long acceptable lists
398 - deps: mime-types@~2.0.9
399 - deps: negotiator@0.5.1
400 * deps: cookie-signature@1.0.6
402 - Always read the stat size from the file
403 - Fix mutating passed-in `options`
405 * deps: serve-static@~1.9.1
407 * deps: type-is@~1.6.0
408 - fix argument reassignment
409 - fix false-positives in `hasBody` `Transfer-Encoding` check
410 - support wildcard for both type and subtype (`*/*`)
411 - deps: mime-types@~2.0.9
416 * Fix `res.redirect` double-calling `res.end` for `HEAD` requests
417 * deps: accepts@~1.2.3
418 - deps: mime-types@~2.0.8
419 * deps: proxy-addr@~1.0.6
420 - deps: ipaddr.js@0.1.8
421 * deps: type-is@~1.5.6
422 - deps: mime-types@~2.0.8
428 - Fix root path disclosure
429 * deps: serve-static@~1.8.1
430 - Fix redirect loop in Node.js 0.11.14
431 - Fix root path disclosure
437 * Add `res.append(field, val)` to append headers
438 * Deprecate leading `:` in `name` for `app.param(name, fn)`
439 * Deprecate `req.param()` -- use `req.params`, `req.body`, or `req.query` instead
440 * Deprecate `app.param(fn)`
441 * Fix `OPTIONS` responses to include the `HEAD` method properly
442 * Fix `res.sendFile` not always detecting aborted connection
443 * Match routes iteratively to prevent stack overflows
444 * deps: accepts@~1.2.2
445 - deps: mime-types@~2.0.7
446 - deps: negotiator@0.5.0
451 - deps: on-finished@~2.2.0
452 * deps: serve-static@~1.8.0
458 * Fix crash from error within `OPTIONS` response handler
459 * deps: proxy-addr@~1.0.5
460 - deps: ipaddr.js@0.1.6
465 * Fix `Allow` header for `OPTIONS` to not contain duplicate methods
466 * Fix incorrect "Request aborted" for `res.sendFile` when `HEAD` or 304
468 * deps: finalhandler@0.3.3
470 - deps: on-finished@~2.2.0
471 * deps: methods@~1.1.1
472 * deps: on-finished@~2.2.0
473 * deps: serve-static@~1.7.2
474 - Fix potential open redirect when mounted at root
475 * deps: type-is@~1.5.5
476 - deps: mime-types@~2.0.7
481 * Fix exception in `req.fresh`/`req.stale` without response headers
486 * Fix `res.send` double-calling `res.end` for `HEAD` requests
487 * deps: accepts@~1.1.4
488 - deps: mime-types@~2.0.4
489 * deps: type-is@~1.5.4
490 - deps: mime-types@~2.0.4
495 * Fix `res.sendfile` logging standard write errors
500 * Fix `res.sendFile` logging standard write errors
502 * deps: proxy-addr@~1.0.4
503 - deps: ipaddr.js@0.1.5
505 - Fix `arrayLimit` behavior
510 * Correctly invoke async router callback asynchronously
511 * deps: accepts@~1.1.3
512 - deps: mime-types@~2.0.3
513 * deps: type-is@~1.5.3
514 - deps: mime-types@~2.0.3
519 * Fix handling of URLs containing `://` in the path
521 - Fix parsing of mixed objects and values
526 * Add support for `app.set('views', array)`
527 - Views are looked up in sequence in array of directories
528 * Fix `res.send(status)` to mention `res.sendStatus(status)`
529 * Fix handling of invalid empty URLs
530 * Use `content-disposition` module for `res.attachment`/`res.download`
531 - Sends standards-compliant `Content-Disposition` header
532 - Full Unicode support
533 * Use `path.resolve` in view lookup
535 - Implement `DEBUG_FD` env variable support
538 - Improve string performance
539 - Slightly improve speed for weak ETags over 1KB
540 * deps: finalhandler@0.3.2
541 - Terminate in progress response only on error
542 - Use `on-finished` to determine request status
544 - deps: on-finished@~2.1.1
545 * deps: on-finished@~2.1.1
546 - Fix handling of pipelined requests
548 - Fix parsing of mixed implicit and explicit arrays
553 - deps: on-finished@~2.1.1
554 * deps: serve-static@~1.7.1
560 * Fix `res.redirect` body when redirect status specified
561 * deps: accepts@~1.1.2
562 - Fix error when media type has invalid parameter
563 - deps: negotiator@0.4.9
568 * Fix using same param name in array of paths
573 * deps: accepts@~1.1.1
574 - deps: mime-types@~2.0.2
575 - deps: negotiator@0.4.8
576 * deps: serve-static@~1.6.4
577 - Fix redirect loop when index file serving disabled
578 * deps: type-is@~1.5.2
579 - deps: mime-types@~2.0.2
585 * deps: proxy-addr@~1.0.3
586 - Use `forwarded` npm module
589 * deps: serve-static@~1.6.3
596 - Fix issue with object keys starting with numbers truncated
601 * deps: proxy-addr@~1.0.2
602 - Fix a global leak when multiple subnets are trusted
603 - deps: ipaddr.js@0.1.3
608 * Fix regression for empty string `path` in `app.use`
609 * Fix `router.use` to accept array of middleware without path
610 * Improve error message for bad `app.use` arguments
615 * Fix `app.use` to accept array of middleware without path
621 - deps: range-parser@~1.0.2
622 * deps: serve-static@~1.6.2
628 * Add `res.sendStatus`
629 * Invoke callback for sendfile when client aborts
630 - Applies to `res.sendFile`, `res.sendfile`, and `res.download`
631 - `err` will be populated with request aborted error
632 * Support IP address host in `req.subdomains`
633 * Use `etag` to generate `ETag` headers
634 * deps: accepts@~1.1.0
635 - update `mime-types`
636 * deps: cookie-signature@1.0.5
638 * deps: finalhandler@0.2.0
639 - Set `X-Content-Type-Options: nosniff` header
642 * deps: media-typer@0.3.0
643 - Throw error when parameter format invalid on parse
645 - Fix issue where first empty value in array is discarded
646 * deps: range-parser@~1.0.2
648 - Add `lastModified` option
649 - Use `etag` to generate `ETag` header
652 * deps: serve-static@~1.6.1
653 - Add `lastModified` option
655 * deps: type-is@~1.5.1
656 - fix `hasbody` to be true for `content-length: 0`
657 - deps: media-typer@0.3.0
658 - deps: mime-types@~2.0.1
660 - Accept valid `Vary` header string as `field`
666 - Fix a path traversal issue when using `root`
667 - Fix malicious path detection for empty string path
668 * deps: serve-static@~1.5.4
675 - Remove unnecessary cloning
682 - Performance improvements
688 - deps: destroy@1.0.3
689 - deps: on-finished@2.1.0
690 * deps: serve-static@~1.5.3
698 - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
699 * deps: serve-static@~1.5.2
705 * deps: parseurl@~1.3.0
707 * deps: serve-static@~1.5.1
708 - Fix parsing of weird `req.originalUrl` values
709 - deps: parseurl@~1.3.0
710 - deps: utils-merge@1.0.0
716 - Fix parsing array of objects
721 * fix incorrect deprecation warnings on `res.download`
723 - Accept urlencoded square brackets
724 - Accept empty values in implicit array notation
730 - accepts a file system path instead of a URL
731 - requires an absolute path or `root` option specified
732 * deprecate `res.sendfile` -- use `res.sendFile` instead
733 * support mounted app as any argument to `app.use()`
736 - Limits array length to 20
737 - Limits object depth to 5
738 - Limits parameters to 1,000
740 - Add `extensions` option
741 * deps: serve-static@~1.5.0
742 - Add `extensions` option
748 * fix `res.sendfile` regression for serving directory index files
750 - Fix incorrect 403 on Windows and Node.js 0.11
751 - Fix serving index files without root dir
752 * deps: serve-static@~1.4.4
759 - Fix incorrect 403 on Windows and Node.js 0.11
760 * deps: serve-static@~1.4.3
761 - Fix incorrect 403 on Windows and Node.js 0.11
768 - Work-around v8 generating empty stack traces
771 * deps: serve-static@~1.4.2
777 - Fix exception when global `Error.stackTraceLimit` is too low
780 * deps: serve-static@~1.4.1
785 * fix `req.protocol` for proxy-direct connections
786 * configurable query parser with `app.set('query parser', parser)`
787 - `app.set('query parser', 'extended')` parse with "qs" module
788 - `app.set('query parser', 'simple')` parse with "querystring" core module
789 - `app.set('query parser', false)` disable query string parsing
790 - `app.set('query parser', true)` enable simple parsing
791 * deprecate `res.json(status, obj)` -- use `res.status(status).json(obj)` instead
792 * deprecate `res.jsonp(status, obj)` -- use `res.status(status).jsonp(obj)` instead
793 * deprecate `res.send(status, body)` -- use `res.status(status).send(body)` instead
796 - Add `TRACE_DEPRECATION` environment variable
797 - Remove non-standard grey color from color output
798 - Support `--no-deprecation` argument
799 - Support `--trace-deprecation` argument
800 * deps: finalhandler@0.1.0
801 - Respond after request fully read
803 * deps: parseurl@~1.2.0
804 - Cache URLs based on original value
805 - Remove no-longer-needed URL mis-parse work-around
806 - Simplify the "fast-path" `RegExp`
808 - Add `dotfiles` option
809 - Cap `maxAge` value to 1 year
812 * deps: serve-static@~1.4.0
813 - deps: parseurl@~1.2.0
815 * perf: prevent multiple `Buffer` creation in `res.send`
820 * fix `subapp.mountpath` regression for `app.use(subapp)`
825 * accept multiple callbacks to `app.use()`
826 * add explicit "Rosetta Flash JSONP abuse" protection
827 - previous versions are not vulnerable; this is just explicit protection
828 * catch errors in multiple `req.param(name, fn)` handlers
829 * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
830 * fix `res.send(status, num)` to send `num` as json (not error)
831 * remove unnecessary escaping when `res.jsonp` returns JSON response
832 * support non-string `path` in `app.use(path, fn)`
833 - supports array of paths
835 * router: fix optimization on router exit
836 * router: refactor location of `try` blocks
837 * router: speed up standard `app.use(fn)`
839 - Add support for multiple wildcards in namespaces
840 * deps: finalhandler@0.0.3
842 * deps: methods@1.1.0
844 * deps: parseurl@~1.1.3
845 - faster parsing of href-only URLs
846 * deps: path-to-regexp@0.1.3
849 * deps: serve-static@~1.3.2
850 - deps: parseurl@~1.1.3
852 * perf: fix arguments reassign deopt in some `res` methods
857 * fix routing regression when altering `req.method`
862 * add deprecation message to non-plural `req.accepts*`
863 * add deprecation message to `res.send(body, status)`
864 * add deprecation message to `res.vary()`
865 * add `headers` option to `res.sendfile`
866 - use to set headers on successful file transfer
867 * add `mergeParams` option to `Router`
868 - merges `req.params` from parent routes
869 * add `req.hostname` -- correct name for what `req.host` returns
870 * deprecate things with `depd` module
871 * deprecate `req.host` -- use `req.hostname` instead
872 * fix behavior when handling request without routes
873 * fix handling when `route.all` is only route
874 * invoke `router.param()` only when route matches
875 * restore `req.params` after invoking router
876 * use `finalhandler` for final response handling
877 * use `media-typer` to alter content-type charset
878 * deps: accepts@~1.0.7
880 - Accept string for `maxage` (converted by `ms`)
881 - Include link in default redirect response
882 * deps: serve-static@~1.3.0
883 - Accept string for `maxAge` (converted by `ms`)
884 - Add `setHeaders` option
885 - Include HTML link in redirect response
887 * deps: type-is@~1.3.2
892 * deps: cookie-signature@1.0.4
893 - fix for timing attacks
898 * fix `res.attachment` Unicode filenames in Safari
899 * fix "trim prefix" debug message in `express:router`
900 * deps: accepts@~1.0.5
901 * deps: buffer-crc32@0.2.3
906 * fix persistence of modified `req.params[name]` from `app.param()`
907 * deps: accepts@1.0.3
908 - deps: negotiator@0.4.6
911 - Do not throw un-catchable error on file open race condition
912 - Use `escape-html` for HTML escaping
914 - deps: finished@1.2.2
916 * deps: serve-static@1.2.3
917 - Do not throw un-catchable error on file open race condition
923 * fix catching errors from top-level handlers
924 * use `vary` module for `res.vary`
926 * deps: proxy-addr@1.0.1
928 - fix "event emitter leak" warnings
930 - deps: finished@1.2.1
931 * deps: serve-static@1.2.2
932 - fix "event emitter leak" warnings
934 * deps: type-is@1.2.1
939 * deps: methods@1.0.1
941 - Send `max-age` in `Cache-Control` in correct format
942 * deps: serve-static@1.2.1
943 - use `escape-html` for escaping
949 * custom etag control with `app.set('etag', val)`
950 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
951 - `app.set('etag', 'weak')` weak tag
952 - `app.set('etag', 'strong')` strong etag
953 - `app.set('etag', false)` turn off
954 - `app.set('etag', true)` standard etag
955 * mark `res.send` ETag as weak and reduce collisions
956 * update accepts to 1.0.2
957 - Fix interpretation when header not in request
958 * update send to 0.4.0
959 - Calculate ETag with md5 for reduced collisions
960 - Ignore stream errors after request ends
962 * update serve-static to 1.2.0
963 - Calculate ETag with md5 for reduced collisions
964 - Ignore stream errors after request ends
970 * fix handling of errors from `router.param()` callbacks
975 * revert "fix behavior of multiple `app.VERB` for the same path"
976 - this caused a regression in the order of route execution
981 * add `req.baseUrl` to access the path stripped from `req.url` in routes
982 * fix behavior of multiple `app.VERB` for the same path
983 * fix issue routing requests among sub routers
984 * invoke `router.param()` only when necessary instead of every match
985 * proper proxy trust with `app.set('trust proxy', trust)`
986 - `app.set('trust proxy', 1)` trust first hop
987 - `app.set('trust proxy', 'loopback')` trust loopback addresses
988 - `app.set('trust proxy', '10.0.0.1')` trust single IP
989 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
990 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
991 - `app.set('trust proxy', false)` turn off
992 - `app.set('trust proxy', true)` trust everything
993 * set proper `charset` in `Content-Type` for `res.send`
994 * update type-is to 1.2.0
995 - support suffix matching
1000 * deprecate `app.del()` -- use `app.delete()` instead
1001 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
1002 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
1003 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
1004 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
1005 * fix `req.next` when inside router instance
1006 * include `ETag` header in `HEAD` requests
1007 * keep previous `Content-Type` for `res.jsonp`
1008 * support PURGE method
1010 - add `router.purge`
1011 - include PURGE in `app.all`
1012 * update debug to 0.8.0
1013 - add `enable()` method
1014 - change from stderr to stdout
1015 * update methods to 1.0.0
1021 * fix `req.host` for IPv6 literals
1022 * fix `res.jsonp` error if callback param is object
1027 * fix package.json to reflect supported node version
1032 * pass options from `res.sendfile` to `send`
1033 * preserve casing of headers in `res.header` and `res.set`
1034 * support unicode file names in `res.attachment` and `res.download`
1035 * update accepts to 1.0.1
1036 - deps: negotiator@0.4.0
1037 * update cookie to 0.1.2
1038 - Fix for maxAge == 0
1039 - made compat with expires field
1040 * update send to 0.3.0
1041 - Accept API options in options object
1042 - Coerce option types
1043 - Control whether to generate etags
1044 - Default directory access to 403 when index disabled
1045 - Fix sending files with dots without root set
1046 - Include file path in etag
1047 - Make "Can't set headers after they are sent." catchable
1048 - Send full entity-body for multi range requests
1049 - Set etags to "weak"
1050 - Support "If-Range" header
1051 - Support multiple index paths
1053 * update serve-static to 1.1.0
1054 - Accept options directly to `send` module
1055 - Resolve relative paths at middleware setup
1056 - Use parseurl to parse the URL from request
1058 * update type-is to 1.1.0
1059 - add non-array values support
1060 - add `multipart` as a shorthand
1067 - connect and connect's patches except for charset handling
1068 - express(1) - moved to [express-generator](https://github.com/expressjs/generator)
1069 - `express.createServer()` - it has been deprecated for a long time. Use `express()`
1070 - `app.configure` - use logic in your own app code
1071 - `app.router` - is removed
1072 - `req.auth` - use `basic-auth` instead
1073 - `req.accepted*` - use `req.accepts*()` instead
1074 - `res.location` - relative URL resolution is removed
1075 - `res.charset` - include the charset in the content type when using `res.set()`
1076 - all bundled middleware except `static`
1078 - `app.route` -> `app.mountpath` when mounting an express app in another express app
1079 - `json spaces` no longer enabled by default in development
1080 - `req.accepts*` -> `req.accepts*s` - i.e. `req.acceptsEncoding` -> `req.acceptsEncodings`
1081 - `req.params` is now an object instead of an array
1082 - `res.locals` is no longer a function. It is a plain js object. Treat it as such.
1083 - `res.headerSent` -> `res.headersSent` to match node.js ServerResponse object
1085 - `req.accepts*` with [accepts](https://github.com/expressjs/accepts)
1086 - `req.is` with [type-is](https://github.com/expressjs/type-is)
1087 - [path-to-regexp](https://github.com/component/path-to-regexp)
1089 - `app.router()` - returns the app Router instance
1090 - `app.route()` - Proxy to the app's `Router#route()` method to create a new route
1091 - Router & Route - public API
1096 * deps: connect@2.30.2
1097 - deps: body-parser@~1.13.3
1098 - deps: compression@~1.5.2
1099 - deps: errorhandler@~1.4.2
1100 - deps: method-override@~2.3.5
1101 - deps: serve-index@~1.7.2
1102 - deps: type-is@~1.6.6
1103 - deps: vhost@~3.0.1
1105 - Fix setting empty header from empty `field`
1106 - perf: enable strict mode
1107 - perf: remove argument reassignments
1112 * deps: basic-auth@~1.0.3
1113 * deps: connect@2.30.1
1114 - deps: body-parser@~1.13.2
1115 - deps: compression@~1.5.1
1116 - deps: errorhandler@~1.4.1
1117 - deps: morgan@~1.6.1
1120 - deps: serve-index@~1.7.1
1121 - deps: type-is@~1.6.4
1126 * deps: basic-auth@1.0.2
1127 - perf: enable strict mode
1128 - perf: hoist regular expression
1129 - perf: parse with regular expressions
1130 - perf: remove argument reassignment
1131 * deps: connect@2.30.0
1132 - deps: body-parser@~1.13.1
1134 - deps: compression@~1.5.0
1135 - deps: cookie@0.1.3
1136 - deps: cookie-parser@~1.3.5
1137 - deps: csurf@~1.8.3
1138 - deps: errorhandler@~1.4.0
1139 - deps: express-session@~1.11.3
1140 - deps: finalhandler@0.4.0
1142 - deps: morgan@~1.6.0
1143 - deps: serve-favicon@~2.3.0
1144 - deps: serve-index@~1.7.0
1145 - deps: serve-static@~1.10.0
1146 - deps: type-is@~1.6.3
1147 * deps: cookie@0.1.3
1148 - perf: deduce the scope of try-catch deopt
1149 - perf: remove argument reassignments
1150 * deps: escape-html@1.0.2
1152 - Always include entity length in ETags for hash length extensions
1153 - Generate non-Stats ETags using MD5 only (no longer CRC32)
1154 - Improve stat performance by removing hashing
1155 - Improve support for JXcore
1156 - Remove base64 padding in ETags to shorten
1157 - Support "fake" stats objects in environments without fs
1158 - Use MD5 instead of MD4 in weak ETags over 1KB
1160 - Add weak `ETag` matching support
1161 * deps: mkdirp@0.5.1
1162 - Work in global strict mode
1164 - Allow Node.js HTTP server to set `Date` response header
1165 - Fix incorrectly removing `Content-Location` on 304 response
1166 - Improve the default redirect response headers
1167 - Send appropriate headers on default error response
1168 - Use `http-errors` for standard emitted errors
1169 - Use `statuses` instead of `http` module for status messages
1170 - deps: escape-html@1.0.2
1173 - deps: on-finished@~2.3.0
1174 - perf: enable strict mode
1175 - perf: remove unnecessary array allocations
1180 * deps: connect@2.29.2
1181 - deps: body-parser@~1.12.4
1182 - deps: compression@~1.4.4
1183 - deps: connect-timeout@~1.6.2
1184 - deps: debug@~2.2.0
1186 - deps: errorhandler@~1.3.6
1187 - deps: finalhandler@0.3.6
1188 - deps: method-override@~2.3.3
1189 - deps: morgan@~1.5.3
1191 - deps: response-time@~2.3.1
1192 - deps: serve-favicon@~2.2.1
1193 - deps: serve-index@~1.6.4
1194 - deps: serve-static@~1.9.3
1195 - deps: type-is@~1.6.2
1196 * deps: debug@~2.2.0
1199 * deps: proxy-addr@~1.0.8
1200 - deps: ipaddr.js@1.0.1
1202 - deps: debug@~2.2.0
1206 - deps: on-finished@~2.2.1
1211 * deps: connect@2.29.1
1212 - deps: body-parser@~1.12.2
1213 - deps: compression@~1.4.3
1214 - deps: connect-timeout@~1.6.1
1215 - deps: debug@~2.1.3
1216 - deps: errorhandler@~1.3.5
1217 - deps: express-session@~1.10.4
1218 - deps: finalhandler@0.3.4
1219 - deps: method-override@~2.3.2
1220 - deps: morgan@~1.5.2
1222 - deps: serve-index@~1.6.3
1223 - deps: serve-static@~1.9.2
1224 - deps: type-is@~1.6.1
1225 * deps: debug@~2.1.3
1226 - Fix high intensity foreground color for bold
1228 * deps: merge-descriptors@1.0.0
1229 * deps: proxy-addr@~1.0.7
1230 - deps: ipaddr.js@0.1.9
1232 - Throw errors early for invalid `extensions` or `index` options
1233 - deps: debug@~2.1.3
1238 * Fix `req.host` when using "trust proxy" hops count
1239 * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
1244 * Fix `"trust proxy"` setting to inherit when app is mounted
1245 * Generate `ETag`s for all request responses
1246 - No longer restricted to only responses for `GET` and `HEAD` requests
1247 * Use `content-type` to parse `Content-Type` headers
1248 * deps: connect@2.29.0
1249 - Use `content-type` to parse `Content-Type` headers
1250 - deps: body-parser@~1.12.0
1251 - deps: compression@~1.4.1
1252 - deps: connect-timeout@~1.6.0
1253 - deps: cookie-parser@~1.3.4
1254 - deps: cookie-signature@1.0.6
1255 - deps: csurf@~1.7.0
1256 - deps: errorhandler@~1.3.4
1257 - deps: express-session@~1.10.3
1258 - deps: http-errors@~1.3.1
1259 - deps: response-time@~2.3.0
1260 - deps: serve-index@~1.6.2
1261 - deps: serve-static@~1.9.1
1262 - deps: type-is@~1.6.0
1263 * deps: cookie-signature@1.0.6
1265 - Always read the stat size from the file
1266 - Fix mutating passed-in `options`
1272 * deps: connect@2.28.3
1273 - deps: compression@~1.3.1
1274 - deps: csurf@~1.6.6
1275 - deps: errorhandler@~1.3.3
1276 - deps: express-session@~1.10.2
1277 - deps: serve-index@~1.6.1
1278 - deps: type-is@~1.5.6
1279 * deps: proxy-addr@~1.0.6
1280 - deps: ipaddr.js@0.1.8
1285 * deps: connect@2.28.2
1286 - deps: body-parser@~1.10.2
1287 - deps: serve-static@~1.8.1
1289 - Fix root path disclosure
1294 * Fix `OPTIONS` responses to include the `HEAD` method property
1295 * Use `readline` for prompt in `express(1)`
1296 * deps: commander@2.6.0
1297 * deps: connect@2.28.1
1298 - deps: body-parser@~1.10.1
1299 - deps: compression@~1.3.0
1300 - deps: connect-timeout@~1.5.0
1301 - deps: csurf@~1.6.4
1302 - deps: debug@~2.1.1
1303 - deps: errorhandler@~1.3.2
1304 - deps: express-session@~1.10.1
1305 - deps: finalhandler@0.3.3
1306 - deps: method-override@~2.3.1
1307 - deps: morgan@~1.5.1
1308 - deps: serve-favicon@~2.2.0
1309 - deps: serve-index@~1.6.0
1310 - deps: serve-static@~1.8.0
1311 - deps: type-is@~1.5.5
1312 * deps: debug@~2.1.1
1313 * deps: methods@~1.1.1
1314 * deps: proxy-addr@~1.0.5
1315 - deps: ipaddr.js@0.1.6
1317 - deps: debug@~2.1.1
1320 - deps: on-finished@~2.2.0
1325 * Fix exception in `req.fresh`/`req.stale` without response headers
1330 * deps: connect@2.27.6
1331 - deps: compression@~1.2.2
1332 - deps: express-session@~1.9.3
1333 - deps: http-errors@~1.2.8
1334 - deps: serve-index@~1.5.3
1335 - deps: type-is@~1.5.4
1340 * deps: connect@2.27.4
1341 - deps: body-parser@~1.9.3
1342 - deps: compression@~1.2.1
1343 - deps: errorhandler@~1.2.3
1344 - deps: express-session@~1.9.2
1346 - deps: serve-favicon@~2.1.7
1347 - deps: serve-static@~1.5.1
1348 - deps: type-is@~1.5.3
1350 * deps: proxy-addr@~1.0.4
1351 - deps: ipaddr.js@0.1.5
1356 * deps: connect@2.27.3
1357 - Correctly invoke async callback asynchronously
1358 - deps: csurf@~1.6.3
1363 * deps: connect@2.27.2
1364 - Fix handling of URLs containing `://` in the path
1365 - deps: body-parser@~1.9.2
1371 * Fix internal `utils.merge` deprecation warnings
1372 * deps: connect@2.27.1
1373 - deps: body-parser@~1.9.1
1374 - deps: express-session@~1.9.1
1375 - deps: finalhandler@0.3.2
1376 - deps: morgan@~1.4.1
1378 - deps: serve-static@~1.7.1
1380 - deps: on-finished@~2.1.1
1385 * Use `content-disposition` module for `res.attachment`/`res.download`
1386 - Sends standards-compliant `Content-Disposition` header
1387 - Full Unicode support
1388 * Use `etag` module to generate `ETag` headers
1389 * deps: connect@2.27.0
1390 - Use `http-errors` module for creating errors
1391 - Use `utils-merge` module for merging objects
1392 - deps: body-parser@~1.9.0
1393 - deps: compression@~1.2.0
1394 - deps: connect-timeout@~1.4.0
1395 - deps: debug@~2.1.0
1397 - deps: express-session@~1.9.0
1398 - deps: finalhandler@0.3.1
1399 - deps: method-override@~2.3.0
1400 - deps: morgan@~1.4.0
1401 - deps: response-time@~2.2.0
1402 - deps: serve-favicon@~2.1.6
1403 - deps: serve-index@~1.5.0
1404 - deps: serve-static@~1.7.0
1405 * deps: debug@~2.1.0
1406 - Implement `DEBUG_FD` env variable support
1409 - deps: debug@~2.1.0
1416 * deps: connect@2.26.6
1417 - deps: compression@~1.1.2
1418 - deps: csurf@~1.6.2
1419 - deps: errorhandler@~1.2.2
1424 * deps: connect@2.26.5
1425 - Fix accepting non-object arguments to `logger`
1426 - deps: serve-static@~1.6.4
1431 * deps: connect@2.26.4
1432 - deps: morgan@~1.3.2
1433 - deps: type-is@~1.5.2
1438 * deps: connect@2.26.3
1439 - deps: body-parser@~1.8.4
1440 - deps: serve-favicon@~2.1.5
1441 - deps: serve-static@~1.6.3
1442 * deps: proxy-addr@~1.0.3
1443 - Use `forwarded` npm module
1450 * deps: connect@2.26.2
1451 - deps: body-parser@~1.8.3
1457 * deps: proxy-addr@~1.0.2
1458 - Fix a global leak when multiple subnets are trusted
1459 - deps: ipaddr.js@0.1.3
1464 * Use `crc` instead of `buffer-crc32` for speed
1465 * deps: connect@2.26.1
1466 - deps: body-parser@~1.8.2
1468 - deps: express-session@~1.8.2
1469 - deps: morgan@~1.3.1
1470 - deps: serve-favicon@~2.1.3
1471 - deps: serve-static@~1.6.2
1476 - deps: range-parser@~1.0.2
1481 * Fix error in `req.subdomains` on empty host
1486 * Support `X-Forwarded-Host` in `req.subdomains`
1487 * Support IP address host in `req.subdomains`
1488 * deps: connect@2.26.0
1489 - deps: body-parser@~1.8.1
1490 - deps: compression@~1.1.0
1491 - deps: connect-timeout@~1.3.0
1492 - deps: cookie-parser@~1.3.3
1493 - deps: cookie-signature@1.0.5
1494 - deps: csurf@~1.6.1
1495 - deps: debug@~2.0.0
1496 - deps: errorhandler@~1.2.0
1497 - deps: express-session@~1.8.1
1498 - deps: finalhandler@0.2.0
1500 - deps: media-typer@0.3.0
1501 - deps: method-override@~2.2.0
1502 - deps: morgan@~1.3.0
1504 - deps: serve-favicon@~2.1.3
1505 - deps: serve-index@~1.2.1
1506 - deps: serve-static@~1.6.1
1507 - deps: type-is@~1.5.1
1508 - deps: vhost@~3.0.0
1509 * deps: cookie-signature@1.0.5
1510 * deps: debug@~2.0.0
1512 * deps: media-typer@0.3.0
1513 - Throw error when parameter format invalid on parse
1514 * deps: range-parser@~1.0.2
1516 - Add `lastModified` option
1517 - Use `etag` to generate `ETag` header
1518 - deps: debug@~2.0.0
1521 - Accept valid `Vary` header string as `field`
1523 3.16.10 / 2014-09-04
1524 ====================
1526 * deps: connect@2.25.10
1527 - deps: serve-static@~1.5.4
1529 - Fix a path traversal issue when using `root`
1530 - Fix malicious path detection for empty string path
1535 * deps: connect@2.25.9
1536 - deps: body-parser@~1.6.7
1542 * deps: connect@2.25.8
1543 - deps: body-parser@~1.6.6
1544 - deps: csurf@~1.4.1
1550 * deps: connect@2.25.7
1551 - deps: body-parser@~1.6.5
1552 - deps: express-session@~1.7.6
1553 - deps: morgan@~1.2.3
1554 - deps: serve-static@~1.5.3
1556 - deps: destroy@1.0.3
1557 - deps: on-finished@2.1.0
1562 * deps: connect@2.25.6
1563 - deps: body-parser@~1.6.4
1565 - deps: serve-static@~1.5.2
1567 - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
1572 * deps: connect@2.25.5
1573 - Fix backwards compatibility in `logger`
1578 * Fix original URL parsing in `res.location`
1579 * deps: connect@2.25.4
1580 - Fix `query` middleware breaking with argument
1581 - deps: body-parser@~1.6.3
1582 - deps: compression@~1.0.11
1583 - deps: connect-timeout@~1.2.2
1584 - deps: express-session@~1.7.5
1585 - deps: method-override@~2.1.3
1586 - deps: on-headers@~1.0.0
1587 - deps: parseurl@~1.3.0
1589 - deps: response-time@~2.0.1
1590 - deps: serve-index@~1.1.6
1591 - deps: serve-static@~1.5.1
1592 * deps: parseurl@~1.3.0
1597 * deps: connect@2.25.3
1598 - deps: multiparty@3.3.2
1603 * deps: connect@2.25.2
1604 - deps: body-parser@~1.6.2
1610 * deps: connect@2.25.1
1611 - deps: body-parser@~1.6.1
1617 * deps: connect@2.25.0
1618 - deps: body-parser@~1.6.0
1619 - deps: compression@~1.0.10
1620 - deps: csurf@~1.4.0
1621 - deps: express-session@~1.7.4
1623 - deps: serve-static@~1.5.0
1625 - Add `extensions` option
1630 * fix `res.sendfile` regression for serving directory index files
1631 * deps: connect@2.24.3
1632 - deps: serve-index@~1.1.5
1633 - deps: serve-static@~1.4.4
1635 - Fix incorrect 403 on Windows and Node.js 0.11
1636 - Fix serving index files without root dir
1641 * deps: connect@2.24.2
1642 - deps: body-parser@~1.5.2
1644 - deps: express-session@~1.7.2
1645 - deps: morgan@~1.2.2
1646 - deps: serve-static@~1.4.2
1648 - Work-around v8 generating empty stack traces
1655 * deps: connect@2.24.1
1656 - deps: body-parser@~1.5.1
1658 - deps: express-session@~1.7.1
1659 - deps: morgan@~1.2.1
1660 - deps: serve-index@~1.1.4
1661 - deps: serve-static@~1.4.1
1663 - Fix exception when global `Error.stackTraceLimit` is too low
1670 * Fix `req.protocol` for proxy-direct connections
1671 * Pass options from `res.sendfile` to `send`
1672 * deps: connect@2.24.0
1673 - deps: body-parser@~1.5.0
1674 - deps: compression@~1.0.9
1675 - deps: connect-timeout@~1.2.1
1678 - deps: express-session@~1.7.0
1679 - deps: finalhandler@0.1.0
1680 - deps: method-override@~2.1.2
1681 - deps: morgan@~1.2.0
1682 - deps: multiparty@3.3.1
1683 - deps: parseurl@~1.2.0
1684 - deps: serve-static@~1.4.0
1687 - Add `TRACE_DEPRECATION` environment variable
1688 - Remove non-standard grey color from color output
1689 - Support `--no-deprecation` argument
1690 - Support `--trace-deprecation` argument
1691 * deps: parseurl@~1.2.0
1692 - Cache URLs based on original value
1693 - Remove no-longer-needed URL mis-parse work-around
1694 - Simplify the "fast-path" `RegExp`
1696 - Add `dotfiles` option
1697 - Cap `maxAge` value to 1 year
1704 * add explicit "Rosetta Flash JSONP abuse" protection
1705 - previous versions are not vulnerable; this is just explicit protection
1706 * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
1707 * fix `res.send(status, num)` to send `num` as json (not error)
1708 * remove unnecessary escaping when `res.jsonp` returns JSON response
1709 * deps: basic-auth@1.0.0
1710 - support empty password
1711 - support empty username
1712 * deps: connect@2.23.0
1714 - deps: express-session@~1.6.4
1715 - deps: method-override@~2.1.0
1716 - deps: parseurl@~1.1.3
1717 - deps: serve-static@~1.3.1
1719 - Add support for multiple wildcards in namespaces
1720 * deps: methods@1.1.0
1722 * deps: parseurl@~1.1.3
1723 - faster parsing of href-only URLs
1728 * add deprecation message to `app.configure`
1729 * add deprecation message to `req.auth`
1730 * use `basic-auth` to parse `Authorization` header
1731 * deps: connect@2.22.0
1732 - deps: csurf@~1.3.0
1733 - deps: express-session@~1.6.1
1734 - deps: multiparty@3.3.0
1735 - deps: serve-static@~1.3.0
1737 - Accept string for `maxage` (converted by `ms`)
1738 - Include link in default redirect response
1743 * deps: connect@2.21.1
1744 - deps: cookie-parser@1.3.2
1745 - deps: cookie-signature@1.0.4
1746 - deps: express-session@~1.5.2
1747 - deps: type-is@~1.3.2
1748 * deps: cookie-signature@1.0.4
1749 - fix for timing attacks
1754 * use `media-typer` to alter content-type charset
1755 * deps: connect@2.21.0
1756 - deprecate `connect(middleware)` -- use `app.use(middleware)` instead
1757 - deprecate `connect.createServer()` -- use `connect()` instead
1758 - fix `res.setHeader()` patch to work with with get -> append -> set pattern
1759 - deps: compression@~1.0.8
1760 - deps: errorhandler@~1.1.1
1761 - deps: express-session@~1.5.0
1762 - deps: serve-index@~1.1.3
1767 * deprecate things with `depd` module
1768 * deps: buffer-crc32@0.2.3
1769 * deps: connect@2.20.2
1770 - deprecate `verify` option to `json` -- use `body-parser` npm module instead
1771 - deprecate `verify` option to `urlencoded` -- use `body-parser` npm module instead
1772 - deprecate things with `depd` module
1773 - use `finalhandler` for final response handling
1774 - use `media-typer` to parse `content-type` for charset
1775 - deps: body-parser@1.4.3
1776 - deps: connect-timeout@1.1.1
1777 - deps: cookie-parser@1.3.1
1779 - deps: errorhandler@1.1.0
1780 - deps: express-session@1.4.0
1781 - deps: multiparty@3.2.9
1782 - deps: serve-index@1.1.2
1783 - deps: type-is@1.3.1
1789 * deps: connect@2.19.6
1790 - deps: body-parser@1.3.1
1791 - deps: compression@1.0.7
1793 - deps: serve-index@1.1.1
1794 - deps: serve-static@1.2.3
1797 - Do not throw un-catchable error on file open race condition
1798 - Use `escape-html` for HTML escaping
1800 - deps: finished@1.2.2
1806 * deps: connect@2.19.5
1807 - fix "event emitter leak" warnings
1810 - deps: serve-static@1.2.2
1811 - deps: type-is@1.2.1
1814 - fix "event emitter leak" warnings
1815 - deps: finished@1.2.1
1821 * use `vary` module for `res.vary`
1822 * deps: connect@2.19.4
1823 - deps: errorhandler@1.0.2
1824 - deps: method-override@2.0.2
1825 - deps: serve-favicon@2.0.1
1831 * deps: connect@2.19.3
1832 - deps: compression@1.0.6
1837 * deps: connect@2.19.2
1838 - deps: compression@1.0.4
1839 * deps: proxy-addr@1.0.1
1844 * deps: connect@2.19.1
1845 - deprecate `methodOverride()` -- use `method-override` npm module instead
1846 - deps: body-parser@1.3.0
1847 - deps: method-override@2.0.1
1848 - deps: multiparty@3.2.8
1849 - deps: response-time@2.0.0
1850 - deps: serve-static@1.2.1
1851 * deps: methods@1.0.1
1853 - Send `max-age` in `Cache-Control` in correct format
1858 * custom etag control with `app.set('etag', val)`
1859 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
1860 - `app.set('etag', 'weak')` weak tag
1861 - `app.set('etag', 'strong')` strong etag
1862 - `app.set('etag', false)` turn off
1863 - `app.set('etag', true)` standard etag
1864 * Include ETag in HEAD requests
1865 * mark `res.send` ETag as weak and reduce collisions
1866 * update connect to 2.18.0
1867 - deps: compression@1.0.3
1868 - deps: serve-index@1.1.0
1869 - deps: serve-static@1.2.0
1870 * update send to 0.4.0
1871 - Calculate ETag with md5 for reduced collisions
1872 - Ignore stream errors after request ends
1878 * update connect to 2.17.3
1879 - deps: body-parser@1.2.2
1880 - deps: express-session@1.2.1
1881 - deps: method-override@1.0.2
1886 * keep previous `Content-Type` for `res.jsonp`
1887 * set proper `charset` in `Content-Type` for `res.send`
1888 * update connect to 2.17.1
1889 - fix `res.charset` appending charset when `content-type` has one
1890 - deps: express-session@1.2.0
1891 - deps: morgan@1.1.1
1892 - deps: serve-index@1.0.3
1897 * proper proxy trust with `app.set('trust proxy', trust)`
1898 - `app.set('trust proxy', 1)` trust first hop
1899 - `app.set('trust proxy', 'loopback')` trust loopback addresses
1900 - `app.set('trust proxy', '10.0.0.1')` trust single IP
1901 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
1902 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
1903 - `app.set('trust proxy', false)` turn off
1904 - `app.set('trust proxy', true)` trust everything
1905 * update connect to 2.16.2
1906 - deprecate `res.headerSent` -- use `res.headersSent`
1907 - deprecate `res.on("header")` -- use on-headers module instead
1908 - fix edge-case in `res.appendHeader` that would append in wrong order
1909 - json: use body-parser
1910 - urlencoded: use body-parser
1912 - dep: cookie-parser@1.1.0
1914 - dep: express-session@1.1.0
1915 - dep: method-override@1.0.1
1920 * deprecate `app.del()` -- use `app.delete()` instead
1921 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
1922 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
1923 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
1924 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
1925 * support PURGE method
1927 - add `router.purge`
1928 - include PURGE in `app.all`
1929 * update connect to 2.15.0
1930 * Add `res.appendHeader`
1931 * Call error stack even when response has been sent
1932 * Patch `res.headerSent` to return Boolean
1933 * Patch `res.headersSent` for node.js 0.8
1934 * Prevent default 404 handler after response sent
1935 * dep: compression@1.0.2
1936 * dep: connect-timeout@1.1.0
1938 * dep: errorhandler@1.0.1
1939 * dep: express-session@1.0.4
1941 * dep: serve-favicon@2.0.0
1942 * dep: serve-index@1.0.2
1943 * update debug to 0.8.0
1944 * add `enable()` method
1945 * change from stderr to stdout
1946 * update methods to 1.0.0
1948 * update mkdirp to 0.5.0
1953 * fix `req.host` for IPv6 literals
1954 * fix `res.jsonp` error if callback param is object
1959 * update connect to 2.14.5
1960 * update cookie to 0.1.2
1961 * update mkdirp to 0.4.0
1962 * update send to 0.3.0
1967 * pin less-middleware in generated app
1977 * prevent incorrect automatic OPTIONS responses #1868 @dpatti
1978 * update binary and examples for jade 1.0 #1876 @yossi, #1877 @reqshark, #1892 @matheusazzi
1979 * throw 400 in case of malformed paths @rlidwka
1989 * update connect (raw-body)
1995 * res.location: remove leading ./ #1802 @kapouer
1996 * res.redirect: fix `res.redirect('toString') #1829 @michaelficarra
1997 * res.send: always send ETag when content-length > 0
1998 * router: add Router.all() method
2006 * express(1): replace bodyParser() with urlencoded() and json() #1795 @chirag04
2017 * downgrade commander
2024 * jsonp: check if callback is a function
2025 * router: wrap encodeURIComponent in a try/catch #1735 (@lxe)
2026 * res.format: now includes charset @1747 (@sorribas)
2027 * res.links: allow multiple calls @1746 (@sorribas)
2032 * add res.vary(). Closes #1682
2048 * Revert "remove charset from json responses. Closes #1631" (causes issues in some clients)
2049 * add: req.accepts take an argument list
2054 * update send and connect
2066 * remove .version export
2077 * add support for multiple X-Forwarded-Proto values. Closes #1646
2078 * change: remove charset from json responses. Closes #1631
2079 * change: return actual booleans from req.accept* functions
2080 * fix jsonp callback array throw
2091 * update node-cookie
2092 * add: throw a meaningful error when there is no default engine
2093 * change generation of ETags with res.send() to GET requests only. Closes #1619
2098 * fix `req.subdomains` when no Host is present
2099 * fix `req.host` when no Host is present, return undefined
2104 * update connect / qs
2114 * add app.VERB() paths array deprecation warning
2116 * update qs and remove all ~ semver crap
2117 * fix: accept number as value of Signed Cookie
2122 * add "view" constructor setting to override view behaviour
2123 * add req.acceptsEncoding(name)
2124 * add req.acceptedEncodings
2125 * revert cookie signature change causing session race conditions
2126 * fix sorting of Accept values of the same quality
2131 * add support for custom Accept parameters
2132 * update cookie-signature
2137 * add X-Forwarded-Host support to `req.host`
2138 * fix relative redirects
2140 * update buffer-crc32
2141 * remove legacy app.configure() method from app template.
2146 * add support for leading "." in "view engine" setting
2147 * add array support to `res.set()`
2148 * add node 0.8.x to travis.yml
2149 * add "subdomain offset" setting for tweaking `req.subdomains`
2150 * add `res.location(url)` implementing `res.redirect()`-like setting of Location
2151 * use app.get() for x-powered-by setting for inheritance
2152 * fix colons in passwords for `req.auth`
2157 * add http verb methods to Router
2159 * fix mangling of the `res.cookie()` options object
2160 * fix jsonp whitespace escape. Closes #1132
2165 * add throwing when a non-function is passed to a route
2166 * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses
2167 * revert "add 'etag' option"
2172 * add 'etag' option to disable `res.send()` Etags
2173 * add escaping of urls in text/plain in `res.redirect()`
2174 for old browsers interpreting as html
2175 * change crc32 module for a more liberal license
2182 * update cookie module
2183 * fix cookie max-age
2188 * add OPTIONS to cors example. Closes #1398
2189 * fix route chaining regression. Closes #1397
2200 * add "Basic" check to req.auth
2201 * add `req.auth` test coverage
2202 * add cb && cb(payload) to `res.jsonp()`. Closes #1374
2203 * add backwards compat for `res.redirect()` status. Closes #1336
2204 * add support for `res.json()` to retain previously defined Content-Types. Closes #1349
2206 * change `res.redirect()` to utilize a pathname-relative Location again. Closes #1382
2207 * remove non-primitive string support for `res.send()`
2208 * fix view-locals example. Closes #1370
2209 * fix route-separation example
2211 3.0.0rc5 / 2012-09-18
2215 * add redis search example
2216 * add static-files example
2217 * add "x-powered-by" setting (`app.disable('x-powered-by')`)
2218 * add "application/octet-stream" redirect Accept test case. Closes #1317
2220 3.0.0rc4 / 2012-08-30
2223 * add `res.jsonp()`. Closes #1307
2224 * add "verbose errors" option to error-pages example
2225 * add another route example to express(1) so people are not so confused
2226 * add redis online user activity tracking example
2227 * update connect dep
2228 * fix etag quoting. Closes #1310
2229 * fix error-pages 404 status
2230 * fix jsonp callback char restrictions
2231 * remove old OPTIONS default response
2233 3.0.0rc3 / 2012-08-13
2236 * update connect dep
2237 * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds]
2238 * fix `res.render()` clobbering of "locals"
2240 3.0.0rc2 / 2012-08-03
2244 * update connect dep
2245 * deprecate `.createServer()` & remove old stale examples
2246 * fix: escape `res.redirect()` link
2249 3.0.0rc1 / 2012-07-24
2252 * add more examples to view-locals
2253 * add scheme-relative redirects (`res.redirect("//foo.com")`) support
2255 * update connect dep
2257 * fix `express(1)` -h flag, use -H for hogan. Closes #1245
2258 * fix `res.sendfile()` socket error handling regression
2260 3.0.0beta7 / 2012-07-16
2263 * update connect dep for `send()` root normalization regression
2265 3.0.0beta6 / 2012-07-13
2268 * add `err.view` property for view errors. Closes #1226
2269 * add "jsonp callback name" setting
2270 * add support for "/foo/:bar*" non-greedy matches
2271 * change `res.sendfile()` to use `send()` module
2272 * change `res.send` to use "response-send" module
2273 * remove `app.locals.use` and `res.locals.use`, use regular middleware
2275 3.0.0beta5 / 2012-07-03
2278 * add "make check" support
2279 * add route-map example
2280 * add `res.json(obj, status)` support back for BC
2281 * add "methods" dep, remove internal methods module
2282 * update connect dep
2283 * update auth example to utilize cores pbkdf2
2284 * updated tests to use "supertest"
2286 3.0.0beta4 / 2012-06-25
2290 * Added `req.range(size)`
2291 * Added `res.links(obj)`
2292 * Added `res.send(body, status)` support back for backwards compat
2293 * Added `.default()` support to `res.format()`
2294 * Added 2xx / 304 check to `req.fresh`
2295 * Revert "Added + support to the router"
2296 * Fixed `res.send()` freshness check, respect res.statusCode
2298 3.0.0beta3 / 2012-06-15
2301 * Added hogan `--hjs` to express(1) [nullfirm]
2302 * Added another example to content-negotiation
2304 * Changed: `res.send()` always checks freshness
2305 * Fixed: expose connects mime module. Closes #1165
2307 3.0.0beta2 / 2012-06-06
2310 * Added `+` support to the router
2312 * Changed `req.param()` to check route first
2313 * Update connect dep
2315 3.0.0beta1 / 2012-06-01
2318 * Added `res.format()` callback to override default 406 behaviour
2319 * Fixed `res.redirect()` 406. Closes #1154
2321 3.0.0alpha5 / 2012-05-30
2325 * Added `{ signed: true }` option to `res.cookie()`
2326 * Removed `res.signedCookie()`
2327 * Changed: dont reverse `req.ips`
2328 * Fixed "trust proxy" setting check for `req.ips`
2330 3.0.0alpha4 / 2012-05-09
2333 * Added: allow `[]` in jsonp callback. Closes #1128
2334 * Added `PORT` env var support in generated template. Closes #1118 [benatkin]
2335 * Updated: connect 2.2.2
2337 3.0.0alpha3 / 2012-05-04
2340 * Added public `app.routes`. Closes #887
2341 * Added _view-locals_ example
2342 * Added _mvc_ example
2343 * Added `res.locals.use()`. Closes #1120
2344 * Added conditional-GET support to `res.send()`
2345 * Added: coerce `res.set()` values to strings
2346 * Changed: moved `static()` in generated apps below router
2347 * Changed: `res.send()` only set ETag when not previously set
2348 * Changed connect 2.2.1 dep
2349 * Changed: `make test` now runs unit / acceptance tests
2350 * Fixed req/res proto inheritance
2352 3.0.0alpha2 / 2012-04-26
2355 * Added `make benchmark` back
2356 * Added `res.send()` support for `String` objects
2357 * Added client-side data exposing example
2358 * Added `res.header()` and `req.header()` aliases for BC
2359 * Added `express.createServer()` for BC
2360 * Perf: memoize parsed urls
2361 * Perf: connect 2.2.0 dep
2362 * Changed: make `expressInit()` middleware self-aware
2363 * Fixed: use app.get() for all core settings
2364 * Fixed redis session example
2365 * Fixed session example. Closes #1105
2366 * Fixed generated express dep. Closes #1078
2368 3.0.0alpha1 / 2012-04-15
2371 * Added `app.locals.use(callback)`
2372 * Added `app.locals` object
2373 * Added `app.locals(obj)`
2374 * Added `res.locals` object
2375 * Added `res.locals(obj)`
2376 * Added `res.format()` for content-negotiation
2377 * Added `app.engine()`
2378 * Added `res.cookie()` JSON cookie support
2379 * Added "trust proxy" setting
2380 * Added `req.subdomains`
2381 * Added `req.protocol`
2382 * Added `req.secure`
2387 * Added comma-delimited / array support for `req.accepts()`
2388 * Added debug instrumentation
2389 * Added `res.set(obj)`
2390 * Added `res.set(field, value)`
2391 * Added `res.get(field)`
2392 * Added `app.get(setting)`. Closes #842
2393 * Added `req.acceptsLanguage()`
2394 * Added `req.acceptsCharset()`
2395 * Added `req.accepted`
2396 * Added `req.acceptedLanguages`
2397 * Added `req.acceptedCharsets`
2398 * Added "json replacer" setting
2399 * Added "json spaces" setting
2400 * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92
2401 * Added `--less` support to express(1)
2402 * Added `express.response` prototype
2403 * Added `express.request` prototype
2404 * Added `express.application` prototype
2405 * Added `app.path()`
2406 * Added `app.render()`
2407 * Added `res.type()` to replace `res.contentType()`
2408 * Changed: `res.redirect()` to add relative support
2409 * Changed: enable "jsonp callback" by default
2410 * Changed: renamed "case sensitive routes" to "case sensitive routing"
2411 * Rewrite of all tests with mocha
2412 * Removed "root" setting
2413 * Removed `res.redirect('home')` support
2414 * Removed `req.notify()`
2415 * Removed `app.register()`
2416 * Removed `app.redirect()`
2417 * Removed `app.is()`
2418 * Removed `app.helpers()`
2419 * Removed `app.dynamicHelpers()`
2420 * Fixed `res.sendfile()` with non-GET. Closes #723
2421 * Fixed express(1) public dir for windows. Closes #866
2426 * Added support for PURGE request method [pbuyle]
2427 * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]
2432 * Update mkdirp dep. Closes #991
2437 * Fixed `app.all` duplicate DELETE requests [mscdex]
2442 * Updated hamljs dev dep. Closes #953
2447 * Fixed: set `filename` on cached templates [matthewleon]
2452 * Fixed `express(1)` eol on 0.4.x. Closes #947
2457 * Fixed `req.is()` when a charset is present
2462 * Fixed: express(1) LF -> CRLF for windows
2467 * Changed: updated connect to 1.8.x
2468 * Removed sass.js support from express(1)
2473 * Added ./routes dir for generated app by default
2474 * Added npm install reminder to express(1) app gen
2475 * Added 0.5.x support
2476 * Removed `make test-cov` since it wont work with node 0.5.x
2477 * Fixed express(1) public dir for windows. Closes #866
2482 * Added mkdirp to express(1). Closes #795
2483 * Added simple _json-config_ example
2484 * Added shorthand for the parsed request's pathname via `req.path`
2485 * Changed connect dep to 1.7.x to fix npm issue...
2486 * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]
2487 * Fixed `req.flash()`, only escape args
2488 * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]
2493 * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]
2498 * Added support for routes to handle errors. Closes #809
2499 * Added `app.routes.all()`. Closes #803
2500 * Added "basepath" setting to work in conjunction with reverse proxies etc.
2501 * Refactored `Route` to use a single array of callbacks
2502 * Added support for multiple callbacks for `app.param()`. Closes #801
2504 * Changed: removed .call(self) for route callbacks
2505 * Dependency: `qs >= 0.3.1`
2506 * Fixed `res.redirect()` on windows due to `join()` usage. Closes #808
2511 * Fixed `res.header()` intention of a set, even when `undefined`
2512 * Fixed `*`, value no longer required
2513 * Fixed `res.send(204)` support. Closes #771
2518 * Added docs for `status` option special-case. Closes #739
2519 * Fixed `options.filename`, exposing the view path to template engines
2524 * Revert "removed jsonp stripping" for XSS
2529 * Added `res.json()` JSONP support. Closes #737
2530 * Added _extending-templates_ example. Closes #730
2531 * Added "strict routing" setting for trailing slashes
2532 * Added support for multiple envs in `app.configure()` calls. Closes #735
2533 * Changed: `res.send()` using `res.json()`
2534 * Changed: when cookie `path === null` don't default it
2535 * Changed; default cookie path to "home" setting. Closes #731
2536 * Removed _pids/logs_ creation from express(1)
2541 * Added chainable `res.status(code)`
2542 * Added `res.json()`, an explicit version of `res.send(obj)`
2543 * Added simple web-service example
2548 * \#express is now on freenode! come join!
2549 * Added `req.get(field, param)`
2550 * Added links to Japanese documentation, thanks @hideyukisaito!
2551 * Added; the `express(1)` generated app outputs the env
2552 * Added `content-negotiation` example
2553 * Dependency: connect >= 1.5.1 < 2.0.0
2554 * Fixed view layout bug. Closes #720
2555 * Fixed; ignore body on 304. Closes #701
2561 * Removed generation of dummy test file from `express(1)`
2562 * Fixed; `express(1)` adds express as a dep
2563 * Fixed; prune on `prepublish`
2568 * Added `req.route`, exposing the current route
2569 * Added _package.json_ generation support to `express(1)`
2570 * Fixed call to `app.param()` function for optional params. Closes #682
2575 * Fixed bug-ish with `../' in `res.partial()` calls
2580 * Fixed `app.options()`
2585 * Added route `Collection`, ex: `app.get('/user/:id').remove();`
2586 * Added support for `app.param(fn)` to define param logic
2587 * Removed `app.param()` support for callback with return value
2588 * Removed module.parent check from express(1) generated app. Closes #670
2589 * Refactored router. Closes #639
2594 * Changed; using devDependencies instead of git submodules
2595 * Fixed redis session example
2596 * Fixed markdown example
2597 * Fixed view caching, should not be enabled in development
2602 * Added export `.view` as alias for `.View`
2607 * Added `./examples/say`
2608 * Fixed `res.sendfile()` bug preventing the transfer of files with spaces
2613 * Added "case sensitive routes" option.
2614 * Changed; split methods supported per rfc [slaskis]
2615 * Fixed route-specific middleware when using the same callback function several times
2625 * Added `app.match()` as `app.match.all()`
2626 * Added `app.lookup()` as `app.lookup.all()`
2627 * Added `app.remove()` for `app.remove.all()`
2628 * Added `app.remove.VERB()`
2629 * Fixed template caching collision issue. Closes #644
2630 * Moved router over from connect and started refactor
2635 * Added options support to `res.clearCookie()`
2636 * Added `res.helpers()` as alias of `res.locals()`
2637 * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0`
2638 * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]
2639 * Renamed "cache views" to "view cache". Closes #628
2640 * Fixed caching of views when using several apps. Closes #637
2641 * Fixed gotcha invoking `app.param()` callbacks once per route middleware.
2643 * Fixed partial lookup precedence. Closes #631
2649 * Added second callback support for `res.download()` connection errors
2650 * Fixed `filename` option passing to template engine
2655 * Added `layout(path)` helper to change the layout within a view. Closes #610
2656 * Fixed `partial()` collection object support.
2657 Previously only anything with `.length` would work.
2658 When `.length` is present one must still be aware of holes,
2659 however now `{ collection: {foo: 'bar'}}` is valid, exposes
2660 `keyInCollection` and `keysInCollection`.
2662 * Performance improved with better view caching
2663 * Removed `request` and `response` locals
2664 * Changed; errorHandler page title is now `Express` instead of `Connect`
2669 * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #606
2670 * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #606
2671 * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.
2672 * Dependency `connect >= 1.2.0`
2677 * Added; expose `err.view` object when failing to locate a view
2678 * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]
2679 * Fixed; `res.send(undefined)` responds with 204 [aheckmann]
2684 * Added `<root>/_?<name>` partial lookup support. Closes #447
2685 * Added `request`, `response`, and `app` local variables
2686 * Added `settings` local variable, containing the app's settings
2687 * Added `req.flash()` exception if `req.session` is not available
2688 * Added `res.send(bool)` support (json response)
2689 * Fixed stylus example for latest version
2690 * Fixed; wrap try/catch around `res.render()`
2695 * Fixed up index view path alternative.
2696 * Changed; `res.locals()` without object returns the locals
2698 2.0.0rc3 / 2011-03-17
2701 * Added `res.locals(obj)` to compliment `res.local(key, val)`
2702 * Added `res.partial()` callback support
2703 * Fixed recursive error reporting issue in `res.render()`
2705 2.0.0rc2 / 2011-03-17
2708 * Changed; `partial()` "locals" are now optional
2709 * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]
2710 * Fixed .filename view engine option [reported by drudge]
2711 * Fixed blog example
2712 * Fixed `{req,res}.app` reference when mounting [Ben Weaver]
2714 2.0.0rc / 2011-03-14
2717 * Fixed; expose `HTTPSServer` constructor
2718 * Fixed express(1) default test charset. Closes #579 [reported by secoif]
2719 * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]
2721 2.0.0beta3 / 2011-03-09
2724 * Added support for `res.contentType()` literal
2725 The original `res.contentType('.json')`,
2726 `res.contentType('application/json')`, and `res.contentType('json')`
2728 * Added `res.render()` status option support back
2729 * Added charset option for `res.render()`
2730 * Added `.charset` support (via connect 1.0.4)
2731 * Added view resolution hints when in development and a lookup fails
2732 * Added layout lookup support relative to the page view.
2733 For example while rendering `./views/user/index.jade` if you create
2734 `./views/user/layout.jade` it will be used in favour of the root layout.
2735 * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]
2736 * Fixed; default `res.send()` string charset to utf8
2737 * Removed `Partial` constructor (not currently used)
2739 2.0.0beta2 / 2011-03-07
2742 * Added res.render() `.locals` support back to aid in migration process
2743 * Fixed flash example
2745 2.0.0beta / 2011-03-03
2748 * Added HTTPS support
2749 * Added `res.cookie()` maxAge support
2750 * Added `req.header()` _Referrer_ / _Referer_ special-case, either works
2751 * Added mount support for `res.redirect()`, now respects the mount-point
2752 * Added `union()` util, taking place of `merge(clone())` combo
2753 * Added stylus support to express(1) generated app
2754 * Added secret to session middleware used in examples and generated app
2755 * Added `res.local(name, val)` for progressive view locals
2756 * Added default param support to `req.param(name, default)`
2757 * Added `app.disabled()` and `app.enabled()`
2758 * Added `app.register()` support for omitting leading ".", either works
2759 * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #539
2760 * Added `app.param()` to map route params to async/sync logic
2761 * Added; aliased `app.helpers()` as `app.locals()`. Closes #481
2762 * Added extname with no leading "." support to `res.contentType()`
2763 * Added `cache views` setting, defaulting to enabled in "production" env
2764 * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.
2765 * Added `req.accepts()` support for extensions
2766 * Changed; `res.download()` and `res.sendfile()` now utilize Connect's
2767 static file server `connect.static.send()`.
2768 * Changed; replaced `connect.utils.mime()` with npm _mime_ module
2769 * Changed; allow `req.query` to be pre-defined (via middleware or other parent
2770 * Changed view partial resolution, now relative to parent view
2771 * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.
2772 * Fixed `req.param()` bug returning Array.prototype methods. Closes #552
2773 * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()`
2774 * Fixed; using _qs_ module instead of _querystring_
2775 * Fixed; strip unsafe chars from jsonp callbacks
2776 * Removed "stream threshold" setting
2781 * Allow `req.query` to be pre-defined (via middleware or other parent app)
2782 * "connect": ">= 0.5.0 < 1.0.0". Closes #547
2783 * Removed the long deprecated __EXPRESS_ENV__ support
2788 * Fixed `render()` setting inheritance.
2789 Mounted apps would not inherit "view engine"
2794 * Fixed `view engine` setting bug when period is in dirname
2799 * Added secret to generated app `session()` call
2804 * Added `qs` dependency to _package.json_
2805 * Fixed namespaced `require()`s for latest connect support
2810 * Remove unsafe characters from JSONP callback names [Ryan Grove]
2815 * Removed nested require, using `connect.router`
2820 * Fixed for middleware stacked via `createServer()`
2821 previously the `foo` middleware passed to `createServer(foo)`
2822 would not have access to Express methods such as `res.send()`
2823 or props like `req.query` etc.
2828 * Added; deduce partial object names from the last segment.
2829 For example by default `partial('forum/post', postObject)` will
2830 give you the _post_ object, providing a meaningful default.
2831 * Added http status code string representation to `res.redirect()` body
2832 * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__.
2833 * Added `req.is()` to aid in content negotiation
2834 * Added partial local inheritance [suggested by masylum]. Closes #102
2835 providing access to parent template locals.
2836 * Added _-s, --session[s]_ flag to express(1) to add session related middleware
2837 * Added _--template_ flag to express(1) to specify the
2838 template engine to use.
2839 * Added _--css_ flag to express(1) to specify the
2840 stylesheet engine to use (or just plain css by default).
2841 * Added `app.all()` support [thanks aheckmann]
2842 * Added partial direct object support.
2843 You may now `partial('user', user)` providing the "user" local,
2844 vs previously `partial('user', { object: user })`.
2845 * Added _route-separation_ example since many people question ways
2846 to do this with CommonJS modules. Also view the _blog_ example for
2848 * Performance; caching view path derived partial object names
2849 * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #454
2850 * Fixed jsonp support; _text/javascript_ as per mailinglist discussion
2852 1.0.0rc4 / 2010-10-14
2855 * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.0
2856 * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))
2857 * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass]
2858 * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass]
2859 * Added `partial()` support for array-like collections. Closes #434
2860 * Added support for swappable querystring parsers
2861 * Added session usage docs. Closes #443
2862 * Added dynamic helper caching. Closes #439 [suggested by maritz]
2863 * Added authentication example
2864 * Added basic Range support to `res.sendfile()` (and `res.download()` etc)
2865 * Changed; `express(1)` generated app using 2 spaces instead of 4
2866 * Default env to "development" again [aheckmann]
2867 * Removed _context_ option is no more, use "scope"
2868 * Fixed; exposing _./support_ libs to examples so they can run without installs
2871 1.0.0rc3 / 2010-09-20
2874 * Added confirmation for `express(1)` app generation. Closes #391
2875 * Added extending of flash formatters via `app.flashFormatters`
2876 * Added flash formatter support. Closes #411
2877 * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold"
2878 * Added _stream threshold_ setting for `res.sendfile()`
2879 * Added `res.send()` __HEAD__ support
2880 * Added `res.clearCookie()`
2881 * Added `res.cookie()`
2882 * Added `res.render()` headers option
2883 * Added `res.redirect()` response bodies
2884 * Added `res.render()` status option support. Closes #425 [thanks aheckmann]
2885 * Fixed `res.sendfile()` responding with 403 on malicious path
2886 * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_
2887 * Fixed; mounted apps settings now inherit from parent app [aheckmann]
2888 * Fixed; stripping Content-Length / Content-Type when 204
2889 * Fixed `res.send()` 204. Closes #419
2890 * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #402
2891 * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]
2894 1.0.0rc2 / 2010-08-17
2897 * Added `app.register()` for template engine mapping. Closes #390
2898 * Added `res.render()` callback support as second argument (no options)
2899 * Added callback support to `res.download()`
2900 * Added callback support for `res.sendfile()`
2901 * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()`
2902 * Added "partials" setting to docs
2903 * Added default expresso tests to `express(1)` generated app. Closes #384
2904 * Fixed `res.sendfile()` error handling, defer via `next()`
2905 * Fixed `res.render()` callback when a layout is used [thanks guillermo]
2906 * Fixed; `make install` creating ~/.node_libraries when not present
2907 * Fixed issue preventing error handlers from being defined anywhere. Closes #387
2909 1.0.0rc / 2010-07-28
2912 * Added mounted hook. Closes #369
2913 * Added connect dependency to _package.json_
2915 * Removed "reload views" setting and support code
2916 development env never caches, production always caches.
2918 * Removed _param_ in route callbacks, signature is now
2919 simply (req, res, next), previously (req, res, params, next).
2920 Use _req.params_ for path captures, _req.query_ for GET params.
2922 * Fixed "home" setting
2923 * Fixed middleware/router precedence issue. Closes #366
2924 * Fixed; _configure()_ callbacks called immediately. Closes #368
2926 1.0.0beta2 / 2010-07-23
2929 * Added more examples
2930 * Added; exporting `Server` constructor
2931 * Added `Server#helpers()` for view locals
2932 * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #349
2933 * Added support for absolute view paths
2934 * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #363
2935 * Added Guillermo Rauch to the contributor list
2936 * Added support for "as" for non-collection partials. Closes #341
2937 * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]
2938 * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]
2939 * Fixed instanceof `Array` checks, now `Array.isArray()`
2940 * Fixed express(1) expansion of public dirs. Closes #348
2941 * Fixed middleware precedence. Closes #345
2942 * Fixed view watcher, now async [thanks aheckmann]
2944 1.0.0beta / 2010-07-15
2950 - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs
2955 * Utilize relative requires
2956 * Added Static bufferSize option [aheckmann]
2957 * Fixed caching of view and partial subdirectories [aheckmann]
2958 * Fixed mime.type() comments now that ".ext" is not supported
2959 * Updated haml submodule
2960 * Updated class submodule
2961 * Removed bin/express
2966 * Added node v0.1.97 compatibility
2967 * Added support for deleting cookies via Request#cookie('key', null)
2968 * Updated haml submodule
2969 * Fixed not-found page, now using using charset utf-8
2970 * Fixed show-exceptions page, now using using charset utf-8
2971 * Fixed view support due to fs.readFile Buffers
2972 * Changed; mime.type() no longer accepts ".type" due to node extname() changes
2977 * Added node v0.1.96 compatibility
2978 * Added view `helpers` export which act as additional local variables
2979 * Updated haml submodule
2980 * Changed ETag; removed inode, modified time only
2981 * Fixed LF to CRLF for setting multiple cookies
2982 * Fixed cookie complation; values are now urlencoded
2983 * Fixed cookies parsing; accepts quoted values and url escaped cookies
2988 * Added support for layouts using different engines
2989 - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })
2990 - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'
2991 - this.render('page.html.haml', { layout: false }) // no layout
2992 * Updated ext submodule
2993 * Updated haml submodule
2994 * Fixed EJS partial support by passing along the context. Issue #307
2999 * Fixed binary uploads.
3004 * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s
3005 encoding is set to 'utf8' or 'utf-8'.
3006 * Added "encoding" option to Request#render(). Closes #299
3007 * Added "dump exceptions" setting, which is enabled by default.
3008 * Added simple ejs template engine support
3009 * Added error response support for text/plain, application/json. Closes #297
3010 * Added callback function param to Request#error()
3011 * Added Request#sendHead()
3012 * Added Request#stream()
3013 * Added support for Request#respond(304, null) for empty response bodies
3014 * Added ETag support to Request#sendfile()
3015 * Added options to Request#sendfile(), passed to fs.createReadStream()
3016 * Added filename arg to Request#download()
3017 * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request
3018 * Performance enhanced by preventing several calls to toLowerCase() in Router#match()
3019 * Changed; Request#sendfile() now streams
3020 * Changed; Renamed Request#halt() to Request#respond(). Closes #289
3021 * Changed; Using sys.inspect() instead of JSON.encode() for error output
3022 * Changed; run() returns the http.Server instance. Closes #298
3023 * Changed; Defaulting Server#host to null (INADDR_ANY)
3024 * Changed; Logger "common" format scale of 0.4f
3025 * Removed Logger "request" format
3026 * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found
3027 * Fixed several issues with http client
3028 * Fixed Logger Content-Length output
3029 * Fixed bug preventing Opera from retaining the generated session id. Closes #292
3034 * Added DSL level error() route support
3035 * Added DSL level notFound() route support
3036 * Added Request#error()
3037 * Added Request#notFound()
3038 * Added Request#render() callback function. Closes #258
3039 * Added "max upload size" setting
3040 * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #254
3041 * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js
3042 * Added callback function support to Request#halt() as 3rd/4th arg
3043 * Added preprocessing of route param wildcards using param(). Closes #251
3044 * Added view partial support (with collections etc)
3045 * Fixed bug preventing falsey params (such as ?page=0). Closes #286
3046 * Fixed setting of multiple cookies. Closes #199
3047 * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)
3048 * Changed; session cookie is now httpOnly
3049 * Changed; Request is no longer global
3050 * Changed; Event is no longer global
3051 * Changed; "sys" module is no longer global
3052 * Changed; moved Request#download to Static plugin where it belongs
3053 * Changed; Request instance created before body parsing. Closes #262
3054 * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #253
3055 * Changed; Pre-caching view partials in memory when "cache view partials" is enabled
3056 * Updated support to node --version 0.1.90
3057 * Updated dependencies
3058 * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})
3059 * Removed utils.mixin(); use Object#mergeDeep()
3064 * Added coffeescript example app. Closes #242
3065 * Changed; cache api now async friendly. Closes #240
3066 * Removed deprecated 'express/static' support. Use 'express/plugins/static'
3071 * Added Request#isXHR. Closes #229
3072 * Added `make install` (for the executable)
3073 * Added `express` executable for setting up simple app templates
3074 * Added "GET /public/*" to Static plugin, defaulting to <root>/public
3075 * Added Static plugin
3076 * Fixed; Request#render() only calls cache.get() once
3077 * Fixed; Namespacing View caches with "view:"
3078 * Fixed; Namespacing Static caches with "static:"
3079 * Fixed; Both example apps now use the Static plugin
3080 * Fixed set("views"). Closes #239
3081 * Fixed missing space for combined log format
3082 * Deprecated Request#sendfile() and 'express/static'
3083 * Removed Server#running
3088 * Added Request#flash() support without args, now returns all flashes
3089 * Updated ext submodule
3094 * Fixed session reaper
3095 * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)
3100 * Added package.json
3101 * Fixed requiring of haml / sass due to kiwi removal
3106 * Fixed GIT submodules (HAH!)
3111 * Changed; Express now using submodules again until a PM is adopted
3112 * Changed; chat example using millisecond conversions from ext
3117 * Added Request#pass() support (finds the next matching route, or the given path)
3118 * Added Logger plugin (default "common" format replaces CommonLogger)
3119 * Removed Profiler plugin
3120 * Removed CommonLogger plugin
3125 * Added seed.yml for kiwi package management support
3126 * Added HTTP client query string support when method is GET. Closes #205
3128 * Added support for arbitrary view engines.
3129 For example "foo.engine.html" will now require('engine'),
3130 the exports from this module are cached after the first require().
3132 * Added async plugin support
3134 * Removed usage of RESTful route funcs as http client
3135 get() etc, use http.get() and friends
3137 * Removed custom exceptions
3142 * Added ext dependency (library of js extensions)
3143 * Removed extname() / basename() utils. Use path module
3144 * Removed toArray() util. Use arguments.values
3145 * Removed escapeRegexp() util. Use RegExp.escape()
3146 * Removed process.mixin() dependency. Use utils.mixin()
3147 * Removed Collection
3148 * Removed ElementCollection
3149 * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;)
3154 * Added flash() example to sample upload app
3155 * Added high level restful http client module (express/http)
3156 * Changed; RESTful route functions double as HTTP clients. Closes #69
3157 * Changed; throwing error when routes are added at runtime
3158 * Changed; defaulting render() context to the current Request. Closes #197
3159 * Updated haml submodule
3164 * Updated haml / sass submodules. Closes #200
3165 * Added flash message support. Closes #64
3166 * Added accepts() now allows multiple args. fixes #117
3167 * Added support for plugins to halt. Closes #189
3168 * Added alternate layout support. Closes #119
3169 * Removed Route#run(). Closes #188
3170 * Fixed broken specs due to use(Cookie) missing
3175 * Added "plot" format option for Profiler (for gnuplot processing)
3176 * Added request number to Profiler plugin
3177 * Fixed binary encoding for multi-part file uploads, was previously defaulting to UTF8
3178 * Fixed issue with routes not firing when not files are present. Closes #184
3179 * Fixed process.Promise -> events.Promise
3184 * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #180
3185 * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #174
3186 * Added expiration support to cache api with reaper. Closes #133
3187 * Added cache Store.Memory#reap()
3188 * Added Cache; cache api now uses first class Cache instances
3189 * Added abstract session Store. Closes #172
3190 * Changed; cache Memory.Store#get() utilizing Collection
3191 * Renamed MemoryStore -> Store.Memory
3192 * Fixed use() of the same plugin several time will always use latest options. Closes #176
3197 * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context
3198 * Updated node support to 0.1.27 Closes #169
3199 * Updated dirname(__filename) -> __dirname
3200 * Updated libxmljs support to v0.2.0
3201 * Added session support with memory store / reaping
3202 * Added quick uid() helper
3203 * Added multi-part upload support
3204 * Added Sass.js support / submodule
3205 * Added production env caching view contents and static files
3206 * Added static file caching. Closes #136
3207 * Added cache plugin with memory stores
3208 * Added support to StaticFile so that it works with non-textual files.
3209 * Removed dirname() helper
3210 * Removed several globals (now their modules must be required)
3215 * Added view benchmarks; currently haml vs ejs
3216 * Added Request#attachment() specs. Closes #116
3217 * Added use of node's parseQuery() util. Closes #123
3218 * Added `make init` for submodules
3220 * Updated sample chat app to show messages on load
3221 * Updated libxmljs parseString -> parseHtmlString
3222 * Fixed `make init` to work with older versions of git
3223 * Fixed specs can now run independent specs for those who cant build deps. Closes #127
3224 * Fixed issues introduced by the node url module changes. Closes 126.
3225 * Fixed two assertions failing due to Collection#keys() returning strings
3226 * Fixed faulty Collection#toArray() spec due to keys() returning strings
3227 * Fixed `make test` now builds libxmljs.node before testing