Skip to content
Myr

History.md

This file

Path

History.md

1,688 lines · 54.6 KiB · Markdown

Last changed by

fix behavior when handling request without routesDouglas Christopher Wilsonbefore adoptionbdfd288

History of this file

Take it

The walk stopped after 200 commits: lines older than 7c68822 point at it.

Merge tag '3.12.0'Douglas Christopher Wilsonbefore adoption3ffceff

lines 1–4why, one step back
1unreleased
2==========34 * deprecate things with `depd` module

fix behavior when handling request without routesDouglas Christopher Wilsonbefore adoptionbdfd288

line 5why, one step back
5 * fix behavior when handling request without routes

use finalhandler for final response handlingDouglas Christopher Wilsonbefore adoption7e01531

line 6why, one step back
6 * use `finalhandler` for final response handling

Merge tag '3.12.0'Douglas Christopher Wilsonbefore adoption3ffceff

lines 7–8why, one step back
7 * use `media-typer` to alter content-type charset
8

4.4.4Douglas Christopher Wilsonbefore adoptionf498b66

lines 9–10why, one step back
94.4.4 / 2014-06-20
10==================

fix "trim prefix" debug message in express:routerDouglas Christopher Wilsonbefore adoption8258ce1

line 11why, one step back
11

Fix res.attachment Unicode filenames in Safari刘星before adoptione606d99

line 12why, one step back
12 * fix `res.attachment` Unicode filenames in Safari

fix "trim prefix" debug message in express:routerDouglas Christopher Wilsonbefore adoption8258ce1

line 13why, one step back
13 * fix "trim prefix" debug message in `express:router`

deps: accepts@~1.0.5Douglas Christopher Wilsonbefore adoption6aba1b4

line 14why, one step back
14 * deps: accepts@~1.0.5

deps: buffer-crc32@0.2.3Douglas Christopher Wilsonbefore adoptionffe663a

line 15why, one step back
15 * deps: buffer-crc32@0.2.3

fix "trim prefix" debug message in express:routerDouglas Christopher Wilsonbefore adoption8258ce1

line 16why, one step back
16

4.4.3Douglas Christopher Wilsonbefore adoptionac573cf

lines 17–18why, one step back
174.4.3 / 2014-06-11
18==================

deps: debug@1.0.2Douglas Christopher Wilsonbefore adoption7df7f7a

line 19why, one step back
19

Fix persistence of req.params from app.paramsDouglas Christopher Wilsonbefore adoption6775658

line 20why, one step back
20 * fix persistence of modified `req.params[name]` from `app.param()`

deps: accepts@1.0.3Douglas Christopher Wilsonbefore adoption3428543

lines 21–22why, one step back
21 * deps: accepts@1.0.3
22 - deps: negotiator@0.4.6

deps: debug@1.0.2Douglas Christopher Wilsonbefore adoption7df7f7a

line 23why, one step back
23 * deps: debug@1.0.2

deps: send@0.4.3Douglas Christopher Wilsonbefore adoption9cdbc80

lines 24–29why, one step back
24 * deps: send@0.4.3
25 - Do not throw un-catchable error on file open race condition26 - Use `escape-html` for HTML escaping27 - deps: debug@1.0.228 - deps: finished@1.2.229 - deps: fresh@0.2.2

deps: serve-static@1.2.3Douglas Christopher Wilsonbefore adoptionc361a06

lines 30–32why, one step back
30 * deps: serve-static@1.2.3
31 - Do not throw un-catchable error on file open race condition32 - deps: send@0.4.3

deps: debug@1.0.2Douglas Christopher Wilsonbefore adoption7df7f7a

line 33why, one step back
33

4.4.2Douglas Christopher Wilsonbefore adoption7daae19

lines 34–35why, one step back
344.4.2 / 2014-06-09
35==================

deps: proxy-addr@1.0.1Douglas Christopher Wilsonbefore adoptionbffb71d

line 36why, one step back
36

Fix catching errors from top-level handlersDouglas Christopher Wilsonbefore adoption4d3e0d8

line 37why, one step back
37 * fix catching errors from top-level handlers

Merge tag '3.10.3'Douglas Christopher Wilsonbefore adoption9bf1247

line 38why, one step back
38 * use `vary` module for `res.vary`

deps: debug@1.0.1Douglas Christopher Wilsonbefore adoption142462d

line 39why, one step back
39 * deps: debug@1.0.1

deps: proxy-addr@1.0.1Douglas Christopher Wilsonbefore adoptionbffb71d

line 40why, one step back
40 * deps: proxy-addr@1.0.1

deps: send@0.4.2Douglas Christopher Wilsonbefore adoptionb45fd70

lines 41–44why, one step back
41 * deps: send@0.4.2
42 - fix "event emitter leak" warnings43 - deps: debug@1.0.144 - deps: finished@1.2.1

deps: serve-static@1.2.2Douglas Christopher Wilsonbefore adoption7f6c7a1

lines 45–47why, one step back
45 * deps: serve-static@1.2.2
46 - fix "event emitter leak" warnings47 - deps: send@0.4.2

deps: type-is@1.2.1Douglas Christopher Wilsonbefore adoption980a15d

line 48why, one step back
48 * deps: type-is@1.2.1

deps: proxy-addr@1.0.1Douglas Christopher Wilsonbefore adoptionbffb71d

line 49why, one step back
49

4.4.1Douglas Christopher Wilsonbefore adoptionf9ec70e

lines 50–51why, one step back
504.4.1 / 2014-06-02
51==================

deps: methods@1.0.1Douglas Christopher Wilsonbefore adoption16fdc11

lines 52–53why, one step back
52
53 * deps: methods@1.0.1

deps: send@0.4.1Douglas Christopher Wilsonbefore adoption8ccd9d0

lines 54–55why, one step back
54 * deps: send@0.4.1
55 - Send `max-age` in `Cache-Control` in correct format

deps: serve-static@1.2.1Douglas Christopher Wilsonbefore adoption492e933

lines 56–58why, one step back
56 * deps: serve-static@1.2.1
57 - use `escape-html` for escaping58 - deps: send@0.4.1

deps: methods@1.0.1Douglas Christopher Wilsonbefore adoption16fdc11

line 59why, one step back
59

4.4.0Douglas Christopher Wilsonbefore adoption95fa491

lines 60–61why, one step back
604.4.0 / 2014-05-30
61==================

Merge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d

lines 62–69why, one step back
62
63 * custom etag control with `app.set('etag', val)`64 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation65 - `app.set('etag', 'weak')` weak tag66 - `app.set('etag', 'strong')` strong etag67 - `app.set('etag', false)` turn off68 - `app.set('etag', true)` standard etag69 * mark `res.send` ETag as weak and reduce collisions

update accepts to 1.0.2Douglas Christopher Wilsonbefore adoptionf92a7ad

lines 70–71why, one step back
70 * update accepts to 1.0.2
71 - Fix interpretation when header not in request

Merge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d

lines 72–75why, one step back
72 * update send to 0.4.0
73 - Calculate ETag with md5 for reduced collisions74 - Ignore stream errors after request ends75 - deps: debug@0.8.1

update serve-static to 1.2.0Douglas Christopher Wilsonbefore adoptionf665c57

lines 76–79why, one step back
76 * update serve-static to 1.2.0
77 - Calculate ETag with md5 for reduced collisions78 - Ignore stream errors after request ends79 - deps: send@0.4.0

Merge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d

line 80why, one step back
80

4.3.2Douglas Christopher Wilsonbefore adoption311e83e

lines 81–82why, one step back
814.3.2 / 2014-05-28
82==================

fix handling of errors from param callbacksDouglas Christopher Wilsonbefore adoptionfb2d918

lines 83–85why, one step back
83
84 * fix handling of errors from `router.param()` callbacks85

4.3.1Douglas Christopher Wilsonbefore adoption87e02c3

lines 86–87why, one step back
864.3.1 / 2014-05-23
87==================

Revert "fix behavior of multiple app.VERB for the same path"Douglas Christopher Wilsonbefore adoption7f04916

lines 88–91why, one step back
88
89 * revert "fix behavior of multiple `app.VERB` for the same path"90 - this caused a regression in the order of route execution91

4.3.0Douglas Christopher Wilsonbefore adoption4e12a72

lines 92–93why, one step back
924.3.0 / 2014-05-21
93==================

update type-is to 1.2.0Douglas Christopher Wilsonbefore adoption8fe8d74

line 94why, one step back
94

add req.baseUrl to access stripped path in routesDouglas Christopher Wilsonbefore adoption739586f

line 95why, one step back
95 * add `req.baseUrl` to access the path stripped from `req.url` in routes

fix behavior of multiple app.VERB for the same pathDouglas Christopher Wilsonbefore adoption31b2e2d

line 96why, one step back
96 * fix behavior of multiple `app.VERB` for the same path

fix issue routing requests among sub routersDouglas Christopher Wilsonbefore adoptionababa6a

line 97why, one step back
97 * fix issue routing requests among sub routers

invoke router.param() only when necessaryDouglas Christopher Wilsonbefore adoption98d17e2

line 98why, one step back
98 * invoke `router.param()` only when necessary instead of every match

Merge tag '3.7.0'Douglas Christopher Wilsonbefore adoption097cd0c

lines 99–106why, one step back
99 * proper proxy trust with `app.set('trust proxy', trust)`
100 - `app.set('trust proxy', 1)` trust first hop101 - `app.set('trust proxy', 'loopback')` trust loopback addresses102 - `app.set('trust proxy', '10.0.0.1')` trust single IP103 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet104 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list105 - `app.set('trust proxy', false)` turn off106 - `app.set('trust proxy', true)` trust everything

Merge tag '3.8.0'Douglas Christopher Wilsonbefore adoptiondb4a061

line 107why, one step back
107 * set proper `charset` in `Content-Type` for `res.send`

update type-is to 1.2.0Douglas Christopher Wilsonbefore adoption8fe8d74

lines 108–110why, one step back
108 * update type-is to 1.2.0
109 - support suffix matching110

4.2.0Douglas Christopher Wilsonbefore adoptioncf709f3

lines 111–112why, one step back
1114.2.0 / 2014-05-11
112==================

update historyDouglas Christopher Wilsonbefore adoption165578a

line 113why, one step back
113

Merge tag '3.6.0'Douglas Christopher Wilsonbefore adoption35c5060

lines 114–118why, one step back
114 * deprecate `app.del()` -- use `app.delete()` instead
115 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead116 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`117 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead118 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`

Fix req.next when inside router instanceDouglas Christopher Wilsonbefore adoptionbc9bcb0

line 119why, one step back
119 * fix `req.next` when inside router instance

update historyDouglas Christopher Wilsonbefore adoption165578a

lines 120–121why, one step back
120 * include `ETag` header in `HEAD` requests
121 * keep previous `Content-Type` for `res.jsonp`

Merge tag '3.6.0'Douglas Christopher Wilsonbefore adoption35c5060

lines 122–130why, one step back
122 * support PURGE method
123 - add `app.purge`124 - add `router.purge`125 - include PURGE in `app.all`126 * update debug to 0.8.0127 - add `enable()` method128 - change from stderr to stdout129 * update methods to 1.0.0130 - add PURGE

update historyDouglas Christopher Wilsonbefore adoption165578a

line 131why, one step back
131

Merge branch '4.1.x'Douglas Christopher Wilsonbefore adoption0bbbc84

lines 132–137why, one step back
1324.1.2 / 2014-05-08
133==================134135 * fix `req.host` for IPv6 literals136 * fix `res.jsonp` error if callback param is object137

4.1.1Douglas Christopher Wilsonbefore adoption61f2929

lines 138–142why, one step back
1384.1.1 / 2014-04-27
139==================140141 * fix package.json to reflect supported node version142

4.1.0Douglas Christopher Wilsonbefore adoptiondbea831

lines 143–149why, one step back
1434.1.0 / 2014-04-24
144==================145146 * pass options from `res.sendfile` to `send`147 * preserve casing of headers in `res.header` and `res.set`148 * support unicode file names in `res.attachment` and `res.download`149 * update accepts to 1.0.1

update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3

line 150why, one step back
150 - deps: negotiator@0.4.0

4.1.0Douglas Christopher Wilsonbefore adoptiondbea831

line 151why, one step back
151 * update cookie to 0.1.2

update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3

lines 152–153why, one step back
152 - Fix for maxAge == 0
153 - made compat with expires field

4.1.0Douglas Christopher Wilsonbefore adoptiondbea831

line 154why, one step back
154 * update send to 0.3.0

update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3

lines 155–166why, one step back
155 - Accept API options in options object
156 - Coerce option types157 - Control whether to generate etags158 - Default directory access to 403 when index disabled159 - Fix sending files with dots without root set160 - Include file path in etag161 - Make "Can't set headers after they are sent." catchable162 - Send full entity-body for multi range requests163 - Set etags to "weak"164 - Support "If-Range" header165 - Support multiple index paths166 - deps: mime@1.2.11

4.1.0Douglas Christopher Wilsonbefore adoptiondbea831

line 167why, one step back
167 * update serve-static to 1.1.0

update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3

lines 168–171why, one step back
168 - Accept options directly to `send` module
169 - Resolve relative paths at middleware setup170 - Use parseurl to parse the URL from request171 - deps: send@0.3.0

4.1.0Douglas Christopher Wilsonbefore adoptiondbea831

line 172why, one step back
172 * update type-is to 1.1.0

update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3

lines 173–174why, one step back
173 - add non-array values support
174 - add `multipart` as a shorthand

4.1.0Douglas Christopher Wilsonbefore adoptiondbea831

line 175why, one step back
175

update historyDouglas Christopher Wilsonbefore adoption0dbaacf

line 176why, one step back
1764.0.0 / 2014-04-09

remove binaryJonathan Ongbefore adoption476f8de

lines 177–178why, one step back
177==================
178

improve history.mdJonathan Ongbefore adoption26c0be4

line 179why, one step back
179 * remove:

Update History.mdJonathan Ongbefore adoptionb0351a0

lines 180–181why, one step back
180 - node 0.8 support
181 - connect and connect's patches except for charset handling

improve history.mdJonathan Ongbefore adoption26c0be4

line 182why, one step back
182 - express(1) - moved to [express-generator](https://github.com/expressjs/generator)

remove deprecated express.createServer() methodRoman Shtylmanbefore adoptionf56a5f0

line 183why, one step back
183 - `express.createServer()` - it has been deprecated for a long time. Use `express()`

update historyJonathan Ongbefore adoption25e6629

line 184why, one step back
184 - `app.configure` - use logic in your own app code

remove app.router and refactor middleware processingRoman Shtylmanbefore adoptionf41d09a

line 185why, one step back
185 - `app.router` - is removed

remove req.authJonathan Ongbefore adoption68996d7

line 186why, one step back
186 - `req.auth` - use `basic-auth` instead

update historyJonathan Ongbefore adoption25e6629

lines 187–188why, one step back
187 - `req.accepted*` - use `req.accepts*()` instead
188 - `res.location` - relative URL resolution is removed

remove res.charset supportJonathan Ongbefore adoption3228fd3

line 189why, one step back
189 - `res.charset` - include the charset in the content type when using `res.set()`

remove last pieces of connect dependencyRoman Shtylmanbefore adoption1396e08

line 190why, one step back
190 - all bundled middleware except `static`

improve history.mdJonathan Ongbefore adoption26c0be4

line 191why, one step back
191 * change:

update historyJonathan Ongbefore adoption25e6629

lines 192–193why, one step back
192 - `app.route` -> `app.mountpath` when mounting an express app in another express app
193 - `json spaces` no longer enabled by default in development

improve history.mdJonathan Ongbefore adoption26c0be4

line 194why, one step back
194 - `req.accepts*` -> `req.accepts*s` - i.e. `req.acceptsEncoding` -> `req.acceptsEncodings`

history: req.paramsJonathan Ongbefore adoption7018d3d

line 195why, one step back
195 - `req.params` is now an object instead of an array

Merge pull request #1908 from visionmedia/locals-objectRoman Shtylmanbefore adoption991c2a9

line 196why, one step back
196 - `res.locals` is no longer a function. It is a plain js object. Treat it as such.

remove ServerResonse.headerSent monkey patchRoman Shtylmanbefore adoption6835289

line 197why, one step back
197 - `res.headerSent` -> `res.headersSent` to match node.js ServerResponse object

improve history.mdJonathan Ongbefore adoption26c0be4

line 198why, one step back
198 * refactor:

refactor req.is and req.accepts*Jonathan Ongbefore adoptioncec0c06

lines 199–200why, one step back
199 - `req.accepts*` with [accepts](https://github.com/expressjs/accepts)
200 - `req.is` with [type-is](https://github.com/expressjs/type-is)

update History.md with 3.x branchJonathan Ongbefore adoptionb443da4

line 201why, one step back
201 - [path-to-regexp](https://github.com/component/path-to-regexp)

remove app.router and refactor middleware processingRoman Shtylmanbefore adoptionf41d09a

lines 202–205why, one step back
202 * add:
203 - `app.router()` - returns the app Router instance204 - `app.route()` - Proxy to the app's `Router#route()` method to create a new route205 - Router & Route - public API

Merge tag '3.12.0'Douglas Christopher Wilsonbefore adoption3ffceff

lines 206–240why, one step back
206
2073.12.0 / 2014-06-21208===================209210 * use `media-typer` to alter content-type charset211 * deps: connect@2.21.0212 - deprecate `connect(middleware)` -- use `app.use(middleware)` instead213 - deprecate `connect.createServer()` -- use `connect()` instead214 - fix `res.setHeader()` patch to work with with get -> append -> set pattern215 - deps: compression@~1.0.8216 - deps: errorhandler@~1.1.1217 - deps: express-session@~1.5.0218 - deps: serve-index@~1.1.32192203.11.0 / 2014-06-19221===================222223 * deprecate things with `depd` module224 * deps: buffer-crc32@0.2.3225 * deps: connect@2.20.2226 - deprecate `verify` option to `json` -- use `body-parser` module directly227 - deprecate `verify` option to `urlencoded` -- use `body-parser` module directly228 - deprecate things with `depd` module229 - use `finalhandler` for final response handling230 - use `media-typer` to parse `content-type` for charset231 - deps: body-parser@1.4.3232 - deps: connect-timeout@1.1.1233 - deps: cookie-parser@1.3.1234 - deps: csurf@1.2.2235 - deps: errorhandler@1.1.0236 - deps: express-session@1.4.0237 - deps: multiparty@3.2.9238 - deps: serve-index@1.1.2239 - deps: type-is@1.3.1240 - deps: vhost@2.0.0

Merge tag '3.10.3'Douglas Christopher Wilsonbefore adoption9bf1247

line 241why, one step back
241

Merge tag '3.10.5'Douglas Christopher Wilsonbefore adoptione799c0f

lines 242–258why, one step back
2423.10.5 / 2014-06-11
243===================244245 * deps: connect@2.19.6246 - deps: body-parser@1.3.1247 - deps: compression@1.0.7248 - deps: debug@1.0.2249 - deps: serve-index@1.1.1250 - deps: serve-static@1.2.3251 * deps: debug@1.0.2252 * deps: send@0.4.3253 - Do not throw un-catchable error on file open race condition254 - Use `escape-html` for HTML escaping255 - deps: debug@1.0.2256 - deps: finished@1.2.2257 - deps: fresh@0.2.2258

Merge tag '3.10.4'Douglas Christopher Wilsonbefore adoption898dcfa

lines 259–273why, one step back
2593.10.4 / 2014-06-09
260===================261262 * deps: connect@2.19.5263 - fix "event emitter leak" warnings264 - deps: csurf@1.2.1265 - deps: debug@1.0.1266 - deps: serve-static@1.2.2267 - deps: type-is@1.2.1268 * deps: debug@1.0.1269 * deps: send@0.4.2270 - fix "event emitter leak" warnings271 - deps: finished@1.2.1272 - deps: debug@1.0.1273

Merge tag '3.10.3'Douglas Christopher Wilsonbefore adoption9bf1247

lines 274–295why, one step back
2743.10.3 / 2014-06-05
275===================276277 * use `vary` module for `res.vary`278 * deps: connect@2.19.4279 - deps: errorhandler@1.0.2280 - deps: method-override@2.0.2281 - deps: serve-favicon@2.0.1282 * deps: debug@1.0.02832843.10.2 / 2014-06-03285===================286287 * deps: connect@2.19.3288 - deps: compression@1.0.62892903.10.1 / 2014-06-03291===================292293 * deps: connect@2.19.2294 - deps: compression@1.0.4295 * deps: proxy-addr@1.0.1

Merge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d

line 296why, one step back
296

Merge tag '3.10.0'Douglas Christopher Wilsonbefore adoption402ec83

lines 297–310why, one step back
2973.10.0 / 2014-06-02
298===================299300 * deps: connect@2.19.1301 - deprecate `methodOverride()` -- use `method-override` module directly302 - deps: body-parser@1.3.0303 - deps: method-override@2.0.1304 - deps: multiparty@3.2.8305 - deps: response-time@2.0.0306 - deps: serve-static@1.2.1307 * deps: methods@1.0.1308 * deps: send@0.4.1309 - Send `max-age` in `Cache-Control` in correct format310

Merge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d

lines 311–329why, one step back
3113.9.0 / 2014-05-30
312==================313314 * custom etag control with `app.set('etag', val)`315 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation316 - `app.set('etag', 'weak')` weak tag317 - `app.set('etag', 'strong')` strong etag318 - `app.set('etag', false)` turn off319 - `app.set('etag', true)` standard etag320 * Include ETag in HEAD requests321 * mark `res.send` ETag as weak and reduce collisions322 * update connect to 2.18.0323 - deps: compression@1.0.3324 - deps: serve-index@1.1.0325 - deps: serve-static@1.2.0326 * update send to 0.4.0327 - Calculate ETag with md5 for reduced collisions328 - Ignore stream errors after request ends329 - deps: debug@0.8.1

Merge tag '3.8.0'Douglas Christopher Wilsonbefore adoptiondb4a061

line 330why, one step back
330

Merge tag '3.8.1'Douglas Christopher Wilsonbefore adoption3fbab91

lines 331–338why, one step back
3313.8.1 / 2014-05-27
332==================333334 * update connect to 2.17.3335 - deps: body-parser@1.2.2336 - deps: express-session@1.2.1337 - deps: method-override@1.0.2338

Merge tag '3.8.0'Douglas Christopher Wilsonbefore adoptiondb4a061

lines 339–348why, one step back
3393.8.0 / 2014-05-21
340==================341342 * keep previous `Content-Type` for `res.jsonp`343 * set proper `charset` in `Content-Type` for `res.send`344 * update connect to 2.17.1345 - fix `res.charset` appending charset when `content-type` has one346 - deps: express-session@1.2.0347 - deps: morgan@1.1.1348 - deps: serve-index@1.0.3

Merge tag '3.7.0'Douglas Christopher Wilsonbefore adoption097cd0c

lines 349–371why, one step back
349
3503.7.0 / 2014-05-18351==================352353 * proper proxy trust with `app.set('trust proxy', trust)`354 - `app.set('trust proxy', 1)` trust first hop355 - `app.set('trust proxy', 'loopback')` trust loopback addresses356 - `app.set('trust proxy', '10.0.0.1')` trust single IP357 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet358 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list359 - `app.set('trust proxy', false)` turn off360 - `app.set('trust proxy', true)` trust everything361 * update connect to 2.16.2362 - deprecate `res.headerSent` -- use `res.headersSent`363 - deprecate `res.on("header")` -- use on-headers module instead364 - fix edge-case in `res.appendHeader` that would append in wrong order365 - json: use body-parser366 - urlencoded: use body-parser367 - dep: bytes@1.0.0368 - dep: cookie-parser@1.1.0369 - dep: csurf@1.2.0370 - dep: express-session@1.1.0371 - dep: method-override@1.0.1

Merge tag '3.6.0'Douglas Christopher Wilsonbefore adoption35c5060

lines 372–404why, one step back
372
3733.6.0 / 2014-05-09374==================375376 * deprecate `app.del()` -- use `app.delete()` instead377 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead378 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`379 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead380 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`381 * support PURGE method382 - add `app.purge`383 - add `router.purge`384 - include PURGE in `app.all`385 * update connect to 2.15.0386 * Add `res.appendHeader`387 * Call error stack even when response has been sent388 * Patch `res.headerSent` to return Boolean389 * Patch `res.headersSent` for node.js 0.8390 * Prevent default 404 handler after response sent391 * dep: compression@1.0.2392 * dep: connect-timeout@1.1.0393 * dep: debug@^0.8.0394 * dep: errorhandler@1.0.1395 * dep: express-session@1.0.4396 * dep: morgan@1.0.1397 * dep: serve-favicon@2.0.0398 * dep: serve-index@1.0.2399 * update debug to 0.8.0400 * add `enable()` method401 * change from stderr to stdout402 * update methods to 1.0.0403 - add PURGE404 * update mkdirp to 0.5.0

Merge branch '4.1.x'Douglas Christopher Wilsonbefore adoption0bbbc84

lines 405–410why, one step back
405
4063.5.3 / 2014-05-08407==================408409 * fix `req.host` for IPv6 literals410 * fix `res.jsonp` error if callback param is object

update History.md with 3.x branchJonathan Ongbefore adoptionb443da4

line 411why, one step back
411

Merge branch '3.x'Douglas Christopher Wilsonbefore adoption8ccceac

lines 412–424why, one step back
4123.5.2 / 2014-04-24
413==================414415 * update connect to 2.14.5416 * update cookie to 0.1.2417 * update mkdirp to 0.4.0418 * update send to 0.3.04194203.5.1 / 2014-03-25421==================422423 * pin less-middleware in generated app424

update History.md with 3.x branchJonathan Ongbefore adoptionb443da4

lines 425–435why, one step back
4253.5.0 / 2014-03-06
426==================427428 * bump deps4294303.4.8 / 2014-01-13431==================432433 * prevent incorrect automatic OPTIONS responses #1868 @dpatti434 * update binary and examples for jade 1.0 #1876 @yossi, #1877 @reqshark, #1892 @matheusazzi435 * throw 400 in case of malformed paths @rlidwka

remove binaryJonathan Ongbefore adoption476f8de

line 436why, one step back
436

3.4.7Jonathan Ongbefore adoption34c83d7

lines 437–441why, one step back
4373.4.7 / 2013-12-10
438==================439440 * update connect441

bump connect, mocha, and shouldJonathan Ongbefore adoption7c68822

lines 442–1688why, one step back
4423.4.6 / 2013-12-01
443==================444445 * update connect (raw-body)4464473.4.5 / 2013-11-27448==================449450 * update connect451 * res.location: remove leading ./ #1802 @kapouer452 * res.redirect: fix `res.redirect('toString') #1829 @michaelficarra453 * res.send: always send ETag when content-length > 0454 * router: add Router.all() method4554563.4.4 / 2013-10-29457==================458459 * update connect460 * update supertest461 * update methods462 * express(1): replace bodyParser() with urlencoded() and json() #1795 @chirag044634643.4.3 / 2013-10-23465==================466467 * update connect4684693.4.2 / 2013-10-18470==================471472 * update connect473 * downgrade commander4744753.4.1 / 2013-10-15476==================477478 * update connect479 * update commander480 * jsonp: check if callback is a function481 * router: wrap encodeURIComponent in a try/catch #1735 (@lxe)482 * res.format: now includes chraset @1747 (@sorribas)483 * res.links: allow multiple calls @1746 (@sorribas)4844853.4.0 / 2013-09-07486==================487488 * add res.vary(). Closes #1682489 * update connect4904913.3.8 / 2013-09-02492==================493494 * update connect4954963.3.7 / 2013-08-28497==================498499 * update connect5005013.3.6 / 2013-08-27502==================503504 * Revert "remove charset from json responses. Closes #1631" (causes issues in some clients)505 * add: req.accepts take an argument list5065073.3.4 / 2013-07-08508==================509510 * update send and connect5115123.3.3 / 2013-07-04513==================514515 * update connect5165173.3.2 / 2013-07-03518==================519520 * update connect521 * update send522 * remove .version export5235243.3.1 / 2013-06-27525==================526527 * update connect5285293.3.0 / 2013-06-26530==================531532 * update connect533 * add support for multiple X-Forwarded-Proto values. Closes #1646534 * change: remove charset from json responses. Closes #1631535 * change: return actual booleans from req.accept* functions536 * fix jsonp callback array throw5375383.2.6 / 2013-06-02539==================540541 * update connect5425433.2.5 / 2013-05-21544==================545546 * update connect547 * update node-cookie548 * add: throw a meaningful error when there is no default engine549 * change generation of ETags with res.send() to GET requests only. Closes #16195505513.2.4 / 2013-05-09552==================553554 * fix `req.subdomains` when no Host is present555 * fix `req.host` when no Host is present, return undefined5565573.2.3 / 2013-05-07558==================559560 * update connect / qs5615623.2.2 / 2013-05-03563==================564565 * update qs5665673.2.1 / 2013-04-29568==================569570 * add app.VERB() paths array deprecation warning571 * update connect572 * update qs and remove all ~ semver crap573 * fix: accept number as value of Signed Cookie5745753.2.0 / 2013-04-15576==================577578 * add "view" constructor setting to override view behaviour579 * add req.acceptsEncoding(name)580 * add req.acceptedEncodings581 * revert cookie signature change causing session race conditions582 * fix sorting of Accept values of the same quality5835843.1.2 / 2013-04-12585==================586587 * add support for custom Accept parameters588 * update cookie-signature5895903.1.1 / 2013-04-01591==================592593 * add X-Forwarded-Host support to `req.host`594 * fix relative redirects595 * update mkdirp596 * update buffer-crc32597 * remove legacy app.configure() method from app template.5985993.1.0 / 2013-01-25600==================601602 * add support for leading "." in "view engine" setting603 * add array support to `res.set()`604 * add node 0.8.x to travis.yml605 * add "subdomain offset" setting for tweaking `req.subdomains`606 * add `res.location(url)` implementing `res.redirect()`-like setting of Location607 * use app.get() for x-powered-by setting for inheritance608 * fix colons in passwords for `req.auth`6096103.0.6 / 2013-01-04611==================612613 * add http verb methods to Router614 * update connect615 * fix mangling of the `res.cookie()` options object616 * fix jsonp whitespace escape. Closes #11326176183.0.5 / 2012-12-19619==================620621 * add throwing when a non-function is passed to a route622 * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses623 * revert "add 'etag' option"6246253.0.4 / 2012-12-05626==================627628 * add 'etag' option to disable `res.send()` Etags629 * add escaping of urls in text/plain in `res.redirect()`630 for old browsers interpreting as html631 * change crc32 module for a more liberal license632 * update connect6336343.0.3 / 2012-11-13635==================636637 * update connect638 * update cookie module639 * fix cookie max-age6406413.0.2 / 2012-11-08642==================643644 * add OPTIONS to cors example. Closes #1398645 * fix route chaining regression. Closes #13976466473.0.1 / 2012-11-01648==================649650 * update connect6516523.0.0 / 2012-10-23653==================654655 * add `make clean`656 * add "Basic" check to req.auth657 * add `req.auth` test coverage658 * add cb && cb(payload) to `res.jsonp()`. Closes #1374659 * add backwards compat for `res.redirect()` status. Closes #1336660 * add support for `res.json()` to retain previously defined Content-Types. Closes #1349661 * update connect662 * change `res.redirect()` to utilize a pathname-relative Location again. Closes #1382663 * remove non-primitive string support for `res.send()`664 * fix view-locals example. Closes #1370665 * fix route-separation example6666673.0.0rc5 / 2012-09-18668==================669670 * update connect671 * add redis search example672 * add static-files example673 * add "x-powered-by" setting (`app.disable('x-powered-by')`)674 * add "application/octet-stream" redirect Accept test case. Closes #13176756763.0.0rc4 / 2012-08-30677==================678679 * add `res.jsonp()`. Closes #1307680 * add "verbose errors" option to error-pages example681 * add another route example to express(1) so people are not so confused682 * add redis online user activity tracking example683 * update connect dep684 * fix etag quoting. Closes #1310685 * fix error-pages 404 status686 * fix jsonp callback char restrictions687 * remove old OPTIONS default response6886893.0.0rc3 / 2012-08-13690==================691692 * update connect dep693 * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds]694 * fix `res.render()` clobbering of "locals"6956963.0.0rc2 / 2012-08-03697==================698699 * add CORS example700 * update connect dep701 * deprecate `.createServer()` & remove old stale examples702 * fix: escape `res.redirect()` link703 * fix vhost example7047053.0.0rc1 / 2012-07-24706==================707708 * add more examples to view-locals709 * add scheme-relative redirects (`res.redirect("//foo.com")`) support710 * update cookie dep711 * update connect dep712 * update send dep713 * fix `express(1)` -h flag, use -H for hogan. Closes #1245714 * fix `res.sendfile()` socket error handling regression7157163.0.0beta7 / 2012-07-16717==================718719 * update connect dep for `send()` root normalization regression7207213.0.0beta6 / 2012-07-13722==================723724 * add `err.view` property for view errors. Closes #1226725 * add "jsonp callback name" setting726 * add support for "/foo/:bar*" non-greedy matches727 * change `res.sendfile()` to use `send()` module728 * change `res.send` to use "response-send" module729 * remove `app.locals.use` and `res.locals.use`, use regular middleware7307313.0.0beta5 / 2012-07-03732==================733734 * add "make check" support735 * add route-map example736 * add `res.json(obj, status)` support back for BC737 * add "methods" dep, remove internal methods module738 * update connect dep739 * update auth example to utilize cores pbkdf2740 * updated tests to use "supertest"7417423.0.0beta4 / 2012-06-25743==================744745 * Added `req.auth`746 * Added `req.range(size)`747 * Added `res.links(obj)`748 * Added `res.send(body, status)` support back for backwards compat749 * Added `.default()` support to `res.format()`750 * Added 2xx / 304 check to `req.fresh`751 * Revert "Added + support to the router"752 * Fixed `res.send()` freshness check, respect res.statusCode7537543.0.0beta3 / 2012-06-15755==================756757 * Added hogan `--hjs` to express(1) [nullfirm]758 * Added another example to content-negotiation759 * Added `fresh` dep760 * Changed: `res.send()` always checks freshness761 * Fixed: expose connects mime module. Cloases #11657627633.0.0beta2 / 2012-06-06764==================765766 * Added `+` support to the router767 * Added `req.host`768 * Changed `req.param()` to check route first769 * Update connect dep7707713.0.0beta1 / 2012-06-01772==================773774 * Added `res.format()` callback to override default 406 behaviour775 * Fixed `res.redirect()` 406. Closes #11547767773.0.0alpha5 / 2012-05-30778==================779780 * Added `req.ip`781 * Added `{ signed: true }` option to `res.cookie()`782 * Removed `res.signedCookie()`783 * Changed: dont reverse `req.ips`784 * Fixed "trust proxy" setting check for `req.ips`7857863.0.0alpha4 / 2012-05-09787==================788789 * Added: allow `[]` in jsonp callback. Closes #1128790 * Added `PORT` env var support in generated template. Closes #1118 [benatkin]791 * Updated: connect 2.2.27927933.0.0alpha3 / 2012-05-04794==================795796 * Added public `app.routes`. Closes #887797 * Added _view-locals_ example798 * Added _mvc_ example799 * Added `res.locals.use()`. Closes #1120800 * Added conditional-GET support to `res.send()`801 * Added: coerce `res.set()` values to strings802 * Changed: moved `static()` in generated apps below router803 * Changed: `res.send()` only set ETag when not previously set804 * Changed connect 2.2.1 dep805 * Changed: `make test` now runs unit / acceptance tests806 * Fixed req/res proto inheritance8078083.0.0alpha2 / 2012-04-26809==================810811 * Added `make benchmark` back812 * Added `res.send()` support for `String` objects813 * Added client-side data exposing example814 * Added `res.header()` and `req.header()` aliases for BC815 * Added `express.createServer()` for BC816 * Perf: memoize parsed urls817 * Perf: connect 2.2.0 dep818 * Changed: make `expressInit()` middleware self-aware819 * Fixed: use app.get() for all core settings820 * Fixed redis session example821 * Fixed session example. Closes #1105822 * Fixed generated express dep. Closes #10788238243.0.0alpha1 / 2012-04-15825==================826827 * Added `app.locals.use(callback)`828 * Added `app.locals` object829 * Added `app.locals(obj)`830 * Added `res.locals` object831 * Added `res.locals(obj)`832 * Added `res.format()` for content-negotiation833 * Added `app.engine()`834 * Added `res.cookie()` JSON cookie support835 * Added "trust proxy" setting836 * Added `req.subdomains`837 * Added `req.protocol`838 * Added `req.secure`839 * Added `req.path`840 * Added `req.ips`841 * Added `req.fresh`842 * Added `req.stale`843 * Added comma-delmited / array support for `req.accepts()`844 * Added debug instrumentation845 * Added `res.set(obj)`846 * Added `res.set(field, value)`847 * Added `res.get(field)`848 * Added `app.get(setting)`. Closes #842849 * Added `req.acceptsLanguage()`850 * Added `req.acceptsCharset()`851 * Added `req.accepted`852 * Added `req.acceptedLanguages`853 * Added `req.acceptedCharsets`854 * Added "json replacer" setting855 * Added "json spaces" setting856 * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92857 * Added `--less` support to express(1)858 * Added `express.response` prototype859 * Added `express.request` prototype860 * Added `express.application` prototype861 * Added `app.path()`862 * Added `app.render()`863 * Added `res.type()` to replace `res.contentType()`864 * Changed: `res.redirect()` to add relative support865 * Changed: enable "jsonp callback" by default866 * Changed: renamed "case sensitive routes" to "case sensitive routing"867 * Rewrite of all tests with mocha868 * Removed "root" setting869 * Removed `res.redirect('home')` support870 * Removed `req.notify()`871 * Removed `app.register()`872 * Removed `app.redirect()`873 * Removed `app.is()`874 * Removed `app.helpers()`875 * Removed `app.dynamicHelpers()`876 * Fixed `res.sendfile()` with non-GET. Closes #723877 * Fixed express(1) public dir for windows. Closes #8668788792.5.9/ 2012-04-02880==================881882 * Added support for PURGE request method [pbuyle]883 * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]8848852.5.8 / 2012-02-08886==================887888 * Update mkdirp dep. Closes #9918898902.5.7 / 2012-02-06891==================892893 * Fixed `app.all` duplicate DELETE requests [mscdex]8948952.5.6 / 2012-01-13896==================897898 * Updated hamljs dev dep. Closes #9538999002.5.5 / 2012-01-08901==================902903 * Fixed: set `filename` on cached templates [matthewleon]9049052.5.4 / 2012-01-02906==================907908 * Fixed `express(1)` eol on 0.4.x. Closes #9479099102.5.3 / 2011-12-30911==================912913 * Fixed `req.is()` when a charset is present9149152.5.2 / 2011-12-10916==================917918 * Fixed: express(1) LF -> CRLF for windows9199202.5.1 / 2011-11-17921==================922923 * Changed: updated connect to 1.8.x924 * Removed sass.js support from express(1)9259262.5.0 / 2011-10-24927==================928929 * Added ./routes dir for generated app by default930 * Added npm install reminder to express(1) app gen931 * Added 0.5.x support932 * Removed `make test-cov` since it wont work with node 0.5.x933 * Fixed express(1) public dir for windows. Closes #8669349352.4.7 / 2011-10-05936==================937938 * Added mkdirp to express(1). Closes #795939 * Added simple _json-config_ example940 * Added shorthand for the parsed request's pathname via `req.path`941 * Changed connect dep to 1.7.x to fix npm issue...942 * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]943 * Fixed `req.flash()`, only escape args944 * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]9459462.4.6 / 2011-08-22947==================948949 * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]9509512.4.5 / 2011-08-19952==================953954 * Added support for routes to handle errors. Closes #809955 * Added `app.routes.all()`. Closes #803956 * Added "basepath" setting to work in conjunction with reverse proxies etc.957 * Refactored `Route` to use a single array of callbacks958 * Added support for multiple callbacks for `app.param()`. Closes #801959Closes #805960 * Changed: removed .call(self) for route callbacks961 * Dependency: `qs >= 0.3.1`962 * Fixed `res.redirect()` on windows due to `join()` usage. Closes #8089639642.4.4 / 2011-08-05965==================966967 * Fixed `res.header()` intention of a set, even when `undefined`968 * Fixed `*`, value no longer required969 * Fixed `res.send(204)` support. Closes #7719709712.4.3 / 2011-07-14972==================973974 * Added docs for `status` option special-case. Closes #739975 * Fixed `options.filename`, exposing the view path to template engines9769772.4.2. / 2011-07-06978==================979980 * Revert "removed jsonp stripping" for XSS9819822.4.1 / 2011-07-06983==================984985 * Added `res.json()` JSONP support. Closes #737986 * Added _extending-templates_ example. Closes #730987 * Added "strict routing" setting for trailing slashes988 * Added support for multiple envs in `app.configure()` calls. Closes #735989 * Changed: `res.send()` using `res.json()`990 * Changed: when cookie `path === null` don't default it991 * Changed; default cookie path to "home" setting. Closes #731992 * Removed _pids/logs_ creation from express(1)9939942.4.0 / 2011-06-28995==================996997 * Added chainable `res.status(code)`998 * Added `res.json()`, an explicit version of `res.send(obj)`999 * Added simple web-service example100010012.3.12 / 2011-06-221002==================10031004 * \#express is now on freenode! come join!1005 * Added `req.get(field, param)`1006 * Added links to Japanese documentation, thanks @hideyukisaito!1007 * Added; the `express(1)` generated app outputs the env1008 * Added `content-negotiation` example1009 * Dependency: connect >= 1.5.1 < 2.0.01010 * Fixed view layout bug. Closes #7201011 * Fixed; ignore body on 304. Closes #701101210132.3.11 / 2011-06-041014==================10151016 * Added `npm test`1017 * Removed generation of dummy test file from `express(1)`1018 * Fixed; `express(1)` adds express as a dep1019 * Fixed; prune on `prepublish`102010212.3.10 / 2011-05-271022==================10231024 * Added `req.route`, exposing the current route1025 * Added _package.json_ generation support to `express(1)`1026 * Fixed call to `app.param()` function for optional params. Closes #682102710282.3.9 / 2011-05-251029==================10301031 * Fixed bug-ish with `../' in `res.partial()` calls103210332.3.8 / 2011-05-241034==================10351036 * Fixed `app.options()`103710382.3.7 / 2011-05-231039==================10401041 * Added route `Collection`, ex: `app.get('/user/:id').remove();`1042 * Added support for `app.param(fn)` to define param logic1043 * Removed `app.param()` support for callback with return value1044 * Removed module.parent check from express(1) generated app. Closes #6701045 * Refactored router. Closes #639104610472.3.6 / 2011-05-201048==================10491050 * Changed; using devDependencies instead of git submodules1051 * Fixed redis session example1052 * Fixed markdown example1053 * Fixed view caching, should not be enabled in development105410552.3.5 / 2011-05-201056==================10571058 * Added export `.view` as alias for `.View`105910602.3.4 / 2011-05-081061==================10621063 * Added `./examples/say`1064 * Fixed `res.sendfile()` bug preventing the transfer of files with spaces106510662.3.3 / 2011-05-031067==================10681069 * Added "case sensitive routes" option.1070 * Changed; split methods supported per rfc [slaskis]1071 * Fixed route-specific middleware when using the same callback function several times107210732.3.2 / 2011-04-271074==================10751076 * Fixed view hints107710782.3.1 / 2011-04-261079==================10801081 * Added `app.match()` as `app.match.all()`1082 * Added `app.lookup()` as `app.lookup.all()`1083 * Added `app.remove()` for `app.remove.all()`1084 * Added `app.remove.VERB()`1085 * Fixed template caching collision issue. Closes #6441086 * Moved router over from connect and started refactor108710882.3.0 / 2011-04-251089==================10901091 * Added options support to `res.clearCookie()`1092 * Added `res.helpers()` as alias of `res.locals()`1093 * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0`1094 * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]1095 * Renamed "cache views" to "view cache". Closes #6281096 * Fixed caching of views when using several apps. Closes #6371097 * Fixed gotcha invoking `app.param()` callbacks once per route middleware.1098Closes #6381099 * Fixed partial lookup precedence. Closes #6311100Shaw]110111022.2.2 / 2011-04-121103==================11041105 * Added second callback support for `res.download()` connection errors1106 * Fixed `filename` option passing to template engine110711082.2.1 / 2011-04-041109==================11101111 * Added `layout(path)` helper to change the layout within a view. Closes #6101112 * Fixed `partial()` collection object support.1113 Previously only anything with `.length` would work.1114 When `.length` is present one must still be aware of holes,1115 however now `{ collection: {foo: 'bar'}}` is valid, exposes1116 `keyInCollection` and `keysInCollection`.11171118 * Performance improved with better view caching1119 * Removed `request` and `response` locals1120 * Changed; errorHandler page title is now `Express` instead of `Connect`112111222.2.0 / 2011-03-301123==================11241125 * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #6061126 * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #6061127 * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.1128 * Dependency `connect >= 1.2.0`112911302.1.1 / 2011-03-291131==================11321133 * Added; expose `err.view` object when failing to locate a view1134 * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]1135 * Fixed; `res.send(undefined)` responds with 204 [aheckmann]113611372.1.0 / 2011-03-241138==================11391140 * Added `<root>/_?<name>` partial lookup support. Closes #4471141 * Added `request`, `response`, and `app` local variables1142 * Added `settings` local variable, containing the app's settings1143 * Added `req.flash()` exception if `req.session` is not available1144 * Added `res.send(bool)` support (json response)1145 * Fixed stylus example for latest version1146 * Fixed; wrap try/catch around `res.render()`114711482.0.0 / 2011-03-171149==================11501151 * Fixed up index view path alternative.1152 * Changed; `res.locals()` without object returns the locals115311542.0.0rc3 / 2011-03-171155==================11561157 * Added `res.locals(obj)` to compliment `res.local(key, val)`1158 * Added `res.partial()` callback support1159 * Fixed recursive error reporting issue in `res.render()`116011612.0.0rc2 / 2011-03-171162==================11631164 * Changed; `partial()` "locals" are now optional1165 * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]1166 * Fixed .filename view engine option [reported by drudge]1167 * Fixed blog example1168 * Fixed `{req,res}.app` reference when mounting [Ben Weaver]116911702.0.0rc / 2011-03-141171==================11721173 * Fixed; expose `HTTPSServer` constructor1174 * Fixed express(1) default test charset. Closes #579 [reported by secoif]1175 * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]117611772.0.0beta3 / 2011-03-091178==================11791180 * Added support for `res.contentType()` literal1181 The original `res.contentType('.json')`,1182 `res.contentType('application/json')`, and `res.contentType('json')`1183 will work now.1184 * Added `res.render()` status option support back1185 * Added charset option for `res.render()`1186 * Added `.charset` support (via connect 1.0.4)1187 * Added view resolution hints when in development and a lookup fails1188 * Added layout lookup support relative to the page view.1189 For example while rendering `./views/user/index.jade` if you create1190 `./views/user/layout.jade` it will be used in favour of the root layout.1191 * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]1192 * Fixed; default `res.send()` string charset to utf81193 * Removed `Partial` constructor (not currently used)119411952.0.0beta2 / 2011-03-071196==================11971198 * Added res.render() `.locals` support back to aid in migration process1199 * Fixed flash example120012012.0.0beta / 2011-03-031202==================12031204 * Added HTTPS support1205 * Added `res.cookie()` maxAge support1206 * Added `req.header()` _Referrer_ / _Referer_ special-case, either works1207 * Added mount support for `res.redirect()`, now respects the mount-point1208 * Added `union()` util, taking place of `merge(clone())` combo1209 * Added stylus support to express(1) generated app1210 * Added secret to session middleware used in examples and generated app1211 * Added `res.local(name, val)` for progressive view locals1212 * Added default param support to `req.param(name, default)`1213 * Added `app.disabled()` and `app.enabled()`1214 * Added `app.register()` support for omitting leading ".", either works1215 * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #5391216 * Added `app.param()` to map route params to async/sync logic1217 * Added; aliased `app.helpers()` as `app.locals()`. Closes #4811218 * Added extname with no leading "." support to `res.contentType()`1219 * Added `cache views` setting, defaulting to enabled in "production" env1220 * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.1221 * Added `req.accepts()` support for extensions1222 * Changed; `res.download()` and `res.sendfile()` now utilize Connect's1223 static file server `connect.static.send()`.1224 * Changed; replaced `connect.utils.mime()` with npm _mime_ module1225 * Changed; allow `req.query` to be pre-defined (via middleware or other parent1226 * Changed view partial resolution, now relative to parent view1227 * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.1228 * Fixed `req.param()` bug returning Array.prototype methods. Closes #5521229 * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()`1230 * Fixed; using _qs_ module instead of _querystring_1231 * Fixed; strip unsafe chars from jsonp callbacks1232 * Removed "stream threshold" setting123312341.0.8 / 2011-03-011235==================12361237 * Allow `req.query` to be pre-defined (via middleware or other parent app)1238 * "connect": ">= 0.5.0 < 1.0.0". Closes #5471239 * Removed the long deprecated __EXPRESS_ENV__ support124012411.0.7 / 2011-02-071242==================12431244 * Fixed `render()` setting inheritance.1245 Mounted apps would not inherit "view engine"124612471.0.6 / 2011-02-071248==================12491250 * Fixed `view engine` setting bug when period is in dirname125112521.0.5 / 2011-02-051253==================12541255 * Added secret to generated app `session()` call125612571.0.4 / 2011-02-051258==================12591260 * Added `qs` dependency to _package.json_1261 * Fixed namespaced `require()`s for latest connect support126212631.0.3 / 2011-01-131264==================12651266 * Remove unsafe characters from JSONP callback names [Ryan Grove]126712681.0.2 / 2011-01-101269==================12701271 * Removed nested require, using `connect.router`127212731.0.1 / 2010-12-291274==================12751276 * Fixed for middleware stacked via `createServer()`1277 previously the `foo` middleware passed to `createServer(foo)`1278 would not have access to Express methods such as `res.send()`1279 or props like `req.query` etc.128012811.0.0 / 2010-11-161282==================12831284 * Added; deduce partial object names from the last segment.1285 For example by default `partial('forum/post', postObject)` will1286 give you the _post_ object, providing a meaningful default.1287 * Added http status code string representation to `res.redirect()` body1288 * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__.1289 * Added `req.is()` to aid in content negotiation1290 * Added partial local inheritance [suggested by masylum]. Closes #1021291 providing access to parent template locals.1292 * Added _-s, --session[s]_ flag to express(1) to add session related middleware1293 * Added _--template_ flag to express(1) to specify the1294 template engine to use.1295 * Added _--css_ flag to express(1) to specify the1296 stylesheet engine to use (or just plain css by default).1297 * Added `app.all()` support [thanks aheckmann]1298 * Added partial direct object support.1299 You may now `partial('user', user)` providing the "user" local,1300 vs previously `partial('user', { object: user })`.1301 * Added _route-separation_ example since many people question ways1302 to do this with CommonJS modules. Also view the _blog_ example for1303 an alternative.1304 * Performance; caching view path derived partial object names1305 * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #4541306 * Fixed jsonp support; _text/javascript_ as per mailinglist discussion130713081.0.0rc4 / 2010-10-141309==================13101311 * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.01312 * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))1313 * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass]1314 * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass]1315 * Added `partial()` support for array-like collections. Closes #4341316 * Added support for swappable querystring parsers1317 * Added session usage docs. Closes #4431318 * Added dynamic helper caching. Closes #439 [suggested by maritz]1319 * Added authentication example1320 * Added basic Range support to `res.sendfile()` (and `res.download()` etc)1321 * Changed; `express(1)` generated app using 2 spaces instead of 41322 * Default env to "development" again [aheckmann]1323 * Removed _context_ option is no more, use "scope"1324 * Fixed; exposing _./support_ libs to examples so they can run without installs1325 * Fixed mvc example132613271.0.0rc3 / 2010-09-201328==================13291330 * Added confirmation for `express(1)` app generation. Closes #3911331 * Added extending of flash formatters via `app.flashFormatters`1332 * Added flash formatter support. Closes #4111333 * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold"1334 * Added _stream threshold_ setting for `res.sendfile()`1335 * Added `res.send()` __HEAD__ support1336 * Added `res.clearCookie()`1337 * Added `res.cookie()`1338 * Added `res.render()` headers option1339 * Added `res.redirect()` response bodies1340 * Added `res.render()` status option support. Closes #425 [thanks aheckmann]1341 * Fixed `res.sendfile()` responding with 403 on malicious path1342 * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_1343 * Fixed; mounted apps settings now inherit from parent app [aheckmann]1344 * Fixed; stripping Content-Length / Content-Type when 2041345 * Fixed `res.send()` 204. Closes #4191346 * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #4021347 * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]1348134913501.0.0rc2 / 2010-08-171351==================13521353 * Added `app.register()` for template engine mapping. Closes #3901354 * Added `res.render()` callback support as second argument (no options)1355 * Added callback support to `res.download()`1356 * Added callback support for `res.sendfile()`1357 * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()`1358 * Added "partials" setting to docs1359 * Added default expresso tests to `express(1)` generated app. Closes #3841360 * Fixed `res.sendfile()` error handling, defer via `next()`1361 * Fixed `res.render()` callback when a layout is used [thanks guillermo]1362 * Fixed; `make install` creating ~/.node_libraries when not present1363 * Fixed issue preventing error handlers from being defined anywhere. Closes #387136413651.0.0rc / 2010-07-281366==================13671368 * Added mounted hook. Closes #3691369 * Added connect dependency to _package.json_13701371 * Removed "reload views" setting and support code1372 development env never caches, production always caches.13731374 * Removed _param_ in route callbacks, signature is now1375 simply (req, res, next), previously (req, res, params, next).1376 Use _req.params_ for path captures, _req.query_ for GET params.13771378 * Fixed "home" setting1379 * Fixed middleware/router precedence issue. Closes #3661380 * Fixed; _configure()_ callbacks called immediately. Closes #368138113821.0.0beta2 / 2010-07-231383==================13841385 * Added more examples1386 * Added; exporting `Server` constructor1387 * Added `Server#helpers()` for view locals1388 * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #3491389 * Added support for absolute view paths1390 * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #3631391 * Added Guillermo Rauch to the contributor list1392 * Added support for "as" for non-collection partials. Closes #3411393 * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]1394 * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]1395 * Fixed instanceof `Array` checks, now `Array.isArray()`1396 * Fixed express(1) expansion of public dirs. Closes #3481397 * Fixed middleware precedence. Closes #3451398 * Fixed view watcher, now async [thanks aheckmann]139914001.0.0beta / 2010-07-151401==================14021403 * Re-write1404 - much faster1405 - much lighter1406 - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs140714080.14.0 / 2010-06-151409==================14101411 * Utilize relative requires1412 * Added Static bufferSize option [aheckmann]1413 * Fixed caching of view and partial subdirectories [aheckmann]1414 * Fixed mime.type() comments now that ".ext" is not supported1415 * Updated haml submodule1416 * Updated class submodule1417 * Removed bin/express141814190.13.0 / 2010-06-011420==================14211422 * Added node v0.1.97 compatibility1423 * Added support for deleting cookies via Request#cookie('key', null)1424 * Updated haml submodule1425 * Fixed not-found page, now using using charset utf-81426 * Fixed show-exceptions page, now using using charset utf-81427 * Fixed view support due to fs.readFile Buffers1428 * Changed; mime.type() no longer accepts ".type" due to node extname() changes142914300.12.0 / 2010-05-221431==================14321433 * Added node v0.1.96 compatibility1434 * Added view `helpers` export which act as additional local variables1435 * Updated haml submodule1436 * Changed ETag; removed inode, modified time only1437 * Fixed LF to CRLF for setting multiple cookies1438 * Fixed cookie complation; values are now urlencoded1439 * Fixed cookies parsing; accepts quoted values and url escaped cookies144014410.11.0 / 2010-05-061442==================14431444 * Added support for layouts using different engines1445 - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })1446 - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'1447 - this.render('page.html.haml', { layout: false }) // no layout1448 * Updated ext submodule1449 * Updated haml submodule1450 * Fixed EJS partial support by passing along the context. Issue #307145114520.10.1 / 2010-05-031453==================14541455 * Fixed binary uploads.145614570.10.0 / 2010-04-301458==================14591460 * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s1461 encoding is set to 'utf8' or 'utf-8'.1462 * Added "encoding" option to Request#render(). Closes #2991463 * Added "dump exceptions" setting, which is enabled by default.1464 * Added simple ejs template engine support1465 * Added error reponse support for text/plain, application/json. Closes #2971466 * Added callback function param to Request#error()1467 * Added Request#sendHead()1468 * Added Request#stream()1469 * Added support for Request#respond(304, null) for empty response bodies1470 * Added ETag support to Request#sendfile()1471 * Added options to Request#sendfile(), passed to fs.createReadStream()1472 * Added filename arg to Request#download()1473 * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request1474 * Performance enhanced by preventing several calls to toLowerCase() in Router#match()1475 * Changed; Request#sendfile() now streams1476 * Changed; Renamed Request#halt() to Request#respond(). Closes #2891477 * Changed; Using sys.inspect() instead of JSON.encode() for error output1478 * Changed; run() returns the http.Server instance. Closes #2981479 * Changed; Defaulting Server#host to null (INADDR_ANY)1480 * Changed; Logger "common" format scale of 0.4f1481 * Removed Logger "request" format1482 * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found1483 * Fixed several issues with http client1484 * Fixed Logger Content-Length output1485 * Fixed bug preventing Opera from retaining the generated session id. Closes #292148614870.9.0 / 2010-04-141488==================14891490 * Added DSL level error() route support1491 * Added DSL level notFound() route support1492 * Added Request#error()1493 * Added Request#notFound()1494 * Added Request#render() callback function. Closes #2581495 * Added "max upload size" setting1496 * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #2541497 * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js1498 * Added callback function support to Request#halt() as 3rd/4th arg1499 * Added preprocessing of route param wildcards using param(). Closes #2511500 * Added view partial support (with collections etc)1501 * Fixed bug preventing falsey params (such as ?page=0). Closes #2861502 * Fixed setting of multiple cookies. Closes #1991503 * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)1504 * Changed; session cookie is now httpOnly1505 * Changed; Request is no longer global1506 * Changed; Event is no longer global1507 * Changed; "sys" module is no longer global1508 * Changed; moved Request#download to Static plugin where it belongs1509 * Changed; Request instance created before body parsing. Closes #2621510 * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #2531511 * Changed; Pre-caching view partials in memory when "cache view partials" is enabled1512 * Updated support to node --version 0.1.901513 * Updated dependencies1514 * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})1515 * Removed utils.mixin(); use Object#mergeDeep()151615170.8.0 / 2010-03-191518==================15191520 * Added coffeescript example app. Closes #2421521 * Changed; cache api now async friendly. Closes #2401522 * Removed deprecated 'express/static' support. Use 'express/plugins/static'152315240.7.6 / 2010-03-191525==================15261527 * Added Request#isXHR. Closes #2291528 * Added `make install` (for the executable)1529 * Added `express` executable for setting up simple app templates1530 * Added "GET /public/*" to Static plugin, defaulting to <root>/public1531 * Added Static plugin1532 * Fixed; Request#render() only calls cache.get() once1533 * Fixed; Namespacing View caches with "view:"1534 * Fixed; Namespacing Static caches with "static:"1535 * Fixed; Both example apps now use the Static plugin1536 * Fixed set("views"). Closes #2391537 * Fixed missing space for combined log format1538 * Deprecated Request#sendfile() and 'express/static'1539 * Removed Server#running154015410.7.5 / 2010-03-161542==================15431544 * Added Request#flash() support without args, now returns all flashes1545 * Updated ext submodule154615470.7.4 / 2010-03-161548==================15491550 * Fixed session reaper1551 * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)155215530.7.3 / 2010-03-161554==================15551556 * Added package.json1557 * Fixed requiring of haml / sass due to kiwi removal155815590.7.2 / 2010-03-161560==================15611562 * Fixed GIT submodules (HAH!)156315640.7.1 / 2010-03-161565==================15661567 * Changed; Express now using submodules again until a PM is adopted1568 * Changed; chat example using millisecond conversions from ext156915700.7.0 / 2010-03-151571==================15721573 * Added Request#pass() support (finds the next matching route, or the given path)1574 * Added Logger plugin (default "common" format replaces CommonLogger)1575 * Removed Profiler plugin1576 * Removed CommonLogger plugin157715780.6.0 / 2010-03-111579==================15801581 * Added seed.yml for kiwi package management support1582 * Added HTTP client query string support when method is GET. Closes #20515831584 * Added support for arbitrary view engines.1585 For example "foo.engine.html" will now require('engine'),1586 the exports from this module are cached after the first require().15871588 * Added async plugin support15891590 * Removed usage of RESTful route funcs as http client1591 get() etc, use http.get() and friends15921593 * Removed custom exceptions159415950.5.0 / 2010-03-101596==================15971598 * Added ext dependency (library of js extensions)1599 * Removed extname() / basename() utils. Use path module1600 * Removed toArray() util. Use arguments.values1601 * Removed escapeRegexp() util. Use RegExp.escape()1602 * Removed process.mixin() dependency. Use utils.mixin()1603 * Removed Collection1604 * Removed ElementCollection1605 * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;)160616070.4.0 / 2010-02-111608==================16091610 * Added flash() example to sample upload app1611 * Added high level restful http client module (express/http)1612 * Changed; RESTful route functions double as HTTP clients. Closes #691613 * Changed; throwing error when routes are added at runtime1614 * Changed; defaulting render() context to the current Request. Closes #1971615 * Updated haml submodule161616170.3.0 / 2010-02-111618==================16191620 * Updated haml / sass submodules. Closes #2001621 * Added flash message support. Closes #641622 * Added accepts() now allows multiple args. fixes #1171623 * Added support for plugins to halt. Closes #1891624 * Added alternate layout support. Closes #1191625 * Removed Route#run(). Closes #1881626 * Fixed broken specs due to use(Cookie) missing162716280.2.1 / 2010-02-051629==================16301631 * Added "plot" format option for Profiler (for gnuplot processing)1632 * Added request number to Profiler plugin1633 * Fixed binary encoding for multi-part file uploads, was previously defaulting to UTF81634 * Fixed issue with routes not firing when not files are present. Closes #1841635 * Fixed process.Promise -> events.Promise163616370.2.0 / 2010-02-031638==================16391640 * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #1801641 * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #1741642 * Added expiration support to cache api with reaper. Closes #1331643 * Added cache Store.Memory#reap()1644 * Added Cache; cache api now uses first class Cache instances1645 * Added abstract session Store. Closes #1721646 * Changed; cache Memory.Store#get() utilizing Collection1647 * Renamed MemoryStore -> Store.Memory1648 * Fixed use() of the same plugin several time will always use latest options. Closes #176164916500.1.0 / 2010-02-031651==================16521653 * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context1654 * Updated node support to 0.1.27 Closes #1691655 * Updated dirname(__filename) -> __dirname1656 * Updated libxmljs support to v0.2.01657 * Added session support with memory store / reaping1658 * Added quick uid() helper1659 * Added multi-part upload support1660 * Added Sass.js support / submodule1661 * Added production env caching view contents and static files1662 * Added static file caching. Closes #1361663 * Added cache plugin with memory stores1664 * Added support to StaticFile so that it works with non-textual files.1665 * Removed dirname() helper1666 * Removed several globals (now their modules must be required)166716680.0.2 / 2010-01-101669==================16701671 * Added view benchmarks; currently haml vs ejs1672 * Added Request#attachment() specs. Closes #1161673 * Added use of node's parseQuery() util. Closes #1231674 * Added `make init` for submodules1675 * Updated Haml1676 * Updated sample chat app to show messages on load1677 * Updated libxmljs parseString -> parseHtmlString1678 * Fixed `make init` to work with older versions of git1679 * Fixed specs can now run independant specs for those who cant build deps. Closes #1271680 * Fixed issues introduced by the node url module changes. Closes 126.1681 * Fixed two assertions failing due to Collection#keys() returning strings1682 * Fixed faulty Collection#toArray() spec due to keys() returning strings1683 * Fixed `make test` now builds libxmljs.node before testing168416850.0.1 / 2010-01-031686==================16871688 * Initial release