History.md
This file
Path
History.md
1,718 lines · 55.5 KiB · Markdown
Last changed by
deps: serve-static@~1.3.0Douglas Christopher Wilsonbefore adoptiond1b1dfd
History of this fileTake it
The walk stopped after 200 commits: lines older than 3baca25 point at it.
Merge tag '3.12.0'Douglas Christopher Wilsonbefore adoption3ffceff
lines 1–3why, one step back1unreleased2==========3add deprecation message to non-plural req.accepts*Douglas Christopher Wilsonbefore adoption2cccbc1
line 4why, one step back4 * add deprecation message to non-plural `req.accepts*`add deprecation message to res.send(body, status)Douglas Christopher Wilsonbefore adoptionba8a4c5
line 5why, one step back5 * add deprecation message to `res.send(body, status)`add deprecation message to res.vary()Douglas Christopher Wilsonbefore adoption381b3b0
line 6why, one step back6 * add deprecation message to `res.vary()`Add mergeParams option to RouterDouglas Christopher Wilsonbefore adoptionfd35351
lines 7–8why, one step back7 * add `mergeParams` option to `Router`8 - merges `req.params` from parent routesMerge tag '3.12.0'Douglas Christopher Wilsonbefore adoption3ffceff
line 9why, one step back9 * deprecate things with `depd` modulefix behavior when handling request without routesDouglas Christopher Wilsonbefore adoptionbdfd288
line 10why, one step back10 * fix behavior when handling request without routesFix handling when route.all is only routeDouglas Christopher Wilsonbefore adoption7f26cfc
line 11why, one step back11 * fix handling when `route.all` is only routeRestore req.params after invoking RouterDouglas Christopher Wilsonbefore adoptionb89a597
line 12why, one step back12 * restore `req.params` after invoking routeruse finalhandler for final response handlingDouglas Christopher Wilsonbefore adoption7e01531
line 13why, one step back13 * use `finalhandler` for final response handlingMerge tag '3.12.0'Douglas Christopher Wilsonbefore adoption3ffceff
line 14why, one step back14 * use `media-typer` to alter content-type charsetdeps: serve-static@~1.3.0Douglas Christopher Wilsonbefore adoptiond1b1dfd
lines 15–19why, one step back15 * deps: serve-static@~1.3.016 - Accept string for `maxAge` (converted by `ms`)17 - Add `setHeaders` option18 - Include HTML link in redirect response19 - deps: send@0.5.0deps: type-is@~1.3.2Douglas Christopher Wilsonbefore adoptione7caaf6
line 20why, one step back20 * deps: type-is@~1.3.2Merge tag '3.12.0'Douglas Christopher Wilsonbefore adoption3ffceff
line 21why, one step back21Merge tag '4.4.5'Douglas Christopher Wilsonbefore adoptiond91bf81
lines 22–27why, one step back224.4.5 / 2014-06-2623==================2425 * deps: cookie-signature@1.0.426 - fix for timing attacks274.4.4Douglas Christopher Wilsonbefore adoptionf498b66
lines 28–29why, one step back284.4.4 / 2014-06-2029==================fix "trim prefix" debug message in express:routerDouglas Christopher Wilsonbefore adoption8258ce1
line 30why, one step back30Fix res.attachment Unicode filenames in Safari刘星before adoptione606d99
line 31why, one step back31 * fix `res.attachment` Unicode filenames in Safarifix "trim prefix" debug message in express:routerDouglas Christopher Wilsonbefore adoption8258ce1
line 32why, one step back32 * fix "trim prefix" debug message in `express:router`deps: accepts@~1.0.5Douglas Christopher Wilsonbefore adoption6aba1b4
line 33why, one step back33 * deps: accepts@~1.0.5deps: buffer-crc32@0.2.3Douglas Christopher Wilsonbefore adoptionffe663a
line 34why, one step back34 * deps: buffer-crc32@0.2.3fix "trim prefix" debug message in express:routerDouglas Christopher Wilsonbefore adoption8258ce1
line 35why, one step back354.4.3Douglas Christopher Wilsonbefore adoptionac573cf
lines 36–37why, one step back364.4.3 / 2014-06-1137==================deps: debug@1.0.2Douglas Christopher Wilsonbefore adoption7df7f7a
line 38why, one step back38Fix persistence of req.params from app.paramsDouglas Christopher Wilsonbefore adoption6775658
line 39why, one step back39 * fix persistence of modified `req.params[name]` from `app.param()`deps: accepts@1.0.3Douglas Christopher Wilsonbefore adoption3428543
lines 40–41why, one step back40 * deps: accepts@1.0.341 - deps: negotiator@0.4.6deps: debug@1.0.2Douglas Christopher Wilsonbefore adoption7df7f7a
line 42why, one step back42 * deps: debug@1.0.2deps: send@0.4.3Douglas Christopher Wilsonbefore adoption9cdbc80
lines 43–48why, one step back43 * deps: send@0.4.344 - Do not throw un-catchable error on file open race condition45 - Use `escape-html` for HTML escaping46 - deps: debug@1.0.247 - deps: finished@1.2.248 - deps: fresh@0.2.2deps: serve-static@1.2.3Douglas Christopher Wilsonbefore adoptionc361a06
lines 49–51why, one step back49 * deps: serve-static@1.2.350 - Do not throw un-catchable error on file open race condition51 - deps: send@0.4.3deps: debug@1.0.2Douglas Christopher Wilsonbefore adoption7df7f7a
line 52why, one step back524.4.2Douglas Christopher Wilsonbefore adoption7daae19
lines 53–54why, one step back534.4.2 / 2014-06-0954==================deps: proxy-addr@1.0.1Douglas Christopher Wilsonbefore adoptionbffb71d
line 55why, one step back55Fix catching errors from top-level handlersDouglas Christopher Wilsonbefore adoption4d3e0d8
line 56why, one step back56 * fix catching errors from top-level handlersMerge tag '3.10.3'Douglas Christopher Wilsonbefore adoption9bf1247
line 57why, one step back57 * use `vary` module for `res.vary`deps: debug@1.0.1Douglas Christopher Wilsonbefore adoption142462d
line 58why, one step back58 * deps: debug@1.0.1deps: proxy-addr@1.0.1Douglas Christopher Wilsonbefore adoptionbffb71d
line 59why, one step back59 * deps: proxy-addr@1.0.1deps: send@0.4.2Douglas Christopher Wilsonbefore adoptionb45fd70
lines 60–63why, one step back60 * deps: send@0.4.261 - fix "event emitter leak" warnings62 - deps: debug@1.0.163 - deps: finished@1.2.1deps: serve-static@1.2.2Douglas Christopher Wilsonbefore adoption7f6c7a1
lines 64–66why, one step back64 * deps: serve-static@1.2.265 - fix "event emitter leak" warnings66 - deps: send@0.4.2deps: type-is@1.2.1Douglas Christopher Wilsonbefore adoption980a15d
line 67why, one step back67 * deps: type-is@1.2.1deps: proxy-addr@1.0.1Douglas Christopher Wilsonbefore adoptionbffb71d
line 68why, one step back684.4.1Douglas Christopher Wilsonbefore adoptionf9ec70e
lines 69–70why, one step back694.4.1 / 2014-06-0270==================deps: methods@1.0.1Douglas Christopher Wilsonbefore adoption16fdc11
lines 71–72why, one step back7172 * deps: methods@1.0.1deps: send@0.4.1Douglas Christopher Wilsonbefore adoption8ccd9d0
lines 73–74why, one step back73 * deps: send@0.4.174 - Send `max-age` in `Cache-Control` in correct formatdeps: serve-static@1.2.1Douglas Christopher Wilsonbefore adoption492e933
lines 75–77why, one step back75 * deps: serve-static@1.2.176 - use `escape-html` for escaping77 - deps: send@0.4.1deps: methods@1.0.1Douglas Christopher Wilsonbefore adoption16fdc11
line 78why, one step back784.4.0Douglas Christopher Wilsonbefore adoption95fa491
lines 79–80why, one step back794.4.0 / 2014-05-3080==================Merge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d
lines 81–88why, one step back8182 * custom etag control with `app.set('etag', val)`83 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation84 - `app.set('etag', 'weak')` weak tag85 - `app.set('etag', 'strong')` strong etag86 - `app.set('etag', false)` turn off87 - `app.set('etag', true)` standard etag88 * mark `res.send` ETag as weak and reduce collisionsupdate accepts to 1.0.2Douglas Christopher Wilsonbefore adoptionf92a7ad
lines 89–90why, one step back89 * update accepts to 1.0.290 - Fix interpretation when header not in requestMerge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d
lines 91–94why, one step back91 * update send to 0.4.092 - Calculate ETag with md5 for reduced collisions93 - Ignore stream errors after request ends94 - deps: debug@0.8.1update serve-static to 1.2.0Douglas Christopher Wilsonbefore adoptionf665c57
lines 95–98why, one step back95 * update serve-static to 1.2.096 - Calculate ETag with md5 for reduced collisions97 - Ignore stream errors after request ends98 - deps: send@0.4.0Merge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d
line 99why, one step back994.3.2Douglas Christopher Wilsonbefore adoption311e83e
lines 100–101why, one step back1004.3.2 / 2014-05-28101==================fix handling of errors from param callbacksDouglas Christopher Wilsonbefore adoptionfb2d918
lines 102–104why, one step back102103 * fix handling of errors from `router.param()` callbacks1044.3.1Douglas Christopher Wilsonbefore adoption87e02c3
lines 105–106why, one step back1054.3.1 / 2014-05-23106==================Revert "fix behavior of multiple app.VERB for the same path"Douglas Christopher Wilsonbefore adoption7f04916
lines 107–110why, one step back107108 * revert "fix behavior of multiple `app.VERB` for the same path"109 - this caused a regression in the order of route execution1104.3.0Douglas Christopher Wilsonbefore adoption4e12a72
lines 111–112why, one step back1114.3.0 / 2014-05-21112==================update type-is to 1.2.0Douglas Christopher Wilsonbefore adoption8fe8d74
line 113why, one step back113add req.baseUrl to access stripped path in routesDouglas Christopher Wilsonbefore adoption739586f
line 114why, one step back114 * 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 115why, one step back115 * fix behavior of multiple `app.VERB` for the same pathfix issue routing requests among sub routersDouglas Christopher Wilsonbefore adoptionababa6a
line 116why, one step back116 * fix issue routing requests among sub routersinvoke router.param() only when necessaryDouglas Christopher Wilsonbefore adoption98d17e2
line 117why, one step back117 * invoke `router.param()` only when necessary instead of every matchMerge tag '3.7.0'Douglas Christopher Wilsonbefore adoption097cd0c
lines 118–125why, one step back118 * proper proxy trust with `app.set('trust proxy', trust)`119 - `app.set('trust proxy', 1)` trust first hop120 - `app.set('trust proxy', 'loopback')` trust loopback addresses121 - `app.set('trust proxy', '10.0.0.1')` trust single IP122 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet123 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list124 - `app.set('trust proxy', false)` turn off125 - `app.set('trust proxy', true)` trust everythingMerge tag '3.8.0'Douglas Christopher Wilsonbefore adoptiondb4a061
line 126why, one step back126 * set proper `charset` in `Content-Type` for `res.send`update type-is to 1.2.0Douglas Christopher Wilsonbefore adoption8fe8d74
lines 127–129why, one step back127 * update type-is to 1.2.0128 - support suffix matching1294.2.0Douglas Christopher Wilsonbefore adoptioncf709f3
lines 130–131why, one step back1304.2.0 / 2014-05-11131==================update historyDouglas Christopher Wilsonbefore adoption165578a
line 132why, one step back132Merge tag '3.6.0'Douglas Christopher Wilsonbefore adoption35c5060
lines 133–137why, one step back133 * deprecate `app.del()` -- use `app.delete()` instead134 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead135 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`136 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead137 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`Fix req.next when inside router instanceDouglas Christopher Wilsonbefore adoptionbc9bcb0
line 138why, one step back138 * fix `req.next` when inside router instanceupdate historyDouglas Christopher Wilsonbefore adoption165578a
lines 139–140why, one step back139 * include `ETag` header in `HEAD` requests140 * keep previous `Content-Type` for `res.jsonp`Merge tag '3.6.0'Douglas Christopher Wilsonbefore adoption35c5060
lines 141–149why, one step back141 * support PURGE method142 - add `app.purge`143 - add `router.purge`144 - include PURGE in `app.all`145 * update debug to 0.8.0146 - add `enable()` method147 - change from stderr to stdout148 * update methods to 1.0.0149 - add PURGEupdate historyDouglas Christopher Wilsonbefore adoption165578a
line 150why, one step back150Merge branch '4.1.x'Douglas Christopher Wilsonbefore adoption0bbbc84
lines 151–156why, one step back1514.1.2 / 2014-05-08152==================153154 * fix `req.host` for IPv6 literals155 * fix `res.jsonp` error if callback param is object1564.1.1Douglas Christopher Wilsonbefore adoption61f2929
lines 157–161why, one step back1574.1.1 / 2014-04-27158==================159160 * fix package.json to reflect supported node version1614.1.0Douglas Christopher Wilsonbefore adoptiondbea831
lines 162–168why, one step back1624.1.0 / 2014-04-24163==================164165 * pass options from `res.sendfile` to `send`166 * preserve casing of headers in `res.header` and `res.set`167 * support unicode file names in `res.attachment` and `res.download`168 * update accepts to 1.0.1update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3
line 169why, one step back169 - deps: negotiator@0.4.04.1.0Douglas Christopher Wilsonbefore adoptiondbea831
line 170why, one step back170 * update cookie to 0.1.2update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3
lines 171–172why, one step back171 - Fix for maxAge == 0172 - made compat with expires field4.1.0Douglas Christopher Wilsonbefore adoptiondbea831
line 173why, one step back173 * update send to 0.3.0update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3
lines 174–185why, one step back174 - Accept API options in options object175 - Coerce option types176 - Control whether to generate etags177 - Default directory access to 403 when index disabled178 - Fix sending files with dots without root set179 - Include file path in etag180 - Make "Can't set headers after they are sent." catchable181 - Send full entity-body for multi range requests182 - Set etags to "weak"183 - Support "If-Range" header184 - Support multiple index paths185 - deps: mime@1.2.114.1.0Douglas Christopher Wilsonbefore adoptiondbea831
line 186why, one step back186 * update serve-static to 1.1.0update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3
lines 187–190why, one step back187 - Accept options directly to `send` module188 - Resolve relative paths at middleware setup189 - Use parseurl to parse the URL from request190 - deps: send@0.3.04.1.0Douglas Christopher Wilsonbefore adoptiondbea831
line 191why, one step back191 * update type-is to 1.1.0update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3
lines 192–193why, one step back192 - add non-array values support193 - add `multipart` as a shorthand4.1.0Douglas Christopher Wilsonbefore adoptiondbea831
line 194why, one step back194update historyDouglas Christopher Wilsonbefore adoption0dbaacf
line 195why, one step back1954.0.0 / 2014-04-09remove binaryJonathan Ongbefore adoption476f8de
lines 196–197why, one step back196==================197improve history.mdJonathan Ongbefore adoption26c0be4
line 198why, one step back198 * remove:Update History.mdJonathan Ongbefore adoptionb0351a0
lines 199–200why, one step back199 - node 0.8 support200 - connect and connect's patches except for charset handlingimprove history.mdJonathan Ongbefore adoption26c0be4
line 201why, one step back201 - express(1) - moved to [express-generator](https://github.com/expressjs/generator)remove deprecated express.createServer() methodRoman Shtylmanbefore adoptionf56a5f0
line 202why, one step back202 - `express.createServer()` - it has been deprecated for a long time. Use `express()`update historyJonathan Ongbefore adoption25e6629
line 203why, one step back203 - `app.configure` - use logic in your own app coderemove app.router and refactor middleware processingRoman Shtylmanbefore adoptionf41d09a
line 204why, one step back204 - `app.router` - is removedremove req.authJonathan Ongbefore adoption68996d7
line 205why, one step back205 - `req.auth` - use `basic-auth` insteadupdate historyJonathan Ongbefore adoption25e6629
lines 206–207why, one step back206 - `req.accepted*` - use `req.accepts*()` instead207 - `res.location` - relative URL resolution is removedremove res.charset supportJonathan Ongbefore adoption3228fd3
line 208why, one step back208 - `res.charset` - include the charset in the content type when using `res.set()`remove last pieces of connect dependencyRoman Shtylmanbefore adoption1396e08
line 209why, one step back209 - all bundled middleware except `static`improve history.mdJonathan Ongbefore adoption26c0be4
line 210why, one step back210 * change:update historyJonathan Ongbefore adoption25e6629
lines 211–212why, one step back211 - `app.route` -> `app.mountpath` when mounting an express app in another express app212 - `json spaces` no longer enabled by default in developmentimprove history.mdJonathan Ongbefore adoption26c0be4
line 213why, one step back213 - `req.accepts*` -> `req.accepts*s` - i.e. `req.acceptsEncoding` -> `req.acceptsEncodings`history: req.paramsJonathan Ongbefore adoption7018d3d
line 214why, one step back214 - `req.params` is now an object instead of an arrayMerge pull request #1908 from visionmedia/locals-objectRoman Shtylmanbefore adoption991c2a9
line 215why, one step back215 - `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 216why, one step back216 - `res.headerSent` -> `res.headersSent` to match node.js ServerResponse objectimprove history.mdJonathan Ongbefore adoption26c0be4
line 217why, one step back217 * refactor:refactor req.is and req.accepts*Jonathan Ongbefore adoptioncec0c06
lines 218–219why, one step back218 - `req.accepts*` with [accepts](https://github.com/expressjs/accepts)219 - `req.is` with [type-is](https://github.com/expressjs/type-is)update History.md with 3.x branchJonathan Ongbefore adoptionb443da4
line 220why, one step back220 - [path-to-regexp](https://github.com/component/path-to-regexp)remove app.router and refactor middleware processingRoman Shtylmanbefore adoptionf41d09a
lines 221–224why, one step back221 * add:222 - `app.router()` - returns the app Router instance223 - `app.route()` - Proxy to the app's `Router#route()` method to create a new route224 - Router & Route - public APIMerge tag '3.12.0'Douglas Christopher Wilsonbefore adoption3ffceff
line 225why, one step back225Merge tag '3.12.1'Douglas Christopher Wilsonbefore adoption8a15f83
lines 226–236why, one step back2263.12.1 / 2014-06-26227===================228229 * deps: connect@2.21.1230 - deps: cookie-parser@1.3.2231 - deps: cookie-signature@1.0.4232 - deps: express-session@~1.5.2233 - deps: type-is@~1.3.2234 * deps: cookie-signature@1.0.4235 - fix for timing attacks236Merge tag '3.12.0'Douglas Christopher Wilsonbefore adoption3ffceff
lines 237–270why, one step back2373.12.0 / 2014-06-21238===================239240 * use `media-typer` to alter content-type charset241 * deps: connect@2.21.0242 - deprecate `connect(middleware)` -- use `app.use(middleware)` instead243 - deprecate `connect.createServer()` -- use `connect()` instead244 - fix `res.setHeader()` patch to work with with get -> append -> set pattern245 - deps: compression@~1.0.8246 - deps: errorhandler@~1.1.1247 - deps: express-session@~1.5.0248 - deps: serve-index@~1.1.32492503.11.0 / 2014-06-19251===================252253 * deprecate things with `depd` module254 * deps: buffer-crc32@0.2.3255 * deps: connect@2.20.2256 - deprecate `verify` option to `json` -- use `body-parser` module directly257 - deprecate `verify` option to `urlencoded` -- use `body-parser` module directly258 - deprecate things with `depd` module259 - use `finalhandler` for final response handling260 - use `media-typer` to parse `content-type` for charset261 - deps: body-parser@1.4.3262 - deps: connect-timeout@1.1.1263 - deps: cookie-parser@1.3.1264 - deps: csurf@1.2.2265 - deps: errorhandler@1.1.0266 - deps: express-session@1.4.0267 - deps: multiparty@3.2.9268 - deps: serve-index@1.1.2269 - deps: type-is@1.3.1270 - deps: vhost@2.0.0Merge tag '3.10.3'Douglas Christopher Wilsonbefore adoption9bf1247
line 271why, one step back271Merge tag '3.10.5'Douglas Christopher Wilsonbefore adoptione799c0f
lines 272–288why, one step back2723.10.5 / 2014-06-11273===================274275 * deps: connect@2.19.6276 - deps: body-parser@1.3.1277 - deps: compression@1.0.7278 - deps: debug@1.0.2279 - deps: serve-index@1.1.1280 - deps: serve-static@1.2.3281 * deps: debug@1.0.2282 * deps: send@0.4.3283 - Do not throw un-catchable error on file open race condition284 - Use `escape-html` for HTML escaping285 - deps: debug@1.0.2286 - deps: finished@1.2.2287 - deps: fresh@0.2.2288Merge tag '3.10.4'Douglas Christopher Wilsonbefore adoption898dcfa
lines 289–303why, one step back2893.10.4 / 2014-06-09290===================291292 * deps: connect@2.19.5293 - fix "event emitter leak" warnings294 - deps: csurf@1.2.1295 - deps: debug@1.0.1296 - deps: serve-static@1.2.2297 - deps: type-is@1.2.1298 * deps: debug@1.0.1299 * deps: send@0.4.2300 - fix "event emitter leak" warnings301 - deps: finished@1.2.1302 - deps: debug@1.0.1303Merge tag '3.10.3'Douglas Christopher Wilsonbefore adoption9bf1247
lines 304–325why, one step back3043.10.3 / 2014-06-05305===================306307 * use `vary` module for `res.vary`308 * deps: connect@2.19.4309 - deps: errorhandler@1.0.2310 - deps: method-override@2.0.2311 - deps: serve-favicon@2.0.1312 * deps: debug@1.0.03133143.10.2 / 2014-06-03315===================316317 * deps: connect@2.19.3318 - deps: compression@1.0.63193203.10.1 / 2014-06-03321===================322323 * deps: connect@2.19.2324 - deps: compression@1.0.4325 * deps: proxy-addr@1.0.1Merge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d
line 326why, one step back326Merge tag '3.10.0'Douglas Christopher Wilsonbefore adoption402ec83
lines 327–340why, one step back3273.10.0 / 2014-06-02328===================329330 * deps: connect@2.19.1331 - deprecate `methodOverride()` -- use `method-override` module directly332 - deps: body-parser@1.3.0333 - deps: method-override@2.0.1334 - deps: multiparty@3.2.8335 - deps: response-time@2.0.0336 - deps: serve-static@1.2.1337 * deps: methods@1.0.1338 * deps: send@0.4.1339 - Send `max-age` in `Cache-Control` in correct format340Merge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d
lines 341–359why, one step back3413.9.0 / 2014-05-30342==================343344 * custom etag control with `app.set('etag', val)`345 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation346 - `app.set('etag', 'weak')` weak tag347 - `app.set('etag', 'strong')` strong etag348 - `app.set('etag', false)` turn off349 - `app.set('etag', true)` standard etag350 * Include ETag in HEAD requests351 * mark `res.send` ETag as weak and reduce collisions352 * update connect to 2.18.0353 - deps: compression@1.0.3354 - deps: serve-index@1.1.0355 - deps: serve-static@1.2.0356 * update send to 0.4.0357 - Calculate ETag with md5 for reduced collisions358 - Ignore stream errors after request ends359 - deps: debug@0.8.1Merge tag '3.8.0'Douglas Christopher Wilsonbefore adoptiondb4a061
line 360why, one step back360Merge tag '3.8.1'Douglas Christopher Wilsonbefore adoption3fbab91
lines 361–368why, one step back3613.8.1 / 2014-05-27362==================363364 * update connect to 2.17.3365 - deps: body-parser@1.2.2366 - deps: express-session@1.2.1367 - deps: method-override@1.0.2368Merge tag '3.8.0'Douglas Christopher Wilsonbefore adoptiondb4a061
lines 369–378why, one step back3693.8.0 / 2014-05-21370==================371372 * keep previous `Content-Type` for `res.jsonp`373 * set proper `charset` in `Content-Type` for `res.send`374 * update connect to 2.17.1375 - fix `res.charset` appending charset when `content-type` has one376 - deps: express-session@1.2.0377 - deps: morgan@1.1.1378 - deps: serve-index@1.0.3Merge tag '3.7.0'Douglas Christopher Wilsonbefore adoption097cd0c
lines 379–401why, one step back3793803.7.0 / 2014-05-18381==================382383 * proper proxy trust with `app.set('trust proxy', trust)`384 - `app.set('trust proxy', 1)` trust first hop385 - `app.set('trust proxy', 'loopback')` trust loopback addresses386 - `app.set('trust proxy', '10.0.0.1')` trust single IP387 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet388 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list389 - `app.set('trust proxy', false)` turn off390 - `app.set('trust proxy', true)` trust everything391 * update connect to 2.16.2392 - deprecate `res.headerSent` -- use `res.headersSent`393 - deprecate `res.on("header")` -- use on-headers module instead394 - fix edge-case in `res.appendHeader` that would append in wrong order395 - json: use body-parser396 - urlencoded: use body-parser397 - dep: bytes@1.0.0398 - dep: cookie-parser@1.1.0399 - dep: csurf@1.2.0400 - dep: express-session@1.1.0401 - dep: method-override@1.0.1Merge tag '3.6.0'Douglas Christopher Wilsonbefore adoption35c5060
lines 402–434why, one step back4024033.6.0 / 2014-05-09404==================405406 * deprecate `app.del()` -- use `app.delete()` instead407 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead408 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`409 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead410 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`411 * support PURGE method412 - add `app.purge`413 - add `router.purge`414 - include PURGE in `app.all`415 * update connect to 2.15.0416 * Add `res.appendHeader`417 * Call error stack even when response has been sent418 * Patch `res.headerSent` to return Boolean419 * Patch `res.headersSent` for node.js 0.8420 * Prevent default 404 handler after response sent421 * dep: compression@1.0.2422 * dep: connect-timeout@1.1.0423 * dep: debug@^0.8.0424 * dep: errorhandler@1.0.1425 * dep: express-session@1.0.4426 * dep: morgan@1.0.1427 * dep: serve-favicon@2.0.0428 * dep: serve-index@1.0.2429 * update debug to 0.8.0430 * add `enable()` method431 * change from stderr to stdout432 * update methods to 1.0.0433 - add PURGE434 * update mkdirp to 0.5.0Merge branch '4.1.x'Douglas Christopher Wilsonbefore adoption0bbbc84
lines 435–440why, one step back4354363.5.3 / 2014-05-08437==================438439 * fix `req.host` for IPv6 literals440 * fix `res.jsonp` error if callback param is objectupdate History.md with 3.x branchJonathan Ongbefore adoptionb443da4
line 441why, one step back441Merge branch '3.x'Douglas Christopher Wilsonbefore adoption8ccceac
lines 442–454why, one step back4423.5.2 / 2014-04-24443==================444445 * update connect to 2.14.5446 * update cookie to 0.1.2447 * update mkdirp to 0.4.0448 * update send to 0.3.04494503.5.1 / 2014-03-25451==================452453 * pin less-middleware in generated app454update History.md with 3.x branchJonathan Ongbefore adoptionb443da4
lines 455–465why, one step back4553.5.0 / 2014-03-06456==================457458 * bump deps4594603.4.8 / 2014-01-13461==================462463 * prevent incorrect automatic OPTIONS responses #1868 @dpatti464 * update binary and examples for jade 1.0 #1876 @yossi, #1877 @reqshark, #1892 @matheusazzi465 * throw 400 in case of malformed paths @rlidwkaremove binaryJonathan Ongbefore adoption476f8de
line 466why, one step back466use 8 threads for benchmarksTJ Holowaychukbefore adoption3baca25
lines 467–1718why, one step back4673.4.7 / 2013-12-10468==================469470 * update connect4714723.4.6 / 2013-12-01473==================474475 * update connect (raw-body)4764773.4.5 / 2013-11-27478==================479480 * update connect481 * res.location: remove leading ./ #1802 @kapouer482 * res.redirect: fix `res.redirect('toString') #1829 @michaelficarra483 * res.send: always send ETag when content-length > 0484 * router: add Router.all() method4854863.4.4 / 2013-10-29487==================488489 * update connect490 * update supertest491 * update methods492 * express(1): replace bodyParser() with urlencoded() and json() #1795 @chirag044934943.4.3 / 2013-10-23495==================496497 * update connect4984993.4.2 / 2013-10-18500==================501502 * update connect503 * downgrade commander5045053.4.1 / 2013-10-15506==================507508 * update connect509 * update commander510 * jsonp: check if callback is a function511 * router: wrap encodeURIComponent in a try/catch #1735 (@lxe)512 * res.format: now includes chraset @1747 (@sorribas)513 * res.links: allow multiple calls @1746 (@sorribas)5145153.4.0 / 2013-09-07516==================517518 * add res.vary(). Closes #1682519 * update connect5205213.3.8 / 2013-09-02522==================523524 * update connect5255263.3.7 / 2013-08-28527==================528529 * update connect5305313.3.6 / 2013-08-27532==================533534 * Revert "remove charset from json responses. Closes #1631" (causes issues in some clients)535 * add: req.accepts take an argument list5365373.3.4 / 2013-07-08538==================539540 * update send and connect5415423.3.3 / 2013-07-04543==================544545 * update connect5465473.3.2 / 2013-07-03548==================549550 * update connect551 * update send552 * remove .version export5535543.3.1 / 2013-06-27555==================556557 * update connect5585593.3.0 / 2013-06-26560==================561562 * update connect563 * add support for multiple X-Forwarded-Proto values. Closes #1646564 * change: remove charset from json responses. Closes #1631565 * change: return actual booleans from req.accept* functions566 * fix jsonp callback array throw5675683.2.6 / 2013-06-02569==================570571 * update connect5725733.2.5 / 2013-05-21574==================575576 * update connect577 * update node-cookie578 * add: throw a meaningful error when there is no default engine579 * change generation of ETags with res.send() to GET requests only. Closes #16195805813.2.4 / 2013-05-09582==================583584 * fix `req.subdomains` when no Host is present585 * fix `req.host` when no Host is present, return undefined5865873.2.3 / 2013-05-07588==================589590 * update connect / qs5915923.2.2 / 2013-05-03593==================594595 * update qs5965973.2.1 / 2013-04-29598==================599600 * add app.VERB() paths array deprecation warning601 * update connect602 * update qs and remove all ~ semver crap603 * fix: accept number as value of Signed Cookie6046053.2.0 / 2013-04-15606==================607608 * add "view" constructor setting to override view behaviour609 * add req.acceptsEncoding(name)610 * add req.acceptedEncodings611 * revert cookie signature change causing session race conditions612 * fix sorting of Accept values of the same quality6136143.1.2 / 2013-04-12615==================616617 * add support for custom Accept parameters618 * update cookie-signature6196203.1.1 / 2013-04-01621==================622623 * add X-Forwarded-Host support to `req.host`624 * fix relative redirects625 * update mkdirp626 * update buffer-crc32627 * remove legacy app.configure() method from app template.6286293.1.0 / 2013-01-25630==================631632 * add support for leading "." in "view engine" setting633 * add array support to `res.set()`634 * add node 0.8.x to travis.yml635 * add "subdomain offset" setting for tweaking `req.subdomains`636 * add `res.location(url)` implementing `res.redirect()`-like setting of Location637 * use app.get() for x-powered-by setting for inheritance638 * fix colons in passwords for `req.auth`6396403.0.6 / 2013-01-04641==================642643 * add http verb methods to Router644 * update connect645 * fix mangling of the `res.cookie()` options object646 * fix jsonp whitespace escape. Closes #11326476483.0.5 / 2012-12-19649==================650651 * add throwing when a non-function is passed to a route652 * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses653 * revert "add 'etag' option"6546553.0.4 / 2012-12-05656==================657658 * add 'etag' option to disable `res.send()` Etags659 * add escaping of urls in text/plain in `res.redirect()`660 for old browsers interpreting as html661 * change crc32 module for a more liberal license662 * update connect6636643.0.3 / 2012-11-13665==================666667 * update connect668 * update cookie module669 * fix cookie max-age6706713.0.2 / 2012-11-08672==================673674 * add OPTIONS to cors example. Closes #1398675 * fix route chaining regression. Closes #13976766773.0.1 / 2012-11-01678==================679680 * update connect6816823.0.0 / 2012-10-23683==================684685 * add `make clean`686 * add "Basic" check to req.auth687 * add `req.auth` test coverage688 * add cb && cb(payload) to `res.jsonp()`. Closes #1374689 * add backwards compat for `res.redirect()` status. Closes #1336690 * add support for `res.json()` to retain previously defined Content-Types. Closes #1349691 * update connect692 * change `res.redirect()` to utilize a pathname-relative Location again. Closes #1382693 * remove non-primitive string support for `res.send()`694 * fix view-locals example. Closes #1370695 * fix route-separation example6966973.0.0rc5 / 2012-09-18698==================699700 * update connect701 * add redis search example702 * add static-files example703 * add "x-powered-by" setting (`app.disable('x-powered-by')`)704 * add "application/octet-stream" redirect Accept test case. Closes #13177057063.0.0rc4 / 2012-08-30707==================708709 * add `res.jsonp()`. Closes #1307710 * add "verbose errors" option to error-pages example711 * add another route example to express(1) so people are not so confused712 * add redis online user activity tracking example713 * update connect dep714 * fix etag quoting. Closes #1310715 * fix error-pages 404 status716 * fix jsonp callback char restrictions717 * remove old OPTIONS default response7187193.0.0rc3 / 2012-08-13720==================721722 * update connect dep723 * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds]724 * fix `res.render()` clobbering of "locals"7257263.0.0rc2 / 2012-08-03727==================728729 * add CORS example730 * update connect dep731 * deprecate `.createServer()` & remove old stale examples732 * fix: escape `res.redirect()` link733 * fix vhost example7347353.0.0rc1 / 2012-07-24736==================737738 * add more examples to view-locals739 * add scheme-relative redirects (`res.redirect("//foo.com")`) support740 * update cookie dep741 * update connect dep742 * update send dep743 * fix `express(1)` -h flag, use -H for hogan. Closes #1245744 * fix `res.sendfile()` socket error handling regression7457463.0.0beta7 / 2012-07-16747==================748749 * update connect dep for `send()` root normalization regression7507513.0.0beta6 / 2012-07-13752==================753754 * add `err.view` property for view errors. Closes #1226755 * add "jsonp callback name" setting756 * add support for "/foo/:bar*" non-greedy matches757 * change `res.sendfile()` to use `send()` module758 * change `res.send` to use "response-send" module759 * remove `app.locals.use` and `res.locals.use`, use regular middleware7607613.0.0beta5 / 2012-07-03762==================763764 * add "make check" support765 * add route-map example766 * add `res.json(obj, status)` support back for BC767 * add "methods" dep, remove internal methods module768 * update connect dep769 * update auth example to utilize cores pbkdf2770 * updated tests to use "supertest"7717723.0.0beta4 / 2012-06-25773==================774775 * Added `req.auth`776 * Added `req.range(size)`777 * Added `res.links(obj)`778 * Added `res.send(body, status)` support back for backwards compat779 * Added `.default()` support to `res.format()`780 * Added 2xx / 304 check to `req.fresh`781 * Revert "Added + support to the router"782 * Fixed `res.send()` freshness check, respect res.statusCode7837843.0.0beta3 / 2012-06-15785==================786787 * Added hogan `--hjs` to express(1) [nullfirm]788 * Added another example to content-negotiation789 * Added `fresh` dep790 * Changed: `res.send()` always checks freshness791 * Fixed: expose connects mime module. Cloases #11657927933.0.0beta2 / 2012-06-06794==================795796 * Added `+` support to the router797 * Added `req.host`798 * Changed `req.param()` to check route first799 * Update connect dep8008013.0.0beta1 / 2012-06-01802==================803804 * Added `res.format()` callback to override default 406 behaviour805 * Fixed `res.redirect()` 406. Closes #11548068073.0.0alpha5 / 2012-05-30808==================809810 * Added `req.ip`811 * Added `{ signed: true }` option to `res.cookie()`812 * Removed `res.signedCookie()`813 * Changed: dont reverse `req.ips`814 * Fixed "trust proxy" setting check for `req.ips`8158163.0.0alpha4 / 2012-05-09817==================818819 * Added: allow `[]` in jsonp callback. Closes #1128820 * Added `PORT` env var support in generated template. Closes #1118 [benatkin]821 * Updated: connect 2.2.28228233.0.0alpha3 / 2012-05-04824==================825826 * Added public `app.routes`. Closes #887827 * Added _view-locals_ example828 * Added _mvc_ example829 * Added `res.locals.use()`. Closes #1120830 * Added conditional-GET support to `res.send()`831 * Added: coerce `res.set()` values to strings832 * Changed: moved `static()` in generated apps below router833 * Changed: `res.send()` only set ETag when not previously set834 * Changed connect 2.2.1 dep835 * Changed: `make test` now runs unit / acceptance tests836 * Fixed req/res proto inheritance8378383.0.0alpha2 / 2012-04-26839==================840841 * Added `make benchmark` back842 * Added `res.send()` support for `String` objects843 * Added client-side data exposing example844 * Added `res.header()` and `req.header()` aliases for BC845 * Added `express.createServer()` for BC846 * Perf: memoize parsed urls847 * Perf: connect 2.2.0 dep848 * Changed: make `expressInit()` middleware self-aware849 * Fixed: use app.get() for all core settings850 * Fixed redis session example851 * Fixed session example. Closes #1105852 * Fixed generated express dep. Closes #10788538543.0.0alpha1 / 2012-04-15855==================856857 * Added `app.locals.use(callback)`858 * Added `app.locals` object859 * Added `app.locals(obj)`860 * Added `res.locals` object861 * Added `res.locals(obj)`862 * Added `res.format()` for content-negotiation863 * Added `app.engine()`864 * Added `res.cookie()` JSON cookie support865 * Added "trust proxy" setting866 * Added `req.subdomains`867 * Added `req.protocol`868 * Added `req.secure`869 * Added `req.path`870 * Added `req.ips`871 * Added `req.fresh`872 * Added `req.stale`873 * Added comma-delmited / array support for `req.accepts()`874 * Added debug instrumentation875 * Added `res.set(obj)`876 * Added `res.set(field, value)`877 * Added `res.get(field)`878 * Added `app.get(setting)`. Closes #842879 * Added `req.acceptsLanguage()`880 * Added `req.acceptsCharset()`881 * Added `req.accepted`882 * Added `req.acceptedLanguages`883 * Added `req.acceptedCharsets`884 * Added "json replacer" setting885 * Added "json spaces" setting886 * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92887 * Added `--less` support to express(1)888 * Added `express.response` prototype889 * Added `express.request` prototype890 * Added `express.application` prototype891 * Added `app.path()`892 * Added `app.render()`893 * Added `res.type()` to replace `res.contentType()`894 * Changed: `res.redirect()` to add relative support895 * Changed: enable "jsonp callback" by default896 * Changed: renamed "case sensitive routes" to "case sensitive routing"897 * Rewrite of all tests with mocha898 * Removed "root" setting899 * Removed `res.redirect('home')` support900 * Removed `req.notify()`901 * Removed `app.register()`902 * Removed `app.redirect()`903 * Removed `app.is()`904 * Removed `app.helpers()`905 * Removed `app.dynamicHelpers()`906 * Fixed `res.sendfile()` with non-GET. Closes #723907 * Fixed express(1) public dir for windows. Closes #8669089092.5.9/ 2012-04-02910==================911912 * Added support for PURGE request method [pbuyle]913 * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]9149152.5.8 / 2012-02-08916==================917918 * Update mkdirp dep. Closes #9919199202.5.7 / 2012-02-06921==================922923 * Fixed `app.all` duplicate DELETE requests [mscdex]9249252.5.6 / 2012-01-13926==================927928 * Updated hamljs dev dep. Closes #9539299302.5.5 / 2012-01-08931==================932933 * Fixed: set `filename` on cached templates [matthewleon]9349352.5.4 / 2012-01-02936==================937938 * Fixed `express(1)` eol on 0.4.x. Closes #9479399402.5.3 / 2011-12-30941==================942943 * Fixed `req.is()` when a charset is present9449452.5.2 / 2011-12-10946==================947948 * Fixed: express(1) LF -> CRLF for windows9499502.5.1 / 2011-11-17951==================952953 * Changed: updated connect to 1.8.x954 * Removed sass.js support from express(1)9559562.5.0 / 2011-10-24957==================958959 * Added ./routes dir for generated app by default960 * Added npm install reminder to express(1) app gen961 * Added 0.5.x support962 * Removed `make test-cov` since it wont work with node 0.5.x963 * Fixed express(1) public dir for windows. Closes #8669649652.4.7 / 2011-10-05966==================967968 * Added mkdirp to express(1). Closes #795969 * Added simple _json-config_ example970 * Added shorthand for the parsed request's pathname via `req.path`971 * Changed connect dep to 1.7.x to fix npm issue...972 * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]973 * Fixed `req.flash()`, only escape args974 * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]9759762.4.6 / 2011-08-22977==================978979 * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]9809812.4.5 / 2011-08-19982==================983984 * Added support for routes to handle errors. Closes #809985 * Added `app.routes.all()`. Closes #803986 * Added "basepath" setting to work in conjunction with reverse proxies etc.987 * Refactored `Route` to use a single array of callbacks988 * Added support for multiple callbacks for `app.param()`. Closes #801989Closes #805990 * Changed: removed .call(self) for route callbacks991 * Dependency: `qs >= 0.3.1`992 * Fixed `res.redirect()` on windows due to `join()` usage. Closes #8089939942.4.4 / 2011-08-05995==================996997 * Fixed `res.header()` intention of a set, even when `undefined`998 * Fixed `*`, value no longer required999 * Fixed `res.send(204)` support. Closes #771100010012.4.3 / 2011-07-141002==================10031004 * Added docs for `status` option special-case. Closes #7391005 * Fixed `options.filename`, exposing the view path to template engines100610072.4.2. / 2011-07-061008==================10091010 * Revert "removed jsonp stripping" for XSS101110122.4.1 / 2011-07-061013==================10141015 * Added `res.json()` JSONP support. Closes #7371016 * Added _extending-templates_ example. Closes #7301017 * Added "strict routing" setting for trailing slashes1018 * Added support for multiple envs in `app.configure()` calls. Closes #7351019 * Changed: `res.send()` using `res.json()`1020 * Changed: when cookie `path === null` don't default it1021 * Changed; default cookie path to "home" setting. Closes #7311022 * Removed _pids/logs_ creation from express(1)102310242.4.0 / 2011-06-281025==================10261027 * Added chainable `res.status(code)`1028 * Added `res.json()`, an explicit version of `res.send(obj)`1029 * Added simple web-service example103010312.3.12 / 2011-06-221032==================10331034 * \#express is now on freenode! come join!1035 * Added `req.get(field, param)`1036 * Added links to Japanese documentation, thanks @hideyukisaito!1037 * Added; the `express(1)` generated app outputs the env1038 * Added `content-negotiation` example1039 * Dependency: connect >= 1.5.1 < 2.0.01040 * Fixed view layout bug. Closes #7201041 * Fixed; ignore body on 304. Closes #701104210432.3.11 / 2011-06-041044==================10451046 * Added `npm test`1047 * Removed generation of dummy test file from `express(1)`1048 * Fixed; `express(1)` adds express as a dep1049 * Fixed; prune on `prepublish`105010512.3.10 / 2011-05-271052==================10531054 * Added `req.route`, exposing the current route1055 * Added _package.json_ generation support to `express(1)`1056 * Fixed call to `app.param()` function for optional params. Closes #682105710582.3.9 / 2011-05-251059==================10601061 * Fixed bug-ish with `../' in `res.partial()` calls106210632.3.8 / 2011-05-241064==================10651066 * Fixed `app.options()`106710682.3.7 / 2011-05-231069==================10701071 * Added route `Collection`, ex: `app.get('/user/:id').remove();`1072 * Added support for `app.param(fn)` to define param logic1073 * Removed `app.param()` support for callback with return value1074 * Removed module.parent check from express(1) generated app. Closes #6701075 * Refactored router. Closes #639107610772.3.6 / 2011-05-201078==================10791080 * Changed; using devDependencies instead of git submodules1081 * Fixed redis session example1082 * Fixed markdown example1083 * Fixed view caching, should not be enabled in development108410852.3.5 / 2011-05-201086==================10871088 * Added export `.view` as alias for `.View`108910902.3.4 / 2011-05-081091==================10921093 * Added `./examples/say`1094 * Fixed `res.sendfile()` bug preventing the transfer of files with spaces109510962.3.3 / 2011-05-031097==================10981099 * Added "case sensitive routes" option.1100 * Changed; split methods supported per rfc [slaskis]1101 * Fixed route-specific middleware when using the same callback function several times110211032.3.2 / 2011-04-271104==================11051106 * Fixed view hints110711082.3.1 / 2011-04-261109==================11101111 * Added `app.match()` as `app.match.all()`1112 * Added `app.lookup()` as `app.lookup.all()`1113 * Added `app.remove()` for `app.remove.all()`1114 * Added `app.remove.VERB()`1115 * Fixed template caching collision issue. Closes #6441116 * Moved router over from connect and started refactor111711182.3.0 / 2011-04-251119==================11201121 * Added options support to `res.clearCookie()`1122 * Added `res.helpers()` as alias of `res.locals()`1123 * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0`1124 * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]1125 * Renamed "cache views" to "view cache". Closes #6281126 * Fixed caching of views when using several apps. Closes #6371127 * Fixed gotcha invoking `app.param()` callbacks once per route middleware.1128Closes #6381129 * Fixed partial lookup precedence. Closes #6311130Shaw]113111322.2.2 / 2011-04-121133==================11341135 * Added second callback support for `res.download()` connection errors1136 * Fixed `filename` option passing to template engine113711382.2.1 / 2011-04-041139==================11401141 * Added `layout(path)` helper to change the layout within a view. Closes #6101142 * Fixed `partial()` collection object support.1143 Previously only anything with `.length` would work.1144 When `.length` is present one must still be aware of holes,1145 however now `{ collection: {foo: 'bar'}}` is valid, exposes1146 `keyInCollection` and `keysInCollection`.11471148 * Performance improved with better view caching1149 * Removed `request` and `response` locals1150 * Changed; errorHandler page title is now `Express` instead of `Connect`115111522.2.0 / 2011-03-301153==================11541155 * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #6061156 * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #6061157 * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.1158 * Dependency `connect >= 1.2.0`115911602.1.1 / 2011-03-291161==================11621163 * Added; expose `err.view` object when failing to locate a view1164 * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]1165 * Fixed; `res.send(undefined)` responds with 204 [aheckmann]116611672.1.0 / 2011-03-241168==================11691170 * Added `<root>/_?<name>` partial lookup support. Closes #4471171 * Added `request`, `response`, and `app` local variables1172 * Added `settings` local variable, containing the app's settings1173 * Added `req.flash()` exception if `req.session` is not available1174 * Added `res.send(bool)` support (json response)1175 * Fixed stylus example for latest version1176 * Fixed; wrap try/catch around `res.render()`117711782.0.0 / 2011-03-171179==================11801181 * Fixed up index view path alternative.1182 * Changed; `res.locals()` without object returns the locals118311842.0.0rc3 / 2011-03-171185==================11861187 * Added `res.locals(obj)` to compliment `res.local(key, val)`1188 * Added `res.partial()` callback support1189 * Fixed recursive error reporting issue in `res.render()`119011912.0.0rc2 / 2011-03-171192==================11931194 * Changed; `partial()` "locals" are now optional1195 * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]1196 * Fixed .filename view engine option [reported by drudge]1197 * Fixed blog example1198 * Fixed `{req,res}.app` reference when mounting [Ben Weaver]119912002.0.0rc / 2011-03-141201==================12021203 * Fixed; expose `HTTPSServer` constructor1204 * Fixed express(1) default test charset. Closes #579 [reported by secoif]1205 * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]120612072.0.0beta3 / 2011-03-091208==================12091210 * Added support for `res.contentType()` literal1211 The original `res.contentType('.json')`,1212 `res.contentType('application/json')`, and `res.contentType('json')`1213 will work now.1214 * Added `res.render()` status option support back1215 * Added charset option for `res.render()`1216 * Added `.charset` support (via connect 1.0.4)1217 * Added view resolution hints when in development and a lookup fails1218 * Added layout lookup support relative to the page view.1219 For example while rendering `./views/user/index.jade` if you create1220 `./views/user/layout.jade` it will be used in favour of the root layout.1221 * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]1222 * Fixed; default `res.send()` string charset to utf81223 * Removed `Partial` constructor (not currently used)122412252.0.0beta2 / 2011-03-071226==================12271228 * Added res.render() `.locals` support back to aid in migration process1229 * Fixed flash example123012312.0.0beta / 2011-03-031232==================12331234 * Added HTTPS support1235 * Added `res.cookie()` maxAge support1236 * Added `req.header()` _Referrer_ / _Referer_ special-case, either works1237 * Added mount support for `res.redirect()`, now respects the mount-point1238 * Added `union()` util, taking place of `merge(clone())` combo1239 * Added stylus support to express(1) generated app1240 * Added secret to session middleware used in examples and generated app1241 * Added `res.local(name, val)` for progressive view locals1242 * Added default param support to `req.param(name, default)`1243 * Added `app.disabled()` and `app.enabled()`1244 * Added `app.register()` support for omitting leading ".", either works1245 * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #5391246 * Added `app.param()` to map route params to async/sync logic1247 * Added; aliased `app.helpers()` as `app.locals()`. Closes #4811248 * Added extname with no leading "." support to `res.contentType()`1249 * Added `cache views` setting, defaulting to enabled in "production" env1250 * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.1251 * Added `req.accepts()` support for extensions1252 * Changed; `res.download()` and `res.sendfile()` now utilize Connect's1253 static file server `connect.static.send()`.1254 * Changed; replaced `connect.utils.mime()` with npm _mime_ module1255 * Changed; allow `req.query` to be pre-defined (via middleware or other parent1256 * Changed view partial resolution, now relative to parent view1257 * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.1258 * Fixed `req.param()` bug returning Array.prototype methods. Closes #5521259 * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()`1260 * Fixed; using _qs_ module instead of _querystring_1261 * Fixed; strip unsafe chars from jsonp callbacks1262 * Removed "stream threshold" setting126312641.0.8 / 2011-03-011265==================12661267 * Allow `req.query` to be pre-defined (via middleware or other parent app)1268 * "connect": ">= 0.5.0 < 1.0.0". Closes #5471269 * Removed the long deprecated __EXPRESS_ENV__ support127012711.0.7 / 2011-02-071272==================12731274 * Fixed `render()` setting inheritance.1275 Mounted apps would not inherit "view engine"127612771.0.6 / 2011-02-071278==================12791280 * Fixed `view engine` setting bug when period is in dirname128112821.0.5 / 2011-02-051283==================12841285 * Added secret to generated app `session()` call128612871.0.4 / 2011-02-051288==================12891290 * Added `qs` dependency to _package.json_1291 * Fixed namespaced `require()`s for latest connect support129212931.0.3 / 2011-01-131294==================12951296 * Remove unsafe characters from JSONP callback names [Ryan Grove]129712981.0.2 / 2011-01-101299==================13001301 * Removed nested require, using `connect.router`130213031.0.1 / 2010-12-291304==================13051306 * Fixed for middleware stacked via `createServer()`1307 previously the `foo` middleware passed to `createServer(foo)`1308 would not have access to Express methods such as `res.send()`1309 or props like `req.query` etc.131013111.0.0 / 2010-11-161312==================13131314 * Added; deduce partial object names from the last segment.1315 For example by default `partial('forum/post', postObject)` will1316 give you the _post_ object, providing a meaningful default.1317 * Added http status code string representation to `res.redirect()` body1318 * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__.1319 * Added `req.is()` to aid in content negotiation1320 * Added partial local inheritance [suggested by masylum]. Closes #1021321 providing access to parent template locals.1322 * Added _-s, --session[s]_ flag to express(1) to add session related middleware1323 * Added _--template_ flag to express(1) to specify the1324 template engine to use.1325 * Added _--css_ flag to express(1) to specify the1326 stylesheet engine to use (or just plain css by default).1327 * Added `app.all()` support [thanks aheckmann]1328 * Added partial direct object support.1329 You may now `partial('user', user)` providing the "user" local,1330 vs previously `partial('user', { object: user })`.1331 * Added _route-separation_ example since many people question ways1332 to do this with CommonJS modules. Also view the _blog_ example for1333 an alternative.1334 * Performance; caching view path derived partial object names1335 * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #4541336 * Fixed jsonp support; _text/javascript_ as per mailinglist discussion133713381.0.0rc4 / 2010-10-141339==================13401341 * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.01342 * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))1343 * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass]1344 * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass]1345 * Added `partial()` support for array-like collections. Closes #4341346 * Added support for swappable querystring parsers1347 * Added session usage docs. Closes #4431348 * Added dynamic helper caching. Closes #439 [suggested by maritz]1349 * Added authentication example1350 * Added basic Range support to `res.sendfile()` (and `res.download()` etc)1351 * Changed; `express(1)` generated app using 2 spaces instead of 41352 * Default env to "development" again [aheckmann]1353 * Removed _context_ option is no more, use "scope"1354 * Fixed; exposing _./support_ libs to examples so they can run without installs1355 * Fixed mvc example135613571.0.0rc3 / 2010-09-201358==================13591360 * Added confirmation for `express(1)` app generation. Closes #3911361 * Added extending of flash formatters via `app.flashFormatters`1362 * Added flash formatter support. Closes #4111363 * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold"1364 * Added _stream threshold_ setting for `res.sendfile()`1365 * Added `res.send()` __HEAD__ support1366 * Added `res.clearCookie()`1367 * Added `res.cookie()`1368 * Added `res.render()` headers option1369 * Added `res.redirect()` response bodies1370 * Added `res.render()` status option support. Closes #425 [thanks aheckmann]1371 * Fixed `res.sendfile()` responding with 403 on malicious path1372 * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_1373 * Fixed; mounted apps settings now inherit from parent app [aheckmann]1374 * Fixed; stripping Content-Length / Content-Type when 2041375 * Fixed `res.send()` 204. Closes #4191376 * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #4021377 * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]1378137913801.0.0rc2 / 2010-08-171381==================13821383 * Added `app.register()` for template engine mapping. Closes #3901384 * Added `res.render()` callback support as second argument (no options)1385 * Added callback support to `res.download()`1386 * Added callback support for `res.sendfile()`1387 * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()`1388 * Added "partials" setting to docs1389 * Added default expresso tests to `express(1)` generated app. Closes #3841390 * Fixed `res.sendfile()` error handling, defer via `next()`1391 * Fixed `res.render()` callback when a layout is used [thanks guillermo]1392 * Fixed; `make install` creating ~/.node_libraries when not present1393 * Fixed issue preventing error handlers from being defined anywhere. Closes #387139413951.0.0rc / 2010-07-281396==================13971398 * Added mounted hook. Closes #3691399 * Added connect dependency to _package.json_14001401 * Removed "reload views" setting and support code1402 development env never caches, production always caches.14031404 * Removed _param_ in route callbacks, signature is now1405 simply (req, res, next), previously (req, res, params, next).1406 Use _req.params_ for path captures, _req.query_ for GET params.14071408 * Fixed "home" setting1409 * Fixed middleware/router precedence issue. Closes #3661410 * Fixed; _configure()_ callbacks called immediately. Closes #368141114121.0.0beta2 / 2010-07-231413==================14141415 * Added more examples1416 * Added; exporting `Server` constructor1417 * Added `Server#helpers()` for view locals1418 * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #3491419 * Added support for absolute view paths1420 * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #3631421 * Added Guillermo Rauch to the contributor list1422 * Added support for "as" for non-collection partials. Closes #3411423 * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]1424 * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]1425 * Fixed instanceof `Array` checks, now `Array.isArray()`1426 * Fixed express(1) expansion of public dirs. Closes #3481427 * Fixed middleware precedence. Closes #3451428 * Fixed view watcher, now async [thanks aheckmann]142914301.0.0beta / 2010-07-151431==================14321433 * Re-write1434 - much faster1435 - much lighter1436 - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs143714380.14.0 / 2010-06-151439==================14401441 * Utilize relative requires1442 * Added Static bufferSize option [aheckmann]1443 * Fixed caching of view and partial subdirectories [aheckmann]1444 * Fixed mime.type() comments now that ".ext" is not supported1445 * Updated haml submodule1446 * Updated class submodule1447 * Removed bin/express144814490.13.0 / 2010-06-011450==================14511452 * Added node v0.1.97 compatibility1453 * Added support for deleting cookies via Request#cookie('key', null)1454 * Updated haml submodule1455 * Fixed not-found page, now using using charset utf-81456 * Fixed show-exceptions page, now using using charset utf-81457 * Fixed view support due to fs.readFile Buffers1458 * Changed; mime.type() no longer accepts ".type" due to node extname() changes145914600.12.0 / 2010-05-221461==================14621463 * Added node v0.1.96 compatibility1464 * Added view `helpers` export which act as additional local variables1465 * Updated haml submodule1466 * Changed ETag; removed inode, modified time only1467 * Fixed LF to CRLF for setting multiple cookies1468 * Fixed cookie complation; values are now urlencoded1469 * Fixed cookies parsing; accepts quoted values and url escaped cookies147014710.11.0 / 2010-05-061472==================14731474 * Added support for layouts using different engines1475 - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })1476 - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'1477 - this.render('page.html.haml', { layout: false }) // no layout1478 * Updated ext submodule1479 * Updated haml submodule1480 * Fixed EJS partial support by passing along the context. Issue #307148114820.10.1 / 2010-05-031483==================14841485 * Fixed binary uploads.148614870.10.0 / 2010-04-301488==================14891490 * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s1491 encoding is set to 'utf8' or 'utf-8'.1492 * Added "encoding" option to Request#render(). Closes #2991493 * Added "dump exceptions" setting, which is enabled by default.1494 * Added simple ejs template engine support1495 * Added error reponse support for text/plain, application/json. Closes #2971496 * Added callback function param to Request#error()1497 * Added Request#sendHead()1498 * Added Request#stream()1499 * Added support for Request#respond(304, null) for empty response bodies1500 * Added ETag support to Request#sendfile()1501 * Added options to Request#sendfile(), passed to fs.createReadStream()1502 * Added filename arg to Request#download()1503 * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request1504 * Performance enhanced by preventing several calls to toLowerCase() in Router#match()1505 * Changed; Request#sendfile() now streams1506 * Changed; Renamed Request#halt() to Request#respond(). Closes #2891507 * Changed; Using sys.inspect() instead of JSON.encode() for error output1508 * Changed; run() returns the http.Server instance. Closes #2981509 * Changed; Defaulting Server#host to null (INADDR_ANY)1510 * Changed; Logger "common" format scale of 0.4f1511 * Removed Logger "request" format1512 * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found1513 * Fixed several issues with http client1514 * Fixed Logger Content-Length output1515 * Fixed bug preventing Opera from retaining the generated session id. Closes #292151615170.9.0 / 2010-04-141518==================15191520 * Added DSL level error() route support1521 * Added DSL level notFound() route support1522 * Added Request#error()1523 * Added Request#notFound()1524 * Added Request#render() callback function. Closes #2581525 * Added "max upload size" setting1526 * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #2541527 * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js1528 * Added callback function support to Request#halt() as 3rd/4th arg1529 * Added preprocessing of route param wildcards using param(). Closes #2511530 * Added view partial support (with collections etc)1531 * Fixed bug preventing falsey params (such as ?page=0). Closes #2861532 * Fixed setting of multiple cookies. Closes #1991533 * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)1534 * Changed; session cookie is now httpOnly1535 * Changed; Request is no longer global1536 * Changed; Event is no longer global1537 * Changed; "sys" module is no longer global1538 * Changed; moved Request#download to Static plugin where it belongs1539 * Changed; Request instance created before body parsing. Closes #2621540 * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #2531541 * Changed; Pre-caching view partials in memory when "cache view partials" is enabled1542 * Updated support to node --version 0.1.901543 * Updated dependencies1544 * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})1545 * Removed utils.mixin(); use Object#mergeDeep()154615470.8.0 / 2010-03-191548==================15491550 * Added coffeescript example app. Closes #2421551 * Changed; cache api now async friendly. Closes #2401552 * Removed deprecated 'express/static' support. Use 'express/plugins/static'155315540.7.6 / 2010-03-191555==================15561557 * Added Request#isXHR. Closes #2291558 * Added `make install` (for the executable)1559 * Added `express` executable for setting up simple app templates1560 * Added "GET /public/*" to Static plugin, defaulting to <root>/public1561 * Added Static plugin1562 * Fixed; Request#render() only calls cache.get() once1563 * Fixed; Namespacing View caches with "view:"1564 * Fixed; Namespacing Static caches with "static:"1565 * Fixed; Both example apps now use the Static plugin1566 * Fixed set("views"). Closes #2391567 * Fixed missing space for combined log format1568 * Deprecated Request#sendfile() and 'express/static'1569 * Removed Server#running157015710.7.5 / 2010-03-161572==================15731574 * Added Request#flash() support without args, now returns all flashes1575 * Updated ext submodule157615770.7.4 / 2010-03-161578==================15791580 * Fixed session reaper1581 * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)158215830.7.3 / 2010-03-161584==================15851586 * Added package.json1587 * Fixed requiring of haml / sass due to kiwi removal158815890.7.2 / 2010-03-161590==================15911592 * Fixed GIT submodules (HAH!)159315940.7.1 / 2010-03-161595==================15961597 * Changed; Express now using submodules again until a PM is adopted1598 * Changed; chat example using millisecond conversions from ext159916000.7.0 / 2010-03-151601==================16021603 * Added Request#pass() support (finds the next matching route, or the given path)1604 * Added Logger plugin (default "common" format replaces CommonLogger)1605 * Removed Profiler plugin1606 * Removed CommonLogger plugin160716080.6.0 / 2010-03-111609==================16101611 * Added seed.yml for kiwi package management support1612 * Added HTTP client query string support when method is GET. Closes #20516131614 * Added support for arbitrary view engines.1615 For example "foo.engine.html" will now require('engine'),1616 the exports from this module are cached after the first require().16171618 * Added async plugin support16191620 * Removed usage of RESTful route funcs as http client1621 get() etc, use http.get() and friends16221623 * Removed custom exceptions162416250.5.0 / 2010-03-101626==================16271628 * Added ext dependency (library of js extensions)1629 * Removed extname() / basename() utils. Use path module1630 * Removed toArray() util. Use arguments.values1631 * Removed escapeRegexp() util. Use RegExp.escape()1632 * Removed process.mixin() dependency. Use utils.mixin()1633 * Removed Collection1634 * Removed ElementCollection1635 * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;)163616370.4.0 / 2010-02-111638==================16391640 * Added flash() example to sample upload app1641 * Added high level restful http client module (express/http)1642 * Changed; RESTful route functions double as HTTP clients. Closes #691643 * Changed; throwing error when routes are added at runtime1644 * Changed; defaulting render() context to the current Request. Closes #1971645 * Updated haml submodule164616470.3.0 / 2010-02-111648==================16491650 * Updated haml / sass submodules. Closes #2001651 * Added flash message support. Closes #641652 * Added accepts() now allows multiple args. fixes #1171653 * Added support for plugins to halt. Closes #1891654 * Added alternate layout support. Closes #1191655 * Removed Route#run(). Closes #1881656 * Fixed broken specs due to use(Cookie) missing165716580.2.1 / 2010-02-051659==================16601661 * Added "plot" format option for Profiler (for gnuplot processing)1662 * Added request number to Profiler plugin1663 * Fixed binary encoding for multi-part file uploads, was previously defaulting to UTF81664 * Fixed issue with routes not firing when not files are present. Closes #1841665 * Fixed process.Promise -> events.Promise166616670.2.0 / 2010-02-031668==================16691670 * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #1801671 * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #1741672 * Added expiration support to cache api with reaper. Closes #1331673 * Added cache Store.Memory#reap()1674 * Added Cache; cache api now uses first class Cache instances1675 * Added abstract session Store. Closes #1721676 * Changed; cache Memory.Store#get() utilizing Collection1677 * Renamed MemoryStore -> Store.Memory1678 * Fixed use() of the same plugin several time will always use latest options. Closes #176167916800.1.0 / 2010-02-031681==================16821683 * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context1684 * Updated node support to 0.1.27 Closes #1691685 * Updated dirname(__filename) -> __dirname1686 * Updated libxmljs support to v0.2.01687 * Added session support with memory store / reaping1688 * Added quick uid() helper1689 * Added multi-part upload support1690 * Added Sass.js support / submodule1691 * Added production env caching view contents and static files1692 * Added static file caching. Closes #1361693 * Added cache plugin with memory stores1694 * Added support to StaticFile so that it works with non-textual files.1695 * Removed dirname() helper1696 * Removed several globals (now their modules must be required)169716980.0.2 / 2010-01-101699==================17001701 * Added view benchmarks; currently haml vs ejs1702 * Added Request#attachment() specs. Closes #1161703 * Added use of node's parseQuery() util. Closes #1231704 * Added `make init` for submodules1705 * Updated Haml1706 * Updated sample chat app to show messages on load1707 * Updated libxmljs parseString -> parseHtmlString1708 * Fixed `make init` to work with older versions of git1709 * Fixed specs can now run independant specs for those who cant build deps. Closes #1271710 * Fixed issues introduced by the node url module changes. Closes 126.1711 * Fixed two assertions failing due to Collection#keys() returning strings1712 * Fixed faulty Collection#toArray() spec due to keys() returning strings1713 * Fixed `make test` now builds libxmljs.node before testing171417150.0.1 / 2010-01-031716==================17171718 * Initial release