4 * Fix `res.format` error when only `default` provided
5 * Fix issue where `next('route')` in `app.param` would incorrectly skip values
6 * Fix using `*` before params in routes
7 * Fix using capture groups before params in routes
8 * Use `array-flatten` module for flattening arrays
10 - deps: mime-types@~2.1.1
11 - perf: avoid argument reassignment & argument slice
12 - perf: avoid negotiator recursive construction
13 - perf: enable strict mode
14 - perf: remove unnecessary bitwise operator
16 - perf: deduce the scope of try-catch deopt
17 - perf: remove argument reassignments
18 * deps: escape-html@1.0.2
20 - Always include entity length in ETags for hash length extensions
21 - Generate non-Stats ETags using MD5 only (no longer CRC32)
22 - Improve stat performance by removing hashing
23 - Improve support for JXcore
24 - Remove base64 padding in ETags to shorten
25 - Support "fake" stats objects in environments without fs
26 - Use MD5 instead of MD4 in weak ETags over 1KB
27 * deps: finalhandler@0.4.0
28 - Fix a false-positive when unpiping in Node.js 0.8
29 - Support `statusCode` property on `Error` objects
30 - Use `unpipe` module for unpiping requests
31 - deps: escape-html@1.0.2
32 - deps: on-finished@~2.3.0
33 - perf: enable strict mode
34 - perf: remove argument reassignment
36 - Add weak `ETag` matching support
37 * deps: on-finished@~2.3.0
38 - Add defined behavior for HTTP `CONNECT` requests
39 - Add defined behavior for HTTP `Upgrade` requests
40 - deps: ee-first@1.1.1
41 * deps: path-to-regexp@0.1.6
43 - Allow Node.js HTTP server to set `Date` response header
44 - Fix incorrectly removing `Content-Location` on 304 response
45 - Improve the default redirect response headers
46 - Send appropriate headers on default error response
47 - Use `http-errors` for standard emitted errors
48 - Use `statuses` instead of `http` module for status messages
49 - deps: escape-html@1.0.2
52 - deps: on-finished@~2.3.0
53 - perf: enable strict mode
54 - perf: remove unnecessary array allocations
55 * deps: serve-static@~1.10.0
56 - Add `fallthrough` option
57 - Fix reading options from options prototype
58 - Improve the default redirect response headers
59 - Malformed URLs now `next()` instead of 400
60 - deps: escape-html@1.0.2
62 - perf: enable strict mode
63 - perf: remove argument reassignment
64 * deps: type-is@~1.6.3
65 - deps: mime-types@~2.1.1
66 - perf: reduce try block size
67 - perf: remove bitwise operations
68 * perf: enable strict mode
69 * perf: use saved reference to `http.STATUS_CODES`
74 * deps: accepts@~1.2.7
75 - deps: mime-types@~2.0.11
76 - deps: negotiator@0.5.3
81 - Improve support for JXcore
82 - Support "fake" stats objects in environments without `fs`
83 * deps: finalhandler@0.3.6
85 - deps: on-finished@~2.2.1
86 * deps: on-finished@~2.2.1
87 - Fix `isFinished(req)` when data buffered
88 * deps: proxy-addr@~1.0.8
89 - deps: ipaddr.js@1.0.1
91 - Fix allowing parameters like `constructor`
97 - deps: on-finished@~2.2.1
98 * deps: serve-static@~1.9.3
100 * deps: type-is@~1.6.2
101 - deps: mime-types@~2.0.11
106 * deps: accepts@~1.2.5
107 - deps: mime-types@~2.0.10
109 - Fix high intensity foreground color for bold
111 * deps: finalhandler@0.3.4
113 * deps: proxy-addr@~1.0.7
114 - deps: ipaddr.js@0.1.9
116 - Fix error when parameter `hasOwnProperty` is present
118 - Throw errors early for invalid `extensions` or `index` options
120 * deps: serve-static@~1.9.2
122 * deps: type-is@~1.6.1
123 - deps: mime-types@~2.0.10
128 * Fix regression where `"Request aborted"` is logged using `res.sendFile`
133 * Fix constructing application with non-configurable prototype properties
134 * Fix `ECONNRESET` errors from `res.sendFile` usage
135 * Fix `req.host` when using "trust proxy" hops count
136 * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
137 * Fix wrong `code` on aborted connections from `res.sendFile`
138 * deps: merge-descriptors@1.0.0
143 * Fix `"trust proxy"` setting to inherit when app is mounted
144 * Generate `ETag`s for all request responses
145 - No longer restricted to only responses for `GET` and `HEAD` requests
146 * Use `content-type` to parse `Content-Type` headers
147 * deps: accepts@~1.2.4
148 - Fix preference sorting to be stable for long acceptable lists
149 - deps: mime-types@~2.0.9
150 - deps: negotiator@0.5.1
151 * deps: cookie-signature@1.0.6
153 - Always read the stat size from the file
154 - Fix mutating passed-in `options`
156 * deps: serve-static@~1.9.1
158 * deps: type-is@~1.6.0
159 - fix argument reassignment
160 - fix false-positives in `hasBody` `Transfer-Encoding` check
161 - support wildcard for both type and subtype (`*/*`)
162 - deps: mime-types@~2.0.9
167 * Fix `res.redirect` double-calling `res.end` for `HEAD` requests
168 * deps: accepts@~1.2.3
169 - deps: mime-types@~2.0.8
170 * deps: proxy-addr@~1.0.6
171 - deps: ipaddr.js@0.1.8
172 * deps: type-is@~1.5.6
173 - deps: mime-types@~2.0.8
179 - Fix root path disclosure
180 * deps: serve-static@~1.8.1
181 - Fix redirect loop in Node.js 0.11.14
182 - Fix root path disclosure
188 * Add `res.append(field, val)` to append headers
189 * Deprecate leading `:` in `name` for `app.param(name, fn)`
190 * Deprecate `req.param()` -- use `req.params`, `req.body`, or `req.query` instead
191 * Deprecate `app.param(fn)`
192 * Fix `OPTIONS` responses to include the `HEAD` method properly
193 * Fix `res.sendFile` not always detecting aborted connection
194 * Match routes iteratively to prevent stack overflows
195 * deps: accepts@~1.2.2
196 - deps: mime-types@~2.0.7
197 - deps: negotiator@0.5.0
202 - deps: on-finished@~2.2.0
203 * deps: serve-static@~1.8.0
209 * Fix crash from error within `OPTIONS` response handler
210 * deps: proxy-addr@~1.0.5
211 - deps: ipaddr.js@0.1.6
216 * Fix `Allow` header for `OPTIONS` to not contain duplicate methods
217 * Fix incorrect "Request aborted" for `res.sendFile` when `HEAD` or 304
219 * deps: finalhandler@0.3.3
221 - deps: on-finished@~2.2.0
222 * deps: methods@~1.1.1
223 * deps: on-finished@~2.2.0
224 * deps: serve-static@~1.7.2
225 - Fix potential open redirect when mounted at root
226 * deps: type-is@~1.5.5
227 - deps: mime-types@~2.0.7
232 * Fix exception in `req.fresh`/`req.stale` without response headers
237 * Fix `res.send` double-calling `res.end` for `HEAD` requests
238 * deps: accepts@~1.1.4
239 - deps: mime-types@~2.0.4
240 * deps: type-is@~1.5.4
241 - deps: mime-types@~2.0.4
246 * Fix `res.sendfile` logging standard write errors
251 * Fix `res.sendFile` logging standard write errors
253 * deps: proxy-addr@~1.0.4
254 - deps: ipaddr.js@0.1.5
256 - Fix `arrayLimit` behavior
261 * Correctly invoke async router callback asynchronously
262 * deps: accepts@~1.1.3
263 - deps: mime-types@~2.0.3
264 * deps: type-is@~1.5.3
265 - deps: mime-types@~2.0.3
270 * Fix handling of URLs containing `://` in the path
272 - Fix parsing of mixed objects and values
277 * Add support for `app.set('views', array)`
278 - Views are looked up in sequence in array of directories
279 * Fix `res.send(status)` to mention `res.sendStatus(status)`
280 * Fix handling of invalid empty URLs
281 * Use `content-disposition` module for `res.attachment`/`res.download`
282 - Sends standards-compliant `Content-Disposition` header
283 - Full Unicode support
284 * Use `path.resolve` in view lookup
286 - Implement `DEBUG_FD` env variable support
289 - Improve string performance
290 - Slightly improve speed for weak ETags over 1KB
291 * deps: finalhandler@0.3.2
292 - Terminate in progress response only on error
293 - Use `on-finished` to determine request status
295 - deps: on-finished@~2.1.1
296 * deps: on-finished@~2.1.1
297 - Fix handling of pipelined requests
299 - Fix parsing of mixed implicit and explicit arrays
304 - deps: on-finished@~2.1.1
305 * deps: serve-static@~1.7.1
311 * Fix `res.redirect` body when redirect status specified
312 * deps: accepts@~1.1.2
313 - Fix error when media type has invalid parameter
314 - deps: negotiator@0.4.9
319 * Fix using same param name in array of paths
324 * deps: accepts@~1.1.1
325 - deps: mime-types@~2.0.2
326 - deps: negotiator@0.4.8
327 * deps: serve-static@~1.6.4
328 - Fix redirect loop when index file serving disabled
329 * deps: type-is@~1.5.2
330 - deps: mime-types@~2.0.2
336 * deps: proxy-addr@~1.0.3
337 - Use `forwarded` npm module
340 * deps: serve-static@~1.6.3
347 - Fix issue with object keys starting with numbers truncated
352 * deps: proxy-addr@~1.0.2
353 - Fix a global leak when multiple subnets are trusted
354 - deps: ipaddr.js@0.1.3
359 * Fix regression for empty string `path` in `app.use`
360 * Fix `router.use` to accept array of middleware without path
361 * Improve error message for bad `app.use` arguments
366 * Fix `app.use` to accept array of middleware without path
372 - deps: range-parser@~1.0.2
373 * deps: serve-static@~1.6.2
379 * Add `res.sendStatus`
380 * Invoke callback for sendfile when client aborts
381 - Applies to `res.sendFile`, `res.sendfile`, and `res.download`
382 - `err` will be populated with request aborted error
383 * Support IP address host in `req.subdomains`
384 * Use `etag` to generate `ETag` headers
385 * deps: accepts@~1.1.0
386 - update `mime-types`
387 * deps: cookie-signature@1.0.5
389 * deps: finalhandler@0.2.0
390 - Set `X-Content-Type-Options: nosniff` header
393 * deps: media-typer@0.3.0
394 - Throw error when parameter format invalid on parse
396 - Fix issue where first empty value in array is discarded
397 * deps: range-parser@~1.0.2
399 - Add `lastModified` option
400 - Use `etag` to generate `ETag` header
403 * deps: serve-static@~1.6.1
404 - Add `lastModified` option
406 * deps: type-is@~1.5.1
407 - fix `hasbody` to be true for `content-length: 0`
408 - deps: media-typer@0.3.0
409 - deps: mime-types@~2.0.1
411 - Accept valid `Vary` header string as `field`
417 - Fix a path traversal issue when using `root`
418 - Fix malicious path detection for empty string path
419 * deps: serve-static@~1.5.4
426 - Remove unnecessary cloning
433 - Performance improvements
439 - deps: destroy@1.0.3
440 - deps: on-finished@2.1.0
441 * deps: serve-static@~1.5.3
449 - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
450 * deps: serve-static@~1.5.2
456 * deps: parseurl@~1.3.0
458 * deps: serve-static@~1.5.1
459 - Fix parsing of weird `req.originalUrl` values
460 - deps: parseurl@~1.3.0
461 - deps: utils-merge@1.0.0
467 - Fix parsing array of objects
472 * fix incorrect deprecation warnings on `res.download`
474 - Accept urlencoded square brackets
475 - Accept empty values in implicit array notation
481 - accepts a file system path instead of a URL
482 - requires an absolute path or `root` option specified
483 * deprecate `res.sendfile` -- use `res.sendFile` instead
484 * support mounted app as any argument to `app.use()`
487 - Limits array length to 20
488 - Limits object depth to 5
489 - Limits parameters to 1,000
491 - Add `extensions` option
492 * deps: serve-static@~1.5.0
493 - Add `extensions` option
499 * fix `res.sendfile` regression for serving directory index files
501 - Fix incorrect 403 on Windows and Node.js 0.11
502 - Fix serving index files without root dir
503 * deps: serve-static@~1.4.4
510 - Fix incorrect 403 on Windows and Node.js 0.11
511 * deps: serve-static@~1.4.3
512 - Fix incorrect 403 on Windows and Node.js 0.11
519 - Work-around v8 generating empty stack traces
522 * deps: serve-static@~1.4.2
528 - Fix exception when global `Error.stackTraceLimit` is too low
531 * deps: serve-static@~1.4.1
536 * fix `req.protocol` for proxy-direct connections
537 * configurable query parser with `app.set('query parser', parser)`
538 - `app.set('query parser', 'extended')` parse with "qs" module
539 - `app.set('query parser', 'simple')` parse with "querystring" core module
540 - `app.set('query parser', false)` disable query string parsing
541 - `app.set('query parser', true)` enable simple parsing
542 * deprecate `res.json(status, obj)` -- use `res.status(status).json(obj)` instead
543 * deprecate `res.jsonp(status, obj)` -- use `res.status(status).jsonp(obj)` instead
544 * deprecate `res.send(status, body)` -- use `res.status(status).send(body)` instead
547 - Add `TRACE_DEPRECATION` environment variable
548 - Remove non-standard grey color from color output
549 - Support `--no-deprecation` argument
550 - Support `--trace-deprecation` argument
551 * deps: finalhandler@0.1.0
552 - Respond after request fully read
554 * deps: parseurl@~1.2.0
555 - Cache URLs based on original value
556 - Remove no-longer-needed URL mis-parse work-around
557 - Simplify the "fast-path" `RegExp`
559 - Add `dotfiles` option
560 - Cap `maxAge` value to 1 year
563 * deps: serve-static@~1.4.0
564 - deps: parseurl@~1.2.0
566 * perf: prevent multiple `Buffer` creation in `res.send`
571 * fix `subapp.mountpath` regression for `app.use(subapp)`
576 * accept multiple callbacks to `app.use()`
577 * add explicit "Rosetta Flash JSONP abuse" protection
578 - previous versions are not vulnerable; this is just explicit protection
579 * catch errors in multiple `req.param(name, fn)` handlers
580 * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
581 * fix `res.send(status, num)` to send `num` as json (not error)
582 * remove unnecessary escaping when `res.jsonp` returns JSON response
583 * support non-string `path` in `app.use(path, fn)`
584 - supports array of paths
586 * router: fix optimization on router exit
587 * router: refactor location of `try` blocks
588 * router: speed up standard `app.use(fn)`
590 - Add support for multiple wildcards in namespaces
591 * deps: finalhandler@0.0.3
593 * deps: methods@1.1.0
595 * deps: parseurl@~1.1.3
596 - faster parsing of href-only URLs
597 * deps: path-to-regexp@0.1.3
600 * deps: serve-static@~1.3.2
601 - deps: parseurl@~1.1.3
603 * perf: fix arguments reassign deopt in some `res` methods
608 * fix routing regression when altering `req.method`
613 * add deprecation message to non-plural `req.accepts*`
614 * add deprecation message to `res.send(body, status)`
615 * add deprecation message to `res.vary()`
616 * add `headers` option to `res.sendfile`
617 - use to set headers on successful file transfer
618 * add `mergeParams` option to `Router`
619 - merges `req.params` from parent routes
620 * add `req.hostname` -- correct name for what `req.host` returns
621 * deprecate things with `depd` module
622 * deprecate `req.host` -- use `req.hostname` instead
623 * fix behavior when handling request without routes
624 * fix handling when `route.all` is only route
625 * invoke `router.param()` only when route matches
626 * restore `req.params` after invoking router
627 * use `finalhandler` for final response handling
628 * use `media-typer` to alter content-type charset
629 * deps: accepts@~1.0.7
631 - Accept string for `maxage` (converted by `ms`)
632 - Include link in default redirect response
633 * deps: serve-static@~1.3.0
634 - Accept string for `maxAge` (converted by `ms`)
635 - Add `setHeaders` option
636 - Include HTML link in redirect response
638 * deps: type-is@~1.3.2
643 * deps: cookie-signature@1.0.4
644 - fix for timing attacks
649 * fix `res.attachment` Unicode filenames in Safari
650 * fix "trim prefix" debug message in `express:router`
651 * deps: accepts@~1.0.5
652 * deps: buffer-crc32@0.2.3
657 * fix persistence of modified `req.params[name]` from `app.param()`
658 * deps: accepts@1.0.3
659 - deps: negotiator@0.4.6
662 - Do not throw un-catchable error on file open race condition
663 - Use `escape-html` for HTML escaping
665 - deps: finished@1.2.2
667 * deps: serve-static@1.2.3
668 - Do not throw un-catchable error on file open race condition
674 * fix catching errors from top-level handlers
675 * use `vary` module for `res.vary`
677 * deps: proxy-addr@1.0.1
679 - fix "event emitter leak" warnings
681 - deps: finished@1.2.1
682 * deps: serve-static@1.2.2
683 - fix "event emitter leak" warnings
685 * deps: type-is@1.2.1
690 * deps: methods@1.0.1
692 - Send `max-age` in `Cache-Control` in correct format
693 * deps: serve-static@1.2.1
694 - use `escape-html` for escaping
700 * custom etag control with `app.set('etag', val)`
701 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
702 - `app.set('etag', 'weak')` weak tag
703 - `app.set('etag', 'strong')` strong etag
704 - `app.set('etag', false)` turn off
705 - `app.set('etag', true)` standard etag
706 * mark `res.send` ETag as weak and reduce collisions
707 * update accepts to 1.0.2
708 - Fix interpretation when header not in request
709 * update send to 0.4.0
710 - Calculate ETag with md5 for reduced collisions
711 - Ignore stream errors after request ends
713 * update serve-static to 1.2.0
714 - Calculate ETag with md5 for reduced collisions
715 - Ignore stream errors after request ends
721 * fix handling of errors from `router.param()` callbacks
726 * revert "fix behavior of multiple `app.VERB` for the same path"
727 - this caused a regression in the order of route execution
732 * add `req.baseUrl` to access the path stripped from `req.url` in routes
733 * fix behavior of multiple `app.VERB` for the same path
734 * fix issue routing requests among sub routers
735 * invoke `router.param()` only when necessary instead of every match
736 * proper proxy trust with `app.set('trust proxy', trust)`
737 - `app.set('trust proxy', 1)` trust first hop
738 - `app.set('trust proxy', 'loopback')` trust loopback addresses
739 - `app.set('trust proxy', '10.0.0.1')` trust single IP
740 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
741 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
742 - `app.set('trust proxy', false)` turn off
743 - `app.set('trust proxy', true)` trust everything
744 * set proper `charset` in `Content-Type` for `res.send`
745 * update type-is to 1.2.0
746 - support suffix matching
751 * deprecate `app.del()` -- use `app.delete()` instead
752 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
753 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
754 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
755 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
756 * fix `req.next` when inside router instance
757 * include `ETag` header in `HEAD` requests
758 * keep previous `Content-Type` for `res.jsonp`
759 * support PURGE method
762 - include PURGE in `app.all`
763 * update debug to 0.8.0
764 - add `enable()` method
765 - change from stderr to stdout
766 * update methods to 1.0.0
772 * fix `req.host` for IPv6 literals
773 * fix `res.jsonp` error if callback param is object
778 * fix package.json to reflect supported node version
783 * pass options from `res.sendfile` to `send`
784 * preserve casing of headers in `res.header` and `res.set`
785 * support unicode file names in `res.attachment` and `res.download`
786 * update accepts to 1.0.1
787 - deps: negotiator@0.4.0
788 * update cookie to 0.1.2
789 - Fix for maxAge == 0
790 - made compat with expires field
791 * update send to 0.3.0
792 - Accept API options in options object
793 - Coerce option types
794 - Control whether to generate etags
795 - Default directory access to 403 when index disabled
796 - Fix sending files with dots without root set
797 - Include file path in etag
798 - Make "Can't set headers after they are sent." catchable
799 - Send full entity-body for multi range requests
800 - Set etags to "weak"
801 - Support "If-Range" header
802 - Support multiple index paths
804 * update serve-static to 1.1.0
805 - Accept options directly to `send` module
806 - Resolve relative paths at middleware setup
807 - Use parseurl to parse the URL from request
809 * update type-is to 1.1.0
810 - add non-array values support
811 - add `multipart` as a shorthand
818 - connect and connect's patches except for charset handling
819 - express(1) - moved to [express-generator](https://github.com/expressjs/generator)
820 - `express.createServer()` - it has been deprecated for a long time. Use `express()`
821 - `app.configure` - use logic in your own app code
822 - `app.router` - is removed
823 - `req.auth` - use `basic-auth` instead
824 - `req.accepted*` - use `req.accepts*()` instead
825 - `res.location` - relative URL resolution is removed
826 - `res.charset` - include the charset in the content type when using `res.set()`
827 - all bundled middleware except `static`
829 - `app.route` -> `app.mountpath` when mounting an express app in another express app
830 - `json spaces` no longer enabled by default in development
831 - `req.accepts*` -> `req.accepts*s` - i.e. `req.acceptsEncoding` -> `req.acceptsEncodings`
832 - `req.params` is now an object instead of an array
833 - `res.locals` is no longer a function. It is a plain js object. Treat it as such.
834 - `res.headerSent` -> `res.headersSent` to match node.js ServerResponse object
836 - `req.accepts*` with [accepts](https://github.com/expressjs/accepts)
837 - `req.is` with [type-is](https://github.com/expressjs/type-is)
838 - [path-to-regexp](https://github.com/component/path-to-regexp)
840 - `app.router()` - returns the app Router instance
841 - `app.route()` - Proxy to the app's `Router#route()` method to create a new route
842 - Router & Route - public API
847 * deps: basic-auth@1.0.2
848 - perf: enable strict mode
849 - perf: hoist regular expression
850 - perf: parse with regular expressions
851 - perf: remove argument reassignment
852 * deps: connect@2.30.0
853 - deps: body-parser@~1.13.1
855 - deps: compression@~1.5.0
857 - deps: cookie-parser@~1.3.5
859 - deps: errorhandler@~1.4.0
860 - deps: express-session@~1.11.3
861 - deps: finalhandler@0.4.0
863 - deps: morgan@~1.6.0
864 - deps: serve-favicon@~2.3.0
865 - deps: serve-index@~1.7.0
866 - deps: serve-static@~1.10.0
867 - deps: type-is@~1.6.3
869 - perf: deduce the scope of try-catch deopt
870 - perf: remove argument reassignments
871 * deps: escape-html@1.0.2
873 - Always include entity length in ETags for hash length extensions
874 - Generate non-Stats ETags using MD5 only (no longer CRC32)
875 - Improve stat performance by removing hashing
876 - Improve support for JXcore
877 - Remove base64 padding in ETags to shorten
878 - Support "fake" stats objects in environments without fs
879 - Use MD5 instead of MD4 in weak ETags over 1KB
881 - Add weak `ETag` matching support
883 - Work in global strict mode
885 - Allow Node.js HTTP server to set `Date` response header
886 - Fix incorrectly removing `Content-Location` on 304 response
887 - Improve the default redirect response headers
888 - Send appropriate headers on default error response
889 - Use `http-errors` for standard emitted errors
890 - Use `statuses` instead of `http` module for status messages
891 - deps: escape-html@1.0.2
894 - deps: on-finished@~2.3.0
895 - perf: enable strict mode
896 - perf: remove unnecessary array allocations
901 * deps: connect@2.29.2
902 - deps: body-parser@~1.12.4
903 - deps: compression@~1.4.4
904 - deps: connect-timeout@~1.6.2
907 - deps: errorhandler@~1.3.6
908 - deps: finalhandler@0.3.6
909 - deps: method-override@~2.3.3
910 - deps: morgan@~1.5.3
912 - deps: response-time@~2.3.1
913 - deps: serve-favicon@~2.2.1
914 - deps: serve-index@~1.6.4
915 - deps: serve-static@~1.9.3
916 - deps: type-is@~1.6.2
920 * deps: proxy-addr@~1.0.8
921 - deps: ipaddr.js@1.0.1
927 - deps: on-finished@~2.2.1
932 * deps: connect@2.29.1
933 - deps: body-parser@~1.12.2
934 - deps: compression@~1.4.3
935 - deps: connect-timeout@~1.6.1
937 - deps: errorhandler@~1.3.5
938 - deps: express-session@~1.10.4
939 - deps: finalhandler@0.3.4
940 - deps: method-override@~2.3.2
941 - deps: morgan@~1.5.2
943 - deps: serve-index@~1.6.3
944 - deps: serve-static@~1.9.2
945 - deps: type-is@~1.6.1
947 - Fix high intensity foreground color for bold
949 * deps: merge-descriptors@1.0.0
950 * deps: proxy-addr@~1.0.7
951 - deps: ipaddr.js@0.1.9
953 - Throw errors early for invalid `extensions` or `index` options
959 * Fix `req.host` when using "trust proxy" hops count
960 * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
965 * Fix `"trust proxy"` setting to inherit when app is mounted
966 * Generate `ETag`s for all request responses
967 - No longer restricted to only responses for `GET` and `HEAD` requests
968 * Use `content-type` to parse `Content-Type` headers
969 * deps: connect@2.29.0
970 - Use `content-type` to parse `Content-Type` headers
971 - deps: body-parser@~1.12.0
972 - deps: compression@~1.4.1
973 - deps: connect-timeout@~1.6.0
974 - deps: cookie-parser@~1.3.4
975 - deps: cookie-signature@1.0.6
977 - deps: errorhandler@~1.3.4
978 - deps: express-session@~1.10.3
979 - deps: http-errors@~1.3.1
980 - deps: response-time@~2.3.0
981 - deps: serve-index@~1.6.2
982 - deps: serve-static@~1.9.1
983 - deps: type-is@~1.6.0
984 * deps: cookie-signature@1.0.6
986 - Always read the stat size from the file
987 - Fix mutating passed-in `options`
993 * deps: connect@2.28.3
994 - deps: compression@~1.3.1
996 - deps: errorhandler@~1.3.3
997 - deps: express-session@~1.10.2
998 - deps: serve-index@~1.6.1
999 - deps: type-is@~1.5.6
1000 * deps: proxy-addr@~1.0.6
1001 - deps: ipaddr.js@0.1.8
1006 * deps: connect@2.28.2
1007 - deps: body-parser@~1.10.2
1008 - deps: serve-static@~1.8.1
1010 - Fix root path disclosure
1015 * Fix `OPTIONS` responses to include the `HEAD` method property
1016 * Use `readline` for prompt in `express(1)`
1017 * deps: commander@2.6.0
1018 * deps: connect@2.28.1
1019 - deps: body-parser@~1.10.1
1020 - deps: compression@~1.3.0
1021 - deps: connect-timeout@~1.5.0
1022 - deps: csurf@~1.6.4
1023 - deps: debug@~2.1.1
1024 - deps: errorhandler@~1.3.2
1025 - deps: express-session@~1.10.1
1026 - deps: finalhandler@0.3.3
1027 - deps: method-override@~2.3.1
1028 - deps: morgan@~1.5.1
1029 - deps: serve-favicon@~2.2.0
1030 - deps: serve-index@~1.6.0
1031 - deps: serve-static@~1.8.0
1032 - deps: type-is@~1.5.5
1033 * deps: debug@~2.1.1
1034 * deps: methods@~1.1.1
1035 * deps: proxy-addr@~1.0.5
1036 - deps: ipaddr.js@0.1.6
1038 - deps: debug@~2.1.1
1041 - deps: on-finished@~2.2.0
1046 * Fix exception in `req.fresh`/`req.stale` without response headers
1051 * deps: connect@2.27.6
1052 - deps: compression@~1.2.2
1053 - deps: express-session@~1.9.3
1054 - deps: http-errors@~1.2.8
1055 - deps: serve-index@~1.5.3
1056 - deps: type-is@~1.5.4
1061 * deps: connect@2.27.4
1062 - deps: body-parser@~1.9.3
1063 - deps: compression@~1.2.1
1064 - deps: errorhandler@~1.2.3
1065 - deps: express-session@~1.9.2
1067 - deps: serve-favicon@~2.1.7
1068 - deps: serve-static@~1.5.1
1069 - deps: type-is@~1.5.3
1071 * deps: proxy-addr@~1.0.4
1072 - deps: ipaddr.js@0.1.5
1077 * deps: connect@2.27.3
1078 - Correctly invoke async callback asynchronously
1079 - deps: csurf@~1.6.3
1084 * deps: connect@2.27.2
1085 - Fix handling of URLs containing `://` in the path
1086 - deps: body-parser@~1.9.2
1092 * Fix internal `utils.merge` deprecation warnings
1093 * deps: connect@2.27.1
1094 - deps: body-parser@~1.9.1
1095 - deps: express-session@~1.9.1
1096 - deps: finalhandler@0.3.2
1097 - deps: morgan@~1.4.1
1099 - deps: serve-static@~1.7.1
1101 - deps: on-finished@~2.1.1
1106 * Use `content-disposition` module for `res.attachment`/`res.download`
1107 - Sends standards-compliant `Content-Disposition` header
1108 - Full Unicode support
1109 * Use `etag` module to generate `ETag` headers
1110 * deps: connect@2.27.0
1111 - Use `http-errors` module for creating errors
1112 - Use `utils-merge` module for merging objects
1113 - deps: body-parser@~1.9.0
1114 - deps: compression@~1.2.0
1115 - deps: connect-timeout@~1.4.0
1116 - deps: debug@~2.1.0
1118 - deps: express-session@~1.9.0
1119 - deps: finalhandler@0.3.1
1120 - deps: method-override@~2.3.0
1121 - deps: morgan@~1.4.0
1122 - deps: response-time@~2.2.0
1123 - deps: serve-favicon@~2.1.6
1124 - deps: serve-index@~1.5.0
1125 - deps: serve-static@~1.7.0
1126 * deps: debug@~2.1.0
1127 - Implement `DEBUG_FD` env variable support
1130 - deps: debug@~2.1.0
1137 * deps: connect@2.26.6
1138 - deps: compression@~1.1.2
1139 - deps: csurf@~1.6.2
1140 - deps: errorhandler@~1.2.2
1145 * deps: connect@2.26.5
1146 - Fix accepting non-object arguments to `logger`
1147 - deps: serve-static@~1.6.4
1152 * deps: connect@2.26.4
1153 - deps: morgan@~1.3.2
1154 - deps: type-is@~1.5.2
1159 * deps: connect@2.26.3
1160 - deps: body-parser@~1.8.4
1161 - deps: serve-favicon@~2.1.5
1162 - deps: serve-static@~1.6.3
1163 * deps: proxy-addr@~1.0.3
1164 - Use `forwarded` npm module
1171 * deps: connect@2.26.2
1172 - deps: body-parser@~1.8.3
1178 * deps: proxy-addr@~1.0.2
1179 - Fix a global leak when multiple subnets are trusted
1180 - deps: ipaddr.js@0.1.3
1185 * Use `crc` instead of `buffer-crc32` for speed
1186 * deps: connect@2.26.1
1187 - deps: body-parser@~1.8.2
1189 - deps: express-session@~1.8.2
1190 - deps: morgan@~1.3.1
1191 - deps: serve-favicon@~2.1.3
1192 - deps: serve-static@~1.6.2
1197 - deps: range-parser@~1.0.2
1202 * Fix error in `req.subdomains` on empty host
1207 * Support `X-Forwarded-Host` in `req.subdomains`
1208 * Support IP address host in `req.subdomains`
1209 * deps: connect@2.26.0
1210 - deps: body-parser@~1.8.1
1211 - deps: compression@~1.1.0
1212 - deps: connect-timeout@~1.3.0
1213 - deps: cookie-parser@~1.3.3
1214 - deps: cookie-signature@1.0.5
1215 - deps: csurf@~1.6.1
1216 - deps: debug@~2.0.0
1217 - deps: errorhandler@~1.2.0
1218 - deps: express-session@~1.8.1
1219 - deps: finalhandler@0.2.0
1221 - deps: media-typer@0.3.0
1222 - deps: method-override@~2.2.0
1223 - deps: morgan@~1.3.0
1225 - deps: serve-favicon@~2.1.3
1226 - deps: serve-index@~1.2.1
1227 - deps: serve-static@~1.6.1
1228 - deps: type-is@~1.5.1
1229 - deps: vhost@~3.0.0
1230 * deps: cookie-signature@1.0.5
1231 * deps: debug@~2.0.0
1233 * deps: media-typer@0.3.0
1234 - Throw error when parameter format invalid on parse
1235 * deps: range-parser@~1.0.2
1237 - Add `lastModified` option
1238 - Use `etag` to generate `ETag` header
1239 - deps: debug@~2.0.0
1242 - Accept valid `Vary` header string as `field`
1244 3.16.10 / 2014-09-04
1245 ====================
1247 * deps: connect@2.25.10
1248 - deps: serve-static@~1.5.4
1250 - Fix a path traversal issue when using `root`
1251 - Fix malicious path detection for empty string path
1256 * deps: connect@2.25.9
1257 - deps: body-parser@~1.6.7
1263 * deps: connect@2.25.8
1264 - deps: body-parser@~1.6.6
1265 - deps: csurf@~1.4.1
1271 * deps: connect@2.25.7
1272 - deps: body-parser@~1.6.5
1273 - deps: express-session@~1.7.6
1274 - deps: morgan@~1.2.3
1275 - deps: serve-static@~1.5.3
1277 - deps: destroy@1.0.3
1278 - deps: on-finished@2.1.0
1283 * deps: connect@2.25.6
1284 - deps: body-parser@~1.6.4
1286 - deps: serve-static@~1.5.2
1288 - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
1293 * deps: connect@2.25.5
1294 - Fix backwards compatibility in `logger`
1299 * Fix original URL parsing in `res.location`
1300 * deps: connect@2.25.4
1301 - Fix `query` middleware breaking with argument
1302 - deps: body-parser@~1.6.3
1303 - deps: compression@~1.0.11
1304 - deps: connect-timeout@~1.2.2
1305 - deps: express-session@~1.7.5
1306 - deps: method-override@~2.1.3
1307 - deps: on-headers@~1.0.0
1308 - deps: parseurl@~1.3.0
1310 - deps: response-time@~2.0.1
1311 - deps: serve-index@~1.1.6
1312 - deps: serve-static@~1.5.1
1313 * deps: parseurl@~1.3.0
1318 * deps: connect@2.25.3
1319 - deps: multiparty@3.3.2
1324 * deps: connect@2.25.2
1325 - deps: body-parser@~1.6.2
1331 * deps: connect@2.25.1
1332 - deps: body-parser@~1.6.1
1338 * deps: connect@2.25.0
1339 - deps: body-parser@~1.6.0
1340 - deps: compression@~1.0.10
1341 - deps: csurf@~1.4.0
1342 - deps: express-session@~1.7.4
1344 - deps: serve-static@~1.5.0
1346 - Add `extensions` option
1351 * fix `res.sendfile` regression for serving directory index files
1352 * deps: connect@2.24.3
1353 - deps: serve-index@~1.1.5
1354 - deps: serve-static@~1.4.4
1356 - Fix incorrect 403 on Windows and Node.js 0.11
1357 - Fix serving index files without root dir
1362 * deps: connect@2.24.2
1363 - deps: body-parser@~1.5.2
1365 - deps: express-session@~1.7.2
1366 - deps: morgan@~1.2.2
1367 - deps: serve-static@~1.4.2
1369 - Work-around v8 generating empty stack traces
1376 * deps: connect@2.24.1
1377 - deps: body-parser@~1.5.1
1379 - deps: express-session@~1.7.1
1380 - deps: morgan@~1.2.1
1381 - deps: serve-index@~1.1.4
1382 - deps: serve-static@~1.4.1
1384 - Fix exception when global `Error.stackTraceLimit` is too low
1391 * Fix `req.protocol` for proxy-direct connections
1392 * Pass options from `res.sendfile` to `send`
1393 * deps: connect@2.24.0
1394 - deps: body-parser@~1.5.0
1395 - deps: compression@~1.0.9
1396 - deps: connect-timeout@~1.2.1
1399 - deps: express-session@~1.7.0
1400 - deps: finalhandler@0.1.0
1401 - deps: method-override@~2.1.2
1402 - deps: morgan@~1.2.0
1403 - deps: multiparty@3.3.1
1404 - deps: parseurl@~1.2.0
1405 - deps: serve-static@~1.4.0
1408 - Add `TRACE_DEPRECATION` environment variable
1409 - Remove non-standard grey color from color output
1410 - Support `--no-deprecation` argument
1411 - Support `--trace-deprecation` argument
1412 * deps: parseurl@~1.2.0
1413 - Cache URLs based on original value
1414 - Remove no-longer-needed URL mis-parse work-around
1415 - Simplify the "fast-path" `RegExp`
1417 - Add `dotfiles` option
1418 - Cap `maxAge` value to 1 year
1425 * add explicit "Rosetta Flash JSONP abuse" protection
1426 - previous versions are not vulnerable; this is just explicit protection
1427 * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
1428 * fix `res.send(status, num)` to send `num` as json (not error)
1429 * remove unnecessary escaping when `res.jsonp` returns JSON response
1430 * deps: basic-auth@1.0.0
1431 - support empty password
1432 - support empty username
1433 * deps: connect@2.23.0
1435 - deps: express-session@~1.6.4
1436 - deps: method-override@~2.1.0
1437 - deps: parseurl@~1.1.3
1438 - deps: serve-static@~1.3.1
1440 - Add support for multiple wildcards in namespaces
1441 * deps: methods@1.1.0
1443 * deps: parseurl@~1.1.3
1444 - faster parsing of href-only URLs
1449 * add deprecation message to `app.configure`
1450 * add deprecation message to `req.auth`
1451 * use `basic-auth` to parse `Authorization` header
1452 * deps: connect@2.22.0
1453 - deps: csurf@~1.3.0
1454 - deps: express-session@~1.6.1
1455 - deps: multiparty@3.3.0
1456 - deps: serve-static@~1.3.0
1458 - Accept string for `maxage` (converted by `ms`)
1459 - Include link in default redirect response
1464 * deps: connect@2.21.1
1465 - deps: cookie-parser@1.3.2
1466 - deps: cookie-signature@1.0.4
1467 - deps: express-session@~1.5.2
1468 - deps: type-is@~1.3.2
1469 * deps: cookie-signature@1.0.4
1470 - fix for timing attacks
1475 * use `media-typer` to alter content-type charset
1476 * deps: connect@2.21.0
1477 - deprecate `connect(middleware)` -- use `app.use(middleware)` instead
1478 - deprecate `connect.createServer()` -- use `connect()` instead
1479 - fix `res.setHeader()` patch to work with with get -> append -> set pattern
1480 - deps: compression@~1.0.8
1481 - deps: errorhandler@~1.1.1
1482 - deps: express-session@~1.5.0
1483 - deps: serve-index@~1.1.3
1488 * deprecate things with `depd` module
1489 * deps: buffer-crc32@0.2.3
1490 * deps: connect@2.20.2
1491 - deprecate `verify` option to `json` -- use `body-parser` npm module instead
1492 - deprecate `verify` option to `urlencoded` -- use `body-parser` npm module instead
1493 - deprecate things with `depd` module
1494 - use `finalhandler` for final response handling
1495 - use `media-typer` to parse `content-type` for charset
1496 - deps: body-parser@1.4.3
1497 - deps: connect-timeout@1.1.1
1498 - deps: cookie-parser@1.3.1
1500 - deps: errorhandler@1.1.0
1501 - deps: express-session@1.4.0
1502 - deps: multiparty@3.2.9
1503 - deps: serve-index@1.1.2
1504 - deps: type-is@1.3.1
1510 * deps: connect@2.19.6
1511 - deps: body-parser@1.3.1
1512 - deps: compression@1.0.7
1514 - deps: serve-index@1.1.1
1515 - deps: serve-static@1.2.3
1518 - Do not throw un-catchable error on file open race condition
1519 - Use `escape-html` for HTML escaping
1521 - deps: finished@1.2.2
1527 * deps: connect@2.19.5
1528 - fix "event emitter leak" warnings
1531 - deps: serve-static@1.2.2
1532 - deps: type-is@1.2.1
1535 - fix "event emitter leak" warnings
1536 - deps: finished@1.2.1
1542 * use `vary` module for `res.vary`
1543 * deps: connect@2.19.4
1544 - deps: errorhandler@1.0.2
1545 - deps: method-override@2.0.2
1546 - deps: serve-favicon@2.0.1
1552 * deps: connect@2.19.3
1553 - deps: compression@1.0.6
1558 * deps: connect@2.19.2
1559 - deps: compression@1.0.4
1560 * deps: proxy-addr@1.0.1
1565 * deps: connect@2.19.1
1566 - deprecate `methodOverride()` -- use `method-override` npm module instead
1567 - deps: body-parser@1.3.0
1568 - deps: method-override@2.0.1
1569 - deps: multiparty@3.2.8
1570 - deps: response-time@2.0.0
1571 - deps: serve-static@1.2.1
1572 * deps: methods@1.0.1
1574 - Send `max-age` in `Cache-Control` in correct format
1579 * custom etag control with `app.set('etag', val)`
1580 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
1581 - `app.set('etag', 'weak')` weak tag
1582 - `app.set('etag', 'strong')` strong etag
1583 - `app.set('etag', false)` turn off
1584 - `app.set('etag', true)` standard etag
1585 * Include ETag in HEAD requests
1586 * mark `res.send` ETag as weak and reduce collisions
1587 * update connect to 2.18.0
1588 - deps: compression@1.0.3
1589 - deps: serve-index@1.1.0
1590 - deps: serve-static@1.2.0
1591 * update send to 0.4.0
1592 - Calculate ETag with md5 for reduced collisions
1593 - Ignore stream errors after request ends
1599 * update connect to 2.17.3
1600 - deps: body-parser@1.2.2
1601 - deps: express-session@1.2.1
1602 - deps: method-override@1.0.2
1607 * keep previous `Content-Type` for `res.jsonp`
1608 * set proper `charset` in `Content-Type` for `res.send`
1609 * update connect to 2.17.1
1610 - fix `res.charset` appending charset when `content-type` has one
1611 - deps: express-session@1.2.0
1612 - deps: morgan@1.1.1
1613 - deps: serve-index@1.0.3
1618 * proper proxy trust with `app.set('trust proxy', trust)`
1619 - `app.set('trust proxy', 1)` trust first hop
1620 - `app.set('trust proxy', 'loopback')` trust loopback addresses
1621 - `app.set('trust proxy', '10.0.0.1')` trust single IP
1622 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
1623 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
1624 - `app.set('trust proxy', false)` turn off
1625 - `app.set('trust proxy', true)` trust everything
1626 * update connect to 2.16.2
1627 - deprecate `res.headerSent` -- use `res.headersSent`
1628 - deprecate `res.on("header")` -- use on-headers module instead
1629 - fix edge-case in `res.appendHeader` that would append in wrong order
1630 - json: use body-parser
1631 - urlencoded: use body-parser
1633 - dep: cookie-parser@1.1.0
1635 - dep: express-session@1.1.0
1636 - dep: method-override@1.0.1
1641 * deprecate `app.del()` -- use `app.delete()` instead
1642 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
1643 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
1644 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
1645 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
1646 * support PURGE method
1648 - add `router.purge`
1649 - include PURGE in `app.all`
1650 * update connect to 2.15.0
1651 * Add `res.appendHeader`
1652 * Call error stack even when response has been sent
1653 * Patch `res.headerSent` to return Boolean
1654 * Patch `res.headersSent` for node.js 0.8
1655 * Prevent default 404 handler after response sent
1656 * dep: compression@1.0.2
1657 * dep: connect-timeout@1.1.0
1659 * dep: errorhandler@1.0.1
1660 * dep: express-session@1.0.4
1662 * dep: serve-favicon@2.0.0
1663 * dep: serve-index@1.0.2
1664 * update debug to 0.8.0
1665 * add `enable()` method
1666 * change from stderr to stdout
1667 * update methods to 1.0.0
1669 * update mkdirp to 0.5.0
1674 * fix `req.host` for IPv6 literals
1675 * fix `res.jsonp` error if callback param is object
1680 * update connect to 2.14.5
1681 * update cookie to 0.1.2
1682 * update mkdirp to 0.4.0
1683 * update send to 0.3.0
1688 * pin less-middleware in generated app
1698 * prevent incorrect automatic OPTIONS responses #1868 @dpatti
1699 * update binary and examples for jade 1.0 #1876 @yossi, #1877 @reqshark, #1892 @matheusazzi
1700 * throw 400 in case of malformed paths @rlidwka
1710 * update connect (raw-body)
1716 * res.location: remove leading ./ #1802 @kapouer
1717 * res.redirect: fix `res.redirect('toString') #1829 @michaelficarra
1718 * res.send: always send ETag when content-length > 0
1719 * router: add Router.all() method
1727 * express(1): replace bodyParser() with urlencoded() and json() #1795 @chirag04
1738 * downgrade commander
1745 * jsonp: check if callback is a function
1746 * router: wrap encodeURIComponent in a try/catch #1735 (@lxe)
1747 * res.format: now includes charset @1747 (@sorribas)
1748 * res.links: allow multiple calls @1746 (@sorribas)
1753 * add res.vary(). Closes #1682
1769 * Revert "remove charset from json responses. Closes #1631" (causes issues in some clients)
1770 * add: req.accepts take an argument list
1775 * update send and connect
1787 * remove .version export
1798 * add support for multiple X-Forwarded-Proto values. Closes #1646
1799 * change: remove charset from json responses. Closes #1631
1800 * change: return actual booleans from req.accept* functions
1801 * fix jsonp callback array throw
1812 * update node-cookie
1813 * add: throw a meaningful error when there is no default engine
1814 * change generation of ETags with res.send() to GET requests only. Closes #1619
1819 * fix `req.subdomains` when no Host is present
1820 * fix `req.host` when no Host is present, return undefined
1825 * update connect / qs
1835 * add app.VERB() paths array deprecation warning
1837 * update qs and remove all ~ semver crap
1838 * fix: accept number as value of Signed Cookie
1843 * add "view" constructor setting to override view behaviour
1844 * add req.acceptsEncoding(name)
1845 * add req.acceptedEncodings
1846 * revert cookie signature change causing session race conditions
1847 * fix sorting of Accept values of the same quality
1852 * add support for custom Accept parameters
1853 * update cookie-signature
1858 * add X-Forwarded-Host support to `req.host`
1859 * fix relative redirects
1861 * update buffer-crc32
1862 * remove legacy app.configure() method from app template.
1867 * add support for leading "." in "view engine" setting
1868 * add array support to `res.set()`
1869 * add node 0.8.x to travis.yml
1870 * add "subdomain offset" setting for tweaking `req.subdomains`
1871 * add `res.location(url)` implementing `res.redirect()`-like setting of Location
1872 * use app.get() for x-powered-by setting for inheritance
1873 * fix colons in passwords for `req.auth`
1878 * add http verb methods to Router
1880 * fix mangling of the `res.cookie()` options object
1881 * fix jsonp whitespace escape. Closes #1132
1886 * add throwing when a non-function is passed to a route
1887 * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses
1888 * revert "add 'etag' option"
1893 * add 'etag' option to disable `res.send()` Etags
1894 * add escaping of urls in text/plain in `res.redirect()`
1895 for old browsers interpreting as html
1896 * change crc32 module for a more liberal license
1903 * update cookie module
1904 * fix cookie max-age
1909 * add OPTIONS to cors example. Closes #1398
1910 * fix route chaining regression. Closes #1397
1921 * add "Basic" check to req.auth
1922 * add `req.auth` test coverage
1923 * add cb && cb(payload) to `res.jsonp()`. Closes #1374
1924 * add backwards compat for `res.redirect()` status. Closes #1336
1925 * add support for `res.json()` to retain previously defined Content-Types. Closes #1349
1927 * change `res.redirect()` to utilize a pathname-relative Location again. Closes #1382
1928 * remove non-primitive string support for `res.send()`
1929 * fix view-locals example. Closes #1370
1930 * fix route-separation example
1932 3.0.0rc5 / 2012-09-18
1936 * add redis search example
1937 * add static-files example
1938 * add "x-powered-by" setting (`app.disable('x-powered-by')`)
1939 * add "application/octet-stream" redirect Accept test case. Closes #1317
1941 3.0.0rc4 / 2012-08-30
1944 * add `res.jsonp()`. Closes #1307
1945 * add "verbose errors" option to error-pages example
1946 * add another route example to express(1) so people are not so confused
1947 * add redis online user activity tracking example
1948 * update connect dep
1949 * fix etag quoting. Closes #1310
1950 * fix error-pages 404 status
1951 * fix jsonp callback char restrictions
1952 * remove old OPTIONS default response
1954 3.0.0rc3 / 2012-08-13
1957 * update connect dep
1958 * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds]
1959 * fix `res.render()` clobbering of "locals"
1961 3.0.0rc2 / 2012-08-03
1965 * update connect dep
1966 * deprecate `.createServer()` & remove old stale examples
1967 * fix: escape `res.redirect()` link
1970 3.0.0rc1 / 2012-07-24
1973 * add more examples to view-locals
1974 * add scheme-relative redirects (`res.redirect("//foo.com")`) support
1976 * update connect dep
1978 * fix `express(1)` -h flag, use -H for hogan. Closes #1245
1979 * fix `res.sendfile()` socket error handling regression
1981 3.0.0beta7 / 2012-07-16
1984 * update connect dep for `send()` root normalization regression
1986 3.0.0beta6 / 2012-07-13
1989 * add `err.view` property for view errors. Closes #1226
1990 * add "jsonp callback name" setting
1991 * add support for "/foo/:bar*" non-greedy matches
1992 * change `res.sendfile()` to use `send()` module
1993 * change `res.send` to use "response-send" module
1994 * remove `app.locals.use` and `res.locals.use`, use regular middleware
1996 3.0.0beta5 / 2012-07-03
1999 * add "make check" support
2000 * add route-map example
2001 * add `res.json(obj, status)` support back for BC
2002 * add "methods" dep, remove internal methods module
2003 * update connect dep
2004 * update auth example to utilize cores pbkdf2
2005 * updated tests to use "supertest"
2007 3.0.0beta4 / 2012-06-25
2011 * Added `req.range(size)`
2012 * Added `res.links(obj)`
2013 * Added `res.send(body, status)` support back for backwards compat
2014 * Added `.default()` support to `res.format()`
2015 * Added 2xx / 304 check to `req.fresh`
2016 * Revert "Added + support to the router"
2017 * Fixed `res.send()` freshness check, respect res.statusCode
2019 3.0.0beta3 / 2012-06-15
2022 * Added hogan `--hjs` to express(1) [nullfirm]
2023 * Added another example to content-negotiation
2025 * Changed: `res.send()` always checks freshness
2026 * Fixed: expose connects mime module. Closes #1165
2028 3.0.0beta2 / 2012-06-06
2031 * Added `+` support to the router
2033 * Changed `req.param()` to check route first
2034 * Update connect dep
2036 3.0.0beta1 / 2012-06-01
2039 * Added `res.format()` callback to override default 406 behaviour
2040 * Fixed `res.redirect()` 406. Closes #1154
2042 3.0.0alpha5 / 2012-05-30
2046 * Added `{ signed: true }` option to `res.cookie()`
2047 * Removed `res.signedCookie()`
2048 * Changed: dont reverse `req.ips`
2049 * Fixed "trust proxy" setting check for `req.ips`
2051 3.0.0alpha4 / 2012-05-09
2054 * Added: allow `[]` in jsonp callback. Closes #1128
2055 * Added `PORT` env var support in generated template. Closes #1118 [benatkin]
2056 * Updated: connect 2.2.2
2058 3.0.0alpha3 / 2012-05-04
2061 * Added public `app.routes`. Closes #887
2062 * Added _view-locals_ example
2063 * Added _mvc_ example
2064 * Added `res.locals.use()`. Closes #1120
2065 * Added conditional-GET support to `res.send()`
2066 * Added: coerce `res.set()` values to strings
2067 * Changed: moved `static()` in generated apps below router
2068 * Changed: `res.send()` only set ETag when not previously set
2069 * Changed connect 2.2.1 dep
2070 * Changed: `make test` now runs unit / acceptance tests
2071 * Fixed req/res proto inheritance
2073 3.0.0alpha2 / 2012-04-26
2076 * Added `make benchmark` back
2077 * Added `res.send()` support for `String` objects
2078 * Added client-side data exposing example
2079 * Added `res.header()` and `req.header()` aliases for BC
2080 * Added `express.createServer()` for BC
2081 * Perf: memoize parsed urls
2082 * Perf: connect 2.2.0 dep
2083 * Changed: make `expressInit()` middleware self-aware
2084 * Fixed: use app.get() for all core settings
2085 * Fixed redis session example
2086 * Fixed session example. Closes #1105
2087 * Fixed generated express dep. Closes #1078
2089 3.0.0alpha1 / 2012-04-15
2092 * Added `app.locals.use(callback)`
2093 * Added `app.locals` object
2094 * Added `app.locals(obj)`
2095 * Added `res.locals` object
2096 * Added `res.locals(obj)`
2097 * Added `res.format()` for content-negotiation
2098 * Added `app.engine()`
2099 * Added `res.cookie()` JSON cookie support
2100 * Added "trust proxy" setting
2101 * Added `req.subdomains`
2102 * Added `req.protocol`
2103 * Added `req.secure`
2108 * Added comma-delimited / array support for `req.accepts()`
2109 * Added debug instrumentation
2110 * Added `res.set(obj)`
2111 * Added `res.set(field, value)`
2112 * Added `res.get(field)`
2113 * Added `app.get(setting)`. Closes #842
2114 * Added `req.acceptsLanguage()`
2115 * Added `req.acceptsCharset()`
2116 * Added `req.accepted`
2117 * Added `req.acceptedLanguages`
2118 * Added `req.acceptedCharsets`
2119 * Added "json replacer" setting
2120 * Added "json spaces" setting
2121 * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92
2122 * Added `--less` support to express(1)
2123 * Added `express.response` prototype
2124 * Added `express.request` prototype
2125 * Added `express.application` prototype
2126 * Added `app.path()`
2127 * Added `app.render()`
2128 * Added `res.type()` to replace `res.contentType()`
2129 * Changed: `res.redirect()` to add relative support
2130 * Changed: enable "jsonp callback" by default
2131 * Changed: renamed "case sensitive routes" to "case sensitive routing"
2132 * Rewrite of all tests with mocha
2133 * Removed "root" setting
2134 * Removed `res.redirect('home')` support
2135 * Removed `req.notify()`
2136 * Removed `app.register()`
2137 * Removed `app.redirect()`
2138 * Removed `app.is()`
2139 * Removed `app.helpers()`
2140 * Removed `app.dynamicHelpers()`
2141 * Fixed `res.sendfile()` with non-GET. Closes #723
2142 * Fixed express(1) public dir for windows. Closes #866
2147 * Added support for PURGE request method [pbuyle]
2148 * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]
2153 * Update mkdirp dep. Closes #991
2158 * Fixed `app.all` duplicate DELETE requests [mscdex]
2163 * Updated hamljs dev dep. Closes #953
2168 * Fixed: set `filename` on cached templates [matthewleon]
2173 * Fixed `express(1)` eol on 0.4.x. Closes #947
2178 * Fixed `req.is()` when a charset is present
2183 * Fixed: express(1) LF -> CRLF for windows
2188 * Changed: updated connect to 1.8.x
2189 * Removed sass.js support from express(1)
2194 * Added ./routes dir for generated app by default
2195 * Added npm install reminder to express(1) app gen
2196 * Added 0.5.x support
2197 * Removed `make test-cov` since it wont work with node 0.5.x
2198 * Fixed express(1) public dir for windows. Closes #866
2203 * Added mkdirp to express(1). Closes #795
2204 * Added simple _json-config_ example
2205 * Added shorthand for the parsed request's pathname via `req.path`
2206 * Changed connect dep to 1.7.x to fix npm issue...
2207 * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]
2208 * Fixed `req.flash()`, only escape args
2209 * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]
2214 * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]
2219 * Added support for routes to handle errors. Closes #809
2220 * Added `app.routes.all()`. Closes #803
2221 * Added "basepath" setting to work in conjunction with reverse proxies etc.
2222 * Refactored `Route` to use a single array of callbacks
2223 * Added support for multiple callbacks for `app.param()`. Closes #801
2225 * Changed: removed .call(self) for route callbacks
2226 * Dependency: `qs >= 0.3.1`
2227 * Fixed `res.redirect()` on windows due to `join()` usage. Closes #808
2232 * Fixed `res.header()` intention of a set, even when `undefined`
2233 * Fixed `*`, value no longer required
2234 * Fixed `res.send(204)` support. Closes #771
2239 * Added docs for `status` option special-case. Closes #739
2240 * Fixed `options.filename`, exposing the view path to template engines
2245 * Revert "removed jsonp stripping" for XSS
2250 * Added `res.json()` JSONP support. Closes #737
2251 * Added _extending-templates_ example. Closes #730
2252 * Added "strict routing" setting for trailing slashes
2253 * Added support for multiple envs in `app.configure()` calls. Closes #735
2254 * Changed: `res.send()` using `res.json()`
2255 * Changed: when cookie `path === null` don't default it
2256 * Changed; default cookie path to "home" setting. Closes #731
2257 * Removed _pids/logs_ creation from express(1)
2262 * Added chainable `res.status(code)`
2263 * Added `res.json()`, an explicit version of `res.send(obj)`
2264 * Added simple web-service example
2269 * \#express is now on freenode! come join!
2270 * Added `req.get(field, param)`
2271 * Added links to Japanese documentation, thanks @hideyukisaito!
2272 * Added; the `express(1)` generated app outputs the env
2273 * Added `content-negotiation` example
2274 * Dependency: connect >= 1.5.1 < 2.0.0
2275 * Fixed view layout bug. Closes #720
2276 * Fixed; ignore body on 304. Closes #701
2282 * Removed generation of dummy test file from `express(1)`
2283 * Fixed; `express(1)` adds express as a dep
2284 * Fixed; prune on `prepublish`
2289 * Added `req.route`, exposing the current route
2290 * Added _package.json_ generation support to `express(1)`
2291 * Fixed call to `app.param()` function for optional params. Closes #682
2296 * Fixed bug-ish with `../' in `res.partial()` calls
2301 * Fixed `app.options()`
2306 * Added route `Collection`, ex: `app.get('/user/:id').remove();`
2307 * Added support for `app.param(fn)` to define param logic
2308 * Removed `app.param()` support for callback with return value
2309 * Removed module.parent check from express(1) generated app. Closes #670
2310 * Refactored router. Closes #639
2315 * Changed; using devDependencies instead of git submodules
2316 * Fixed redis session example
2317 * Fixed markdown example
2318 * Fixed view caching, should not be enabled in development
2323 * Added export `.view` as alias for `.View`
2328 * Added `./examples/say`
2329 * Fixed `res.sendfile()` bug preventing the transfer of files with spaces
2334 * Added "case sensitive routes" option.
2335 * Changed; split methods supported per rfc [slaskis]
2336 * Fixed route-specific middleware when using the same callback function several times
2346 * Added `app.match()` as `app.match.all()`
2347 * Added `app.lookup()` as `app.lookup.all()`
2348 * Added `app.remove()` for `app.remove.all()`
2349 * Added `app.remove.VERB()`
2350 * Fixed template caching collision issue. Closes #644
2351 * Moved router over from connect and started refactor
2356 * Added options support to `res.clearCookie()`
2357 * Added `res.helpers()` as alias of `res.locals()`
2358 * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0`
2359 * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]
2360 * Renamed "cache views" to "view cache". Closes #628
2361 * Fixed caching of views when using several apps. Closes #637
2362 * Fixed gotcha invoking `app.param()` callbacks once per route middleware.
2364 * Fixed partial lookup precedence. Closes #631
2370 * Added second callback support for `res.download()` connection errors
2371 * Fixed `filename` option passing to template engine
2376 * Added `layout(path)` helper to change the layout within a view. Closes #610
2377 * Fixed `partial()` collection object support.
2378 Previously only anything with `.length` would work.
2379 When `.length` is present one must still be aware of holes,
2380 however now `{ collection: {foo: 'bar'}}` is valid, exposes
2381 `keyInCollection` and `keysInCollection`.
2383 * Performance improved with better view caching
2384 * Removed `request` and `response` locals
2385 * Changed; errorHandler page title is now `Express` instead of `Connect`
2390 * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #606
2391 * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #606
2392 * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.
2393 * Dependency `connect >= 1.2.0`
2398 * Added; expose `err.view` object when failing to locate a view
2399 * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]
2400 * Fixed; `res.send(undefined)` responds with 204 [aheckmann]
2405 * Added `<root>/_?<name>` partial lookup support. Closes #447
2406 * Added `request`, `response`, and `app` local variables
2407 * Added `settings` local variable, containing the app's settings
2408 * Added `req.flash()` exception if `req.session` is not available
2409 * Added `res.send(bool)` support (json response)
2410 * Fixed stylus example for latest version
2411 * Fixed; wrap try/catch around `res.render()`
2416 * Fixed up index view path alternative.
2417 * Changed; `res.locals()` without object returns the locals
2419 2.0.0rc3 / 2011-03-17
2422 * Added `res.locals(obj)` to compliment `res.local(key, val)`
2423 * Added `res.partial()` callback support
2424 * Fixed recursive error reporting issue in `res.render()`
2426 2.0.0rc2 / 2011-03-17
2429 * Changed; `partial()` "locals" are now optional
2430 * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]
2431 * Fixed .filename view engine option [reported by drudge]
2432 * Fixed blog example
2433 * Fixed `{req,res}.app` reference when mounting [Ben Weaver]
2435 2.0.0rc / 2011-03-14
2438 * Fixed; expose `HTTPSServer` constructor
2439 * Fixed express(1) default test charset. Closes #579 [reported by secoif]
2440 * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]
2442 2.0.0beta3 / 2011-03-09
2445 * Added support for `res.contentType()` literal
2446 The original `res.contentType('.json')`,
2447 `res.contentType('application/json')`, and `res.contentType('json')`
2449 * Added `res.render()` status option support back
2450 * Added charset option for `res.render()`
2451 * Added `.charset` support (via connect 1.0.4)
2452 * Added view resolution hints when in development and a lookup fails
2453 * Added layout lookup support relative to the page view.
2454 For example while rendering `./views/user/index.jade` if you create
2455 `./views/user/layout.jade` it will be used in favour of the root layout.
2456 * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]
2457 * Fixed; default `res.send()` string charset to utf8
2458 * Removed `Partial` constructor (not currently used)
2460 2.0.0beta2 / 2011-03-07
2463 * Added res.render() `.locals` support back to aid in migration process
2464 * Fixed flash example
2466 2.0.0beta / 2011-03-03
2469 * Added HTTPS support
2470 * Added `res.cookie()` maxAge support
2471 * Added `req.header()` _Referrer_ / _Referer_ special-case, either works
2472 * Added mount support for `res.redirect()`, now respects the mount-point
2473 * Added `union()` util, taking place of `merge(clone())` combo
2474 * Added stylus support to express(1) generated app
2475 * Added secret to session middleware used in examples and generated app
2476 * Added `res.local(name, val)` for progressive view locals
2477 * Added default param support to `req.param(name, default)`
2478 * Added `app.disabled()` and `app.enabled()`
2479 * Added `app.register()` support for omitting leading ".", either works
2480 * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #539
2481 * Added `app.param()` to map route params to async/sync logic
2482 * Added; aliased `app.helpers()` as `app.locals()`. Closes #481
2483 * Added extname with no leading "." support to `res.contentType()`
2484 * Added `cache views` setting, defaulting to enabled in "production" env
2485 * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.
2486 * Added `req.accepts()` support for extensions
2487 * Changed; `res.download()` and `res.sendfile()` now utilize Connect's
2488 static file server `connect.static.send()`.
2489 * Changed; replaced `connect.utils.mime()` with npm _mime_ module
2490 * Changed; allow `req.query` to be pre-defined (via middleware or other parent
2491 * Changed view partial resolution, now relative to parent view
2492 * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.
2493 * Fixed `req.param()` bug returning Array.prototype methods. Closes #552
2494 * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()`
2495 * Fixed; using _qs_ module instead of _querystring_
2496 * Fixed; strip unsafe chars from jsonp callbacks
2497 * Removed "stream threshold" setting
2502 * Allow `req.query` to be pre-defined (via middleware or other parent app)
2503 * "connect": ">= 0.5.0 < 1.0.0". Closes #547
2504 * Removed the long deprecated __EXPRESS_ENV__ support
2509 * Fixed `render()` setting inheritance.
2510 Mounted apps would not inherit "view engine"
2515 * Fixed `view engine` setting bug when period is in dirname
2520 * Added secret to generated app `session()` call
2525 * Added `qs` dependency to _package.json_
2526 * Fixed namespaced `require()`s for latest connect support
2531 * Remove unsafe characters from JSONP callback names [Ryan Grove]
2536 * Removed nested require, using `connect.router`
2541 * Fixed for middleware stacked via `createServer()`
2542 previously the `foo` middleware passed to `createServer(foo)`
2543 would not have access to Express methods such as `res.send()`
2544 or props like `req.query` etc.
2549 * Added; deduce partial object names from the last segment.
2550 For example by default `partial('forum/post', postObject)` will
2551 give you the _post_ object, providing a meaningful default.
2552 * Added http status code string representation to `res.redirect()` body
2553 * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__.
2554 * Added `req.is()` to aid in content negotiation
2555 * Added partial local inheritance [suggested by masylum]. Closes #102
2556 providing access to parent template locals.
2557 * Added _-s, --session[s]_ flag to express(1) to add session related middleware
2558 * Added _--template_ flag to express(1) to specify the
2559 template engine to use.
2560 * Added _--css_ flag to express(1) to specify the
2561 stylesheet engine to use (or just plain css by default).
2562 * Added `app.all()` support [thanks aheckmann]
2563 * Added partial direct object support.
2564 You may now `partial('user', user)` providing the "user" local,
2565 vs previously `partial('user', { object: user })`.
2566 * Added _route-separation_ example since many people question ways
2567 to do this with CommonJS modules. Also view the _blog_ example for
2569 * Performance; caching view path derived partial object names
2570 * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #454
2571 * Fixed jsonp support; _text/javascript_ as per mailinglist discussion
2573 1.0.0rc4 / 2010-10-14
2576 * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.0
2577 * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))
2578 * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass]
2579 * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass]
2580 * Added `partial()` support for array-like collections. Closes #434
2581 * Added support for swappable querystring parsers
2582 * Added session usage docs. Closes #443
2583 * Added dynamic helper caching. Closes #439 [suggested by maritz]
2584 * Added authentication example
2585 * Added basic Range support to `res.sendfile()` (and `res.download()` etc)
2586 * Changed; `express(1)` generated app using 2 spaces instead of 4
2587 * Default env to "development" again [aheckmann]
2588 * Removed _context_ option is no more, use "scope"
2589 * Fixed; exposing _./support_ libs to examples so they can run without installs
2592 1.0.0rc3 / 2010-09-20
2595 * Added confirmation for `express(1)` app generation. Closes #391
2596 * Added extending of flash formatters via `app.flashFormatters`
2597 * Added flash formatter support. Closes #411
2598 * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold"
2599 * Added _stream threshold_ setting for `res.sendfile()`
2600 * Added `res.send()` __HEAD__ support
2601 * Added `res.clearCookie()`
2602 * Added `res.cookie()`
2603 * Added `res.render()` headers option
2604 * Added `res.redirect()` response bodies
2605 * Added `res.render()` status option support. Closes #425 [thanks aheckmann]
2606 * Fixed `res.sendfile()` responding with 403 on malicious path
2607 * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_
2608 * Fixed; mounted apps settings now inherit from parent app [aheckmann]
2609 * Fixed; stripping Content-Length / Content-Type when 204
2610 * Fixed `res.send()` 204. Closes #419
2611 * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #402
2612 * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]
2615 1.0.0rc2 / 2010-08-17
2618 * Added `app.register()` for template engine mapping. Closes #390
2619 * Added `res.render()` callback support as second argument (no options)
2620 * Added callback support to `res.download()`
2621 * Added callback support for `res.sendfile()`
2622 * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()`
2623 * Added "partials" setting to docs
2624 * Added default expresso tests to `express(1)` generated app. Closes #384
2625 * Fixed `res.sendfile()` error handling, defer via `next()`
2626 * Fixed `res.render()` callback when a layout is used [thanks guillermo]
2627 * Fixed; `make install` creating ~/.node_libraries when not present
2628 * Fixed issue preventing error handlers from being defined anywhere. Closes #387
2630 1.0.0rc / 2010-07-28
2633 * Added mounted hook. Closes #369
2634 * Added connect dependency to _package.json_
2636 * Removed "reload views" setting and support code
2637 development env never caches, production always caches.
2639 * Removed _param_ in route callbacks, signature is now
2640 simply (req, res, next), previously (req, res, params, next).
2641 Use _req.params_ for path captures, _req.query_ for GET params.
2643 * Fixed "home" setting
2644 * Fixed middleware/router precedence issue. Closes #366
2645 * Fixed; _configure()_ callbacks called immediately. Closes #368
2647 1.0.0beta2 / 2010-07-23
2650 * Added more examples
2651 * Added; exporting `Server` constructor
2652 * Added `Server#helpers()` for view locals
2653 * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #349
2654 * Added support for absolute view paths
2655 * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #363
2656 * Added Guillermo Rauch to the contributor list
2657 * Added support for "as" for non-collection partials. Closes #341
2658 * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]
2659 * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]
2660 * Fixed instanceof `Array` checks, now `Array.isArray()`
2661 * Fixed express(1) expansion of public dirs. Closes #348
2662 * Fixed middleware precedence. Closes #345
2663 * Fixed view watcher, now async [thanks aheckmann]
2665 1.0.0beta / 2010-07-15
2671 - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs
2676 * Utilize relative requires
2677 * Added Static bufferSize option [aheckmann]
2678 * Fixed caching of view and partial subdirectories [aheckmann]
2679 * Fixed mime.type() comments now that ".ext" is not supported
2680 * Updated haml submodule
2681 * Updated class submodule
2682 * Removed bin/express
2687 * Added node v0.1.97 compatibility
2688 * Added support for deleting cookies via Request#cookie('key', null)
2689 * Updated haml submodule
2690 * Fixed not-found page, now using using charset utf-8
2691 * Fixed show-exceptions page, now using using charset utf-8
2692 * Fixed view support due to fs.readFile Buffers
2693 * Changed; mime.type() no longer accepts ".type" due to node extname() changes
2698 * Added node v0.1.96 compatibility
2699 * Added view `helpers` export which act as additional local variables
2700 * Updated haml submodule
2701 * Changed ETag; removed inode, modified time only
2702 * Fixed LF to CRLF for setting multiple cookies
2703 * Fixed cookie complation; values are now urlencoded
2704 * Fixed cookies parsing; accepts quoted values and url escaped cookies
2709 * Added support for layouts using different engines
2710 - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })
2711 - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'
2712 - this.render('page.html.haml', { layout: false }) // no layout
2713 * Updated ext submodule
2714 * Updated haml submodule
2715 * Fixed EJS partial support by passing along the context. Issue #307
2720 * Fixed binary uploads.
2725 * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s
2726 encoding is set to 'utf8' or 'utf-8'.
2727 * Added "encoding" option to Request#render(). Closes #299
2728 * Added "dump exceptions" setting, which is enabled by default.
2729 * Added simple ejs template engine support
2730 * Added error response support for text/plain, application/json. Closes #297
2731 * Added callback function param to Request#error()
2732 * Added Request#sendHead()
2733 * Added Request#stream()
2734 * Added support for Request#respond(304, null) for empty response bodies
2735 * Added ETag support to Request#sendfile()
2736 * Added options to Request#sendfile(), passed to fs.createReadStream()
2737 * Added filename arg to Request#download()
2738 * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request
2739 * Performance enhanced by preventing several calls to toLowerCase() in Router#match()
2740 * Changed; Request#sendfile() now streams
2741 * Changed; Renamed Request#halt() to Request#respond(). Closes #289
2742 * Changed; Using sys.inspect() instead of JSON.encode() for error output
2743 * Changed; run() returns the http.Server instance. Closes #298
2744 * Changed; Defaulting Server#host to null (INADDR_ANY)
2745 * Changed; Logger "common" format scale of 0.4f
2746 * Removed Logger "request" format
2747 * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found
2748 * Fixed several issues with http client
2749 * Fixed Logger Content-Length output
2750 * Fixed bug preventing Opera from retaining the generated session id. Closes #292
2755 * Added DSL level error() route support
2756 * Added DSL level notFound() route support
2757 * Added Request#error()
2758 * Added Request#notFound()
2759 * Added Request#render() callback function. Closes #258
2760 * Added "max upload size" setting
2761 * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #254
2762 * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js
2763 * Added callback function support to Request#halt() as 3rd/4th arg
2764 * Added preprocessing of route param wildcards using param(). Closes #251
2765 * Added view partial support (with collections etc)
2766 * Fixed bug preventing falsey params (such as ?page=0). Closes #286
2767 * Fixed setting of multiple cookies. Closes #199
2768 * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)
2769 * Changed; session cookie is now httpOnly
2770 * Changed; Request is no longer global
2771 * Changed; Event is no longer global
2772 * Changed; "sys" module is no longer global
2773 * Changed; moved Request#download to Static plugin where it belongs
2774 * Changed; Request instance created before body parsing. Closes #262
2775 * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #253
2776 * Changed; Pre-caching view partials in memory when "cache view partials" is enabled
2777 * Updated support to node --version 0.1.90
2778 * Updated dependencies
2779 * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})
2780 * Removed utils.mixin(); use Object#mergeDeep()
2785 * Added coffeescript example app. Closes #242
2786 * Changed; cache api now async friendly. Closes #240
2787 * Removed deprecated 'express/static' support. Use 'express/plugins/static'
2792 * Added Request#isXHR. Closes #229
2793 * Added `make install` (for the executable)
2794 * Added `express` executable for setting up simple app templates
2795 * Added "GET /public/*" to Static plugin, defaulting to <root>/public
2796 * Added Static plugin
2797 * Fixed; Request#render() only calls cache.get() once
2798 * Fixed; Namespacing View caches with "view:"
2799 * Fixed; Namespacing Static caches with "static:"
2800 * Fixed; Both example apps now use the Static plugin
2801 * Fixed set("views"). Closes #239
2802 * Fixed missing space for combined log format
2803 * Deprecated Request#sendfile() and 'express/static'
2804 * Removed Server#running
2809 * Added Request#flash() support without args, now returns all flashes
2810 * Updated ext submodule
2815 * Fixed session reaper
2816 * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)
2821 * Added package.json
2822 * Fixed requiring of haml / sass due to kiwi removal
2827 * Fixed GIT submodules (HAH!)
2832 * Changed; Express now using submodules again until a PM is adopted
2833 * Changed; chat example using millisecond conversions from ext
2838 * Added Request#pass() support (finds the next matching route, or the given path)
2839 * Added Logger plugin (default "common" format replaces CommonLogger)
2840 * Removed Profiler plugin
2841 * Removed CommonLogger plugin
2846 * Added seed.yml for kiwi package management support
2847 * Added HTTP client query string support when method is GET. Closes #205
2849 * Added support for arbitrary view engines.
2850 For example "foo.engine.html" will now require('engine'),
2851 the exports from this module are cached after the first require().
2853 * Added async plugin support
2855 * Removed usage of RESTful route funcs as http client
2856 get() etc, use http.get() and friends
2858 * Removed custom exceptions
2863 * Added ext dependency (library of js extensions)
2864 * Removed extname() / basename() utils. Use path module
2865 * Removed toArray() util. Use arguments.values
2866 * Removed escapeRegexp() util. Use RegExp.escape()
2867 * Removed process.mixin() dependency. Use utils.mixin()
2868 * Removed Collection
2869 * Removed ElementCollection
2870 * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;)
2875 * Added flash() example to sample upload app
2876 * Added high level restful http client module (express/http)
2877 * Changed; RESTful route functions double as HTTP clients. Closes #69
2878 * Changed; throwing error when routes are added at runtime
2879 * Changed; defaulting render() context to the current Request. Closes #197
2880 * Updated haml submodule
2885 * Updated haml / sass submodules. Closes #200
2886 * Added flash message support. Closes #64
2887 * Added accepts() now allows multiple args. fixes #117
2888 * Added support for plugins to halt. Closes #189
2889 * Added alternate layout support. Closes #119
2890 * Removed Route#run(). Closes #188
2891 * Fixed broken specs due to use(Cookie) missing
2896 * Added "plot" format option for Profiler (for gnuplot processing)
2897 * Added request number to Profiler plugin
2898 * Fixed binary encoding for multi-part file uploads, was previously defaulting to UTF8
2899 * Fixed issue with routes not firing when not files are present. Closes #184
2900 * Fixed process.Promise -> events.Promise
2905 * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #180
2906 * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #174
2907 * Added expiration support to cache api with reaper. Closes #133
2908 * Added cache Store.Memory#reap()
2909 * Added Cache; cache api now uses first class Cache instances
2910 * Added abstract session Store. Closes #172
2911 * Changed; cache Memory.Store#get() utilizing Collection
2912 * Renamed MemoryStore -> Store.Memory
2913 * Fixed use() of the same plugin several time will always use latest options. Closes #176
2918 * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context
2919 * Updated node support to 0.1.27 Closes #169
2920 * Updated dirname(__filename) -> __dirname
2921 * Updated libxmljs support to v0.2.0
2922 * Added session support with memory store / reaping
2923 * Added quick uid() helper
2924 * Added multi-part upload support
2925 * Added Sass.js support / submodule
2926 * Added production env caching view contents and static files
2927 * Added static file caching. Closes #136
2928 * Added cache plugin with memory stores
2929 * Added support to StaticFile so that it works with non-textual files.
2930 * Removed dirname() helper
2931 * Removed several globals (now their modules must be required)
2936 * Added view benchmarks; currently haml vs ejs
2937 * Added Request#attachment() specs. Closes #116
2938 * Added use of node's parseQuery() util. Closes #123
2939 * Added `make init` for submodules
2941 * Updated sample chat app to show messages on load
2942 * Updated libxmljs parseString -> parseHtmlString
2943 * Fixed `make init` to work with older versions of git
2944 * Fixed specs can now run independent specs for those who cant build deps. Closes #127
2945 * Fixed issues introduced by the node url module changes. Closes 126.
2946 * Fixed two assertions failing due to Collection#keys() returning strings
2947 * Fixed faulty Collection#toArray() spec due to keys() returning strings
2948 * Fixed `make test` now builds libxmljs.node before testing