History.md
This file
Path
History.md
1,686 lines · 54.5 KiB · Markdown
Last changed by
Merge tag '3.12.0'Douglas Christopher Wilsonbefore adoption3ffceff
History of this fileTake it
The walk stopped after 200 commits: lines older than 7724fc6 point at it.
Merge tag '3.12.0'Douglas Christopher Wilsonbefore adoption3ffceff
lines 1–6why, one step back1unreleased2==========34 * deprecate things with `depd` module5 * use `media-typer` to alter content-type charset64.4.4Douglas Christopher Wilsonbefore adoptionf498b66
lines 7–8why, one step back74.4.4 / 2014-06-208==================fix "trim prefix" debug message in express:routerDouglas Christopher Wilsonbefore adoption8258ce1
line 9why, one step back9Fix res.attachment Unicode filenames in Safari刘星before adoptione606d99
line 10why, one step back10 * fix `res.attachment` Unicode filenames in Safarifix "trim prefix" debug message in express:routerDouglas Christopher Wilsonbefore adoption8258ce1
line 11why, one step back11 * fix "trim prefix" debug message in `express:router`deps: accepts@~1.0.5Douglas Christopher Wilsonbefore adoption6aba1b4
line 12why, one step back12 * deps: accepts@~1.0.5deps: buffer-crc32@0.2.3Douglas Christopher Wilsonbefore adoptionffe663a
line 13why, one step back13 * deps: buffer-crc32@0.2.3fix "trim prefix" debug message in express:routerDouglas Christopher Wilsonbefore adoption8258ce1
line 14why, one step back144.4.3Douglas Christopher Wilsonbefore adoptionac573cf
lines 15–16why, one step back154.4.3 / 2014-06-1116==================deps: debug@1.0.2Douglas Christopher Wilsonbefore adoption7df7f7a
line 17why, one step back17Fix persistence of req.params from app.paramsDouglas Christopher Wilsonbefore adoption6775658
line 18why, one step back18 * fix persistence of modified `req.params[name]` from `app.param()`deps: accepts@1.0.3Douglas Christopher Wilsonbefore adoption3428543
lines 19–20why, one step back19 * deps: accepts@1.0.320 - deps: negotiator@0.4.6deps: debug@1.0.2Douglas Christopher Wilsonbefore adoption7df7f7a
line 21why, one step back21 * deps: debug@1.0.2deps: send@0.4.3Douglas Christopher Wilsonbefore adoption9cdbc80
lines 22–27why, one step back22 * deps: send@0.4.323 - Do not throw un-catchable error on file open race condition24 - Use `escape-html` for HTML escaping25 - deps: debug@1.0.226 - deps: finished@1.2.227 - deps: fresh@0.2.2deps: serve-static@1.2.3Douglas Christopher Wilsonbefore adoptionc361a06
lines 28–30why, one step back28 * deps: serve-static@1.2.329 - Do not throw un-catchable error on file open race condition30 - deps: send@0.4.3deps: debug@1.0.2Douglas Christopher Wilsonbefore adoption7df7f7a
line 31why, one step back314.4.2Douglas Christopher Wilsonbefore adoption7daae19
lines 32–33why, one step back324.4.2 / 2014-06-0933==================deps: proxy-addr@1.0.1Douglas Christopher Wilsonbefore adoptionbffb71d
line 34why, one step back34Fix catching errors from top-level handlersDouglas Christopher Wilsonbefore adoption4d3e0d8
line 35why, one step back35 * fix catching errors from top-level handlersMerge tag '3.10.3'Douglas Christopher Wilsonbefore adoption9bf1247
line 36why, one step back36 * use `vary` module for `res.vary`deps: debug@1.0.1Douglas Christopher Wilsonbefore adoption142462d
line 37why, one step back37 * deps: debug@1.0.1deps: proxy-addr@1.0.1Douglas Christopher Wilsonbefore adoptionbffb71d
line 38why, one step back38 * deps: proxy-addr@1.0.1deps: send@0.4.2Douglas Christopher Wilsonbefore adoptionb45fd70
lines 39–42why, one step back39 * deps: send@0.4.240 - fix "event emitter leak" warnings41 - deps: debug@1.0.142 - deps: finished@1.2.1deps: serve-static@1.2.2Douglas Christopher Wilsonbefore adoption7f6c7a1
lines 43–45why, one step back43 * deps: serve-static@1.2.244 - fix "event emitter leak" warnings45 - deps: send@0.4.2deps: type-is@1.2.1Douglas Christopher Wilsonbefore adoption980a15d
line 46why, one step back46 * deps: type-is@1.2.1deps: proxy-addr@1.0.1Douglas Christopher Wilsonbefore adoptionbffb71d
line 47why, one step back474.4.1Douglas Christopher Wilsonbefore adoptionf9ec70e
lines 48–49why, one step back484.4.1 / 2014-06-0249==================deps: methods@1.0.1Douglas Christopher Wilsonbefore adoption16fdc11
lines 50–51why, one step back5051 * deps: methods@1.0.1deps: send@0.4.1Douglas Christopher Wilsonbefore adoption8ccd9d0
lines 52–53why, one step back52 * deps: send@0.4.153 - Send `max-age` in `Cache-Control` in correct formatdeps: serve-static@1.2.1Douglas Christopher Wilsonbefore adoption492e933
lines 54–56why, one step back54 * deps: serve-static@1.2.155 - use `escape-html` for escaping56 - deps: send@0.4.1deps: methods@1.0.1Douglas Christopher Wilsonbefore adoption16fdc11
line 57why, one step back574.4.0Douglas Christopher Wilsonbefore adoption95fa491
lines 58–59why, one step back584.4.0 / 2014-05-3059==================Merge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d
lines 60–67why, one step back6061 * custom etag control with `app.set('etag', val)`62 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation63 - `app.set('etag', 'weak')` weak tag64 - `app.set('etag', 'strong')` strong etag65 - `app.set('etag', false)` turn off66 - `app.set('etag', true)` standard etag67 * mark `res.send` ETag as weak and reduce collisionsupdate accepts to 1.0.2Douglas Christopher Wilsonbefore adoptionf92a7ad
lines 68–69why, one step back68 * update accepts to 1.0.269 - Fix interpretation when header not in requestMerge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d
lines 70–73why, one step back70 * update send to 0.4.071 - Calculate ETag with md5 for reduced collisions72 - Ignore stream errors after request ends73 - deps: debug@0.8.1update serve-static to 1.2.0Douglas Christopher Wilsonbefore adoptionf665c57
lines 74–77why, one step back74 * update serve-static to 1.2.075 - Calculate ETag with md5 for reduced collisions76 - Ignore stream errors after request ends77 - deps: send@0.4.0Merge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d
line 78why, one step back784.3.2Douglas Christopher Wilsonbefore adoption311e83e
lines 79–80why, one step back794.3.2 / 2014-05-2880==================fix handling of errors from param callbacksDouglas Christopher Wilsonbefore adoptionfb2d918
lines 81–83why, one step back8182 * fix handling of errors from `router.param()` callbacks834.3.1Douglas Christopher Wilsonbefore adoption87e02c3
lines 84–85why, one step back844.3.1 / 2014-05-2385==================Revert "fix behavior of multiple app.VERB for the same path"Douglas Christopher Wilsonbefore adoption7f04916
lines 86–89why, one step back8687 * revert "fix behavior of multiple `app.VERB` for the same path"88 - this caused a regression in the order of route execution894.3.0Douglas Christopher Wilsonbefore adoption4e12a72
lines 90–91why, one step back904.3.0 / 2014-05-2191==================update type-is to 1.2.0Douglas Christopher Wilsonbefore adoption8fe8d74
line 92why, one step back92add req.baseUrl to access stripped path in routesDouglas Christopher Wilsonbefore adoption739586f
line 93why, one step back93 * add `req.baseUrl` to access the path stripped from `req.url` in routesfix behavior of multiple app.VERB for the same pathDouglas Christopher Wilsonbefore adoption31b2e2d
line 94why, one step back94 * fix behavior of multiple `app.VERB` for the same pathfix issue routing requests among sub routersDouglas Christopher Wilsonbefore adoptionababa6a
line 95why, one step back95 * fix issue routing requests among sub routersinvoke router.param() only when necessaryDouglas Christopher Wilsonbefore adoption98d17e2
line 96why, one step back96 * invoke `router.param()` only when necessary instead of every matchMerge tag '3.7.0'Douglas Christopher Wilsonbefore adoption097cd0c
lines 97–104why, one step back97 * proper proxy trust with `app.set('trust proxy', trust)`98 - `app.set('trust proxy', 1)` trust first hop99 - `app.set('trust proxy', 'loopback')` trust loopback addresses100 - `app.set('trust proxy', '10.0.0.1')` trust single IP101 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet102 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list103 - `app.set('trust proxy', false)` turn off104 - `app.set('trust proxy', true)` trust everythingMerge tag '3.8.0'Douglas Christopher Wilsonbefore adoptiondb4a061
line 105why, one step back105 * set proper `charset` in `Content-Type` for `res.send`update type-is to 1.2.0Douglas Christopher Wilsonbefore adoption8fe8d74
lines 106–108why, one step back106 * update type-is to 1.2.0107 - support suffix matching1084.2.0Douglas Christopher Wilsonbefore adoptioncf709f3
lines 109–110why, one step back1094.2.0 / 2014-05-11110==================update historyDouglas Christopher Wilsonbefore adoption165578a
line 111why, one step back111Merge tag '3.6.0'Douglas Christopher Wilsonbefore adoption35c5060
lines 112–116why, one step back112 * deprecate `app.del()` -- use `app.delete()` instead113 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead114 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`115 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead116 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`Fix req.next when inside router instanceDouglas Christopher Wilsonbefore adoptionbc9bcb0
line 117why, one step back117 * fix `req.next` when inside router instanceupdate historyDouglas Christopher Wilsonbefore adoption165578a
lines 118–119why, one step back118 * include `ETag` header in `HEAD` requests119 * keep previous `Content-Type` for `res.jsonp`Merge tag '3.6.0'Douglas Christopher Wilsonbefore adoption35c5060
lines 120–128why, one step back120 * support PURGE method121 - add `app.purge`122 - add `router.purge`123 - include PURGE in `app.all`124 * update debug to 0.8.0125 - add `enable()` method126 - change from stderr to stdout127 * update methods to 1.0.0128 - add PURGEupdate historyDouglas Christopher Wilsonbefore adoption165578a
line 129why, one step back129Merge branch '4.1.x'Douglas Christopher Wilsonbefore adoption0bbbc84
lines 130–135why, one step back1304.1.2 / 2014-05-08131==================132133 * fix `req.host` for IPv6 literals134 * fix `res.jsonp` error if callback param is object1354.1.1Douglas Christopher Wilsonbefore adoption61f2929
lines 136–140why, one step back1364.1.1 / 2014-04-27137==================138139 * fix package.json to reflect supported node version1404.1.0Douglas Christopher Wilsonbefore adoptiondbea831
lines 141–147why, one step back1414.1.0 / 2014-04-24142==================143144 * pass options from `res.sendfile` to `send`145 * preserve casing of headers in `res.header` and `res.set`146 * support unicode file names in `res.attachment` and `res.download`147 * update accepts to 1.0.1update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3
line 148why, one step back148 - deps: negotiator@0.4.04.1.0Douglas Christopher Wilsonbefore adoptiondbea831
line 149why, one step back149 * update cookie to 0.1.2update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3
lines 150–151why, one step back150 - Fix for maxAge == 0151 - made compat with expires field4.1.0Douglas Christopher Wilsonbefore adoptiondbea831
line 152why, one step back152 * update send to 0.3.0update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3
lines 153–164why, one step back153 - Accept API options in options object154 - Coerce option types155 - Control whether to generate etags156 - Default directory access to 403 when index disabled157 - Fix sending files with dots without root set158 - Include file path in etag159 - Make "Can't set headers after they are sent." catchable160 - Send full entity-body for multi range requests161 - Set etags to "weak"162 - Support "If-Range" header163 - Support multiple index paths164 - deps: mime@1.2.114.1.0Douglas Christopher Wilsonbefore adoptiondbea831
line 165why, one step back165 * update serve-static to 1.1.0update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3
lines 166–169why, one step back166 - Accept options directly to `send` module167 - Resolve relative paths at middleware setup168 - Use parseurl to parse the URL from request169 - deps: send@0.3.04.1.0Douglas Christopher Wilsonbefore adoptiondbea831
line 170why, one step back170 * update type-is to 1.1.0update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3
lines 171–172why, one step back171 - add non-array values support172 - add `multipart` as a shorthand4.1.0Douglas Christopher Wilsonbefore adoptiondbea831
line 173why, one step back173update historyDouglas Christopher Wilsonbefore adoption0dbaacf
line 174why, one step back1744.0.0 / 2014-04-09remove binaryJonathan Ongbefore adoption476f8de
lines 175–176why, one step back175==================176improve history.mdJonathan Ongbefore adoption26c0be4
line 177why, one step back177 * remove:Update History.mdJonathan Ongbefore adoptionb0351a0
lines 178–179why, one step back178 - node 0.8 support179 - connect and connect's patches except for charset handlingimprove history.mdJonathan Ongbefore adoption26c0be4
line 180why, one step back180 - express(1) - moved to [express-generator](https://github.com/expressjs/generator)remove deprecated express.createServer() methodRoman Shtylmanbefore adoptionf56a5f0
line 181why, one step back181 - `express.createServer()` - it has been deprecated for a long time. Use `express()`update historyJonathan Ongbefore adoption25e6629
line 182why, one step back182 - `app.configure` - use logic in your own app coderemove app.router and refactor middleware processingRoman Shtylmanbefore adoptionf41d09a
line 183why, one step back183 - `app.router` - is removedremove req.authJonathan Ongbefore adoption68996d7
line 184why, one step back184 - `req.auth` - use `basic-auth` insteadupdate historyJonathan Ongbefore adoption25e6629
lines 185–186why, one step back185 - `req.accepted*` - use `req.accepts*()` instead186 - `res.location` - relative URL resolution is removedremove res.charset supportJonathan Ongbefore adoption3228fd3
line 187why, one step back187 - `res.charset` - include the charset in the content type when using `res.set()`remove last pieces of connect dependencyRoman Shtylmanbefore adoption1396e08
line 188why, one step back188 - all bundled middleware except `static`improve history.mdJonathan Ongbefore adoption26c0be4
line 189why, one step back189 * change:update historyJonathan Ongbefore adoption25e6629
lines 190–191why, one step back190 - `app.route` -> `app.mountpath` when mounting an express app in another express app191 - `json spaces` no longer enabled by default in developmentimprove history.mdJonathan Ongbefore adoption26c0be4
line 192why, one step back192 - `req.accepts*` -> `req.accepts*s` - i.e. `req.acceptsEncoding` -> `req.acceptsEncodings`history: req.paramsJonathan Ongbefore adoption7018d3d
line 193why, one step back193 - `req.params` is now an object instead of an arrayMerge pull request #1908 from visionmedia/locals-objectRoman Shtylmanbefore adoption991c2a9
line 194why, one step back194 - `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 195why, one step back195 - `res.headerSent` -> `res.headersSent` to match node.js ServerResponse objectimprove history.mdJonathan Ongbefore adoption26c0be4
line 196why, one step back196 * refactor:refactor req.is and req.accepts*Jonathan Ongbefore adoptioncec0c06
lines 197–198why, one step back197 - `req.accepts*` with [accepts](https://github.com/expressjs/accepts)198 - `req.is` with [type-is](https://github.com/expressjs/type-is)update History.md with 3.x branchJonathan Ongbefore adoptionb443da4
line 199why, one step back199 - [path-to-regexp](https://github.com/component/path-to-regexp)remove app.router and refactor middleware processingRoman Shtylmanbefore adoptionf41d09a
lines 200–203why, one step back200 * add:201 - `app.router()` - returns the app Router instance202 - `app.route()` - Proxy to the app's `Router#route()` method to create a new route203 - Router & Route - public APIMerge tag '3.12.0'Douglas Christopher Wilsonbefore adoption3ffceff
lines 204–238why, one step back2042053.12.0 / 2014-06-21206===================207208 * use `media-typer` to alter content-type charset209 * deps: connect@2.21.0210 - deprecate `connect(middleware)` -- use `app.use(middleware)` instead211 - deprecate `connect.createServer()` -- use `connect()` instead212 - fix `res.setHeader()` patch to work with with get -> append -> set pattern213 - deps: compression@~1.0.8214 - deps: errorhandler@~1.1.1215 - deps: express-session@~1.5.0216 - deps: serve-index@~1.1.32172183.11.0 / 2014-06-19219===================220221 * deprecate things with `depd` module222 * deps: buffer-crc32@0.2.3223 * deps: connect@2.20.2224 - deprecate `verify` option to `json` -- use `body-parser` module directly225 - deprecate `verify` option to `urlencoded` -- use `body-parser` module directly226 - deprecate things with `depd` module227 - use `finalhandler` for final response handling228 - use `media-typer` to parse `content-type` for charset229 - deps: body-parser@1.4.3230 - deps: connect-timeout@1.1.1231 - deps: cookie-parser@1.3.1232 - deps: csurf@1.2.2233 - deps: errorhandler@1.1.0234 - deps: express-session@1.4.0235 - deps: multiparty@3.2.9236 - deps: serve-index@1.1.2237 - deps: type-is@1.3.1238 - deps: vhost@2.0.0Merge tag '3.10.3'Douglas Christopher Wilsonbefore adoption9bf1247
line 239why, one step back239Merge tag '3.10.5'Douglas Christopher Wilsonbefore adoptione799c0f
lines 240–256why, one step back2403.10.5 / 2014-06-11241===================242243 * deps: connect@2.19.6244 - deps: body-parser@1.3.1245 - deps: compression@1.0.7246 - deps: debug@1.0.2247 - deps: serve-index@1.1.1248 - deps: serve-static@1.2.3249 * deps: debug@1.0.2250 * deps: send@0.4.3251 - Do not throw un-catchable error on file open race condition252 - Use `escape-html` for HTML escaping253 - deps: debug@1.0.2254 - deps: finished@1.2.2255 - deps: fresh@0.2.2256Merge tag '3.10.4'Douglas Christopher Wilsonbefore adoption898dcfa
lines 257–271why, one step back2573.10.4 / 2014-06-09258===================259260 * deps: connect@2.19.5261 - fix "event emitter leak" warnings262 - deps: csurf@1.2.1263 - deps: debug@1.0.1264 - deps: serve-static@1.2.2265 - deps: type-is@1.2.1266 * deps: debug@1.0.1267 * deps: send@0.4.2268 - fix "event emitter leak" warnings269 - deps: finished@1.2.1270 - deps: debug@1.0.1271Merge tag '3.10.3'Douglas Christopher Wilsonbefore adoption9bf1247
lines 272–293why, one step back2723.10.3 / 2014-06-05273===================274275 * use `vary` module for `res.vary`276 * deps: connect@2.19.4277 - deps: errorhandler@1.0.2278 - deps: method-override@2.0.2279 - deps: serve-favicon@2.0.1280 * deps: debug@1.0.02812823.10.2 / 2014-06-03283===================284285 * deps: connect@2.19.3286 - deps: compression@1.0.62872883.10.1 / 2014-06-03289===================290291 * deps: connect@2.19.2292 - deps: compression@1.0.4293 * deps: proxy-addr@1.0.1Merge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d
line 294why, one step back294Merge tag '3.10.0'Douglas Christopher Wilsonbefore adoption402ec83
lines 295–308why, one step back2953.10.0 / 2014-06-02296===================297298 * deps: connect@2.19.1299 - deprecate `methodOverride()` -- use `method-override` module directly300 - deps: body-parser@1.3.0301 - deps: method-override@2.0.1302 - deps: multiparty@3.2.8303 - deps: response-time@2.0.0304 - deps: serve-static@1.2.1305 * deps: methods@1.0.1306 * deps: send@0.4.1307 - Send `max-age` in `Cache-Control` in correct format308Merge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d
lines 309–327why, one step back3093.9.0 / 2014-05-30310==================311312 * custom etag control with `app.set('etag', val)`313 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation314 - `app.set('etag', 'weak')` weak tag315 - `app.set('etag', 'strong')` strong etag316 - `app.set('etag', false)` turn off317 - `app.set('etag', true)` standard etag318 * Include ETag in HEAD requests319 * mark `res.send` ETag as weak and reduce collisions320 * update connect to 2.18.0321 - deps: compression@1.0.3322 - deps: serve-index@1.1.0323 - deps: serve-static@1.2.0324 * update send to 0.4.0325 - Calculate ETag with md5 for reduced collisions326 - Ignore stream errors after request ends327 - deps: debug@0.8.1Merge tag '3.8.0'Douglas Christopher Wilsonbefore adoptiondb4a061
line 328why, one step back328Merge tag '3.8.1'Douglas Christopher Wilsonbefore adoption3fbab91
lines 329–336why, one step back3293.8.1 / 2014-05-27330==================331332 * update connect to 2.17.3333 - deps: body-parser@1.2.2334 - deps: express-session@1.2.1335 - deps: method-override@1.0.2336Merge tag '3.8.0'Douglas Christopher Wilsonbefore adoptiondb4a061
lines 337–346why, one step back3373.8.0 / 2014-05-21338==================339340 * keep previous `Content-Type` for `res.jsonp`341 * set proper `charset` in `Content-Type` for `res.send`342 * update connect to 2.17.1343 - fix `res.charset` appending charset when `content-type` has one344 - deps: express-session@1.2.0345 - deps: morgan@1.1.1346 - deps: serve-index@1.0.3Merge tag '3.7.0'Douglas Christopher Wilsonbefore adoption097cd0c
lines 347–369why, one step back3473483.7.0 / 2014-05-18349==================350351 * proper proxy trust with `app.set('trust proxy', trust)`352 - `app.set('trust proxy', 1)` trust first hop353 - `app.set('trust proxy', 'loopback')` trust loopback addresses354 - `app.set('trust proxy', '10.0.0.1')` trust single IP355 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet356 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list357 - `app.set('trust proxy', false)` turn off358 - `app.set('trust proxy', true)` trust everything359 * update connect to 2.16.2360 - deprecate `res.headerSent` -- use `res.headersSent`361 - deprecate `res.on("header")` -- use on-headers module instead362 - fix edge-case in `res.appendHeader` that would append in wrong order363 - json: use body-parser364 - urlencoded: use body-parser365 - dep: bytes@1.0.0366 - dep: cookie-parser@1.1.0367 - dep: csurf@1.2.0368 - dep: express-session@1.1.0369 - dep: method-override@1.0.1Merge tag '3.6.0'Douglas Christopher Wilsonbefore adoption35c5060
lines 370–402why, one step back3703713.6.0 / 2014-05-09372==================373374 * deprecate `app.del()` -- use `app.delete()` instead375 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead376 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`377 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead378 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`379 * support PURGE method380 - add `app.purge`381 - add `router.purge`382 - include PURGE in `app.all`383 * update connect to 2.15.0384 * Add `res.appendHeader`385 * Call error stack even when response has been sent386 * Patch `res.headerSent` to return Boolean387 * Patch `res.headersSent` for node.js 0.8388 * Prevent default 404 handler after response sent389 * dep: compression@1.0.2390 * dep: connect-timeout@1.1.0391 * dep: debug@^0.8.0392 * dep: errorhandler@1.0.1393 * dep: express-session@1.0.4394 * dep: morgan@1.0.1395 * dep: serve-favicon@2.0.0396 * dep: serve-index@1.0.2397 * update debug to 0.8.0398 * add `enable()` method399 * change from stderr to stdout400 * update methods to 1.0.0401 - add PURGE402 * update mkdirp to 0.5.0Merge branch '4.1.x'Douglas Christopher Wilsonbefore adoption0bbbc84
lines 403–408why, one step back4034043.5.3 / 2014-05-08405==================406407 * fix `req.host` for IPv6 literals408 * fix `res.jsonp` error if callback param is objectupdate History.md with 3.x branchJonathan Ongbefore adoptionb443da4
line 409why, one step back409Merge branch '3.x'Douglas Christopher Wilsonbefore adoption8ccceac
lines 410–422why, one step back4103.5.2 / 2014-04-24411==================412413 * update connect to 2.14.5414 * update cookie to 0.1.2415 * update mkdirp to 0.4.0416 * update send to 0.3.04174183.5.1 / 2014-03-25419==================420421 * pin less-middleware in generated app422update History.md with 3.x branchJonathan Ongbefore adoptionb443da4
lines 423–433why, one step back4233.5.0 / 2014-03-06424==================425426 * bump deps4274283.4.8 / 2014-01-13429==================430431 * prevent incorrect automatic OPTIONS responses #1868 @dpatti432 * update binary and examples for jade 1.0 #1876 @yossi, #1877 @reqshark, #1892 @matheusazzi433 * throw 400 in case of malformed paths @rlidwkaremove binaryJonathan Ongbefore adoption476f8de
line 434why, one step back4343.4.7Jonathan Ongbefore adoption34c83d7
lines 435–439why, one step back4353.4.7 / 2013-12-10436==================437438 * update connect4393.4.6Jonathan Ongbefore adoption7724fc6
lines 440–1686why, one step back4403.4.6 / 2013-12-01441==================442443 * update connect (raw-body)4444453.4.5 / 2013-11-27446==================447448 * update connect449 * res.location: remove leading ./ #1802 @kapouer450 * res.redirect: fix `res.redirect('toString') #1829 @michaelficarra451 * res.send: always send ETag when content-length > 0452 * router: add Router.all() method4534543.4.4 / 2013-10-29455==================456457 * update connect458 * update supertest459 * update methods460 * express(1): replace bodyParser() with urlencoded() and json() #1795 @chirag044614623.4.3 / 2013-10-23463==================464465 * update connect4664673.4.2 / 2013-10-18468==================469470 * update connect471 * downgrade commander4724733.4.1 / 2013-10-15474==================475476 * update connect477 * update commander478 * jsonp: check if callback is a function479 * router: wrap encodeURIComponent in a try/catch #1735 (@lxe)480 * res.format: now includes chraset @1747 (@sorribas)481 * res.links: allow multiple calls @1746 (@sorribas)4824833.4.0 / 2013-09-07484==================485486 * add res.vary(). Closes #1682487 * update connect4884893.3.8 / 2013-09-02490==================491492 * update connect4934943.3.7 / 2013-08-28495==================496497 * update connect4984993.3.6 / 2013-08-27500==================501502 * Revert "remove charset from json responses. Closes #1631" (causes issues in some clients)503 * add: req.accepts take an argument list5045053.3.4 / 2013-07-08506==================507508 * update send and connect5095103.3.3 / 2013-07-04511==================512513 * update connect5145153.3.2 / 2013-07-03516==================517518 * update connect519 * update send520 * remove .version export5215223.3.1 / 2013-06-27523==================524525 * update connect5265273.3.0 / 2013-06-26528==================529530 * update connect531 * add support for multiple X-Forwarded-Proto values. Closes #1646532 * change: remove charset from json responses. Closes #1631533 * change: return actual booleans from req.accept* functions534 * fix jsonp callback array throw5355363.2.6 / 2013-06-02537==================538539 * update connect5405413.2.5 / 2013-05-21542==================543544 * update connect545 * update node-cookie546 * add: throw a meaningful error when there is no default engine547 * change generation of ETags with res.send() to GET requests only. Closes #16195485493.2.4 / 2013-05-09550==================551552 * fix `req.subdomains` when no Host is present553 * fix `req.host` when no Host is present, return undefined5545553.2.3 / 2013-05-07556==================557558 * update connect / qs5595603.2.2 / 2013-05-03561==================562563 * update qs5645653.2.1 / 2013-04-29566==================567568 * add app.VERB() paths array deprecation warning569 * update connect570 * update qs and remove all ~ semver crap571 * fix: accept number as value of Signed Cookie5725733.2.0 / 2013-04-15574==================575576 * add "view" constructor setting to override view behaviour577 * add req.acceptsEncoding(name)578 * add req.acceptedEncodings579 * revert cookie signature change causing session race conditions580 * fix sorting of Accept values of the same quality5815823.1.2 / 2013-04-12583==================584585 * add support for custom Accept parameters586 * update cookie-signature5875883.1.1 / 2013-04-01589==================590591 * add X-Forwarded-Host support to `req.host`592 * fix relative redirects593 * update mkdirp594 * update buffer-crc32595 * remove legacy app.configure() method from app template.5965973.1.0 / 2013-01-25598==================599600 * add support for leading "." in "view engine" setting601 * add array support to `res.set()`602 * add node 0.8.x to travis.yml603 * add "subdomain offset" setting for tweaking `req.subdomains`604 * add `res.location(url)` implementing `res.redirect()`-like setting of Location605 * use app.get() for x-powered-by setting for inheritance606 * fix colons in passwords for `req.auth`6076083.0.6 / 2013-01-04609==================610611 * add http verb methods to Router612 * update connect613 * fix mangling of the `res.cookie()` options object614 * fix jsonp whitespace escape. Closes #11326156163.0.5 / 2012-12-19617==================618619 * add throwing when a non-function is passed to a route620 * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses621 * revert "add 'etag' option"6226233.0.4 / 2012-12-05624==================625626 * add 'etag' option to disable `res.send()` Etags627 * add escaping of urls in text/plain in `res.redirect()`628 for old browsers interpreting as html629 * change crc32 module for a more liberal license630 * update connect6316323.0.3 / 2012-11-13633==================634635 * update connect636 * update cookie module637 * fix cookie max-age6386393.0.2 / 2012-11-08640==================641642 * add OPTIONS to cors example. Closes #1398643 * fix route chaining regression. Closes #13976446453.0.1 / 2012-11-01646==================647648 * update connect6496503.0.0 / 2012-10-23651==================652653 * add `make clean`654 * add "Basic" check to req.auth655 * add `req.auth` test coverage656 * add cb && cb(payload) to `res.jsonp()`. Closes #1374657 * add backwards compat for `res.redirect()` status. Closes #1336658 * add support for `res.json()` to retain previously defined Content-Types. Closes #1349659 * update connect660 * change `res.redirect()` to utilize a pathname-relative Location again. Closes #1382661 * remove non-primitive string support for `res.send()`662 * fix view-locals example. Closes #1370663 * fix route-separation example6646653.0.0rc5 / 2012-09-18666==================667668 * update connect669 * add redis search example670 * add static-files example671 * add "x-powered-by" setting (`app.disable('x-powered-by')`)672 * add "application/octet-stream" redirect Accept test case. Closes #13176736743.0.0rc4 / 2012-08-30675==================676677 * add `res.jsonp()`. Closes #1307678 * add "verbose errors" option to error-pages example679 * add another route example to express(1) so people are not so confused680 * add redis online user activity tracking example681 * update connect dep682 * fix etag quoting. Closes #1310683 * fix error-pages 404 status684 * fix jsonp callback char restrictions685 * remove old OPTIONS default response6866873.0.0rc3 / 2012-08-13688==================689690 * update connect dep691 * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds]692 * fix `res.render()` clobbering of "locals"6936943.0.0rc2 / 2012-08-03695==================696697 * add CORS example698 * update connect dep699 * deprecate `.createServer()` & remove old stale examples700 * fix: escape `res.redirect()` link701 * fix vhost example7027033.0.0rc1 / 2012-07-24704==================705706 * add more examples to view-locals707 * add scheme-relative redirects (`res.redirect("//foo.com")`) support708 * update cookie dep709 * update connect dep710 * update send dep711 * fix `express(1)` -h flag, use -H for hogan. Closes #1245712 * fix `res.sendfile()` socket error handling regression7137143.0.0beta7 / 2012-07-16715==================716717 * update connect dep for `send()` root normalization regression7187193.0.0beta6 / 2012-07-13720==================721722 * add `err.view` property for view errors. Closes #1226723 * add "jsonp callback name" setting724 * add support for "/foo/:bar*" non-greedy matches725 * change `res.sendfile()` to use `send()` module726 * change `res.send` to use "response-send" module727 * remove `app.locals.use` and `res.locals.use`, use regular middleware7287293.0.0beta5 / 2012-07-03730==================731732 * add "make check" support733 * add route-map example734 * add `res.json(obj, status)` support back for BC735 * add "methods" dep, remove internal methods module736 * update connect dep737 * update auth example to utilize cores pbkdf2738 * updated tests to use "supertest"7397403.0.0beta4 / 2012-06-25741==================742743 * Added `req.auth`744 * Added `req.range(size)`745 * Added `res.links(obj)`746 * Added `res.send(body, status)` support back for backwards compat747 * Added `.default()` support to `res.format()`748 * Added 2xx / 304 check to `req.fresh`749 * Revert "Added + support to the router"750 * Fixed `res.send()` freshness check, respect res.statusCode7517523.0.0beta3 / 2012-06-15753==================754755 * Added hogan `--hjs` to express(1) [nullfirm]756 * Added another example to content-negotiation757 * Added `fresh` dep758 * Changed: `res.send()` always checks freshness759 * Fixed: expose connects mime module. Cloases #11657607613.0.0beta2 / 2012-06-06762==================763764 * Added `+` support to the router765 * Added `req.host`766 * Changed `req.param()` to check route first767 * Update connect dep7687693.0.0beta1 / 2012-06-01770==================771772 * Added `res.format()` callback to override default 406 behaviour773 * Fixed `res.redirect()` 406. Closes #11547747753.0.0alpha5 / 2012-05-30776==================777778 * Added `req.ip`779 * Added `{ signed: true }` option to `res.cookie()`780 * Removed `res.signedCookie()`781 * Changed: dont reverse `req.ips`782 * Fixed "trust proxy" setting check for `req.ips`7837843.0.0alpha4 / 2012-05-09785==================786787 * Added: allow `[]` in jsonp callback. Closes #1128788 * Added `PORT` env var support in generated template. Closes #1118 [benatkin]789 * Updated: connect 2.2.27907913.0.0alpha3 / 2012-05-04792==================793794 * Added public `app.routes`. Closes #887795 * Added _view-locals_ example796 * Added _mvc_ example797 * Added `res.locals.use()`. Closes #1120798 * Added conditional-GET support to `res.send()`799 * Added: coerce `res.set()` values to strings800 * Changed: moved `static()` in generated apps below router801 * Changed: `res.send()` only set ETag when not previously set802 * Changed connect 2.2.1 dep803 * Changed: `make test` now runs unit / acceptance tests804 * Fixed req/res proto inheritance8058063.0.0alpha2 / 2012-04-26807==================808809 * Added `make benchmark` back810 * Added `res.send()` support for `String` objects811 * Added client-side data exposing example812 * Added `res.header()` and `req.header()` aliases for BC813 * Added `express.createServer()` for BC814 * Perf: memoize parsed urls815 * Perf: connect 2.2.0 dep816 * Changed: make `expressInit()` middleware self-aware817 * Fixed: use app.get() for all core settings818 * Fixed redis session example819 * Fixed session example. Closes #1105820 * Fixed generated express dep. Closes #10788218223.0.0alpha1 / 2012-04-15823==================824825 * Added `app.locals.use(callback)`826 * Added `app.locals` object827 * Added `app.locals(obj)`828 * Added `res.locals` object829 * Added `res.locals(obj)`830 * Added `res.format()` for content-negotiation831 * Added `app.engine()`832 * Added `res.cookie()` JSON cookie support833 * Added "trust proxy" setting834 * Added `req.subdomains`835 * Added `req.protocol`836 * Added `req.secure`837 * Added `req.path`838 * Added `req.ips`839 * Added `req.fresh`840 * Added `req.stale`841 * Added comma-delmited / array support for `req.accepts()`842 * Added debug instrumentation843 * Added `res.set(obj)`844 * Added `res.set(field, value)`845 * Added `res.get(field)`846 * Added `app.get(setting)`. Closes #842847 * Added `req.acceptsLanguage()`848 * Added `req.acceptsCharset()`849 * Added `req.accepted`850 * Added `req.acceptedLanguages`851 * Added `req.acceptedCharsets`852 * Added "json replacer" setting853 * Added "json spaces" setting854 * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92855 * Added `--less` support to express(1)856 * Added `express.response` prototype857 * Added `express.request` prototype858 * Added `express.application` prototype859 * Added `app.path()`860 * Added `app.render()`861 * Added `res.type()` to replace `res.contentType()`862 * Changed: `res.redirect()` to add relative support863 * Changed: enable "jsonp callback" by default864 * Changed: renamed "case sensitive routes" to "case sensitive routing"865 * Rewrite of all tests with mocha866 * Removed "root" setting867 * Removed `res.redirect('home')` support868 * Removed `req.notify()`869 * Removed `app.register()`870 * Removed `app.redirect()`871 * Removed `app.is()`872 * Removed `app.helpers()`873 * Removed `app.dynamicHelpers()`874 * Fixed `res.sendfile()` with non-GET. Closes #723875 * Fixed express(1) public dir for windows. Closes #8668768772.5.9/ 2012-04-02878==================879880 * Added support for PURGE request method [pbuyle]881 * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]8828832.5.8 / 2012-02-08884==================885886 * Update mkdirp dep. Closes #9918878882.5.7 / 2012-02-06889==================890891 * Fixed `app.all` duplicate DELETE requests [mscdex]8928932.5.6 / 2012-01-13894==================895896 * Updated hamljs dev dep. Closes #9538978982.5.5 / 2012-01-08899==================900901 * Fixed: set `filename` on cached templates [matthewleon]9029032.5.4 / 2012-01-02904==================905906 * Fixed `express(1)` eol on 0.4.x. Closes #9479079082.5.3 / 2011-12-30909==================910911 * Fixed `req.is()` when a charset is present9129132.5.2 / 2011-12-10914==================915916 * Fixed: express(1) LF -> CRLF for windows9179182.5.1 / 2011-11-17919==================920921 * Changed: updated connect to 1.8.x922 * Removed sass.js support from express(1)9239242.5.0 / 2011-10-24925==================926927 * Added ./routes dir for generated app by default928 * Added npm install reminder to express(1) app gen929 * Added 0.5.x support930 * Removed `make test-cov` since it wont work with node 0.5.x931 * Fixed express(1) public dir for windows. Closes #8669329332.4.7 / 2011-10-05934==================935936 * Added mkdirp to express(1). Closes #795937 * Added simple _json-config_ example938 * Added shorthand for the parsed request's pathname via `req.path`939 * Changed connect dep to 1.7.x to fix npm issue...940 * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]941 * Fixed `req.flash()`, only escape args942 * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]9439442.4.6 / 2011-08-22945==================946947 * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]9489492.4.5 / 2011-08-19950==================951952 * Added support for routes to handle errors. Closes #809953 * Added `app.routes.all()`. Closes #803954 * Added "basepath" setting to work in conjunction with reverse proxies etc.955 * Refactored `Route` to use a single array of callbacks956 * Added support for multiple callbacks for `app.param()`. Closes #801957Closes #805958 * Changed: removed .call(self) for route callbacks959 * Dependency: `qs >= 0.3.1`960 * Fixed `res.redirect()` on windows due to `join()` usage. Closes #8089619622.4.4 / 2011-08-05963==================964965 * Fixed `res.header()` intention of a set, even when `undefined`966 * Fixed `*`, value no longer required967 * Fixed `res.send(204)` support. Closes #7719689692.4.3 / 2011-07-14970==================971972 * Added docs for `status` option special-case. Closes #739973 * Fixed `options.filename`, exposing the view path to template engines9749752.4.2. / 2011-07-06976==================977978 * Revert "removed jsonp stripping" for XSS9799802.4.1 / 2011-07-06981==================982983 * Added `res.json()` JSONP support. Closes #737984 * Added _extending-templates_ example. Closes #730985 * Added "strict routing" setting for trailing slashes986 * Added support for multiple envs in `app.configure()` calls. Closes #735987 * Changed: `res.send()` using `res.json()`988 * Changed: when cookie `path === null` don't default it989 * Changed; default cookie path to "home" setting. Closes #731990 * Removed _pids/logs_ creation from express(1)9919922.4.0 / 2011-06-28993==================994995 * Added chainable `res.status(code)`996 * Added `res.json()`, an explicit version of `res.send(obj)`997 * Added simple web-service example9989992.3.12 / 2011-06-221000==================10011002 * \#express is now on freenode! come join!1003 * Added `req.get(field, param)`1004 * Added links to Japanese documentation, thanks @hideyukisaito!1005 * Added; the `express(1)` generated app outputs the env1006 * Added `content-negotiation` example1007 * Dependency: connect >= 1.5.1 < 2.0.01008 * Fixed view layout bug. Closes #7201009 * Fixed; ignore body on 304. Closes #701101010112.3.11 / 2011-06-041012==================10131014 * Added `npm test`1015 * Removed generation of dummy test file from `express(1)`1016 * Fixed; `express(1)` adds express as a dep1017 * Fixed; prune on `prepublish`101810192.3.10 / 2011-05-271020==================10211022 * Added `req.route`, exposing the current route1023 * Added _package.json_ generation support to `express(1)`1024 * Fixed call to `app.param()` function for optional params. Closes #682102510262.3.9 / 2011-05-251027==================10281029 * Fixed bug-ish with `../' in `res.partial()` calls103010312.3.8 / 2011-05-241032==================10331034 * Fixed `app.options()`103510362.3.7 / 2011-05-231037==================10381039 * Added route `Collection`, ex: `app.get('/user/:id').remove();`1040 * Added support for `app.param(fn)` to define param logic1041 * Removed `app.param()` support for callback with return value1042 * Removed module.parent check from express(1) generated app. Closes #6701043 * Refactored router. Closes #639104410452.3.6 / 2011-05-201046==================10471048 * Changed; using devDependencies instead of git submodules1049 * Fixed redis session example1050 * Fixed markdown example1051 * Fixed view caching, should not be enabled in development105210532.3.5 / 2011-05-201054==================10551056 * Added export `.view` as alias for `.View`105710582.3.4 / 2011-05-081059==================10601061 * Added `./examples/say`1062 * Fixed `res.sendfile()` bug preventing the transfer of files with spaces106310642.3.3 / 2011-05-031065==================10661067 * Added "case sensitive routes" option.1068 * Changed; split methods supported per rfc [slaskis]1069 * Fixed route-specific middleware when using the same callback function several times107010712.3.2 / 2011-04-271072==================10731074 * Fixed view hints107510762.3.1 / 2011-04-261077==================10781079 * Added `app.match()` as `app.match.all()`1080 * Added `app.lookup()` as `app.lookup.all()`1081 * Added `app.remove()` for `app.remove.all()`1082 * Added `app.remove.VERB()`1083 * Fixed template caching collision issue. Closes #6441084 * Moved router over from connect and started refactor108510862.3.0 / 2011-04-251087==================10881089 * Added options support to `res.clearCookie()`1090 * Added `res.helpers()` as alias of `res.locals()`1091 * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0`1092 * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]1093 * Renamed "cache views" to "view cache". Closes #6281094 * Fixed caching of views when using several apps. Closes #6371095 * Fixed gotcha invoking `app.param()` callbacks once per route middleware.1096Closes #6381097 * Fixed partial lookup precedence. Closes #6311098Shaw]109911002.2.2 / 2011-04-121101==================11021103 * Added second callback support for `res.download()` connection errors1104 * Fixed `filename` option passing to template engine110511062.2.1 / 2011-04-041107==================11081109 * Added `layout(path)` helper to change the layout within a view. Closes #6101110 * Fixed `partial()` collection object support.1111 Previously only anything with `.length` would work.1112 When `.length` is present one must still be aware of holes,1113 however now `{ collection: {foo: 'bar'}}` is valid, exposes1114 `keyInCollection` and `keysInCollection`.11151116 * Performance improved with better view caching1117 * Removed `request` and `response` locals1118 * Changed; errorHandler page title is now `Express` instead of `Connect`111911202.2.0 / 2011-03-301121==================11221123 * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #6061124 * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #6061125 * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.1126 * Dependency `connect >= 1.2.0`112711282.1.1 / 2011-03-291129==================11301131 * Added; expose `err.view` object when failing to locate a view1132 * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]1133 * Fixed; `res.send(undefined)` responds with 204 [aheckmann]113411352.1.0 / 2011-03-241136==================11371138 * Added `<root>/_?<name>` partial lookup support. Closes #4471139 * Added `request`, `response`, and `app` local variables1140 * Added `settings` local variable, containing the app's settings1141 * Added `req.flash()` exception if `req.session` is not available1142 * Added `res.send(bool)` support (json response)1143 * Fixed stylus example for latest version1144 * Fixed; wrap try/catch around `res.render()`114511462.0.0 / 2011-03-171147==================11481149 * Fixed up index view path alternative.1150 * Changed; `res.locals()` without object returns the locals115111522.0.0rc3 / 2011-03-171153==================11541155 * Added `res.locals(obj)` to compliment `res.local(key, val)`1156 * Added `res.partial()` callback support1157 * Fixed recursive error reporting issue in `res.render()`115811592.0.0rc2 / 2011-03-171160==================11611162 * Changed; `partial()` "locals" are now optional1163 * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]1164 * Fixed .filename view engine option [reported by drudge]1165 * Fixed blog example1166 * Fixed `{req,res}.app` reference when mounting [Ben Weaver]116711682.0.0rc / 2011-03-141169==================11701171 * Fixed; expose `HTTPSServer` constructor1172 * Fixed express(1) default test charset. Closes #579 [reported by secoif]1173 * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]117411752.0.0beta3 / 2011-03-091176==================11771178 * Added support for `res.contentType()` literal1179 The original `res.contentType('.json')`,1180 `res.contentType('application/json')`, and `res.contentType('json')`1181 will work now.1182 * Added `res.render()` status option support back1183 * Added charset option for `res.render()`1184 * Added `.charset` support (via connect 1.0.4)1185 * Added view resolution hints when in development and a lookup fails1186 * Added layout lookup support relative to the page view.1187 For example while rendering `./views/user/index.jade` if you create1188 `./views/user/layout.jade` it will be used in favour of the root layout.1189 * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]1190 * Fixed; default `res.send()` string charset to utf81191 * Removed `Partial` constructor (not currently used)119211932.0.0beta2 / 2011-03-071194==================11951196 * Added res.render() `.locals` support back to aid in migration process1197 * Fixed flash example119811992.0.0beta / 2011-03-031200==================12011202 * Added HTTPS support1203 * Added `res.cookie()` maxAge support1204 * Added `req.header()` _Referrer_ / _Referer_ special-case, either works1205 * Added mount support for `res.redirect()`, now respects the mount-point1206 * Added `union()` util, taking place of `merge(clone())` combo1207 * Added stylus support to express(1) generated app1208 * Added secret to session middleware used in examples and generated app1209 * Added `res.local(name, val)` for progressive view locals1210 * Added default param support to `req.param(name, default)`1211 * Added `app.disabled()` and `app.enabled()`1212 * Added `app.register()` support for omitting leading ".", either works1213 * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #5391214 * Added `app.param()` to map route params to async/sync logic1215 * Added; aliased `app.helpers()` as `app.locals()`. Closes #4811216 * Added extname with no leading "." support to `res.contentType()`1217 * Added `cache views` setting, defaulting to enabled in "production" env1218 * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.1219 * Added `req.accepts()` support for extensions1220 * Changed; `res.download()` and `res.sendfile()` now utilize Connect's1221 static file server `connect.static.send()`.1222 * Changed; replaced `connect.utils.mime()` with npm _mime_ module1223 * Changed; allow `req.query` to be pre-defined (via middleware or other parent1224 * Changed view partial resolution, now relative to parent view1225 * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.1226 * Fixed `req.param()` bug returning Array.prototype methods. Closes #5521227 * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()`1228 * Fixed; using _qs_ module instead of _querystring_1229 * Fixed; strip unsafe chars from jsonp callbacks1230 * Removed "stream threshold" setting123112321.0.8 / 2011-03-011233==================12341235 * Allow `req.query` to be pre-defined (via middleware or other parent app)1236 * "connect": ">= 0.5.0 < 1.0.0". Closes #5471237 * Removed the long deprecated __EXPRESS_ENV__ support123812391.0.7 / 2011-02-071240==================12411242 * Fixed `render()` setting inheritance.1243 Mounted apps would not inherit "view engine"124412451.0.6 / 2011-02-071246==================12471248 * Fixed `view engine` setting bug when period is in dirname124912501.0.5 / 2011-02-051251==================12521253 * Added secret to generated app `session()` call125412551.0.4 / 2011-02-051256==================12571258 * Added `qs` dependency to _package.json_1259 * Fixed namespaced `require()`s for latest connect support126012611.0.3 / 2011-01-131262==================12631264 * Remove unsafe characters from JSONP callback names [Ryan Grove]126512661.0.2 / 2011-01-101267==================12681269 * Removed nested require, using `connect.router`127012711.0.1 / 2010-12-291272==================12731274 * Fixed for middleware stacked via `createServer()`1275 previously the `foo` middleware passed to `createServer(foo)`1276 would not have access to Express methods such as `res.send()`1277 or props like `req.query` etc.127812791.0.0 / 2010-11-161280==================12811282 * Added; deduce partial object names from the last segment.1283 For example by default `partial('forum/post', postObject)` will1284 give you the _post_ object, providing a meaningful default.1285 * Added http status code string representation to `res.redirect()` body1286 * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__.1287 * Added `req.is()` to aid in content negotiation1288 * Added partial local inheritance [suggested by masylum]. Closes #1021289 providing access to parent template locals.1290 * Added _-s, --session[s]_ flag to express(1) to add session related middleware1291 * Added _--template_ flag to express(1) to specify the1292 template engine to use.1293 * Added _--css_ flag to express(1) to specify the1294 stylesheet engine to use (or just plain css by default).1295 * Added `app.all()` support [thanks aheckmann]1296 * Added partial direct object support.1297 You may now `partial('user', user)` providing the "user" local,1298 vs previously `partial('user', { object: user })`.1299 * Added _route-separation_ example since many people question ways1300 to do this with CommonJS modules. Also view the _blog_ example for1301 an alternative.1302 * Performance; caching view path derived partial object names1303 * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #4541304 * Fixed jsonp support; _text/javascript_ as per mailinglist discussion130513061.0.0rc4 / 2010-10-141307==================13081309 * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.01310 * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))1311 * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass]1312 * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass]1313 * Added `partial()` support for array-like collections. Closes #4341314 * Added support for swappable querystring parsers1315 * Added session usage docs. Closes #4431316 * Added dynamic helper caching. Closes #439 [suggested by maritz]1317 * Added authentication example1318 * Added basic Range support to `res.sendfile()` (and `res.download()` etc)1319 * Changed; `express(1)` generated app using 2 spaces instead of 41320 * Default env to "development" again [aheckmann]1321 * Removed _context_ option is no more, use "scope"1322 * Fixed; exposing _./support_ libs to examples so they can run without installs1323 * Fixed mvc example132413251.0.0rc3 / 2010-09-201326==================13271328 * Added confirmation for `express(1)` app generation. Closes #3911329 * Added extending of flash formatters via `app.flashFormatters`1330 * Added flash formatter support. Closes #4111331 * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold"1332 * Added _stream threshold_ setting for `res.sendfile()`1333 * Added `res.send()` __HEAD__ support1334 * Added `res.clearCookie()`1335 * Added `res.cookie()`1336 * Added `res.render()` headers option1337 * Added `res.redirect()` response bodies1338 * Added `res.render()` status option support. Closes #425 [thanks aheckmann]1339 * Fixed `res.sendfile()` responding with 403 on malicious path1340 * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_1341 * Fixed; mounted apps settings now inherit from parent app [aheckmann]1342 * Fixed; stripping Content-Length / Content-Type when 2041343 * Fixed `res.send()` 204. Closes #4191344 * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #4021345 * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]1346134713481.0.0rc2 / 2010-08-171349==================13501351 * Added `app.register()` for template engine mapping. Closes #3901352 * Added `res.render()` callback support as second argument (no options)1353 * Added callback support to `res.download()`1354 * Added callback support for `res.sendfile()`1355 * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()`1356 * Added "partials" setting to docs1357 * Added default expresso tests to `express(1)` generated app. Closes #3841358 * Fixed `res.sendfile()` error handling, defer via `next()`1359 * Fixed `res.render()` callback when a layout is used [thanks guillermo]1360 * Fixed; `make install` creating ~/.node_libraries when not present1361 * Fixed issue preventing error handlers from being defined anywhere. Closes #387136213631.0.0rc / 2010-07-281364==================13651366 * Added mounted hook. Closes #3691367 * Added connect dependency to _package.json_13681369 * Removed "reload views" setting and support code1370 development env never caches, production always caches.13711372 * Removed _param_ in route callbacks, signature is now1373 simply (req, res, next), previously (req, res, params, next).1374 Use _req.params_ for path captures, _req.query_ for GET params.13751376 * Fixed "home" setting1377 * Fixed middleware/router precedence issue. Closes #3661378 * Fixed; _configure()_ callbacks called immediately. Closes #368137913801.0.0beta2 / 2010-07-231381==================13821383 * Added more examples1384 * Added; exporting `Server` constructor1385 * Added `Server#helpers()` for view locals1386 * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #3491387 * Added support for absolute view paths1388 * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #3631389 * Added Guillermo Rauch to the contributor list1390 * Added support for "as" for non-collection partials. Closes #3411391 * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]1392 * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]1393 * Fixed instanceof `Array` checks, now `Array.isArray()`1394 * Fixed express(1) expansion of public dirs. Closes #3481395 * Fixed middleware precedence. Closes #3451396 * Fixed view watcher, now async [thanks aheckmann]139713981.0.0beta / 2010-07-151399==================14001401 * Re-write1402 - much faster1403 - much lighter1404 - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs140514060.14.0 / 2010-06-151407==================14081409 * Utilize relative requires1410 * Added Static bufferSize option [aheckmann]1411 * Fixed caching of view and partial subdirectories [aheckmann]1412 * Fixed mime.type() comments now that ".ext" is not supported1413 * Updated haml submodule1414 * Updated class submodule1415 * Removed bin/express141614170.13.0 / 2010-06-011418==================14191420 * Added node v0.1.97 compatibility1421 * Added support for deleting cookies via Request#cookie('key', null)1422 * Updated haml submodule1423 * Fixed not-found page, now using using charset utf-81424 * Fixed show-exceptions page, now using using charset utf-81425 * Fixed view support due to fs.readFile Buffers1426 * Changed; mime.type() no longer accepts ".type" due to node extname() changes142714280.12.0 / 2010-05-221429==================14301431 * Added node v0.1.96 compatibility1432 * Added view `helpers` export which act as additional local variables1433 * Updated haml submodule1434 * Changed ETag; removed inode, modified time only1435 * Fixed LF to CRLF for setting multiple cookies1436 * Fixed cookie complation; values are now urlencoded1437 * Fixed cookies parsing; accepts quoted values and url escaped cookies143814390.11.0 / 2010-05-061440==================14411442 * Added support for layouts using different engines1443 - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })1444 - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'1445 - this.render('page.html.haml', { layout: false }) // no layout1446 * Updated ext submodule1447 * Updated haml submodule1448 * Fixed EJS partial support by passing along the context. Issue #307144914500.10.1 / 2010-05-031451==================14521453 * Fixed binary uploads.145414550.10.0 / 2010-04-301456==================14571458 * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s1459 encoding is set to 'utf8' or 'utf-8'.1460 * Added "encoding" option to Request#render(). Closes #2991461 * Added "dump exceptions" setting, which is enabled by default.1462 * Added simple ejs template engine support1463 * Added error reponse support for text/plain, application/json. Closes #2971464 * Added callback function param to Request#error()1465 * Added Request#sendHead()1466 * Added Request#stream()1467 * Added support for Request#respond(304, null) for empty response bodies1468 * Added ETag support to Request#sendfile()1469 * Added options to Request#sendfile(), passed to fs.createReadStream()1470 * Added filename arg to Request#download()1471 * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request1472 * Performance enhanced by preventing several calls to toLowerCase() in Router#match()1473 * Changed; Request#sendfile() now streams1474 * Changed; Renamed Request#halt() to Request#respond(). Closes #2891475 * Changed; Using sys.inspect() instead of JSON.encode() for error output1476 * Changed; run() returns the http.Server instance. Closes #2981477 * Changed; Defaulting Server#host to null (INADDR_ANY)1478 * Changed; Logger "common" format scale of 0.4f1479 * Removed Logger "request" format1480 * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found1481 * Fixed several issues with http client1482 * Fixed Logger Content-Length output1483 * Fixed bug preventing Opera from retaining the generated session id. Closes #292148414850.9.0 / 2010-04-141486==================14871488 * Added DSL level error() route support1489 * Added DSL level notFound() route support1490 * Added Request#error()1491 * Added Request#notFound()1492 * Added Request#render() callback function. Closes #2581493 * Added "max upload size" setting1494 * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #2541495 * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js1496 * Added callback function support to Request#halt() as 3rd/4th arg1497 * Added preprocessing of route param wildcards using param(). Closes #2511498 * Added view partial support (with collections etc)1499 * Fixed bug preventing falsey params (such as ?page=0). Closes #2861500 * Fixed setting of multiple cookies. Closes #1991501 * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)1502 * Changed; session cookie is now httpOnly1503 * Changed; Request is no longer global1504 * Changed; Event is no longer global1505 * Changed; "sys" module is no longer global1506 * Changed; moved Request#download to Static plugin where it belongs1507 * Changed; Request instance created before body parsing. Closes #2621508 * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #2531509 * Changed; Pre-caching view partials in memory when "cache view partials" is enabled1510 * Updated support to node --version 0.1.901511 * Updated dependencies1512 * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})1513 * Removed utils.mixin(); use Object#mergeDeep()151415150.8.0 / 2010-03-191516==================15171518 * Added coffeescript example app. Closes #2421519 * Changed; cache api now async friendly. Closes #2401520 * Removed deprecated 'express/static' support. Use 'express/plugins/static'152115220.7.6 / 2010-03-191523==================15241525 * Added Request#isXHR. Closes #2291526 * Added `make install` (for the executable)1527 * Added `express` executable for setting up simple app templates1528 * Added "GET /public/*" to Static plugin, defaulting to <root>/public1529 * Added Static plugin1530 * Fixed; Request#render() only calls cache.get() once1531 * Fixed; Namespacing View caches with "view:"1532 * Fixed; Namespacing Static caches with "static:"1533 * Fixed; Both example apps now use the Static plugin1534 * Fixed set("views"). Closes #2391535 * Fixed missing space for combined log format1536 * Deprecated Request#sendfile() and 'express/static'1537 * Removed Server#running153815390.7.5 / 2010-03-161540==================15411542 * Added Request#flash() support without args, now returns all flashes1543 * Updated ext submodule154415450.7.4 / 2010-03-161546==================15471548 * Fixed session reaper1549 * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)155015510.7.3 / 2010-03-161552==================15531554 * Added package.json1555 * Fixed requiring of haml / sass due to kiwi removal155615570.7.2 / 2010-03-161558==================15591560 * Fixed GIT submodules (HAH!)156115620.7.1 / 2010-03-161563==================15641565 * Changed; Express now using submodules again until a PM is adopted1566 * Changed; chat example using millisecond conversions from ext156715680.7.0 / 2010-03-151569==================15701571 * Added Request#pass() support (finds the next matching route, or the given path)1572 * Added Logger plugin (default "common" format replaces CommonLogger)1573 * Removed Profiler plugin1574 * Removed CommonLogger plugin157515760.6.0 / 2010-03-111577==================15781579 * Added seed.yml for kiwi package management support1580 * Added HTTP client query string support when method is GET. Closes #20515811582 * Added support for arbitrary view engines.1583 For example "foo.engine.html" will now require('engine'),1584 the exports from this module are cached after the first require().15851586 * Added async plugin support15871588 * Removed usage of RESTful route funcs as http client1589 get() etc, use http.get() and friends15901591 * Removed custom exceptions159215930.5.0 / 2010-03-101594==================15951596 * Added ext dependency (library of js extensions)1597 * Removed extname() / basename() utils. Use path module1598 * Removed toArray() util. Use arguments.values1599 * Removed escapeRegexp() util. Use RegExp.escape()1600 * Removed process.mixin() dependency. Use utils.mixin()1601 * Removed Collection1602 * Removed ElementCollection1603 * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;)160416050.4.0 / 2010-02-111606==================16071608 * Added flash() example to sample upload app1609 * Added high level restful http client module (express/http)1610 * Changed; RESTful route functions double as HTTP clients. Closes #691611 * Changed; throwing error when routes are added at runtime1612 * Changed; defaulting render() context to the current Request. Closes #1971613 * Updated haml submodule161416150.3.0 / 2010-02-111616==================16171618 * Updated haml / sass submodules. Closes #2001619 * Added flash message support. Closes #641620 * Added accepts() now allows multiple args. fixes #1171621 * Added support for plugins to halt. Closes #1891622 * Added alternate layout support. Closes #1191623 * Removed Route#run(). Closes #1881624 * Fixed broken specs due to use(Cookie) missing162516260.2.1 / 2010-02-051627==================16281629 * Added "plot" format option for Profiler (for gnuplot processing)1630 * Added request number to Profiler plugin1631 * Fixed binary encoding for multi-part file uploads, was previously defaulting to UTF81632 * Fixed issue with routes not firing when not files are present. Closes #1841633 * Fixed process.Promise -> events.Promise163416350.2.0 / 2010-02-031636==================16371638 * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #1801639 * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #1741640 * Added expiration support to cache api with reaper. Closes #1331641 * Added cache Store.Memory#reap()1642 * Added Cache; cache api now uses first class Cache instances1643 * Added abstract session Store. Closes #1721644 * Changed; cache Memory.Store#get() utilizing Collection1645 * Renamed MemoryStore -> Store.Memory1646 * Fixed use() of the same plugin several time will always use latest options. Closes #176164716480.1.0 / 2010-02-031649==================16501651 * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context1652 * Updated node support to 0.1.27 Closes #1691653 * Updated dirname(__filename) -> __dirname1654 * Updated libxmljs support to v0.2.01655 * Added session support with memory store / reaping1656 * Added quick uid() helper1657 * Added multi-part upload support1658 * Added Sass.js support / submodule1659 * Added production env caching view contents and static files1660 * Added static file caching. Closes #1361661 * Added cache plugin with memory stores1662 * Added support to StaticFile so that it works with non-textual files.1663 * Removed dirname() helper1664 * Removed several globals (now their modules must be required)166516660.0.2 / 2010-01-101667==================16681669 * Added view benchmarks; currently haml vs ejs1670 * Added Request#attachment() specs. Closes #1161671 * Added use of node's parseQuery() util. Closes #1231672 * Added `make init` for submodules1673 * Updated Haml1674 * Updated sample chat app to show messages on load1675 * Updated libxmljs parseString -> parseHtmlString1676 * Fixed `make init` to work with older versions of git1677 * Fixed specs can now run independant specs for those who cant build deps. Closes #1271678 * Fixed issues introduced by the node url module changes. Closes 126.1679 * Fixed two assertions failing due to Collection#keys() returning strings1680 * Fixed faulty Collection#toArray() spec due to keys() returning strings1681 * Fixed `make test` now builds libxmljs.node before testing168216830.0.1 / 2010-01-031684==================16851686 * Initial release