6 - connect and connect's patches except for charset handling
7 - express(1) - moved to [express-generator](https://github.com/expressjs/generator)
8 - `express.createServer()` - it has been deprecated for a long time. Use `express()`
9 - `app.configure` - use logic in your own app code
10 - `app.router` - is removed
11 - `req.auth` - use `basic-auth` instead
12 - `req.accepted*` - use `req.accepts*()` instead
13 - `res.location` - relative URL resolution is removed
14 - `res.charset` - include the charset in the content type when using `res.set()`
15 - all bundled middleware except `static`
17 - `app.route` -> `app.mountpath` when mounting an express app in another express app
18 - `json spaces` no longer enabled by default in development
19 - `req.accepts*` -> `req.accepts*s` - i.e. `req.acceptsEncoding` -> `req.acceptsEncodings`
20 - `req.params` is now an object instead of an array
21 - `res.locals` is no longer a function. It is a plain js object. Treat it as such.
22 - `res.headerSent` -> `res.headersSent` to match node.js ServerResponse object
24 - `req.accepts*` with [accepts](https://github.com/expressjs/accepts)
25 - `req.is` with [type-is](https://github.com/expressjs/type-is)
26 - [path-to-regexp](https://github.com/component/path-to-regexp)
28 - `app.router()` - returns the app Router instance
29 - `app.route()` - Proxy to the app's `Router#route()` method to create a new route
30 - Router & Route - public API
40 * prevent incorrect automatic OPTIONS responses #1868 @dpatti
41 * update binary and examples for jade 1.0 #1876 @yossi, #1877 @reqshark, #1892 @matheusazzi
42 * throw 400 in case of malformed paths @rlidwka
52 * update connect (raw-body)
58 * res.location: remove leading ./ #1802 @kapouer
59 * res.redirect: fix `res.redirect('toString') #1829 @michaelficarra
60 * res.send: always send ETag when content-length > 0
61 * router: add Router.all() method
69 * express(1): replace bodyParser() with urlencoded() and json() #1795 @chirag04
87 * jsonp: check if callback is a function
88 * router: wrap encodeURIComponent in a try/catch #1735 (@lxe)
89 * res.format: now includes chraset @1747 (@sorribas)
90 * res.links: allow multiple calls @1746 (@sorribas)
95 * add res.vary(). Closes #1682
111 * Revert "remove charset from json responses. Closes #1631" (causes issues in some clients)
112 * add: req.accepts take an argument list
117 * update send and connect
129 * remove .version export
140 * add support for multiple X-Forwarded-Proto values. Closes #1646
141 * change: remove charset from json responses. Closes #1631
142 * change: return actual booleans from req.accept* functions
143 * fix jsonp callback array throw
155 * add: throw a meaningful error when there is no default engine
156 * change generation of ETags with res.send() to GET requests only. Closes #1619
161 * fix `req.subdomains` when no Host is present
162 * fix `req.host` when no Host is present, return undefined
167 * update connect / qs
177 * add app.VERB() paths array deprecation warning
179 * update qs and remove all ~ semver crap
180 * fix: accept number as value of Signed Cookie
185 * add "view" constructor setting to override view behaviour
186 * add req.acceptsEncoding(name)
187 * add req.acceptedEncodings
188 * revert cookie signature change causing session race conditions
189 * fix sorting of Accept values of the same quality
194 * add support for custom Accept parameters
195 * update cookie-signature
200 * add X-Forwarded-Host support to `req.host`
201 * fix relative redirects
203 * update buffer-crc32
204 * remove legacy app.configure() method from app template.
209 * add support for leading "." in "view engine" setting
210 * add array support to `res.set()`
211 * add node 0.8.x to travis.yml
212 * add "subdomain offset" setting for tweaking `req.subdomains`
213 * add `res.location(url)` implementing `res.redirect()`-like setting of Location
214 * use app.get() for x-powered-by setting for inheritance
215 * fix colons in passwords for `req.auth`
220 * add http verb methods to Router
222 * fix mangling of the `res.cookie()` options object
223 * fix jsonp whitespace escape. Closes #1132
228 * add throwing when a non-function is passed to a route
229 * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses
230 * revert "add 'etag' option"
235 * add 'etag' option to disable `res.send()` Etags
236 * add escaping of urls in text/plain in `res.redirect()`
237 for old browsers interpreting as html
238 * change crc32 module for a more liberal license
245 * update cookie module
251 * add OPTIONS to cors example. Closes #1398
252 * fix route chaining regression. Closes #1397
263 * add "Basic" check to req.auth
264 * add `req.auth` test coverage
265 * add cb && cb(payload) to `res.jsonp()`. Closes #1374
266 * add backwards compat for `res.redirect()` status. Closes #1336
267 * add support for `res.json()` to retain previously defined Content-Types. Closes #1349
269 * change `res.redirect()` to utilize a pathname-relative Location again. Closes #1382
270 * remove non-primitive string support for `res.send()`
271 * fix view-locals example. Closes #1370
272 * fix route-separation example
274 3.0.0rc5 / 2012-09-18
278 * add redis search example
279 * add static-files example
280 * add "x-powered-by" setting (`app.disable('x-powered-by')`)
281 * add "application/octet-stream" redirect Accept test case. Closes #1317
283 3.0.0rc4 / 2012-08-30
286 * add `res.jsonp()`. Closes #1307
287 * add "verbose errors" option to error-pages example
288 * add another route example to express(1) so people are not so confused
289 * add redis online user activity tracking example
291 * fix etag quoting. Closes #1310
292 * fix error-pages 404 status
293 * fix jsonp callback char restrictions
294 * remove old OPTIONS default response
296 3.0.0rc3 / 2012-08-13
300 * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds]
301 * fix `res.render()` clobbering of "locals"
303 3.0.0rc2 / 2012-08-03
308 * deprecate `.createServer()` & remove old stale examples
309 * fix: escape `res.redirect()` link
312 3.0.0rc1 / 2012-07-24
315 * add more examples to view-locals
316 * add scheme-relative redirects (`res.redirect("//foo.com")`) support
320 * fix `express(1)` -h flag, use -H for hogan. Closes #1245
321 * fix `res.sendfile()` socket error handling regression
323 3.0.0beta7 / 2012-07-16
326 * update connect dep for `send()` root normalization regression
328 3.0.0beta6 / 2012-07-13
331 * add `err.view` property for view errors. Closes #1226
332 * add "jsonp callback name" setting
333 * add support for "/foo/:bar*" non-greedy matches
334 * change `res.sendfile()` to use `send()` module
335 * change `res.send` to use "response-send" module
336 * remove `app.locals.use` and `res.locals.use`, use regular middleware
338 3.0.0beta5 / 2012-07-03
341 * add "make check" support
342 * add route-map example
343 * add `res.json(obj, status)` support back for BC
344 * add "methods" dep, remove internal methods module
346 * update auth example to utilize cores pbkdf2
347 * updated tests to use "supertest"
349 3.0.0beta4 / 2012-06-25
353 * Added `req.range(size)`
354 * Added `res.links(obj)`
355 * Added `res.send(body, status)` support back for backwards compat
356 * Added `.default()` support to `res.format()`
357 * Added 2xx / 304 check to `req.fresh`
358 * Revert "Added + support to the router"
359 * Fixed `res.send()` freshness check, respect res.statusCode
361 3.0.0beta3 / 2012-06-15
364 * Added hogan `--hjs` to express(1) [nullfirm]
365 * Added another example to content-negotiation
367 * Changed: `res.send()` always checks freshness
368 * Fixed: expose connects mime module. Cloases #1165
370 3.0.0beta2 / 2012-06-06
373 * Added `+` support to the router
375 * Changed `req.param()` to check route first
378 3.0.0beta1 / 2012-06-01
381 * Added `res.format()` callback to override default 406 behaviour
382 * Fixed `res.redirect()` 406. Closes #1154
384 3.0.0alpha5 / 2012-05-30
388 * Added `{ signed: true }` option to `res.cookie()`
389 * Removed `res.signedCookie()`
390 * Changed: dont reverse `req.ips`
391 * Fixed "trust proxy" setting check for `req.ips`
393 3.0.0alpha4 / 2012-05-09
396 * Added: allow `[]` in jsonp callback. Closes #1128
397 * Added `PORT` env var support in generated template. Closes #1118 [benatkin]
398 * Updated: connect 2.2.2
400 3.0.0alpha3 / 2012-05-04
403 * Added public `app.routes`. Closes #887
404 * Added _view-locals_ example
405 * Added _mvc_ example
406 * Added `res.locals.use()`. Closes #1120
407 * Added conditional-GET support to `res.send()`
408 * Added: coerce `res.set()` values to strings
409 * Changed: moved `static()` in generated apps below router
410 * Changed: `res.send()` only set ETag when not previously set
411 * Changed connect 2.2.1 dep
412 * Changed: `make test` now runs unit / acceptance tests
413 * Fixed req/res proto inheritance
415 3.0.0alpha2 / 2012-04-26
418 * Added `make benchmark` back
419 * Added `res.send()` support for `String` objects
420 * Added client-side data exposing example
421 * Added `res.header()` and `req.header()` aliases for BC
422 * Added `express.createServer()` for BC
423 * Perf: memoize parsed urls
424 * Perf: connect 2.2.0 dep
425 * Changed: make `expressInit()` middleware self-aware
426 * Fixed: use app.get() for all core settings
427 * Fixed redis session example
428 * Fixed session example. Closes #1105
429 * Fixed generated express dep. Closes #1078
431 3.0.0alpha1 / 2012-04-15
434 * Added `app.locals.use(callback)`
435 * Added `app.locals` object
436 * Added `app.locals(obj)`
437 * Added `res.locals` object
438 * Added `res.locals(obj)`
439 * Added `res.format()` for content-negotiation
440 * Added `app.engine()`
441 * Added `res.cookie()` JSON cookie support
442 * Added "trust proxy" setting
443 * Added `req.subdomains`
444 * Added `req.protocol`
450 * Added comma-delmited / array support for `req.accepts()`
451 * Added debug instrumentation
452 * Added `res.set(obj)`
453 * Added `res.set(field, value)`
454 * Added `res.get(field)`
455 * Added `app.get(setting)`. Closes #842
456 * Added `req.acceptsLanguage()`
457 * Added `req.acceptsCharset()`
458 * Added `req.accepted`
459 * Added `req.acceptedLanguages`
460 * Added `req.acceptedCharsets`
461 * Added "json replacer" setting
462 * Added "json spaces" setting
463 * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92
464 * Added `--less` support to express(1)
465 * Added `express.response` prototype
466 * Added `express.request` prototype
467 * Added `express.application` prototype
469 * Added `app.render()`
470 * Added `res.type()` to replace `res.contentType()`
471 * Changed: `res.redirect()` to add relative support
472 * Changed: enable "jsonp callback" by default
473 * Changed: renamed "case sensitive routes" to "case sensitive routing"
474 * Rewrite of all tests with mocha
475 * Removed "root" setting
476 * Removed `res.redirect('home')` support
477 * Removed `req.notify()`
478 * Removed `app.register()`
479 * Removed `app.redirect()`
481 * Removed `app.helpers()`
482 * Removed `app.dynamicHelpers()`
483 * Fixed `res.sendfile()` with non-GET. Closes #723
484 * Fixed express(1) public dir for windows. Closes #866
489 * Added support for PURGE request method [pbuyle]
490 * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]
495 * Update mkdirp dep. Closes #991
500 * Fixed `app.all` duplicate DELETE requests [mscdex]
505 * Updated hamljs dev dep. Closes #953
510 * Fixed: set `filename` on cached templates [matthewleon]
515 * Fixed `express(1)` eol on 0.4.x. Closes #947
520 * Fixed `req.is()` when a charset is present
525 * Fixed: express(1) LF -> CRLF for windows
530 * Changed: updated connect to 1.8.x
531 * Removed sass.js support from express(1)
536 * Added ./routes dir for generated app by default
537 * Added npm install reminder to express(1) app gen
538 * Added 0.5.x support
539 * Removed `make test-cov` since it wont work with node 0.5.x
540 * Fixed express(1) public dir for windows. Closes #866
545 * Added mkdirp to express(1). Closes #795
546 * Added simple _json-config_ example
547 * Added shorthand for the parsed request's pathname via `req.path`
548 * Changed connect dep to 1.7.x to fix npm issue...
549 * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]
550 * Fixed `req.flash()`, only escape args
551 * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]
556 * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]
561 * Added support for routes to handle errors. Closes #809
562 * Added `app.routes.all()`. Closes #803
563 * Added "basepath" setting to work in conjunction with reverse proxies etc.
564 * Refactored `Route` to use a single array of callbacks
565 * Added support for multiple callbacks for `app.param()`. Closes #801
567 * Changed: removed .call(self) for route callbacks
568 * Dependency: `qs >= 0.3.1`
569 * Fixed `res.redirect()` on windows due to `join()` usage. Closes #808
574 * Fixed `res.header()` intention of a set, even when `undefined`
575 * Fixed `*`, value no longer required
576 * Fixed `res.send(204)` support. Closes #771
581 * Added docs for `status` option special-case. Closes #739
582 * Fixed `options.filename`, exposing the view path to template engines
587 * Revert "removed jsonp stripping" for XSS
592 * Added `res.json()` JSONP support. Closes #737
593 * Added _extending-templates_ example. Closes #730
594 * Added "strict routing" setting for trailing slashes
595 * Added support for multiple envs in `app.configure()` calls. Closes #735
596 * Changed: `res.send()` using `res.json()`
597 * Changed: when cookie `path === null` don't default it
598 * Changed; default cookie path to "home" setting. Closes #731
599 * Removed _pids/logs_ creation from express(1)
604 * Added chainable `res.status(code)`
605 * Added `res.json()`, an explicit version of `res.send(obj)`
606 * Added simple web-service example
611 * \#express is now on freenode! come join!
612 * Added `req.get(field, param)`
613 * Added links to Japanese documentation, thanks @hideyukisaito!
614 * Added; the `express(1)` generated app outputs the env
615 * Added `content-negotiation` example
616 * Dependency: connect >= 1.5.1 < 2.0.0
617 * Fixed view layout bug. Closes #720
618 * Fixed; ignore body on 304. Closes #701
624 * Removed generation of dummy test file from `express(1)`
625 * Fixed; `express(1)` adds express as a dep
626 * Fixed; prune on `prepublish`
631 * Added `req.route`, exposing the current route
632 * Added _package.json_ generation support to `express(1)`
633 * Fixed call to `app.param()` function for optional params. Closes #682
638 * Fixed bug-ish with `../' in `res.partial()` calls
643 * Fixed `app.options()`
648 * Added route `Collection`, ex: `app.get('/user/:id').remove();`
649 * Added support for `app.param(fn)` to define param logic
650 * Removed `app.param()` support for callback with return value
651 * Removed module.parent check from express(1) generated app. Closes #670
652 * Refactored router. Closes #639
657 * Changed; using devDependencies instead of git submodules
658 * Fixed redis session example
659 * Fixed markdown example
660 * Fixed view caching, should not be enabled in development
665 * Added export `.view` as alias for `.View`
670 * Added `./examples/say`
671 * Fixed `res.sendfile()` bug preventing the transfer of files with spaces
676 * Added "case sensitive routes" option.
677 * Changed; split methods supported per rfc [slaskis]
678 * Fixed route-specific middleware when using the same callback function several times
688 * Added `app.match()` as `app.match.all()`
689 * Added `app.lookup()` as `app.lookup.all()`
690 * Added `app.remove()` for `app.remove.all()`
691 * Added `app.remove.VERB()`
692 * Fixed template caching collision issue. Closes #644
693 * Moved router over from connect and started refactor
698 * Added options support to `res.clearCookie()`
699 * Added `res.helpers()` as alias of `res.locals()`
700 * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0`
701 * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]
702 * Renamed "cache views" to "view cache". Closes #628
703 * Fixed caching of views when using several apps. Closes #637
704 * Fixed gotcha invoking `app.param()` callbacks once per route middleware.
706 * Fixed partial lookup precedence. Closes #631
712 * Added second callback support for `res.download()` connection errors
713 * Fixed `filename` option passing to template engine
718 * Added `layout(path)` helper to change the layout within a view. Closes #610
719 * Fixed `partial()` collection object support.
720 Previously only anything with `.length` would work.
721 When `.length` is present one must still be aware of holes,
722 however now `{ collection: {foo: 'bar'}}` is valid, exposes
723 `keyInCollection` and `keysInCollection`.
725 * Performance improved with better view caching
726 * Removed `request` and `response` locals
727 * Changed; errorHandler page title is now `Express` instead of `Connect`
732 * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #606
733 * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #606
734 * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.
735 * Dependency `connect >= 1.2.0`
740 * Added; expose `err.view` object when failing to locate a view
741 * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]
742 * Fixed; `res.send(undefined)` responds with 204 [aheckmann]
747 * Added `<root>/_?<name>` partial lookup support. Closes #447
748 * Added `request`, `response`, and `app` local variables
749 * Added `settings` local variable, containing the app's settings
750 * Added `req.flash()` exception if `req.session` is not available
751 * Added `res.send(bool)` support (json response)
752 * Fixed stylus example for latest version
753 * Fixed; wrap try/catch around `res.render()`
758 * Fixed up index view path alternative.
759 * Changed; `res.locals()` without object returns the locals
761 2.0.0rc3 / 2011-03-17
764 * Added `res.locals(obj)` to compliment `res.local(key, val)`
765 * Added `res.partial()` callback support
766 * Fixed recursive error reporting issue in `res.render()`
768 2.0.0rc2 / 2011-03-17
771 * Changed; `partial()` "locals" are now optional
772 * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]
773 * Fixed .filename view engine option [reported by drudge]
775 * Fixed `{req,res}.app` reference when mounting [Ben Weaver]
780 * Fixed; expose `HTTPSServer` constructor
781 * Fixed express(1) default test charset. Closes #579 [reported by secoif]
782 * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]
784 2.0.0beta3 / 2011-03-09
787 * Added support for `res.contentType()` literal
788 The original `res.contentType('.json')`,
789 `res.contentType('application/json')`, and `res.contentType('json')`
791 * Added `res.render()` status option support back
792 * Added charset option for `res.render()`
793 * Added `.charset` support (via connect 1.0.4)
794 * Added view resolution hints when in development and a lookup fails
795 * Added layout lookup support relative to the page view.
796 For example while rendering `./views/user/index.jade` if you create
797 `./views/user/layout.jade` it will be used in favour of the root layout.
798 * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]
799 * Fixed; default `res.send()` string charset to utf8
800 * Removed `Partial` constructor (not currently used)
802 2.0.0beta2 / 2011-03-07
805 * Added res.render() `.locals` support back to aid in migration process
806 * Fixed flash example
808 2.0.0beta / 2011-03-03
811 * Added HTTPS support
812 * Added `res.cookie()` maxAge support
813 * Added `req.header()` _Referrer_ / _Referer_ special-case, either works
814 * Added mount support for `res.redirect()`, now respects the mount-point
815 * Added `union()` util, taking place of `merge(clone())` combo
816 * Added stylus support to express(1) generated app
817 * Added secret to session middleware used in examples and generated app
818 * Added `res.local(name, val)` for progressive view locals
819 * Added default param support to `req.param(name, default)`
820 * Added `app.disabled()` and `app.enabled()`
821 * Added `app.register()` support for omitting leading ".", either works
822 * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #539
823 * Added `app.param()` to map route params to async/sync logic
824 * Added; aliased `app.helpers()` as `app.locals()`. Closes #481
825 * Added extname with no leading "." support to `res.contentType()`
826 * Added `cache views` setting, defaulting to enabled in "production" env
827 * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.
828 * Added `req.accepts()` support for extensions
829 * Changed; `res.download()` and `res.sendfile()` now utilize Connect's
830 static file server `connect.static.send()`.
831 * Changed; replaced `connect.utils.mime()` with npm _mime_ module
832 * Changed; allow `req.query` to be pre-defined (via middleware or other parent
833 * Changed view partial resolution, now relative to parent view
834 * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.
835 * Fixed `req.param()` bug returning Array.prototype methods. Closes #552
836 * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()`
837 * Fixed; using _qs_ module instead of _querystring_
838 * Fixed; strip unsafe chars from jsonp callbacks
839 * Removed "stream threshold" setting
844 * Allow `req.query` to be pre-defined (via middleware or other parent app)
845 * "connect": ">= 0.5.0 < 1.0.0". Closes #547
846 * Removed the long deprecated __EXPRESS_ENV__ support
851 * Fixed `render()` setting inheritance.
852 Mounted apps would not inherit "view engine"
857 * Fixed `view engine` setting bug when period is in dirname
862 * Added secret to generated app `session()` call
867 * Added `qs` dependency to _package.json_
868 * Fixed namespaced `require()`s for latest connect support
873 * Remove unsafe characters from JSONP callback names [Ryan Grove]
878 * Removed nested require, using `connect.router`
883 * Fixed for middleware stacked via `createServer()`
884 previously the `foo` middleware passed to `createServer(foo)`
885 would not have access to Express methods such as `res.send()`
886 or props like `req.query` etc.
891 * Added; deduce partial object names from the last segment.
892 For example by default `partial('forum/post', postObject)` will
893 give you the _post_ object, providing a meaningful default.
894 * Added http status code string representation to `res.redirect()` body
895 * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__.
896 * Added `req.is()` to aid in content negotiation
897 * Added partial local inheritance [suggested by masylum]. Closes #102
898 providing access to parent template locals.
899 * Added _-s, --session[s]_ flag to express(1) to add session related middleware
900 * Added _--template_ flag to express(1) to specify the
901 template engine to use.
902 * Added _--css_ flag to express(1) to specify the
903 stylesheet engine to use (or just plain css by default).
904 * Added `app.all()` support [thanks aheckmann]
905 * Added partial direct object support.
906 You may now `partial('user', user)` providing the "user" local,
907 vs previously `partial('user', { object: user })`.
908 * Added _route-separation_ example since many people question ways
909 to do this with CommonJS modules. Also view the _blog_ example for
911 * Performance; caching view path derived partial object names
912 * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #454
913 * Fixed jsonp support; _text/javascript_ as per mailinglist discussion
915 1.0.0rc4 / 2010-10-14
918 * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.0
919 * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))
920 * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass]
921 * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass]
922 * Added `partial()` support for array-like collections. Closes #434
923 * Added support for swappable querystring parsers
924 * Added session usage docs. Closes #443
925 * Added dynamic helper caching. Closes #439 [suggested by maritz]
926 * Added authentication example
927 * Added basic Range support to `res.sendfile()` (and `res.download()` etc)
928 * Changed; `express(1)` generated app using 2 spaces instead of 4
929 * Default env to "development" again [aheckmann]
930 * Removed _context_ option is no more, use "scope"
931 * Fixed; exposing _./support_ libs to examples so they can run without installs
934 1.0.0rc3 / 2010-09-20
937 * Added confirmation for `express(1)` app generation. Closes #391
938 * Added extending of flash formatters via `app.flashFormatters`
939 * Added flash formatter support. Closes #411
940 * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold"
941 * Added _stream threshold_ setting for `res.sendfile()`
942 * Added `res.send()` __HEAD__ support
943 * Added `res.clearCookie()`
944 * Added `res.cookie()`
945 * Added `res.render()` headers option
946 * Added `res.redirect()` response bodies
947 * Added `res.render()` status option support. Closes #425 [thanks aheckmann]
948 * Fixed `res.sendfile()` responding with 403 on malicious path
949 * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_
950 * Fixed; mounted apps settings now inherit from parent app [aheckmann]
951 * Fixed; stripping Content-Length / Content-Type when 204
952 * Fixed `res.send()` 204. Closes #419
953 * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #402
954 * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]
957 1.0.0rc2 / 2010-08-17
960 * Added `app.register()` for template engine mapping. Closes #390
961 * Added `res.render()` callback support as second argument (no options)
962 * Added callback support to `res.download()`
963 * Added callback support for `res.sendfile()`
964 * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()`
965 * Added "partials" setting to docs
966 * Added default expresso tests to `express(1)` generated app. Closes #384
967 * Fixed `res.sendfile()` error handling, defer via `next()`
968 * Fixed `res.render()` callback when a layout is used [thanks guillermo]
969 * Fixed; `make install` creating ~/.node_libraries when not present
970 * Fixed issue preventing error handlers from being defined anywhere. Closes #387
975 * Added mounted hook. Closes #369
976 * Added connect dependency to _package.json_
978 * Removed "reload views" setting and support code
979 development env never caches, production always caches.
981 * Removed _param_ in route callbacks, signature is now
982 simply (req, res, next), previously (req, res, params, next).
983 Use _req.params_ for path captures, _req.query_ for GET params.
985 * Fixed "home" setting
986 * Fixed middleware/router precedence issue. Closes #366
987 * Fixed; _configure()_ callbacks called immediately. Closes #368
989 1.0.0beta2 / 2010-07-23
992 * Added more examples
993 * Added; exporting `Server` constructor
994 * Added `Server#helpers()` for view locals
995 * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #349
996 * Added support for absolute view paths
997 * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #363
998 * Added Guillermo Rauch to the contributor list
999 * Added support for "as" for non-collection partials. Closes #341
1000 * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]
1001 * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]
1002 * Fixed instanceof `Array` checks, now `Array.isArray()`
1003 * Fixed express(1) expansion of public dirs. Closes #348
1004 * Fixed middleware precedence. Closes #345
1005 * Fixed view watcher, now async [thanks aheckmann]
1007 1.0.0beta / 2010-07-15
1013 - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs
1018 * Utilize relative requires
1019 * Added Static bufferSize option [aheckmann]
1020 * Fixed caching of view and partial subdirectories [aheckmann]
1021 * Fixed mime.type() comments now that ".ext" is not supported
1022 * Updated haml submodule
1023 * Updated class submodule
1024 * Removed bin/express
1029 * Added node v0.1.97 compatibility
1030 * Added support for deleting cookies via Request#cookie('key', null)
1031 * Updated haml submodule
1032 * Fixed not-found page, now using using charset utf-8
1033 * Fixed show-exceptions page, now using using charset utf-8
1034 * Fixed view support due to fs.readFile Buffers
1035 * Changed; mime.type() no longer accepts ".type" due to node extname() changes
1040 * Added node v0.1.96 compatibility
1041 * Added view `helpers` export which act as additional local variables
1042 * Updated haml submodule
1043 * Changed ETag; removed inode, modified time only
1044 * Fixed LF to CRLF for setting multiple cookies
1045 * Fixed cookie complation; values are now urlencoded
1046 * Fixed cookies parsing; accepts quoted values and url escaped cookies
1051 * Added support for layouts using different engines
1052 - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })
1053 - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'
1054 - this.render('page.html.haml', { layout: false }) // no layout
1055 * Updated ext submodule
1056 * Updated haml submodule
1057 * Fixed EJS partial support by passing along the context. Issue #307
1062 * Fixed binary uploads.
1067 * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s
1068 encoding is set to 'utf8' or 'utf-8'.
1069 * Added "encoding" option to Request#render(). Closes #299
1070 * Added "dump exceptions" setting, which is enabled by default.
1071 * Added simple ejs template engine support
1072 * Added error reponse support for text/plain, application/json. Closes #297
1073 * Added callback function param to Request#error()
1074 * Added Request#sendHead()
1075 * Added Request#stream()
1076 * Added support for Request#respond(304, null) for empty response bodies
1077 * Added ETag support to Request#sendfile()
1078 * Added options to Request#sendfile(), passed to fs.createReadStream()
1079 * Added filename arg to Request#download()
1080 * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request
1081 * Performance enhanced by preventing several calls to toLowerCase() in Router#match()
1082 * Changed; Request#sendfile() now streams
1083 * Changed; Renamed Request#halt() to Request#respond(). Closes #289
1084 * Changed; Using sys.inspect() instead of JSON.encode() for error output
1085 * Changed; run() returns the http.Server instance. Closes #298
1086 * Changed; Defaulting Server#host to null (INADDR_ANY)
1087 * Changed; Logger "common" format scale of 0.4f
1088 * Removed Logger "request" format
1089 * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found
1090 * Fixed several issues with http client
1091 * Fixed Logger Content-Length output
1092 * Fixed bug preventing Opera from retaining the generated session id. Closes #292
1097 * Added DSL level error() route support
1098 * Added DSL level notFound() route support
1099 * Added Request#error()
1100 * Added Request#notFound()
1101 * Added Request#render() callback function. Closes #258
1102 * Added "max upload size" setting
1103 * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #254
1104 * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js
1105 * Added callback function support to Request#halt() as 3rd/4th arg
1106 * Added preprocessing of route param wildcards using param(). Closes #251
1107 * Added view partial support (with collections etc)
1108 * Fixed bug preventing falsey params (such as ?page=0). Closes #286
1109 * Fixed setting of multiple cookies. Closes #199
1110 * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)
1111 * Changed; session cookie is now httpOnly
1112 * Changed; Request is no longer global
1113 * Changed; Event is no longer global
1114 * Changed; "sys" module is no longer global
1115 * Changed; moved Request#download to Static plugin where it belongs
1116 * Changed; Request instance created before body parsing. Closes #262
1117 * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #253
1118 * Changed; Pre-caching view partials in memory when "cache view partials" is enabled
1119 * Updated support to node --version 0.1.90
1120 * Updated dependencies
1121 * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})
1122 * Removed utils.mixin(); use Object#mergeDeep()
1127 * Added coffeescript example app. Closes #242
1128 * Changed; cache api now async friendly. Closes #240
1129 * Removed deprecated 'express/static' support. Use 'express/plugins/static'
1134 * Added Request#isXHR. Closes #229
1135 * Added `make install` (for the executable)
1136 * Added `express` executable for setting up simple app templates
1137 * Added "GET /public/*" to Static plugin, defaulting to <root>/public
1138 * Added Static plugin
1139 * Fixed; Request#render() only calls cache.get() once
1140 * Fixed; Namespacing View caches with "view:"
1141 * Fixed; Namespacing Static caches with "static:"
1142 * Fixed; Both example apps now use the Static plugin
1143 * Fixed set("views"). Closes #239
1144 * Fixed missing space for combined log format
1145 * Deprecated Request#sendfile() and 'express/static'
1146 * Removed Server#running
1151 * Added Request#flash() support without args, now returns all flashes
1152 * Updated ext submodule
1157 * Fixed session reaper
1158 * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)
1163 * Added package.json
1164 * Fixed requiring of haml / sass due to kiwi removal
1169 * Fixed GIT submodules (HAH!)
1174 * Changed; Express now using submodules again until a PM is adopted
1175 * Changed; chat example using millisecond conversions from ext
1180 * Added Request#pass() support (finds the next matching route, or the given path)
1181 * Added Logger plugin (default "common" format replaces CommonLogger)
1182 * Removed Profiler plugin
1183 * Removed CommonLogger plugin
1188 * Added seed.yml for kiwi package management support
1189 * Added HTTP client query string support when method is GET. Closes #205
1191 * Added support for arbitrary view engines.
1192 For example "foo.engine.html" will now require('engine'),
1193 the exports from this module are cached after the first require().
1195 * Added async plugin support
1197 * Removed usage of RESTful route funcs as http client
1198 get() etc, use http.get() and friends
1200 * Removed custom exceptions
1205 * Added ext dependency (library of js extensions)
1206 * Removed extname() / basename() utils. Use path module
1207 * Removed toArray() util. Use arguments.values
1208 * Removed escapeRegexp() util. Use RegExp.escape()
1209 * Removed process.mixin() dependency. Use utils.mixin()
1210 * Removed Collection
1211 * Removed ElementCollection
1212 * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;)
1217 * Added flash() example to sample upload app
1218 * Added high level restful http client module (express/http)
1219 * Changed; RESTful route functions double as HTTP clients. Closes #69
1220 * Changed; throwing error when routes are added at runtime
1221 * Changed; defaulting render() context to the current Request. Closes #197
1222 * Updated haml submodule
1227 * Updated haml / sass submodules. Closes #200
1228 * Added flash message support. Closes #64
1229 * Added accepts() now allows multiple args. fixes #117
1230 * Added support for plugins to halt. Closes #189
1231 * Added alternate layout support. Closes #119
1232 * Removed Route#run(). Closes #188
1233 * Fixed broken specs due to use(Cookie) missing
1238 * Added "plot" format option for Profiler (for gnuplot processing)
1239 * Added request number to Profiler plugin
1240 * Fixed binary encoding for multi-part file uploads, was previously defaulting to UTF8
1241 * Fixed issue with routes not firing when not files are present. Closes #184
1242 * Fixed process.Promise -> events.Promise
1247 * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #180
1248 * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #174
1249 * Added expiration support to cache api with reaper. Closes #133
1250 * Added cache Store.Memory#reap()
1251 * Added Cache; cache api now uses first class Cache instances
1252 * Added abstract session Store. Closes #172
1253 * Changed; cache Memory.Store#get() utilizing Collection
1254 * Renamed MemoryStore -> Store.Memory
1255 * Fixed use() of the same plugin several time will always use latest options. Closes #176
1260 * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context
1261 * Updated node support to 0.1.27 Closes #169
1262 * Updated dirname(__filename) -> __dirname
1263 * Updated libxmljs support to v0.2.0
1264 * Added session support with memory store / reaping
1265 * Added quick uid() helper
1266 * Added multi-part upload support
1267 * Added Sass.js support / submodule
1268 * Added production env caching view contents and static files
1269 * Added static file caching. Closes #136
1270 * Added cache plugin with memory stores
1271 * Added support to StaticFile so that it works with non-textual files.
1272 * Removed dirname() helper
1273 * Removed several globals (now their modules must be required)
1278 * Added view benchmarks; currently haml vs ejs
1279 * Added Request#attachment() specs. Closes #116
1280 * Added use of node's parseQuery() util. Closes #123
1281 * Added `make init` for submodules
1283 * Updated sample chat app to show messages on load
1284 * Updated libxmljs parseString -> parseHtmlString
1285 * Fixed `make init` to work with older versions of git
1286 * Fixed specs can now run independant specs for those who cant build deps. Closes #127
1287 * Fixed issues introduced by the node url module changes. Closes 126.
1288 * Fixed two assertions failing due to Collection#keys() returning strings
1289 * Fixed faulty Collection#toArray() spec due to keys() returning strings
1290 * Fixed `make test` now builds libxmljs.node before testing