4 * Fix error when `res.set` cannot add charset to `Content-Type`
6 - Fix `DEBUG_MAX_ARRAY_LENGTH`
8 * deps: finalhandler@~1.0.3
9 - Fix missing `</html>` in HTML document
11 * deps: proxy-addr@~1.1.4
12 - deps: ipaddr.js@1.3.0
16 * deps: serve-static@1.12.3
18 * deps: type-is@~1.6.15
19 - deps: mime-types@~2.1.15
21 - perf: hoist regular expression
27 - Fix regression parsing keys starting with `[`
33 - Fix issue when `Date.parse` does not return `NaN` on invalid date
34 - Fix strict violation in broken environments
35 * deps: serve-static@1.12.1
36 - Fix issue when `Date.parse` does not return `NaN` on invalid date
42 * Add debug message when loading view engine
43 * Add `next("router")` to exit from router
44 * Fix case where `router.use` skipped requests routes did not
45 * Remove usage of `res._headers` private field
46 - Improves compatibility with Node.js 8 nightly
47 * Skip routing when `req.url` is not set
48 * Use `%o` in path debug to tell types apart
49 * Use `Object.create` to setup request & response prototypes
50 * Use `setprototypeof` module to replace `__proto__` setting
51 * Use `statuses` instead of `http` module for status messages
53 - Allow colors in workers
54 - Deprecated `DEBUG_FD` environment variable set to `3` or higher
55 - Fix error when running under React Native
56 - Use same color for same namespace
59 - Use SHA1 instead of MD5 for ETag hashing
60 - Works with FIPS 140-2 OpenSSL configuration
61 * deps: finalhandler@~1.0.0
62 - Fix exception when `err` cannot be converted to a string
63 - Fully URL-encode the pathname in the 404
64 - Only include the pathname in the 404 message
65 - Send complete HTML document
66 - Set `Content-Security-Policy: default-src 'self'` header
69 - Fix false detection of `no-cache` request directive
70 - Fix incorrect result when `If-None-Match` has both `*` and ETags
71 - Fix weak `ETag` matching to match spec
72 - perf: delay reading header values until needed
73 - perf: enable strict mode
74 - perf: hoist regular expressions
75 - perf: remove duplicate conditional
76 - perf: remove unnecessary boolean coercions
77 - perf: skip checking modified time if ETag check failed
78 - perf: skip parsing `If-None-Match` when no `ETag` header
79 - perf: use `Date.parse` instead of `new Date`
81 - Fix array parsing from skipping empty values
82 - Fix compacting nested arrays
84 - Fix false detection of `no-cache` request directive
85 - Fix incorrect result when `If-None-Match` has both `*` and ETags
86 - Fix weak `ETag` matching to match spec
87 - Remove usage of `res._headers` private field
88 - Support `If-Match` and `If-Unmodified-Since` headers
89 - Use `res.getHeaderNames()` when available
90 - Use `res.headersSent` when available
94 - deps: http-errors@~1.6.1
95 * deps: serve-static@1.12.0
96 - Fix false detection of `no-cache` request directive
97 - Fix incorrect result when `If-None-Match` has both `*` and ETags
98 - Fix weak `ETag` matching to match spec
99 - Remove usage of `res._headers` private field
100 - Send complete HTML document in redirect response
101 - Set default CSP header in redirect response
102 - Support `If-Match` and `If-Unmodified-Since` headers
103 - Use `res.getHeaderNames()` when available
104 - Use `res.headersSent` when available
106 * perf: add fast match path for `*` route
107 * perf: improve `req.ips` performance
112 * deps: content-disposition@0.5.2
113 * deps: finalhandler@0.5.1
114 - Fix exception when `err.headers` is not an object
115 - deps: statuses@~1.3.1
116 - perf: hoist regular expressions
117 - perf: remove duplicate validation path
118 * deps: proxy-addr@~1.1.3
119 - deps: ipaddr.js@1.2.0
121 - deps: http-errors@~1.5.1
123 - deps: statuses@~1.3.1
124 * deps: serve-static@~1.11.2
126 * deps: type-is@~1.6.14
127 - deps: mime-types@~2.1.13
132 * Add `acceptRanges` option to `res.sendFile`/`res.sendfile`
133 * Add `cacheControl` option to `res.sendFile`/`res.sendfile`
134 * Add `options` argument to `req.range`
135 - Includes the `combine` option
136 * Encode URL in `res.location`/`res.redirect` if not already encoded
137 * Fix some redirect handling in `res.sendFile`/`res.sendfile`
138 * Fix Windows absolute path check using forward slashes
139 * Improve error with invalid arguments to `req.get()`
140 * Improve performance for `res.json`/`res.jsonp` in most cases
141 * Improve `Range` header handling in `res.sendFile`/`res.sendfile`
142 * deps: accepts@~1.3.3
143 - Fix including type extensions in parameters in `Accept` parsing
144 - Fix parsing `Accept` parameters with quoted equals
145 - Fix parsing `Accept` parameters with quoted semicolons
146 - Many performance improvments
147 - deps: mime-types@~2.1.11
148 - deps: negotiator@0.6.1
149 * deps: content-type@~1.0.2
150 - perf: enable strict mode
152 - Add `sameSite` option
153 - Fix cookie `Max-Age` to never be a floating point number
154 - Improve error message when `encode` is not a function
155 - Improve error message when `expires` is not a `Date`
156 - Throw better error for invalid argument to parse
157 - Throw on invalid values provided to `serialize`
158 - perf: enable strict mode
159 - perf: hoist regular expression
160 - perf: use for loop in parse
161 - perf: use string concatination for serialization
162 * deps: finalhandler@0.5.0
163 - Change invalid or non-numeric status code to 500
164 - Overwrite status message to match set status code
165 - Prefer `err.statusCode` if `err.status` is invalid
166 - Set response headers from `err.headers` object
167 - Use `statuses` instead of `http` module for status messages
168 * deps: proxy-addr@~1.1.2
169 - Fix accepting various invalid netmasks
170 - Fix IPv6-mapped IPv4 validation edge cases
171 - IPv4 netmasks must be contingous
172 - IPv6 addresses cannot be used as a netmask
173 - deps: ipaddr.js@1.1.1
175 - Add `decoder` option in `parse` function
176 * deps: range-parser@~1.2.0
177 - Add `combine` option to combine overlapping ranges
178 - Fix incorrectly returning -1 when there is at least one valid range
179 - perf: remove internal function
181 - Add `acceptRanges` option
182 - Add `cacheControl` option
183 - Attempt to combine multiple ranges into single range
184 - Correctly inherit from `Stream` class
185 - Fix `Content-Range` header in 416 responses when using `start`/`end` options
186 - Fix `Content-Range` header missing from default 416 responses
187 - Fix redirect error when `path` contains raw non-URL characters
188 - Fix redirect when `path` starts with multiple forward slashes
189 - Ignore non-byte `Range` headers
190 - deps: http-errors@~1.5.0
191 - deps: range-parser@~1.2.0
192 - deps: statuses@~1.3.0
193 - perf: remove argument reassignment
194 * deps: serve-static@~1.11.1
195 - Add `acceptRanges` option
196 - Add `cacheControl` option
197 - Attempt to combine multiple ranges into single range
198 - Fix redirect error when `req.url` contains raw non-URL characters
199 - Ignore non-byte `Range` headers
200 - Use status code 301 for redirects
202 * deps: type-is@~1.6.13
203 - Fix type error when given invalid type to match against
204 - deps: mime-types@~2.1.11
206 - Only accept valid field names in the `field` argument
207 * perf: use strict equality when possible
212 * deps: content-disposition@0.5.1
213 - perf: enable strict mode
215 - Throw on invalid values provided to `serialize`
217 - Support web browser loading
218 - perf: enable strict mode
219 * deps: escape-html@~1.0.3
220 - perf: enable strict mode
221 - perf: optimize string replacement
222 - perf: use faster string coercion
223 * deps: finalhandler@0.4.1
224 - deps: escape-html@~1.0.3
225 * deps: merge-descriptors@1.0.1
226 - perf: enable strict mode
227 * deps: methods@~1.1.2
228 - perf: enable strict mode
229 * deps: parseurl@~1.3.1
230 - perf: enable strict mode
231 * deps: proxy-addr@~1.0.10
232 - deps: ipaddr.js@1.0.5
233 - perf: enable strict mode
234 * deps: range-parser@~1.0.3
235 - perf: enable strict mode
238 - deps: destroy@~1.0.4
239 - deps: escape-html@~1.0.3
240 - deps: range-parser@~1.0.3
241 * deps: serve-static@~1.10.2
242 - deps: escape-html@~1.0.3
243 - deps: parseurl@~1.3.0
249 * Fix infinite loop condition using `mergeParams: true`
250 * Fix inner numeric indices incorrectly altering parent `req.params`
255 * deps: accepts@~1.2.12
256 - deps: mime-types@~2.1.4
257 * deps: array-flatten@1.1.1
258 - perf: enable strict mode
259 * deps: path-to-regexp@0.1.7
260 - Fix regression with escaped round brackets and matching groups
261 * deps: type-is@~1.6.6
262 - deps: mime-types@~2.1.4
267 * deps: accepts@~1.2.10
268 - deps: mime-types@~2.1.2
270 - Fix dropping parameters like `hasOwnProperty`
271 - Fix various parsing edge cases
272 * deps: type-is@~1.6.4
273 - deps: mime-types@~2.1.2
274 - perf: enable strict mode
275 - perf: remove argument reassignment
280 * Add settings to debug output
281 * Fix `res.format` error when only `default` provided
282 * Fix issue where `next('route')` in `app.param` would incorrectly skip values
283 * Fix hiding platform issues with `decodeURIComponent`
284 - Only `URIError`s are a 400
285 * Fix using `*` before params in routes
286 * Fix using capture groups before params in routes
287 * Simplify `res.cookie` to call `res.append`
288 * Use `array-flatten` module for flattening arrays
289 * deps: accepts@~1.2.9
290 - deps: mime-types@~2.1.1
291 - perf: avoid argument reassignment & argument slice
292 - perf: avoid negotiator recursive construction
293 - perf: enable strict mode
294 - perf: remove unnecessary bitwise operator
296 - perf: deduce the scope of try-catch deopt
297 - perf: remove argument reassignments
298 * deps: escape-html@1.0.2
300 - Always include entity length in ETags for hash length extensions
301 - Generate non-Stats ETags using MD5 only (no longer CRC32)
302 - Improve stat performance by removing hashing
303 - Improve support for JXcore
304 - Remove base64 padding in ETags to shorten
305 - Support "fake" stats objects in environments without fs
306 - Use MD5 instead of MD4 in weak ETags over 1KB
307 * deps: finalhandler@0.4.0
308 - Fix a false-positive when unpiping in Node.js 0.8
309 - Support `statusCode` property on `Error` objects
310 - Use `unpipe` module for unpiping requests
311 - deps: escape-html@1.0.2
312 - deps: on-finished@~2.3.0
313 - perf: enable strict mode
314 - perf: remove argument reassignment
316 - Add weak `ETag` matching support
317 * deps: on-finished@~2.3.0
318 - Add defined behavior for HTTP `CONNECT` requests
319 - Add defined behavior for HTTP `Upgrade` requests
320 - deps: ee-first@1.1.1
321 * deps: path-to-regexp@0.1.6
323 - Allow Node.js HTTP server to set `Date` response header
324 - Fix incorrectly removing `Content-Location` on 304 response
325 - Improve the default redirect response headers
326 - Send appropriate headers on default error response
327 - Use `http-errors` for standard emitted errors
328 - Use `statuses` instead of `http` module for status messages
329 - deps: escape-html@1.0.2
332 - deps: on-finished@~2.3.0
333 - perf: enable strict mode
334 - perf: remove unnecessary array allocations
335 * deps: serve-static@~1.10.0
336 - Add `fallthrough` option
337 - Fix reading options from options prototype
338 - Improve the default redirect response headers
339 - Malformed URLs now `next()` instead of 400
340 - deps: escape-html@1.0.2
342 - perf: enable strict mode
343 - perf: remove argument reassignment
344 * deps: type-is@~1.6.3
345 - deps: mime-types@~2.1.1
346 - perf: reduce try block size
347 - perf: remove bitwise operations
348 * perf: enable strict mode
349 * perf: isolate `app.render` try block
350 * perf: remove argument reassignments in application
351 * perf: remove argument reassignments in request prototype
352 * perf: remove argument reassignments in response prototype
353 * perf: remove argument reassignments in routing
354 * perf: remove argument reassignments in `View`
355 * perf: skip attempting to decode zero length string
356 * perf: use saved reference to `http.STATUS_CODES`
361 * deps: accepts@~1.2.7
362 - deps: mime-types@~2.0.11
363 - deps: negotiator@0.5.3
368 - Improve support for JXcore
369 - Support "fake" stats objects in environments without `fs`
370 * deps: finalhandler@0.3.6
372 - deps: on-finished@~2.2.1
373 * deps: on-finished@~2.2.1
374 - Fix `isFinished(req)` when data buffered
375 * deps: proxy-addr@~1.0.8
376 - deps: ipaddr.js@1.0.1
378 - Fix allowing parameters like `constructor`
384 - deps: on-finished@~2.2.1
385 * deps: serve-static@~1.9.3
387 * deps: type-is@~1.6.2
388 - deps: mime-types@~2.0.11
393 * deps: accepts@~1.2.5
394 - deps: mime-types@~2.0.10
396 - Fix high intensity foreground color for bold
398 * deps: finalhandler@0.3.4
400 * deps: proxy-addr@~1.0.7
401 - deps: ipaddr.js@0.1.9
403 - Fix error when parameter `hasOwnProperty` is present
405 - Throw errors early for invalid `extensions` or `index` options
407 * deps: serve-static@~1.9.2
409 * deps: type-is@~1.6.1
410 - deps: mime-types@~2.0.10
415 * Fix regression where `"Request aborted"` is logged using `res.sendFile`
420 * Fix constructing application with non-configurable prototype properties
421 * Fix `ECONNRESET` errors from `res.sendFile` usage
422 * Fix `req.host` when using "trust proxy" hops count
423 * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
424 * Fix wrong `code` on aborted connections from `res.sendFile`
425 * deps: merge-descriptors@1.0.0
430 * Fix `"trust proxy"` setting to inherit when app is mounted
431 * Generate `ETag`s for all request responses
432 - No longer restricted to only responses for `GET` and `HEAD` requests
433 * Use `content-type` to parse `Content-Type` headers
434 * deps: accepts@~1.2.4
435 - Fix preference sorting to be stable for long acceptable lists
436 - deps: mime-types@~2.0.9
437 - deps: negotiator@0.5.1
438 * deps: cookie-signature@1.0.6
440 - Always read the stat size from the file
441 - Fix mutating passed-in `options`
443 * deps: serve-static@~1.9.1
445 * deps: type-is@~1.6.0
446 - fix argument reassignment
447 - fix false-positives in `hasBody` `Transfer-Encoding` check
448 - support wildcard for both type and subtype (`*/*`)
449 - deps: mime-types@~2.0.9
454 * Fix `res.redirect` double-calling `res.end` for `HEAD` requests
455 * deps: accepts@~1.2.3
456 - deps: mime-types@~2.0.8
457 * deps: proxy-addr@~1.0.6
458 - deps: ipaddr.js@0.1.8
459 * deps: type-is@~1.5.6
460 - deps: mime-types@~2.0.8
466 - Fix root path disclosure
467 * deps: serve-static@~1.8.1
468 - Fix redirect loop in Node.js 0.11.14
469 - Fix root path disclosure
475 * Add `res.append(field, val)` to append headers
476 * Deprecate leading `:` in `name` for `app.param(name, fn)`
477 * Deprecate `req.param()` -- use `req.params`, `req.body`, or `req.query` instead
478 * Deprecate `app.param(fn)`
479 * Fix `OPTIONS` responses to include the `HEAD` method properly
480 * Fix `res.sendFile` not always detecting aborted connection
481 * Match routes iteratively to prevent stack overflows
482 * deps: accepts@~1.2.2
483 - deps: mime-types@~2.0.7
484 - deps: negotiator@0.5.0
489 - deps: on-finished@~2.2.0
490 * deps: serve-static@~1.8.0
496 * Fix crash from error within `OPTIONS` response handler
497 * deps: proxy-addr@~1.0.5
498 - deps: ipaddr.js@0.1.6
503 * Fix `Allow` header for `OPTIONS` to not contain duplicate methods
504 * Fix incorrect "Request aborted" for `res.sendFile` when `HEAD` or 304
506 * deps: finalhandler@0.3.3
508 - deps: on-finished@~2.2.0
509 * deps: methods@~1.1.1
510 * deps: on-finished@~2.2.0
511 * deps: serve-static@~1.7.2
512 - Fix potential open redirect when mounted at root
513 * deps: type-is@~1.5.5
514 - deps: mime-types@~2.0.7
519 * Fix exception in `req.fresh`/`req.stale` without response headers
524 * Fix `res.send` double-calling `res.end` for `HEAD` requests
525 * deps: accepts@~1.1.4
526 - deps: mime-types@~2.0.4
527 * deps: type-is@~1.5.4
528 - deps: mime-types@~2.0.4
533 * Fix `res.sendfile` logging standard write errors
538 * Fix `res.sendFile` logging standard write errors
540 * deps: proxy-addr@~1.0.4
541 - deps: ipaddr.js@0.1.5
543 - Fix `arrayLimit` behavior
548 * Correctly invoke async router callback asynchronously
549 * deps: accepts@~1.1.3
550 - deps: mime-types@~2.0.3
551 * deps: type-is@~1.5.3
552 - deps: mime-types@~2.0.3
557 * Fix handling of URLs containing `://` in the path
559 - Fix parsing of mixed objects and values
564 * Add support for `app.set('views', array)`
565 - Views are looked up in sequence in array of directories
566 * Fix `res.send(status)` to mention `res.sendStatus(status)`
567 * Fix handling of invalid empty URLs
568 * Use `content-disposition` module for `res.attachment`/`res.download`
569 - Sends standards-compliant `Content-Disposition` header
570 - Full Unicode support
571 * Use `path.resolve` in view lookup
573 - Implement `DEBUG_FD` env variable support
576 - Improve string performance
577 - Slightly improve speed for weak ETags over 1KB
578 * deps: finalhandler@0.3.2
579 - Terminate in progress response only on error
580 - Use `on-finished` to determine request status
582 - deps: on-finished@~2.1.1
583 * deps: on-finished@~2.1.1
584 - Fix handling of pipelined requests
586 - Fix parsing of mixed implicit and explicit arrays
591 - deps: on-finished@~2.1.1
592 * deps: serve-static@~1.7.1
598 * Fix `res.redirect` body when redirect status specified
599 * deps: accepts@~1.1.2
600 - Fix error when media type has invalid parameter
601 - deps: negotiator@0.4.9
606 * Fix using same param name in array of paths
611 * deps: accepts@~1.1.1
612 - deps: mime-types@~2.0.2
613 - deps: negotiator@0.4.8
614 * deps: serve-static@~1.6.4
615 - Fix redirect loop when index file serving disabled
616 * deps: type-is@~1.5.2
617 - deps: mime-types@~2.0.2
623 * deps: proxy-addr@~1.0.3
624 - Use `forwarded` npm module
627 * deps: serve-static@~1.6.3
634 - Fix issue with object keys starting with numbers truncated
639 * deps: proxy-addr@~1.0.2
640 - Fix a global leak when multiple subnets are trusted
641 - deps: ipaddr.js@0.1.3
646 * Fix regression for empty string `path` in `app.use`
647 * Fix `router.use` to accept array of middleware without path
648 * Improve error message for bad `app.use` arguments
653 * Fix `app.use` to accept array of middleware without path
659 - deps: range-parser@~1.0.2
660 * deps: serve-static@~1.6.2
666 * Add `res.sendStatus`
667 * Invoke callback for sendfile when client aborts
668 - Applies to `res.sendFile`, `res.sendfile`, and `res.download`
669 - `err` will be populated with request aborted error
670 * Support IP address host in `req.subdomains`
671 * Use `etag` to generate `ETag` headers
672 * deps: accepts@~1.1.0
673 - update `mime-types`
674 * deps: cookie-signature@1.0.5
676 * deps: finalhandler@0.2.0
677 - Set `X-Content-Type-Options: nosniff` header
680 * deps: media-typer@0.3.0
681 - Throw error when parameter format invalid on parse
683 - Fix issue where first empty value in array is discarded
684 * deps: range-parser@~1.0.2
686 - Add `lastModified` option
687 - Use `etag` to generate `ETag` header
690 * deps: serve-static@~1.6.1
691 - Add `lastModified` option
693 * deps: type-is@~1.5.1
694 - fix `hasbody` to be true for `content-length: 0`
695 - deps: media-typer@0.3.0
696 - deps: mime-types@~2.0.1
698 - Accept valid `Vary` header string as `field`
704 - Fix a path traversal issue when using `root`
705 - Fix malicious path detection for empty string path
706 * deps: serve-static@~1.5.4
713 - Remove unnecessary cloning
720 - Performance improvements
726 - deps: destroy@1.0.3
727 - deps: on-finished@2.1.0
728 * deps: serve-static@~1.5.3
736 - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
737 * deps: serve-static@~1.5.2
743 * deps: parseurl@~1.3.0
745 * deps: serve-static@~1.5.1
746 - Fix parsing of weird `req.originalUrl` values
747 - deps: parseurl@~1.3.0
748 - deps: utils-merge@1.0.0
754 - Fix parsing array of objects
759 * fix incorrect deprecation warnings on `res.download`
761 - Accept urlencoded square brackets
762 - Accept empty values in implicit array notation
768 - accepts a file system path instead of a URL
769 - requires an absolute path or `root` option specified
770 * deprecate `res.sendfile` -- use `res.sendFile` instead
771 * support mounted app as any argument to `app.use()`
774 - Limits array length to 20
775 - Limits object depth to 5
776 - Limits parameters to 1,000
778 - Add `extensions` option
779 * deps: serve-static@~1.5.0
780 - Add `extensions` option
786 * fix `res.sendfile` regression for serving directory index files
788 - Fix incorrect 403 on Windows and Node.js 0.11
789 - Fix serving index files without root dir
790 * deps: serve-static@~1.4.4
797 - Fix incorrect 403 on Windows and Node.js 0.11
798 * deps: serve-static@~1.4.3
799 - Fix incorrect 403 on Windows and Node.js 0.11
806 - Work-around v8 generating empty stack traces
809 * deps: serve-static@~1.4.2
815 - Fix exception when global `Error.stackTraceLimit` is too low
818 * deps: serve-static@~1.4.1
823 * fix `req.protocol` for proxy-direct connections
824 * configurable query parser with `app.set('query parser', parser)`
825 - `app.set('query parser', 'extended')` parse with "qs" module
826 - `app.set('query parser', 'simple')` parse with "querystring" core module
827 - `app.set('query parser', false)` disable query string parsing
828 - `app.set('query parser', true)` enable simple parsing
829 * deprecate `res.json(status, obj)` -- use `res.status(status).json(obj)` instead
830 * deprecate `res.jsonp(status, obj)` -- use `res.status(status).jsonp(obj)` instead
831 * deprecate `res.send(status, body)` -- use `res.status(status).send(body)` instead
834 - Add `TRACE_DEPRECATION` environment variable
835 - Remove non-standard grey color from color output
836 - Support `--no-deprecation` argument
837 - Support `--trace-deprecation` argument
838 * deps: finalhandler@0.1.0
839 - Respond after request fully read
841 * deps: parseurl@~1.2.0
842 - Cache URLs based on original value
843 - Remove no-longer-needed URL mis-parse work-around
844 - Simplify the "fast-path" `RegExp`
846 - Add `dotfiles` option
847 - Cap `maxAge` value to 1 year
850 * deps: serve-static@~1.4.0
851 - deps: parseurl@~1.2.0
853 * perf: prevent multiple `Buffer` creation in `res.send`
858 * fix `subapp.mountpath` regression for `app.use(subapp)`
863 * accept multiple callbacks to `app.use()`
864 * add explicit "Rosetta Flash JSONP abuse" protection
865 - previous versions are not vulnerable; this is just explicit protection
866 * catch errors in multiple `req.param(name, fn)` handlers
867 * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
868 * fix `res.send(status, num)` to send `num` as json (not error)
869 * remove unnecessary escaping when `res.jsonp` returns JSON response
870 * support non-string `path` in `app.use(path, fn)`
871 - supports array of paths
873 * router: fix optimization on router exit
874 * router: refactor location of `try` blocks
875 * router: speed up standard `app.use(fn)`
877 - Add support for multiple wildcards in namespaces
878 * deps: finalhandler@0.0.3
880 * deps: methods@1.1.0
882 * deps: parseurl@~1.1.3
883 - faster parsing of href-only URLs
884 * deps: path-to-regexp@0.1.3
887 * deps: serve-static@~1.3.2
888 - deps: parseurl@~1.1.3
890 * perf: fix arguments reassign deopt in some `res` methods
895 * fix routing regression when altering `req.method`
900 * add deprecation message to non-plural `req.accepts*`
901 * add deprecation message to `res.send(body, status)`
902 * add deprecation message to `res.vary()`
903 * add `headers` option to `res.sendfile`
904 - use to set headers on successful file transfer
905 * add `mergeParams` option to `Router`
906 - merges `req.params` from parent routes
907 * add `req.hostname` -- correct name for what `req.host` returns
908 * deprecate things with `depd` module
909 * deprecate `req.host` -- use `req.hostname` instead
910 * fix behavior when handling request without routes
911 * fix handling when `route.all` is only route
912 * invoke `router.param()` only when route matches
913 * restore `req.params` after invoking router
914 * use `finalhandler` for final response handling
915 * use `media-typer` to alter content-type charset
916 * deps: accepts@~1.0.7
918 - Accept string for `maxage` (converted by `ms`)
919 - Include link in default redirect response
920 * deps: serve-static@~1.3.0
921 - Accept string for `maxAge` (converted by `ms`)
922 - Add `setHeaders` option
923 - Include HTML link in redirect response
925 * deps: type-is@~1.3.2
930 * deps: cookie-signature@1.0.4
931 - fix for timing attacks
936 * fix `res.attachment` Unicode filenames in Safari
937 * fix "trim prefix" debug message in `express:router`
938 * deps: accepts@~1.0.5
939 * deps: buffer-crc32@0.2.3
944 * fix persistence of modified `req.params[name]` from `app.param()`
945 * deps: accepts@1.0.3
946 - deps: negotiator@0.4.6
949 - Do not throw un-catchable error on file open race condition
950 - Use `escape-html` for HTML escaping
952 - deps: finished@1.2.2
954 * deps: serve-static@1.2.3
955 - Do not throw un-catchable error on file open race condition
961 * fix catching errors from top-level handlers
962 * use `vary` module for `res.vary`
964 * deps: proxy-addr@1.0.1
966 - fix "event emitter leak" warnings
968 - deps: finished@1.2.1
969 * deps: serve-static@1.2.2
970 - fix "event emitter leak" warnings
972 * deps: type-is@1.2.1
977 * deps: methods@1.0.1
979 - Send `max-age` in `Cache-Control` in correct format
980 * deps: serve-static@1.2.1
981 - use `escape-html` for escaping
987 * custom etag control with `app.set('etag', val)`
988 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
989 - `app.set('etag', 'weak')` weak tag
990 - `app.set('etag', 'strong')` strong etag
991 - `app.set('etag', false)` turn off
992 - `app.set('etag', true)` standard etag
993 * mark `res.send` ETag as weak and reduce collisions
994 * update accepts to 1.0.2
995 - Fix interpretation when header not in request
996 * update send to 0.4.0
997 - Calculate ETag with md5 for reduced collisions
998 - Ignore stream errors after request ends
1000 * update serve-static to 1.2.0
1001 - Calculate ETag with md5 for reduced collisions
1002 - Ignore stream errors after request ends
1008 * fix handling of errors from `router.param()` callbacks
1013 * revert "fix behavior of multiple `app.VERB` for the same path"
1014 - this caused a regression in the order of route execution
1019 * add `req.baseUrl` to access the path stripped from `req.url` in routes
1020 * fix behavior of multiple `app.VERB` for the same path
1021 * fix issue routing requests among sub routers
1022 * invoke `router.param()` only when necessary instead of every match
1023 * proper proxy trust with `app.set('trust proxy', trust)`
1024 - `app.set('trust proxy', 1)` trust first hop
1025 - `app.set('trust proxy', 'loopback')` trust loopback addresses
1026 - `app.set('trust proxy', '10.0.0.1')` trust single IP
1027 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
1028 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
1029 - `app.set('trust proxy', false)` turn off
1030 - `app.set('trust proxy', true)` trust everything
1031 * set proper `charset` in `Content-Type` for `res.send`
1032 * update type-is to 1.2.0
1033 - support suffix matching
1038 * deprecate `app.del()` -- use `app.delete()` instead
1039 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
1040 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
1041 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
1042 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
1043 * fix `req.next` when inside router instance
1044 * include `ETag` header in `HEAD` requests
1045 * keep previous `Content-Type` for `res.jsonp`
1046 * support PURGE method
1048 - add `router.purge`
1049 - include PURGE in `app.all`
1050 * update debug to 0.8.0
1051 - add `enable()` method
1052 - change from stderr to stdout
1053 * update methods to 1.0.0
1059 * fix `req.host` for IPv6 literals
1060 * fix `res.jsonp` error if callback param is object
1065 * fix package.json to reflect supported node version
1070 * pass options from `res.sendfile` to `send`
1071 * preserve casing of headers in `res.header` and `res.set`
1072 * support unicode file names in `res.attachment` and `res.download`
1073 * update accepts to 1.0.1
1074 - deps: negotiator@0.4.0
1075 * update cookie to 0.1.2
1076 - Fix for maxAge == 0
1077 - made compat with expires field
1078 * update send to 0.3.0
1079 - Accept API options in options object
1080 - Coerce option types
1081 - Control whether to generate etags
1082 - Default directory access to 403 when index disabled
1083 - Fix sending files with dots without root set
1084 - Include file path in etag
1085 - Make "Can't set headers after they are sent." catchable
1086 - Send full entity-body for multi range requests
1087 - Set etags to "weak"
1088 - Support "If-Range" header
1089 - Support multiple index paths
1091 * update serve-static to 1.1.0
1092 - Accept options directly to `send` module
1093 - Resolve relative paths at middleware setup
1094 - Use parseurl to parse the URL from request
1096 * update type-is to 1.1.0
1097 - add non-array values support
1098 - add `multipart` as a shorthand
1105 - connect and connect's patches except for charset handling
1106 - express(1) - moved to [express-generator](https://github.com/expressjs/generator)
1107 - `express.createServer()` - it has been deprecated for a long time. Use `express()`
1108 - `app.configure` - use logic in your own app code
1109 - `app.router` - is removed
1110 - `req.auth` - use `basic-auth` instead
1111 - `req.accepted*` - use `req.accepts*()` instead
1112 - `res.location` - relative URL resolution is removed
1113 - `res.charset` - include the charset in the content type when using `res.set()`
1114 - all bundled middleware except `static`
1116 - `app.route` -> `app.mountpath` when mounting an express app in another express app
1117 - `json spaces` no longer enabled by default in development
1118 - `req.accepts*` -> `req.accepts*s` - i.e. `req.acceptsEncoding` -> `req.acceptsEncodings`
1119 - `req.params` is now an object instead of an array
1120 - `res.locals` is no longer a function. It is a plain js object. Treat it as such.
1121 - `res.headerSent` -> `res.headersSent` to match node.js ServerResponse object
1123 - `req.accepts*` with [accepts](https://github.com/expressjs/accepts)
1124 - `req.is` with [type-is](https://github.com/expressjs/type-is)
1125 - [path-to-regexp](https://github.com/component/path-to-regexp)
1127 - `app.router()` - returns the app Router instance
1128 - `app.route()` - Proxy to the app's `Router#route()` method to create a new route
1129 - Router & Route - public API
1134 * deps: connect@2.30.2
1135 - deps: body-parser@~1.13.3
1136 - deps: compression@~1.5.2
1137 - deps: errorhandler@~1.4.2
1138 - deps: method-override@~2.3.5
1139 - deps: serve-index@~1.7.2
1140 - deps: type-is@~1.6.6
1141 - deps: vhost@~3.0.1
1143 - Fix setting empty header from empty `field`
1144 - perf: enable strict mode
1145 - perf: remove argument reassignments
1150 * deps: basic-auth@~1.0.3
1151 * deps: connect@2.30.1
1152 - deps: body-parser@~1.13.2
1153 - deps: compression@~1.5.1
1154 - deps: errorhandler@~1.4.1
1155 - deps: morgan@~1.6.1
1158 - deps: serve-index@~1.7.1
1159 - deps: type-is@~1.6.4
1164 * deps: basic-auth@1.0.2
1165 - perf: enable strict mode
1166 - perf: hoist regular expression
1167 - perf: parse with regular expressions
1168 - perf: remove argument reassignment
1169 * deps: connect@2.30.0
1170 - deps: body-parser@~1.13.1
1172 - deps: compression@~1.5.0
1173 - deps: cookie@0.1.3
1174 - deps: cookie-parser@~1.3.5
1175 - deps: csurf@~1.8.3
1176 - deps: errorhandler@~1.4.0
1177 - deps: express-session@~1.11.3
1178 - deps: finalhandler@0.4.0
1180 - deps: morgan@~1.6.0
1181 - deps: serve-favicon@~2.3.0
1182 - deps: serve-index@~1.7.0
1183 - deps: serve-static@~1.10.0
1184 - deps: type-is@~1.6.3
1185 * deps: cookie@0.1.3
1186 - perf: deduce the scope of try-catch deopt
1187 - perf: remove argument reassignments
1188 * deps: escape-html@1.0.2
1190 - Always include entity length in ETags for hash length extensions
1191 - Generate non-Stats ETags using MD5 only (no longer CRC32)
1192 - Improve stat performance by removing hashing
1193 - Improve support for JXcore
1194 - Remove base64 padding in ETags to shorten
1195 - Support "fake" stats objects in environments without fs
1196 - Use MD5 instead of MD4 in weak ETags over 1KB
1198 - Add weak `ETag` matching support
1199 * deps: mkdirp@0.5.1
1200 - Work in global strict mode
1202 - Allow Node.js HTTP server to set `Date` response header
1203 - Fix incorrectly removing `Content-Location` on 304 response
1204 - Improve the default redirect response headers
1205 - Send appropriate headers on default error response
1206 - Use `http-errors` for standard emitted errors
1207 - Use `statuses` instead of `http` module for status messages
1208 - deps: escape-html@1.0.2
1211 - deps: on-finished@~2.3.0
1212 - perf: enable strict mode
1213 - perf: remove unnecessary array allocations
1218 * deps: connect@2.29.2
1219 - deps: body-parser@~1.12.4
1220 - deps: compression@~1.4.4
1221 - deps: connect-timeout@~1.6.2
1222 - deps: debug@~2.2.0
1224 - deps: errorhandler@~1.3.6
1225 - deps: finalhandler@0.3.6
1226 - deps: method-override@~2.3.3
1227 - deps: morgan@~1.5.3
1229 - deps: response-time@~2.3.1
1230 - deps: serve-favicon@~2.2.1
1231 - deps: serve-index@~1.6.4
1232 - deps: serve-static@~1.9.3
1233 - deps: type-is@~1.6.2
1234 * deps: debug@~2.2.0
1237 * deps: proxy-addr@~1.0.8
1238 - deps: ipaddr.js@1.0.1
1240 - deps: debug@~2.2.0
1244 - deps: on-finished@~2.2.1
1249 * deps: connect@2.29.1
1250 - deps: body-parser@~1.12.2
1251 - deps: compression@~1.4.3
1252 - deps: connect-timeout@~1.6.1
1253 - deps: debug@~2.1.3
1254 - deps: errorhandler@~1.3.5
1255 - deps: express-session@~1.10.4
1256 - deps: finalhandler@0.3.4
1257 - deps: method-override@~2.3.2
1258 - deps: morgan@~1.5.2
1260 - deps: serve-index@~1.6.3
1261 - deps: serve-static@~1.9.2
1262 - deps: type-is@~1.6.1
1263 * deps: debug@~2.1.3
1264 - Fix high intensity foreground color for bold
1266 * deps: merge-descriptors@1.0.0
1267 * deps: proxy-addr@~1.0.7
1268 - deps: ipaddr.js@0.1.9
1270 - Throw errors early for invalid `extensions` or `index` options
1271 - deps: debug@~2.1.3
1276 * Fix `req.host` when using "trust proxy" hops count
1277 * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
1282 * Fix `"trust proxy"` setting to inherit when app is mounted
1283 * Generate `ETag`s for all request responses
1284 - No longer restricted to only responses for `GET` and `HEAD` requests
1285 * Use `content-type` to parse `Content-Type` headers
1286 * deps: connect@2.29.0
1287 - Use `content-type` to parse `Content-Type` headers
1288 - deps: body-parser@~1.12.0
1289 - deps: compression@~1.4.1
1290 - deps: connect-timeout@~1.6.0
1291 - deps: cookie-parser@~1.3.4
1292 - deps: cookie-signature@1.0.6
1293 - deps: csurf@~1.7.0
1294 - deps: errorhandler@~1.3.4
1295 - deps: express-session@~1.10.3
1296 - deps: http-errors@~1.3.1
1297 - deps: response-time@~2.3.0
1298 - deps: serve-index@~1.6.2
1299 - deps: serve-static@~1.9.1
1300 - deps: type-is@~1.6.0
1301 * deps: cookie-signature@1.0.6
1303 - Always read the stat size from the file
1304 - Fix mutating passed-in `options`
1310 * deps: connect@2.28.3
1311 - deps: compression@~1.3.1
1312 - deps: csurf@~1.6.6
1313 - deps: errorhandler@~1.3.3
1314 - deps: express-session@~1.10.2
1315 - deps: serve-index@~1.6.1
1316 - deps: type-is@~1.5.6
1317 * deps: proxy-addr@~1.0.6
1318 - deps: ipaddr.js@0.1.8
1323 * deps: connect@2.28.2
1324 - deps: body-parser@~1.10.2
1325 - deps: serve-static@~1.8.1
1327 - Fix root path disclosure
1332 * Fix `OPTIONS` responses to include the `HEAD` method property
1333 * Use `readline` for prompt in `express(1)`
1334 * deps: commander@2.6.0
1335 * deps: connect@2.28.1
1336 - deps: body-parser@~1.10.1
1337 - deps: compression@~1.3.0
1338 - deps: connect-timeout@~1.5.0
1339 - deps: csurf@~1.6.4
1340 - deps: debug@~2.1.1
1341 - deps: errorhandler@~1.3.2
1342 - deps: express-session@~1.10.1
1343 - deps: finalhandler@0.3.3
1344 - deps: method-override@~2.3.1
1345 - deps: morgan@~1.5.1
1346 - deps: serve-favicon@~2.2.0
1347 - deps: serve-index@~1.6.0
1348 - deps: serve-static@~1.8.0
1349 - deps: type-is@~1.5.5
1350 * deps: debug@~2.1.1
1351 * deps: methods@~1.1.1
1352 * deps: proxy-addr@~1.0.5
1353 - deps: ipaddr.js@0.1.6
1355 - deps: debug@~2.1.1
1358 - deps: on-finished@~2.2.0
1363 * Fix exception in `req.fresh`/`req.stale` without response headers
1368 * deps: connect@2.27.6
1369 - deps: compression@~1.2.2
1370 - deps: express-session@~1.9.3
1371 - deps: http-errors@~1.2.8
1372 - deps: serve-index@~1.5.3
1373 - deps: type-is@~1.5.4
1378 * deps: connect@2.27.4
1379 - deps: body-parser@~1.9.3
1380 - deps: compression@~1.2.1
1381 - deps: errorhandler@~1.2.3
1382 - deps: express-session@~1.9.2
1384 - deps: serve-favicon@~2.1.7
1385 - deps: serve-static@~1.5.1
1386 - deps: type-is@~1.5.3
1388 * deps: proxy-addr@~1.0.4
1389 - deps: ipaddr.js@0.1.5
1394 * deps: connect@2.27.3
1395 - Correctly invoke async callback asynchronously
1396 - deps: csurf@~1.6.3
1401 * deps: connect@2.27.2
1402 - Fix handling of URLs containing `://` in the path
1403 - deps: body-parser@~1.9.2
1409 * Fix internal `utils.merge` deprecation warnings
1410 * deps: connect@2.27.1
1411 - deps: body-parser@~1.9.1
1412 - deps: express-session@~1.9.1
1413 - deps: finalhandler@0.3.2
1414 - deps: morgan@~1.4.1
1416 - deps: serve-static@~1.7.1
1418 - deps: on-finished@~2.1.1
1423 * Use `content-disposition` module for `res.attachment`/`res.download`
1424 - Sends standards-compliant `Content-Disposition` header
1425 - Full Unicode support
1426 * Use `etag` module to generate `ETag` headers
1427 * deps: connect@2.27.0
1428 - Use `http-errors` module for creating errors
1429 - Use `utils-merge` module for merging objects
1430 - deps: body-parser@~1.9.0
1431 - deps: compression@~1.2.0
1432 - deps: connect-timeout@~1.4.0
1433 - deps: debug@~2.1.0
1435 - deps: express-session@~1.9.0
1436 - deps: finalhandler@0.3.1
1437 - deps: method-override@~2.3.0
1438 - deps: morgan@~1.4.0
1439 - deps: response-time@~2.2.0
1440 - deps: serve-favicon@~2.1.6
1441 - deps: serve-index@~1.5.0
1442 - deps: serve-static@~1.7.0
1443 * deps: debug@~2.1.0
1444 - Implement `DEBUG_FD` env variable support
1447 - deps: debug@~2.1.0
1454 * deps: connect@2.26.6
1455 - deps: compression@~1.1.2
1456 - deps: csurf@~1.6.2
1457 - deps: errorhandler@~1.2.2
1462 * deps: connect@2.26.5
1463 - Fix accepting non-object arguments to `logger`
1464 - deps: serve-static@~1.6.4
1469 * deps: connect@2.26.4
1470 - deps: morgan@~1.3.2
1471 - deps: type-is@~1.5.2
1476 * deps: connect@2.26.3
1477 - deps: body-parser@~1.8.4
1478 - deps: serve-favicon@~2.1.5
1479 - deps: serve-static@~1.6.3
1480 * deps: proxy-addr@~1.0.3
1481 - Use `forwarded` npm module
1488 * deps: connect@2.26.2
1489 - deps: body-parser@~1.8.3
1495 * deps: proxy-addr@~1.0.2
1496 - Fix a global leak when multiple subnets are trusted
1497 - deps: ipaddr.js@0.1.3
1502 * Use `crc` instead of `buffer-crc32` for speed
1503 * deps: connect@2.26.1
1504 - deps: body-parser@~1.8.2
1506 - deps: express-session@~1.8.2
1507 - deps: morgan@~1.3.1
1508 - deps: serve-favicon@~2.1.3
1509 - deps: serve-static@~1.6.2
1514 - deps: range-parser@~1.0.2
1519 * Fix error in `req.subdomains` on empty host
1524 * Support `X-Forwarded-Host` in `req.subdomains`
1525 * Support IP address host in `req.subdomains`
1526 * deps: connect@2.26.0
1527 - deps: body-parser@~1.8.1
1528 - deps: compression@~1.1.0
1529 - deps: connect-timeout@~1.3.0
1530 - deps: cookie-parser@~1.3.3
1531 - deps: cookie-signature@1.0.5
1532 - deps: csurf@~1.6.1
1533 - deps: debug@~2.0.0
1534 - deps: errorhandler@~1.2.0
1535 - deps: express-session@~1.8.1
1536 - deps: finalhandler@0.2.0
1538 - deps: media-typer@0.3.0
1539 - deps: method-override@~2.2.0
1540 - deps: morgan@~1.3.0
1542 - deps: serve-favicon@~2.1.3
1543 - deps: serve-index@~1.2.1
1544 - deps: serve-static@~1.6.1
1545 - deps: type-is@~1.5.1
1546 - deps: vhost@~3.0.0
1547 * deps: cookie-signature@1.0.5
1548 * deps: debug@~2.0.0
1550 * deps: media-typer@0.3.0
1551 - Throw error when parameter format invalid on parse
1552 * deps: range-parser@~1.0.2
1554 - Add `lastModified` option
1555 - Use `etag` to generate `ETag` header
1556 - deps: debug@~2.0.0
1559 - Accept valid `Vary` header string as `field`
1561 3.16.10 / 2014-09-04
1562 ====================
1564 * deps: connect@2.25.10
1565 - deps: serve-static@~1.5.4
1567 - Fix a path traversal issue when using `root`
1568 - Fix malicious path detection for empty string path
1573 * deps: connect@2.25.9
1574 - deps: body-parser@~1.6.7
1580 * deps: connect@2.25.8
1581 - deps: body-parser@~1.6.6
1582 - deps: csurf@~1.4.1
1588 * deps: connect@2.25.7
1589 - deps: body-parser@~1.6.5
1590 - deps: express-session@~1.7.6
1591 - deps: morgan@~1.2.3
1592 - deps: serve-static@~1.5.3
1594 - deps: destroy@1.0.3
1595 - deps: on-finished@2.1.0
1600 * deps: connect@2.25.6
1601 - deps: body-parser@~1.6.4
1603 - deps: serve-static@~1.5.2
1605 - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
1610 * deps: connect@2.25.5
1611 - Fix backwards compatibility in `logger`
1616 * Fix original URL parsing in `res.location`
1617 * deps: connect@2.25.4
1618 - Fix `query` middleware breaking with argument
1619 - deps: body-parser@~1.6.3
1620 - deps: compression@~1.0.11
1621 - deps: connect-timeout@~1.2.2
1622 - deps: express-session@~1.7.5
1623 - deps: method-override@~2.1.3
1624 - deps: on-headers@~1.0.0
1625 - deps: parseurl@~1.3.0
1627 - deps: response-time@~2.0.1
1628 - deps: serve-index@~1.1.6
1629 - deps: serve-static@~1.5.1
1630 * deps: parseurl@~1.3.0
1635 * deps: connect@2.25.3
1636 - deps: multiparty@3.3.2
1641 * deps: connect@2.25.2
1642 - deps: body-parser@~1.6.2
1648 * deps: connect@2.25.1
1649 - deps: body-parser@~1.6.1
1655 * deps: connect@2.25.0
1656 - deps: body-parser@~1.6.0
1657 - deps: compression@~1.0.10
1658 - deps: csurf@~1.4.0
1659 - deps: express-session@~1.7.4
1661 - deps: serve-static@~1.5.0
1663 - Add `extensions` option
1668 * fix `res.sendfile` regression for serving directory index files
1669 * deps: connect@2.24.3
1670 - deps: serve-index@~1.1.5
1671 - deps: serve-static@~1.4.4
1673 - Fix incorrect 403 on Windows and Node.js 0.11
1674 - Fix serving index files without root dir
1679 * deps: connect@2.24.2
1680 - deps: body-parser@~1.5.2
1682 - deps: express-session@~1.7.2
1683 - deps: morgan@~1.2.2
1684 - deps: serve-static@~1.4.2
1686 - Work-around v8 generating empty stack traces
1693 * deps: connect@2.24.1
1694 - deps: body-parser@~1.5.1
1696 - deps: express-session@~1.7.1
1697 - deps: morgan@~1.2.1
1698 - deps: serve-index@~1.1.4
1699 - deps: serve-static@~1.4.1
1701 - Fix exception when global `Error.stackTraceLimit` is too low
1708 * Fix `req.protocol` for proxy-direct connections
1709 * Pass options from `res.sendfile` to `send`
1710 * deps: connect@2.24.0
1711 - deps: body-parser@~1.5.0
1712 - deps: compression@~1.0.9
1713 - deps: connect-timeout@~1.2.1
1716 - deps: express-session@~1.7.0
1717 - deps: finalhandler@0.1.0
1718 - deps: method-override@~2.1.2
1719 - deps: morgan@~1.2.0
1720 - deps: multiparty@3.3.1
1721 - deps: parseurl@~1.2.0
1722 - deps: serve-static@~1.4.0
1725 - Add `TRACE_DEPRECATION` environment variable
1726 - Remove non-standard grey color from color output
1727 - Support `--no-deprecation` argument
1728 - Support `--trace-deprecation` argument
1729 * deps: parseurl@~1.2.0
1730 - Cache URLs based on original value
1731 - Remove no-longer-needed URL mis-parse work-around
1732 - Simplify the "fast-path" `RegExp`
1734 - Add `dotfiles` option
1735 - Cap `maxAge` value to 1 year
1742 * add explicit "Rosetta Flash JSONP abuse" protection
1743 - previous versions are not vulnerable; this is just explicit protection
1744 * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
1745 * fix `res.send(status, num)` to send `num` as json (not error)
1746 * remove unnecessary escaping when `res.jsonp` returns JSON response
1747 * deps: basic-auth@1.0.0
1748 - support empty password
1749 - support empty username
1750 * deps: connect@2.23.0
1752 - deps: express-session@~1.6.4
1753 - deps: method-override@~2.1.0
1754 - deps: parseurl@~1.1.3
1755 - deps: serve-static@~1.3.1
1757 - Add support for multiple wildcards in namespaces
1758 * deps: methods@1.1.0
1760 * deps: parseurl@~1.1.3
1761 - faster parsing of href-only URLs
1766 * add deprecation message to `app.configure`
1767 * add deprecation message to `req.auth`
1768 * use `basic-auth` to parse `Authorization` header
1769 * deps: connect@2.22.0
1770 - deps: csurf@~1.3.0
1771 - deps: express-session@~1.6.1
1772 - deps: multiparty@3.3.0
1773 - deps: serve-static@~1.3.0
1775 - Accept string for `maxage` (converted by `ms`)
1776 - Include link in default redirect response
1781 * deps: connect@2.21.1
1782 - deps: cookie-parser@1.3.2
1783 - deps: cookie-signature@1.0.4
1784 - deps: express-session@~1.5.2
1785 - deps: type-is@~1.3.2
1786 * deps: cookie-signature@1.0.4
1787 - fix for timing attacks
1792 * use `media-typer` to alter content-type charset
1793 * deps: connect@2.21.0
1794 - deprecate `connect(middleware)` -- use `app.use(middleware)` instead
1795 - deprecate `connect.createServer()` -- use `connect()` instead
1796 - fix `res.setHeader()` patch to work with with get -> append -> set pattern
1797 - deps: compression@~1.0.8
1798 - deps: errorhandler@~1.1.1
1799 - deps: express-session@~1.5.0
1800 - deps: serve-index@~1.1.3
1805 * deprecate things with `depd` module
1806 * deps: buffer-crc32@0.2.3
1807 * deps: connect@2.20.2
1808 - deprecate `verify` option to `json` -- use `body-parser` npm module instead
1809 - deprecate `verify` option to `urlencoded` -- use `body-parser` npm module instead
1810 - deprecate things with `depd` module
1811 - use `finalhandler` for final response handling
1812 - use `media-typer` to parse `content-type` for charset
1813 - deps: body-parser@1.4.3
1814 - deps: connect-timeout@1.1.1
1815 - deps: cookie-parser@1.3.1
1817 - deps: errorhandler@1.1.0
1818 - deps: express-session@1.4.0
1819 - deps: multiparty@3.2.9
1820 - deps: serve-index@1.1.2
1821 - deps: type-is@1.3.1
1827 * deps: connect@2.19.6
1828 - deps: body-parser@1.3.1
1829 - deps: compression@1.0.7
1831 - deps: serve-index@1.1.1
1832 - deps: serve-static@1.2.3
1835 - Do not throw un-catchable error on file open race condition
1836 - Use `escape-html` for HTML escaping
1838 - deps: finished@1.2.2
1844 * deps: connect@2.19.5
1845 - fix "event emitter leak" warnings
1848 - deps: serve-static@1.2.2
1849 - deps: type-is@1.2.1
1852 - fix "event emitter leak" warnings
1853 - deps: finished@1.2.1
1859 * use `vary` module for `res.vary`
1860 * deps: connect@2.19.4
1861 - deps: errorhandler@1.0.2
1862 - deps: method-override@2.0.2
1863 - deps: serve-favicon@2.0.1
1869 * deps: connect@2.19.3
1870 - deps: compression@1.0.6
1875 * deps: connect@2.19.2
1876 - deps: compression@1.0.4
1877 * deps: proxy-addr@1.0.1
1882 * deps: connect@2.19.1
1883 - deprecate `methodOverride()` -- use `method-override` npm module instead
1884 - deps: body-parser@1.3.0
1885 - deps: method-override@2.0.1
1886 - deps: multiparty@3.2.8
1887 - deps: response-time@2.0.0
1888 - deps: serve-static@1.2.1
1889 * deps: methods@1.0.1
1891 - Send `max-age` in `Cache-Control` in correct format
1896 * custom etag control with `app.set('etag', val)`
1897 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
1898 - `app.set('etag', 'weak')` weak tag
1899 - `app.set('etag', 'strong')` strong etag
1900 - `app.set('etag', false)` turn off
1901 - `app.set('etag', true)` standard etag
1902 * Include ETag in HEAD requests
1903 * mark `res.send` ETag as weak and reduce collisions
1904 * update connect to 2.18.0
1905 - deps: compression@1.0.3
1906 - deps: serve-index@1.1.0
1907 - deps: serve-static@1.2.0
1908 * update send to 0.4.0
1909 - Calculate ETag with md5 for reduced collisions
1910 - Ignore stream errors after request ends
1916 * update connect to 2.17.3
1917 - deps: body-parser@1.2.2
1918 - deps: express-session@1.2.1
1919 - deps: method-override@1.0.2
1924 * keep previous `Content-Type` for `res.jsonp`
1925 * set proper `charset` in `Content-Type` for `res.send`
1926 * update connect to 2.17.1
1927 - fix `res.charset` appending charset when `content-type` has one
1928 - deps: express-session@1.2.0
1929 - deps: morgan@1.1.1
1930 - deps: serve-index@1.0.3
1935 * proper proxy trust with `app.set('trust proxy', trust)`
1936 - `app.set('trust proxy', 1)` trust first hop
1937 - `app.set('trust proxy', 'loopback')` trust loopback addresses
1938 - `app.set('trust proxy', '10.0.0.1')` trust single IP
1939 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
1940 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
1941 - `app.set('trust proxy', false)` turn off
1942 - `app.set('trust proxy', true)` trust everything
1943 * update connect to 2.16.2
1944 - deprecate `res.headerSent` -- use `res.headersSent`
1945 - deprecate `res.on("header")` -- use on-headers module instead
1946 - fix edge-case in `res.appendHeader` that would append in wrong order
1947 - json: use body-parser
1948 - urlencoded: use body-parser
1950 - dep: cookie-parser@1.1.0
1952 - dep: express-session@1.1.0
1953 - dep: method-override@1.0.1
1958 * deprecate `app.del()` -- use `app.delete()` instead
1959 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
1960 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
1961 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
1962 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
1963 * support PURGE method
1965 - add `router.purge`
1966 - include PURGE in `app.all`
1967 * update connect to 2.15.0
1968 * Add `res.appendHeader`
1969 * Call error stack even when response has been sent
1970 * Patch `res.headerSent` to return Boolean
1971 * Patch `res.headersSent` for node.js 0.8
1972 * Prevent default 404 handler after response sent
1973 * dep: compression@1.0.2
1974 * dep: connect-timeout@1.1.0
1976 * dep: errorhandler@1.0.1
1977 * dep: express-session@1.0.4
1979 * dep: serve-favicon@2.0.0
1980 * dep: serve-index@1.0.2
1981 * update debug to 0.8.0
1982 * add `enable()` method
1983 * change from stderr to stdout
1984 * update methods to 1.0.0
1986 * update mkdirp to 0.5.0
1991 * fix `req.host` for IPv6 literals
1992 * fix `res.jsonp` error if callback param is object
1997 * update connect to 2.14.5
1998 * update cookie to 0.1.2
1999 * update mkdirp to 0.4.0
2000 * update send to 0.3.0
2005 * pin less-middleware in generated app
2015 * prevent incorrect automatic OPTIONS responses #1868 @dpatti
2016 * update binary and examples for jade 1.0 #1876 @yossi, #1877 @reqshark, #1892 @matheusazzi
2017 * throw 400 in case of malformed paths @rlidwka
2027 * update connect (raw-body)
2033 * res.location: remove leading ./ #1802 @kapouer
2034 * res.redirect: fix `res.redirect('toString') #1829 @michaelficarra
2035 * res.send: always send ETag when content-length > 0
2036 * router: add Router.all() method
2044 * express(1): replace bodyParser() with urlencoded() and json() #1795 @chirag04
2055 * downgrade commander
2062 * jsonp: check if callback is a function
2063 * router: wrap encodeURIComponent in a try/catch #1735 (@lxe)
2064 * res.format: now includes charset @1747 (@sorribas)
2065 * res.links: allow multiple calls @1746 (@sorribas)
2070 * add res.vary(). Closes #1682
2086 * Revert "remove charset from json responses. Closes #1631" (causes issues in some clients)
2087 * add: req.accepts take an argument list
2092 * update send and connect
2104 * remove .version export
2115 * add support for multiple X-Forwarded-Proto values. Closes #1646
2116 * change: remove charset from json responses. Closes #1631
2117 * change: return actual booleans from req.accept* functions
2118 * fix jsonp callback array throw
2129 * update node-cookie
2130 * add: throw a meaningful error when there is no default engine
2131 * change generation of ETags with res.send() to GET requests only. Closes #1619
2136 * fix `req.subdomains` when no Host is present
2137 * fix `req.host` when no Host is present, return undefined
2142 * update connect / qs
2152 * add app.VERB() paths array deprecation warning
2154 * update qs and remove all ~ semver crap
2155 * fix: accept number as value of Signed Cookie
2160 * add "view" constructor setting to override view behaviour
2161 * add req.acceptsEncoding(name)
2162 * add req.acceptedEncodings
2163 * revert cookie signature change causing session race conditions
2164 * fix sorting of Accept values of the same quality
2169 * add support for custom Accept parameters
2170 * update cookie-signature
2175 * add X-Forwarded-Host support to `req.host`
2176 * fix relative redirects
2178 * update buffer-crc32
2179 * remove legacy app.configure() method from app template.
2184 * add support for leading "." in "view engine" setting
2185 * add array support to `res.set()`
2186 * add node 0.8.x to travis.yml
2187 * add "subdomain offset" setting for tweaking `req.subdomains`
2188 * add `res.location(url)` implementing `res.redirect()`-like setting of Location
2189 * use app.get() for x-powered-by setting for inheritance
2190 * fix colons in passwords for `req.auth`
2195 * add http verb methods to Router
2197 * fix mangling of the `res.cookie()` options object
2198 * fix jsonp whitespace escape. Closes #1132
2203 * add throwing when a non-function is passed to a route
2204 * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses
2205 * revert "add 'etag' option"
2210 * add 'etag' option to disable `res.send()` Etags
2211 * add escaping of urls in text/plain in `res.redirect()`
2212 for old browsers interpreting as html
2213 * change crc32 module for a more liberal license
2220 * update cookie module
2221 * fix cookie max-age
2226 * add OPTIONS to cors example. Closes #1398
2227 * fix route chaining regression. Closes #1397
2238 * add "Basic" check to req.auth
2239 * add `req.auth` test coverage
2240 * add cb && cb(payload) to `res.jsonp()`. Closes #1374
2241 * add backwards compat for `res.redirect()` status. Closes #1336
2242 * add support for `res.json()` to retain previously defined Content-Types. Closes #1349
2244 * change `res.redirect()` to utilize a pathname-relative Location again. Closes #1382
2245 * remove non-primitive string support for `res.send()`
2246 * fix view-locals example. Closes #1370
2247 * fix route-separation example
2249 3.0.0rc5 / 2012-09-18
2253 * add redis search example
2254 * add static-files example
2255 * add "x-powered-by" setting (`app.disable('x-powered-by')`)
2256 * add "application/octet-stream" redirect Accept test case. Closes #1317
2258 3.0.0rc4 / 2012-08-30
2261 * add `res.jsonp()`. Closes #1307
2262 * add "verbose errors" option to error-pages example
2263 * add another route example to express(1) so people are not so confused
2264 * add redis online user activity tracking example
2265 * update connect dep
2266 * fix etag quoting. Closes #1310
2267 * fix error-pages 404 status
2268 * fix jsonp callback char restrictions
2269 * remove old OPTIONS default response
2271 3.0.0rc3 / 2012-08-13
2274 * update connect dep
2275 * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds]
2276 * fix `res.render()` clobbering of "locals"
2278 3.0.0rc2 / 2012-08-03
2282 * update connect dep
2283 * deprecate `.createServer()` & remove old stale examples
2284 * fix: escape `res.redirect()` link
2287 3.0.0rc1 / 2012-07-24
2290 * add more examples to view-locals
2291 * add scheme-relative redirects (`res.redirect("//foo.com")`) support
2293 * update connect dep
2295 * fix `express(1)` -h flag, use -H for hogan. Closes #1245
2296 * fix `res.sendfile()` socket error handling regression
2298 3.0.0beta7 / 2012-07-16
2301 * update connect dep for `send()` root normalization regression
2303 3.0.0beta6 / 2012-07-13
2306 * add `err.view` property for view errors. Closes #1226
2307 * add "jsonp callback name" setting
2308 * add support for "/foo/:bar*" non-greedy matches
2309 * change `res.sendfile()` to use `send()` module
2310 * change `res.send` to use "response-send" module
2311 * remove `app.locals.use` and `res.locals.use`, use regular middleware
2313 3.0.0beta5 / 2012-07-03
2316 * add "make check" support
2317 * add route-map example
2318 * add `res.json(obj, status)` support back for BC
2319 * add "methods" dep, remove internal methods module
2320 * update connect dep
2321 * update auth example to utilize cores pbkdf2
2322 * updated tests to use "supertest"
2324 3.0.0beta4 / 2012-06-25
2328 * Added `req.range(size)`
2329 * Added `res.links(obj)`
2330 * Added `res.send(body, status)` support back for backwards compat
2331 * Added `.default()` support to `res.format()`
2332 * Added 2xx / 304 check to `req.fresh`
2333 * Revert "Added + support to the router"
2334 * Fixed `res.send()` freshness check, respect res.statusCode
2336 3.0.0beta3 / 2012-06-15
2339 * Added hogan `--hjs` to express(1) [nullfirm]
2340 * Added another example to content-negotiation
2342 * Changed: `res.send()` always checks freshness
2343 * Fixed: expose connects mime module. Closes #1165
2345 3.0.0beta2 / 2012-06-06
2348 * Added `+` support to the router
2350 * Changed `req.param()` to check route first
2351 * Update connect dep
2353 3.0.0beta1 / 2012-06-01
2356 * Added `res.format()` callback to override default 406 behaviour
2357 * Fixed `res.redirect()` 406. Closes #1154
2359 3.0.0alpha5 / 2012-05-30
2363 * Added `{ signed: true }` option to `res.cookie()`
2364 * Removed `res.signedCookie()`
2365 * Changed: dont reverse `req.ips`
2366 * Fixed "trust proxy" setting check for `req.ips`
2368 3.0.0alpha4 / 2012-05-09
2371 * Added: allow `[]` in jsonp callback. Closes #1128
2372 * Added `PORT` env var support in generated template. Closes #1118 [benatkin]
2373 * Updated: connect 2.2.2
2375 3.0.0alpha3 / 2012-05-04
2378 * Added public `app.routes`. Closes #887
2379 * Added _view-locals_ example
2380 * Added _mvc_ example
2381 * Added `res.locals.use()`. Closes #1120
2382 * Added conditional-GET support to `res.send()`
2383 * Added: coerce `res.set()` values to strings
2384 * Changed: moved `static()` in generated apps below router
2385 * Changed: `res.send()` only set ETag when not previously set
2386 * Changed connect 2.2.1 dep
2387 * Changed: `make test` now runs unit / acceptance tests
2388 * Fixed req/res proto inheritance
2390 3.0.0alpha2 / 2012-04-26
2393 * Added `make benchmark` back
2394 * Added `res.send()` support for `String` objects
2395 * Added client-side data exposing example
2396 * Added `res.header()` and `req.header()` aliases for BC
2397 * Added `express.createServer()` for BC
2398 * Perf: memoize parsed urls
2399 * Perf: connect 2.2.0 dep
2400 * Changed: make `expressInit()` middleware self-aware
2401 * Fixed: use app.get() for all core settings
2402 * Fixed redis session example
2403 * Fixed session example. Closes #1105
2404 * Fixed generated express dep. Closes #1078
2406 3.0.0alpha1 / 2012-04-15
2409 * Added `app.locals.use(callback)`
2410 * Added `app.locals` object
2411 * Added `app.locals(obj)`
2412 * Added `res.locals` object
2413 * Added `res.locals(obj)`
2414 * Added `res.format()` for content-negotiation
2415 * Added `app.engine()`
2416 * Added `res.cookie()` JSON cookie support
2417 * Added "trust proxy" setting
2418 * Added `req.subdomains`
2419 * Added `req.protocol`
2420 * Added `req.secure`
2425 * Added comma-delimited / array support for `req.accepts()`
2426 * Added debug instrumentation
2427 * Added `res.set(obj)`
2428 * Added `res.set(field, value)`
2429 * Added `res.get(field)`
2430 * Added `app.get(setting)`. Closes #842
2431 * Added `req.acceptsLanguage()`
2432 * Added `req.acceptsCharset()`
2433 * Added `req.accepted`
2434 * Added `req.acceptedLanguages`
2435 * Added `req.acceptedCharsets`
2436 * Added "json replacer" setting
2437 * Added "json spaces" setting
2438 * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92
2439 * Added `--less` support to express(1)
2440 * Added `express.response` prototype
2441 * Added `express.request` prototype
2442 * Added `express.application` prototype
2443 * Added `app.path()`
2444 * Added `app.render()`
2445 * Added `res.type()` to replace `res.contentType()`
2446 * Changed: `res.redirect()` to add relative support
2447 * Changed: enable "jsonp callback" by default
2448 * Changed: renamed "case sensitive routes" to "case sensitive routing"
2449 * Rewrite of all tests with mocha
2450 * Removed "root" setting
2451 * Removed `res.redirect('home')` support
2452 * Removed `req.notify()`
2453 * Removed `app.register()`
2454 * Removed `app.redirect()`
2455 * Removed `app.is()`
2456 * Removed `app.helpers()`
2457 * Removed `app.dynamicHelpers()`
2458 * Fixed `res.sendfile()` with non-GET. Closes #723
2459 * Fixed express(1) public dir for windows. Closes #866
2464 * Added support for PURGE request method [pbuyle]
2465 * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]
2470 * Update mkdirp dep. Closes #991
2475 * Fixed `app.all` duplicate DELETE requests [mscdex]
2480 * Updated hamljs dev dep. Closes #953
2485 * Fixed: set `filename` on cached templates [matthewleon]
2490 * Fixed `express(1)` eol on 0.4.x. Closes #947
2495 * Fixed `req.is()` when a charset is present
2500 * Fixed: express(1) LF -> CRLF for windows
2505 * Changed: updated connect to 1.8.x
2506 * Removed sass.js support from express(1)
2511 * Added ./routes dir for generated app by default
2512 * Added npm install reminder to express(1) app gen
2513 * Added 0.5.x support
2514 * Removed `make test-cov` since it wont work with node 0.5.x
2515 * Fixed express(1) public dir for windows. Closes #866
2520 * Added mkdirp to express(1). Closes #795
2521 * Added simple _json-config_ example
2522 * Added shorthand for the parsed request's pathname via `req.path`
2523 * Changed connect dep to 1.7.x to fix npm issue...
2524 * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]
2525 * Fixed `req.flash()`, only escape args
2526 * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]
2531 * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]
2536 * Added support for routes to handle errors. Closes #809
2537 * Added `app.routes.all()`. Closes #803
2538 * Added "basepath" setting to work in conjunction with reverse proxies etc.
2539 * Refactored `Route` to use a single array of callbacks
2540 * Added support for multiple callbacks for `app.param()`. Closes #801
2542 * Changed: removed .call(self) for route callbacks
2543 * Dependency: `qs >= 0.3.1`
2544 * Fixed `res.redirect()` on windows due to `join()` usage. Closes #808
2549 * Fixed `res.header()` intention of a set, even when `undefined`
2550 * Fixed `*`, value no longer required
2551 * Fixed `res.send(204)` support. Closes #771
2556 * Added docs for `status` option special-case. Closes #739
2557 * Fixed `options.filename`, exposing the view path to template engines
2562 * Revert "removed jsonp stripping" for XSS
2567 * Added `res.json()` JSONP support. Closes #737
2568 * Added _extending-templates_ example. Closes #730
2569 * Added "strict routing" setting for trailing slashes
2570 * Added support for multiple envs in `app.configure()` calls. Closes #735
2571 * Changed: `res.send()` using `res.json()`
2572 * Changed: when cookie `path === null` don't default it
2573 * Changed; default cookie path to "home" setting. Closes #731
2574 * Removed _pids/logs_ creation from express(1)
2579 * Added chainable `res.status(code)`
2580 * Added `res.json()`, an explicit version of `res.send(obj)`
2581 * Added simple web-service example
2586 * \#express is now on freenode! come join!
2587 * Added `req.get(field, param)`
2588 * Added links to Japanese documentation, thanks @hideyukisaito!
2589 * Added; the `express(1)` generated app outputs the env
2590 * Added `content-negotiation` example
2591 * Dependency: connect >= 1.5.1 < 2.0.0
2592 * Fixed view layout bug. Closes #720
2593 * Fixed; ignore body on 304. Closes #701
2599 * Removed generation of dummy test file from `express(1)`
2600 * Fixed; `express(1)` adds express as a dep
2601 * Fixed; prune on `prepublish`
2606 * Added `req.route`, exposing the current route
2607 * Added _package.json_ generation support to `express(1)`
2608 * Fixed call to `app.param()` function for optional params. Closes #682
2613 * Fixed bug-ish with `../' in `res.partial()` calls
2618 * Fixed `app.options()`
2623 * Added route `Collection`, ex: `app.get('/user/:id').remove();`
2624 * Added support for `app.param(fn)` to define param logic
2625 * Removed `app.param()` support for callback with return value
2626 * Removed module.parent check from express(1) generated app. Closes #670
2627 * Refactored router. Closes #639
2632 * Changed; using devDependencies instead of git submodules
2633 * Fixed redis session example
2634 * Fixed markdown example
2635 * Fixed view caching, should not be enabled in development
2640 * Added export `.view` as alias for `.View`
2645 * Added `./examples/say`
2646 * Fixed `res.sendfile()` bug preventing the transfer of files with spaces
2651 * Added "case sensitive routes" option.
2652 * Changed; split methods supported per rfc [slaskis]
2653 * Fixed route-specific middleware when using the same callback function several times
2663 * Added `app.match()` as `app.match.all()`
2664 * Added `app.lookup()` as `app.lookup.all()`
2665 * Added `app.remove()` for `app.remove.all()`
2666 * Added `app.remove.VERB()`
2667 * Fixed template caching collision issue. Closes #644
2668 * Moved router over from connect and started refactor
2673 * Added options support to `res.clearCookie()`
2674 * Added `res.helpers()` as alias of `res.locals()`
2675 * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0`
2676 * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]
2677 * Renamed "cache views" to "view cache". Closes #628
2678 * Fixed caching of views when using several apps. Closes #637
2679 * Fixed gotcha invoking `app.param()` callbacks once per route middleware.
2681 * Fixed partial lookup precedence. Closes #631
2687 * Added second callback support for `res.download()` connection errors
2688 * Fixed `filename` option passing to template engine
2693 * Added `layout(path)` helper to change the layout within a view. Closes #610
2694 * Fixed `partial()` collection object support.
2695 Previously only anything with `.length` would work.
2696 When `.length` is present one must still be aware of holes,
2697 however now `{ collection: {foo: 'bar'}}` is valid, exposes
2698 `keyInCollection` and `keysInCollection`.
2700 * Performance improved with better view caching
2701 * Removed `request` and `response` locals
2702 * Changed; errorHandler page title is now `Express` instead of `Connect`
2707 * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #606
2708 * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #606
2709 * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.
2710 * Dependency `connect >= 1.2.0`
2715 * Added; expose `err.view` object when failing to locate a view
2716 * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]
2717 * Fixed; `res.send(undefined)` responds with 204 [aheckmann]
2722 * Added `<root>/_?<name>` partial lookup support. Closes #447
2723 * Added `request`, `response`, and `app` local variables
2724 * Added `settings` local variable, containing the app's settings
2725 * Added `req.flash()` exception if `req.session` is not available
2726 * Added `res.send(bool)` support (json response)
2727 * Fixed stylus example for latest version
2728 * Fixed; wrap try/catch around `res.render()`
2733 * Fixed up index view path alternative.
2734 * Changed; `res.locals()` without object returns the locals
2736 2.0.0rc3 / 2011-03-17
2739 * Added `res.locals(obj)` to compliment `res.local(key, val)`
2740 * Added `res.partial()` callback support
2741 * Fixed recursive error reporting issue in `res.render()`
2743 2.0.0rc2 / 2011-03-17
2746 * Changed; `partial()` "locals" are now optional
2747 * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]
2748 * Fixed .filename view engine option [reported by drudge]
2749 * Fixed blog example
2750 * Fixed `{req,res}.app` reference when mounting [Ben Weaver]
2752 2.0.0rc / 2011-03-14
2755 * Fixed; expose `HTTPSServer` constructor
2756 * Fixed express(1) default test charset. Closes #579 [reported by secoif]
2757 * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]
2759 2.0.0beta3 / 2011-03-09
2762 * Added support for `res.contentType()` literal
2763 The original `res.contentType('.json')`,
2764 `res.contentType('application/json')`, and `res.contentType('json')`
2766 * Added `res.render()` status option support back
2767 * Added charset option for `res.render()`
2768 * Added `.charset` support (via connect 1.0.4)
2769 * Added view resolution hints when in development and a lookup fails
2770 * Added layout lookup support relative to the page view.
2771 For example while rendering `./views/user/index.jade` if you create
2772 `./views/user/layout.jade` it will be used in favour of the root layout.
2773 * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]
2774 * Fixed; default `res.send()` string charset to utf8
2775 * Removed `Partial` constructor (not currently used)
2777 2.0.0beta2 / 2011-03-07
2780 * Added res.render() `.locals` support back to aid in migration process
2781 * Fixed flash example
2783 2.0.0beta / 2011-03-03
2786 * Added HTTPS support
2787 * Added `res.cookie()` maxAge support
2788 * Added `req.header()` _Referrer_ / _Referer_ special-case, either works
2789 * Added mount support for `res.redirect()`, now respects the mount-point
2790 * Added `union()` util, taking place of `merge(clone())` combo
2791 * Added stylus support to express(1) generated app
2792 * Added secret to session middleware used in examples and generated app
2793 * Added `res.local(name, val)` for progressive view locals
2794 * Added default param support to `req.param(name, default)`
2795 * Added `app.disabled()` and `app.enabled()`
2796 * Added `app.register()` support for omitting leading ".", either works
2797 * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #539
2798 * Added `app.param()` to map route params to async/sync logic
2799 * Added; aliased `app.helpers()` as `app.locals()`. Closes #481
2800 * Added extname with no leading "." support to `res.contentType()`
2801 * Added `cache views` setting, defaulting to enabled in "production" env
2802 * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.
2803 * Added `req.accepts()` support for extensions
2804 * Changed; `res.download()` and `res.sendfile()` now utilize Connect's
2805 static file server `connect.static.send()`.
2806 * Changed; replaced `connect.utils.mime()` with npm _mime_ module
2807 * Changed; allow `req.query` to be pre-defined (via middleware or other parent
2808 * Changed view partial resolution, now relative to parent view
2809 * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.
2810 * Fixed `req.param()` bug returning Array.prototype methods. Closes #552
2811 * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()`
2812 * Fixed; using _qs_ module instead of _querystring_
2813 * Fixed; strip unsafe chars from jsonp callbacks
2814 * Removed "stream threshold" setting
2819 * Allow `req.query` to be pre-defined (via middleware or other parent app)
2820 * "connect": ">= 0.5.0 < 1.0.0". Closes #547
2821 * Removed the long deprecated __EXPRESS_ENV__ support
2826 * Fixed `render()` setting inheritance.
2827 Mounted apps would not inherit "view engine"
2832 * Fixed `view engine` setting bug when period is in dirname
2837 * Added secret to generated app `session()` call
2842 * Added `qs` dependency to _package.json_
2843 * Fixed namespaced `require()`s for latest connect support
2848 * Remove unsafe characters from JSONP callback names [Ryan Grove]
2853 * Removed nested require, using `connect.router`
2858 * Fixed for middleware stacked via `createServer()`
2859 previously the `foo` middleware passed to `createServer(foo)`
2860 would not have access to Express methods such as `res.send()`
2861 or props like `req.query` etc.
2866 * Added; deduce partial object names from the last segment.
2867 For example by default `partial('forum/post', postObject)` will
2868 give you the _post_ object, providing a meaningful default.
2869 * Added http status code string representation to `res.redirect()` body
2870 * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__.
2871 * Added `req.is()` to aid in content negotiation
2872 * Added partial local inheritance [suggested by masylum]. Closes #102
2873 providing access to parent template locals.
2874 * Added _-s, --session[s]_ flag to express(1) to add session related middleware
2875 * Added _--template_ flag to express(1) to specify the
2876 template engine to use.
2877 * Added _--css_ flag to express(1) to specify the
2878 stylesheet engine to use (or just plain css by default).
2879 * Added `app.all()` support [thanks aheckmann]
2880 * Added partial direct object support.
2881 You may now `partial('user', user)` providing the "user" local,
2882 vs previously `partial('user', { object: user })`.
2883 * Added _route-separation_ example since many people question ways
2884 to do this with CommonJS modules. Also view the _blog_ example for
2886 * Performance; caching view path derived partial object names
2887 * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #454
2888 * Fixed jsonp support; _text/javascript_ as per mailinglist discussion
2890 1.0.0rc4 / 2010-10-14
2893 * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.0
2894 * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))
2895 * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass]
2896 * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass]
2897 * Added `partial()` support for array-like collections. Closes #434
2898 * Added support for swappable querystring parsers
2899 * Added session usage docs. Closes #443
2900 * Added dynamic helper caching. Closes #439 [suggested by maritz]
2901 * Added authentication example
2902 * Added basic Range support to `res.sendfile()` (and `res.download()` etc)
2903 * Changed; `express(1)` generated app using 2 spaces instead of 4
2904 * Default env to "development" again [aheckmann]
2905 * Removed _context_ option is no more, use "scope"
2906 * Fixed; exposing _./support_ libs to examples so they can run without installs
2909 1.0.0rc3 / 2010-09-20
2912 * Added confirmation for `express(1)` app generation. Closes #391
2913 * Added extending of flash formatters via `app.flashFormatters`
2914 * Added flash formatter support. Closes #411
2915 * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold"
2916 * Added _stream threshold_ setting for `res.sendfile()`
2917 * Added `res.send()` __HEAD__ support
2918 * Added `res.clearCookie()`
2919 * Added `res.cookie()`
2920 * Added `res.render()` headers option
2921 * Added `res.redirect()` response bodies
2922 * Added `res.render()` status option support. Closes #425 [thanks aheckmann]
2923 * Fixed `res.sendfile()` responding with 403 on malicious path
2924 * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_
2925 * Fixed; mounted apps settings now inherit from parent app [aheckmann]
2926 * Fixed; stripping Content-Length / Content-Type when 204
2927 * Fixed `res.send()` 204. Closes #419
2928 * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #402
2929 * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]
2932 1.0.0rc2 / 2010-08-17
2935 * Added `app.register()` for template engine mapping. Closes #390
2936 * Added `res.render()` callback support as second argument (no options)
2937 * Added callback support to `res.download()`
2938 * Added callback support for `res.sendfile()`
2939 * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()`
2940 * Added "partials" setting to docs
2941 * Added default expresso tests to `express(1)` generated app. Closes #384
2942 * Fixed `res.sendfile()` error handling, defer via `next()`
2943 * Fixed `res.render()` callback when a layout is used [thanks guillermo]
2944 * Fixed; `make install` creating ~/.node_libraries when not present
2945 * Fixed issue preventing error handlers from being defined anywhere. Closes #387
2947 1.0.0rc / 2010-07-28
2950 * Added mounted hook. Closes #369
2951 * Added connect dependency to _package.json_
2953 * Removed "reload views" setting and support code
2954 development env never caches, production always caches.
2956 * Removed _param_ in route callbacks, signature is now
2957 simply (req, res, next), previously (req, res, params, next).
2958 Use _req.params_ for path captures, _req.query_ for GET params.
2960 * Fixed "home" setting
2961 * Fixed middleware/router precedence issue. Closes #366
2962 * Fixed; _configure()_ callbacks called immediately. Closes #368
2964 1.0.0beta2 / 2010-07-23
2967 * Added more examples
2968 * Added; exporting `Server` constructor
2969 * Added `Server#helpers()` for view locals
2970 * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #349
2971 * Added support for absolute view paths
2972 * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #363
2973 * Added Guillermo Rauch to the contributor list
2974 * Added support for "as" for non-collection partials. Closes #341
2975 * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]
2976 * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]
2977 * Fixed instanceof `Array` checks, now `Array.isArray()`
2978 * Fixed express(1) expansion of public dirs. Closes #348
2979 * Fixed middleware precedence. Closes #345
2980 * Fixed view watcher, now async [thanks aheckmann]
2982 1.0.0beta / 2010-07-15
2988 - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs
2993 * Utilize relative requires
2994 * Added Static bufferSize option [aheckmann]
2995 * Fixed caching of view and partial subdirectories [aheckmann]
2996 * Fixed mime.type() comments now that ".ext" is not supported
2997 * Updated haml submodule
2998 * Updated class submodule
2999 * Removed bin/express
3004 * Added node v0.1.97 compatibility
3005 * Added support for deleting cookies via Request#cookie('key', null)
3006 * Updated haml submodule
3007 * Fixed not-found page, now using using charset utf-8
3008 * Fixed show-exceptions page, now using using charset utf-8
3009 * Fixed view support due to fs.readFile Buffers
3010 * Changed; mime.type() no longer accepts ".type" due to node extname() changes
3015 * Added node v0.1.96 compatibility
3016 * Added view `helpers` export which act as additional local variables
3017 * Updated haml submodule
3018 * Changed ETag; removed inode, modified time only
3019 * Fixed LF to CRLF for setting multiple cookies
3020 * Fixed cookie complation; values are now urlencoded
3021 * Fixed cookies parsing; accepts quoted values and url escaped cookies
3026 * Added support for layouts using different engines
3027 - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })
3028 - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'
3029 - this.render('page.html.haml', { layout: false }) // no layout
3030 * Updated ext submodule
3031 * Updated haml submodule
3032 * Fixed EJS partial support by passing along the context. Issue #307
3037 * Fixed binary uploads.
3042 * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s
3043 encoding is set to 'utf8' or 'utf-8'.
3044 * Added "encoding" option to Request#render(). Closes #299
3045 * Added "dump exceptions" setting, which is enabled by default.
3046 * Added simple ejs template engine support
3047 * Added error response support for text/plain, application/json. Closes #297
3048 * Added callback function param to Request#error()
3049 * Added Request#sendHead()
3050 * Added Request#stream()
3051 * Added support for Request#respond(304, null) for empty response bodies
3052 * Added ETag support to Request#sendfile()
3053 * Added options to Request#sendfile(), passed to fs.createReadStream()
3054 * Added filename arg to Request#download()
3055 * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request
3056 * Performance enhanced by preventing several calls to toLowerCase() in Router#match()
3057 * Changed; Request#sendfile() now streams
3058 * Changed; Renamed Request#halt() to Request#respond(). Closes #289
3059 * Changed; Using sys.inspect() instead of JSON.encode() for error output
3060 * Changed; run() returns the http.Server instance. Closes #298
3061 * Changed; Defaulting Server#host to null (INADDR_ANY)
3062 * Changed; Logger "common" format scale of 0.4f
3063 * Removed Logger "request" format
3064 * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found
3065 * Fixed several issues with http client
3066 * Fixed Logger Content-Length output
3067 * Fixed bug preventing Opera from retaining the generated session id. Closes #292
3072 * Added DSL level error() route support
3073 * Added DSL level notFound() route support
3074 * Added Request#error()
3075 * Added Request#notFound()
3076 * Added Request#render() callback function. Closes #258
3077 * Added "max upload size" setting
3078 * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #254
3079 * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js
3080 * Added callback function support to Request#halt() as 3rd/4th arg
3081 * Added preprocessing of route param wildcards using param(). Closes #251
3082 * Added view partial support (with collections etc)
3083 * Fixed bug preventing falsey params (such as ?page=0). Closes #286
3084 * Fixed setting of multiple cookies. Closes #199
3085 * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)
3086 * Changed; session cookie is now httpOnly
3087 * Changed; Request is no longer global
3088 * Changed; Event is no longer global
3089 * Changed; "sys" module is no longer global
3090 * Changed; moved Request#download to Static plugin where it belongs
3091 * Changed; Request instance created before body parsing. Closes #262
3092 * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #253
3093 * Changed; Pre-caching view partials in memory when "cache view partials" is enabled
3094 * Updated support to node --version 0.1.90
3095 * Updated dependencies
3096 * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})
3097 * Removed utils.mixin(); use Object#mergeDeep()
3102 * Added coffeescript example app. Closes #242
3103 * Changed; cache api now async friendly. Closes #240
3104 * Removed deprecated 'express/static' support. Use 'express/plugins/static'
3109 * Added Request#isXHR. Closes #229
3110 * Added `make install` (for the executable)
3111 * Added `express` executable for setting up simple app templates
3112 * Added "GET /public/*" to Static plugin, defaulting to <root>/public
3113 * Added Static plugin
3114 * Fixed; Request#render() only calls cache.get() once
3115 * Fixed; Namespacing View caches with "view:"
3116 * Fixed; Namespacing Static caches with "static:"
3117 * Fixed; Both example apps now use the Static plugin
3118 * Fixed set("views"). Closes #239
3119 * Fixed missing space for combined log format
3120 * Deprecated Request#sendfile() and 'express/static'
3121 * Removed Server#running
3126 * Added Request#flash() support without args, now returns all flashes
3127 * Updated ext submodule
3132 * Fixed session reaper
3133 * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)
3138 * Added package.json
3139 * Fixed requiring of haml / sass due to kiwi removal
3144 * Fixed GIT submodules (HAH!)
3149 * Changed; Express now using submodules again until a PM is adopted
3150 * Changed; chat example using millisecond conversions from ext
3155 * Added Request#pass() support (finds the next matching route, or the given path)
3156 * Added Logger plugin (default "common" format replaces CommonLogger)
3157 * Removed Profiler plugin
3158 * Removed CommonLogger plugin
3163 * Added seed.yml for kiwi package management support
3164 * Added HTTP client query string support when method is GET. Closes #205
3166 * Added support for arbitrary view engines.
3167 For example "foo.engine.html" will now require('engine'),
3168 the exports from this module are cached after the first require().
3170 * Added async plugin support
3172 * Removed usage of RESTful route funcs as http client
3173 get() etc, use http.get() and friends
3175 * Removed custom exceptions
3180 * Added ext dependency (library of js extensions)
3181 * Removed extname() / basename() utils. Use path module
3182 * Removed toArray() util. Use arguments.values
3183 * Removed escapeRegexp() util. Use RegExp.escape()
3184 * Removed process.mixin() dependency. Use utils.mixin()
3185 * Removed Collection
3186 * Removed ElementCollection
3187 * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;)
3192 * Added flash() example to sample upload app
3193 * Added high level restful http client module (express/http)
3194 * Changed; RESTful route functions double as HTTP clients. Closes #69
3195 * Changed; throwing error when routes are added at runtime
3196 * Changed; defaulting render() context to the current Request. Closes #197
3197 * Updated haml submodule
3202 * Updated haml / sass submodules. Closes #200
3203 * Added flash message support. Closes #64
3204 * Added accepts() now allows multiple args. fixes #117
3205 * Added support for plugins to halt. Closes #189
3206 * Added alternate layout support. Closes #119
3207 * Removed Route#run(). Closes #188
3208 * Fixed broken specs due to use(Cookie) missing
3213 * Added "plot" format option for Profiler (for gnuplot processing)
3214 * Added request number to Profiler plugin
3215 * Fixed binary encoding for multi-part file uploads, was previously defaulting to UTF8
3216 * Fixed issue with routes not firing when not files are present. Closes #184
3217 * Fixed process.Promise -> events.Promise
3222 * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #180
3223 * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #174
3224 * Added expiration support to cache api with reaper. Closes #133
3225 * Added cache Store.Memory#reap()
3226 * Added Cache; cache api now uses first class Cache instances
3227 * Added abstract session Store. Closes #172
3228 * Changed; cache Memory.Store#get() utilizing Collection
3229 * Renamed MemoryStore -> Store.Memory
3230 * Fixed use() of the same plugin several time will always use latest options. Closes #176
3235 * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context
3236 * Updated node support to 0.1.27 Closes #169
3237 * Updated dirname(__filename) -> __dirname
3238 * Updated libxmljs support to v0.2.0
3239 * Added session support with memory store / reaping
3240 * Added quick uid() helper
3241 * Added multi-part upload support
3242 * Added Sass.js support / submodule
3243 * Added production env caching view contents and static files
3244 * Added static file caching. Closes #136
3245 * Added cache plugin with memory stores
3246 * Added support to StaticFile so that it works with non-textual files.
3247 * Removed dirname() helper
3248 * Removed several globals (now their modules must be required)
3253 * Added view benchmarks; currently haml vs ejs
3254 * Added Request#attachment() specs. Closes #116
3255 * Added use of node's parseQuery() util. Closes #123
3256 * Added `make init` for submodules
3258 * Updated sample chat app to show messages on load
3259 * Updated libxmljs parseString -> parseHtmlString
3260 * Fixed `make init` to work with older versions of git
3261 * Fixed specs can now run independent specs for those who cant build deps. Closes #127
3262 * Fixed issues introduced by the node url module changes. Closes 126.
3263 * Fixed two assertions failing due to Collection#keys() returning strings
3264 * Fixed faulty Collection#toArray() spec due to keys() returning strings
3265 * Fixed `make test` now builds libxmljs.node before testing