Skip to content
Myr

History.md

This file

Path

History.md

1,738 lines · 56.1 KiB · Markdown

Last changed by

Merge tag '3.13.0'Douglas Christopher Wilsonbefore adoptionbcee730

History of this file

Take it

The walk stopped after 200 commits: lines older than 121f8d0 point at it.

Merge tag '3.12.0'Douglas Christopher Wilsonbefore adoption3ffceff

lines 1–3why, one step back
1unreleased
2==========3

add deprecation message to non-plural req.accepts*Douglas Christopher Wilsonbefore adoption2cccbc1

line 4why, one step back
4 * add deprecation message to non-plural `req.accepts*`

add deprecation message to res.send(body, status)Douglas Christopher Wilsonbefore adoptionba8a4c5

line 5why, one step back
5 * add deprecation message to `res.send(body, status)`

add deprecation message to res.vary()Douglas Christopher Wilsonbefore adoption381b3b0

line 6why, one step back
6 * add deprecation message to `res.vary()`

Add headers option to res.sendfileDouglas Christopher Wilsonbefore adoptionce3d1fe

lines 7–8why, one step back
7 * add `headers` option to `res.sendfile`
8 - use to set headers on successful file transfer

Add mergeParams option to RouterDouglas Christopher Wilsonbefore adoptionfd35351

lines 9–10why, one step back
9 * add `mergeParams` option to `Router`
10 - merges `req.params` from parent routes

Merge tag '3.12.0'Douglas Christopher Wilsonbefore adoption3ffceff

line 11why, one step back
11 * deprecate things with `depd` module

fix behavior when handling request without routesDouglas Christopher Wilsonbefore adoptionbdfd288

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

Fix handling when route.all is only routeDouglas Christopher Wilsonbefore adoption7f26cfc

line 13why, one step back
13 * fix handling when `route.all` is only route

Restore req.params after invoking RouterDouglas Christopher Wilsonbefore adoptionb89a597

line 14why, one step back
14 * restore `req.params` after invoking router

use finalhandler for final response handlingDouglas Christopher Wilsonbefore adoption7e01531

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

Merge tag '3.12.0'Douglas Christopher Wilsonbefore adoption3ffceff

line 16why, one step back
16 * use `media-typer` to alter content-type charset

deps: send@0.5.0Douglas Christopher Wilsonbefore adoption3136e98

lines 17–19why, one step back
17 * deps: send@0.5.0
18 - Accept string for `maxage` (converted by `ms`)19 - Include link in default redirect response

deps: serve-static@~1.3.0Douglas Christopher Wilsonbefore adoptiond1b1dfd

lines 20–24why, one step back
20 * deps: serve-static@~1.3.0
21 - Accept string for `maxAge` (converted by `ms`)22 - Add `setHeaders` option23 - Include HTML link in redirect response24 - deps: send@0.5.0

deps: type-is@~1.3.2Douglas Christopher Wilsonbefore adoptione7caaf6

line 25why, one step back
25 * deps: type-is@~1.3.2

Merge tag '3.12.0'Douglas Christopher Wilsonbefore adoption3ffceff

line 26why, one step back
26

Merge tag '4.4.5'Douglas Christopher Wilsonbefore adoptiond91bf81

lines 27–32why, one step back
274.4.5 / 2014-06-26
28==================2930 * deps: cookie-signature@1.0.431 - fix for timing attacks32

4.4.4Douglas Christopher Wilsonbefore adoptionf498b66

lines 33–34why, one step back
334.4.4 / 2014-06-20
34==================

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

line 35why, one step back
35

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

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

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

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

deps: accepts@~1.0.5Douglas Christopher Wilsonbefore adoption6aba1b4

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

deps: buffer-crc32@0.2.3Douglas Christopher Wilsonbefore adoptionffe663a

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

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

line 40why, one step back
40

4.4.3Douglas Christopher Wilsonbefore adoptionac573cf

lines 41–42why, one step back
414.4.3 / 2014-06-11
42==================

deps: debug@1.0.2Douglas Christopher Wilsonbefore adoption7df7f7a

line 43why, one step back
43

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

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

deps: accepts@1.0.3Douglas Christopher Wilsonbefore adoption3428543

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

deps: debug@1.0.2Douglas Christopher Wilsonbefore adoption7df7f7a

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

deps: send@0.4.3Douglas Christopher Wilsonbefore adoption9cdbc80

lines 48–53why, one step back
48 * deps: send@0.4.3
49 - Do not throw un-catchable error on file open race condition50 - Use `escape-html` for HTML escaping51 - deps: debug@1.0.252 - deps: finished@1.2.253 - deps: fresh@0.2.2

deps: serve-static@1.2.3Douglas Christopher Wilsonbefore adoptionc361a06

lines 54–56why, one step back
54 * deps: serve-static@1.2.3
55 - Do not throw un-catchable error on file open race condition56 - deps: send@0.4.3

deps: debug@1.0.2Douglas Christopher Wilsonbefore adoption7df7f7a

line 57why, one step back
57

4.4.2Douglas Christopher Wilsonbefore adoption7daae19

lines 58–59why, one step back
584.4.2 / 2014-06-09
59==================

deps: proxy-addr@1.0.1Douglas Christopher Wilsonbefore adoptionbffb71d

line 60why, one step back
60

Fix catching errors from top-level handlersDouglas Christopher Wilsonbefore adoption4d3e0d8

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

Merge tag '3.10.3'Douglas Christopher Wilsonbefore adoption9bf1247

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

deps: debug@1.0.1Douglas Christopher Wilsonbefore adoption142462d

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

deps: proxy-addr@1.0.1Douglas Christopher Wilsonbefore adoptionbffb71d

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

deps: send@0.4.2Douglas Christopher Wilsonbefore adoptionb45fd70

lines 65–68why, one step back
65 * deps: send@0.4.2
66 - fix "event emitter leak" warnings67 - deps: debug@1.0.168 - deps: finished@1.2.1

deps: serve-static@1.2.2Douglas Christopher Wilsonbefore adoption7f6c7a1

lines 69–71why, one step back
69 * deps: serve-static@1.2.2
70 - fix "event emitter leak" warnings71 - deps: send@0.4.2

deps: type-is@1.2.1Douglas Christopher Wilsonbefore adoption980a15d

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

deps: proxy-addr@1.0.1Douglas Christopher Wilsonbefore adoptionbffb71d

line 73why, one step back
73

4.4.1Douglas Christopher Wilsonbefore adoptionf9ec70e

lines 74–75why, one step back
744.4.1 / 2014-06-02
75==================

deps: methods@1.0.1Douglas Christopher Wilsonbefore adoption16fdc11

lines 76–77why, one step back
76
77 * deps: methods@1.0.1

deps: send@0.4.1Douglas Christopher Wilsonbefore adoption8ccd9d0

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

deps: serve-static@1.2.1Douglas Christopher Wilsonbefore adoption492e933

lines 80–82why, one step back
80 * deps: serve-static@1.2.1
81 - use `escape-html` for escaping82 - deps: send@0.4.1

deps: methods@1.0.1Douglas Christopher Wilsonbefore adoption16fdc11

line 83why, one step back
83

4.4.0Douglas Christopher Wilsonbefore adoption95fa491

lines 84–85why, one step back
844.4.0 / 2014-05-30
85==================

Merge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d

lines 86–93why, one step back
86
87 * custom etag control with `app.set('etag', val)`88 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation89 - `app.set('etag', 'weak')` weak tag90 - `app.set('etag', 'strong')` strong etag91 - `app.set('etag', false)` turn off92 - `app.set('etag', true)` standard etag93 * mark `res.send` ETag as weak and reduce collisions

update accepts to 1.0.2Douglas Christopher Wilsonbefore adoptionf92a7ad

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

Merge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d

lines 96–99why, one step back
96 * update send to 0.4.0
97 - Calculate ETag with md5 for reduced collisions98 - Ignore stream errors after request ends99 - deps: debug@0.8.1

update serve-static to 1.2.0Douglas Christopher Wilsonbefore adoptionf665c57

lines 100–103why, one step back
100 * update serve-static to 1.2.0
101 - Calculate ETag with md5 for reduced collisions102 - Ignore stream errors after request ends103 - deps: send@0.4.0

Merge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d

line 104why, one step back
104

4.3.2Douglas Christopher Wilsonbefore adoption311e83e

lines 105–106why, one step back
1054.3.2 / 2014-05-28
106==================

fix handling of errors from param callbacksDouglas Christopher Wilsonbefore adoptionfb2d918

lines 107–109why, one step back
107
108 * fix handling of errors from `router.param()` callbacks109

4.3.1Douglas Christopher Wilsonbefore adoption87e02c3

lines 110–111why, one step back
1104.3.1 / 2014-05-23
111==================

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

lines 112–115why, one step back
112
113 * revert "fix behavior of multiple `app.VERB` for the same path"114 - this caused a regression in the order of route execution115

4.3.0Douglas Christopher Wilsonbefore adoption4e12a72

lines 116–117why, one step back
1164.3.0 / 2014-05-21
117==================

update type-is to 1.2.0Douglas Christopher Wilsonbefore adoption8fe8d74

line 118why, one step back
118

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

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

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

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

fix issue routing requests among sub routersDouglas Christopher Wilsonbefore adoptionababa6a

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

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

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

Merge tag '3.7.0'Douglas Christopher Wilsonbefore adoption097cd0c

lines 123–130why, one step back
123 * proper proxy trust with `app.set('trust proxy', trust)`
124 - `app.set('trust proxy', 1)` trust first hop125 - `app.set('trust proxy', 'loopback')` trust loopback addresses126 - `app.set('trust proxy', '10.0.0.1')` trust single IP127 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet128 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list129 - `app.set('trust proxy', false)` turn off130 - `app.set('trust proxy', true)` trust everything

Merge tag '3.8.0'Douglas Christopher Wilsonbefore adoptiondb4a061

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

update type-is to 1.2.0Douglas Christopher Wilsonbefore adoption8fe8d74

lines 132–134why, one step back
132 * update type-is to 1.2.0
133 - support suffix matching134

4.2.0Douglas Christopher Wilsonbefore adoptioncf709f3

lines 135–136why, one step back
1354.2.0 / 2014-05-11
136==================

update historyDouglas Christopher Wilsonbefore adoption165578a

line 137why, one step back
137

Merge tag '3.6.0'Douglas Christopher Wilsonbefore adoption35c5060

lines 138–142why, one step back
138 * deprecate `app.del()` -- use `app.delete()` instead
139 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead140 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`141 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead142 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`

Fix req.next when inside router instanceDouglas Christopher Wilsonbefore adoptionbc9bcb0

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

update historyDouglas Christopher Wilsonbefore adoption165578a

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

Merge tag '3.6.0'Douglas Christopher Wilsonbefore adoption35c5060

lines 146–154why, one step back
146 * support PURGE method
147 - add `app.purge`148 - add `router.purge`149 - include PURGE in `app.all`150 * update debug to 0.8.0151 - add `enable()` method152 - change from stderr to stdout153 * update methods to 1.0.0154 - add PURGE

update historyDouglas Christopher Wilsonbefore adoption165578a

line 155why, one step back
155

Merge branch '4.1.x'Douglas Christopher Wilsonbefore adoption0bbbc84

lines 156–161why, one step back
1564.1.2 / 2014-05-08
157==================158159 * fix `req.host` for IPv6 literals160 * fix `res.jsonp` error if callback param is object161

4.1.1Douglas Christopher Wilsonbefore adoption61f2929

lines 162–166why, one step back
1624.1.1 / 2014-04-27
163==================164165 * fix package.json to reflect supported node version166

4.1.0Douglas Christopher Wilsonbefore adoptiondbea831

lines 167–173why, one step back
1674.1.0 / 2014-04-24
168==================169170 * pass options from `res.sendfile` to `send`171 * preserve casing of headers in `res.header` and `res.set`172 * support unicode file names in `res.attachment` and `res.download`173 * update accepts to 1.0.1

update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3

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

4.1.0Douglas Christopher Wilsonbefore adoptiondbea831

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

update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3

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

4.1.0Douglas Christopher Wilsonbefore adoptiondbea831

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

update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3

lines 179–190why, one step back
179 - Accept API options in options object
180 - Coerce option types181 - Control whether to generate etags182 - Default directory access to 403 when index disabled183 - Fix sending files with dots without root set184 - Include file path in etag185 - Make "Can't set headers after they are sent." catchable186 - Send full entity-body for multi range requests187 - Set etags to "weak"188 - Support "If-Range" header189 - Support multiple index paths190 - deps: mime@1.2.11

4.1.0Douglas Christopher Wilsonbefore adoptiondbea831

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

update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3

lines 192–195why, one step back
192 - Accept options directly to `send` module
193 - Resolve relative paths at middleware setup194 - Use parseurl to parse the URL from request195 - deps: send@0.3.0

4.1.0Douglas Christopher Wilsonbefore adoptiondbea831

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

update history with dep historyDouglas Christopher Wilsonbefore adoption555ffe3

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

4.1.0Douglas Christopher Wilsonbefore adoptiondbea831

line 199why, one step back
199

update historyDouglas Christopher Wilsonbefore adoption0dbaacf

line 200why, one step back
2004.0.0 / 2014-04-09

Merge pull request #1889 from vesln/send-null-undefinedJonathan Ongbefore adoption121f8d0

lines 201–203why, one step back
201==================
202203 * remove:

Update History.mdJonathan Ongbefore adoptionb0351a0

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

Merge pull request #1889 from vesln/send-null-undefinedJonathan Ongbefore adoption121f8d0

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

remove deprecated express.createServer() methodRoman Shtylmanbefore adoptionf56a5f0

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

update historyJonathan Ongbefore adoption25e6629

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

remove app.router and refactor middleware processingRoman Shtylmanbefore adoptionf41d09a

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

remove req.authJonathan Ongbefore adoption68996d7

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

update historyJonathan Ongbefore adoption25e6629

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

remove res.charset supportJonathan Ongbefore adoption3228fd3

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

remove last pieces of connect dependencyRoman Shtylmanbefore adoption1396e08

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

Merge pull request #1889 from vesln/send-null-undefinedJonathan Ongbefore adoption121f8d0

line 215why, one step back
215 * change:

update historyJonathan Ongbefore adoption25e6629

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

Merge pull request #1889 from vesln/send-null-undefinedJonathan Ongbefore adoption121f8d0

lines 218–219why, one step back
218 - `req.accepts*` -> `req.accepts*s` - i.e. `req.acceptsEncoding` -> `req.acceptsEncodings`
219 - `req.params` is now an object instead of an array

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

line 220why, one step back
220 - `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 221why, one step back
221 - `res.headerSent` -> `res.headersSent` to match node.js ServerResponse object

Merge pull request #1889 from vesln/send-null-undefinedJonathan Ongbefore adoption121f8d0

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

update History.md with 3.x branchJonathan Ongbefore adoptionb443da4

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

remove app.router and refactor middleware processingRoman Shtylmanbefore adoptionf41d09a

lines 226–229why, one step back
226 * add:
227 - `app.router()` - returns the app Router instance228 - `app.route()` - Proxy to the app's `Router#route()` method to create a new route229 - Router & Route - public API

Merge tag '3.12.0'Douglas Christopher Wilsonbefore adoption3ffceff

line 230why, one step back
230

Merge tag '3.13.0'Douglas Christopher Wilsonbefore adoptionbcee730

lines 231–245why, one step back
2313.13.0 / 2014-07-03
232===================233234 * add deprecation message to `app.configure`235 * add deprecation message to `req.auth`236 * use `basic-auth` to parse `Authorization` header237 * deps: connect@2.22.0238 - deps: csurf@~1.3.0239 - deps: express-session@~1.6.1240 - deps: multiparty@3.3.0241 - deps: serve-static@~1.3.0242 * deps: send@0.5.0243 - Accept string for `maxage` (converted by `ms`)244 - Include link in default redirect response245

Merge tag '3.12.1'Douglas Christopher Wilsonbefore adoption8a15f83

lines 246–256why, one step back
2463.12.1 / 2014-06-26
247===================248249 * deps: connect@2.21.1250 - deps: cookie-parser@1.3.2251 - deps: cookie-signature@1.0.4252 - deps: express-session@~1.5.2253 - deps: type-is@~1.3.2254 * deps: cookie-signature@1.0.4255 - fix for timing attacks256

Merge tag '3.12.0'Douglas Christopher Wilsonbefore adoption3ffceff

lines 257–290why, one step back
2573.12.0 / 2014-06-21
258===================259260 * use `media-typer` to alter content-type charset261 * deps: connect@2.21.0262 - deprecate `connect(middleware)` -- use `app.use(middleware)` instead263 - deprecate `connect.createServer()` -- use `connect()` instead264 - fix `res.setHeader()` patch to work with with get -> append -> set pattern265 - deps: compression@~1.0.8266 - deps: errorhandler@~1.1.1267 - deps: express-session@~1.5.0268 - deps: serve-index@~1.1.32692703.11.0 / 2014-06-19271===================272273 * deprecate things with `depd` module274 * deps: buffer-crc32@0.2.3275 * deps: connect@2.20.2276 - deprecate `verify` option to `json` -- use `body-parser` module directly277 - deprecate `verify` option to `urlencoded` -- use `body-parser` module directly278 - deprecate things with `depd` module279 - use `finalhandler` for final response handling280 - use `media-typer` to parse `content-type` for charset281 - deps: body-parser@1.4.3282 - deps: connect-timeout@1.1.1283 - deps: cookie-parser@1.3.1284 - deps: csurf@1.2.2285 - deps: errorhandler@1.1.0286 - deps: express-session@1.4.0287 - deps: multiparty@3.2.9288 - deps: serve-index@1.1.2289 - deps: type-is@1.3.1290 - deps: vhost@2.0.0

Merge tag '3.10.3'Douglas Christopher Wilsonbefore adoption9bf1247

line 291why, one step back
291

Merge tag '3.10.5'Douglas Christopher Wilsonbefore adoptione799c0f

lines 292–308why, one step back
2923.10.5 / 2014-06-11
293===================294295 * deps: connect@2.19.6296 - deps: body-parser@1.3.1297 - deps: compression@1.0.7298 - deps: debug@1.0.2299 - deps: serve-index@1.1.1300 - deps: serve-static@1.2.3301 * deps: debug@1.0.2302 * deps: send@0.4.3303 - Do not throw un-catchable error on file open race condition304 - Use `escape-html` for HTML escaping305 - deps: debug@1.0.2306 - deps: finished@1.2.2307 - deps: fresh@0.2.2308

Merge tag '3.10.4'Douglas Christopher Wilsonbefore adoption898dcfa

lines 309–323why, one step back
3093.10.4 / 2014-06-09
310===================311312 * deps: connect@2.19.5313 - fix "event emitter leak" warnings314 - deps: csurf@1.2.1315 - deps: debug@1.0.1316 - deps: serve-static@1.2.2317 - deps: type-is@1.2.1318 * deps: debug@1.0.1319 * deps: send@0.4.2320 - fix "event emitter leak" warnings321 - deps: finished@1.2.1322 - deps: debug@1.0.1323

Merge tag '3.10.3'Douglas Christopher Wilsonbefore adoption9bf1247

lines 324–345why, one step back
3243.10.3 / 2014-06-05
325===================326327 * use `vary` module for `res.vary`328 * deps: connect@2.19.4329 - deps: errorhandler@1.0.2330 - deps: method-override@2.0.2331 - deps: serve-favicon@2.0.1332 * deps: debug@1.0.03333343.10.2 / 2014-06-03335===================336337 * deps: connect@2.19.3338 - deps: compression@1.0.63393403.10.1 / 2014-06-03341===================342343 * deps: connect@2.19.2344 - deps: compression@1.0.4345 * deps: proxy-addr@1.0.1

Merge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d

line 346why, one step back
346

Merge tag '3.10.0'Douglas Christopher Wilsonbefore adoption402ec83

lines 347–360why, one step back
3473.10.0 / 2014-06-02
348===================349350 * deps: connect@2.19.1351 - deprecate `methodOverride()` -- use `method-override` module directly352 - deps: body-parser@1.3.0353 - deps: method-override@2.0.1354 - deps: multiparty@3.2.8355 - deps: response-time@2.0.0356 - deps: serve-static@1.2.1357 * deps: methods@1.0.1358 * deps: send@0.4.1359 - Send `max-age` in `Cache-Control` in correct format360

Merge tag '3.9.0'Douglas Christopher Wilsonbefore adoptiondb4448d

lines 361–379why, one step back
3613.9.0 / 2014-05-30
362==================363364 * custom etag control with `app.set('etag', val)`365 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation366 - `app.set('etag', 'weak')` weak tag367 - `app.set('etag', 'strong')` strong etag368 - `app.set('etag', false)` turn off369 - `app.set('etag', true)` standard etag370 * Include ETag in HEAD requests371 * mark `res.send` ETag as weak and reduce collisions372 * update connect to 2.18.0373 - deps: compression@1.0.3374 - deps: serve-index@1.1.0375 - deps: serve-static@1.2.0376 * update send to 0.4.0377 - Calculate ETag with md5 for reduced collisions378 - Ignore stream errors after request ends379 - deps: debug@0.8.1

Merge tag '3.8.0'Douglas Christopher Wilsonbefore adoptiondb4a061

line 380why, one step back
380

Merge tag '3.8.1'Douglas Christopher Wilsonbefore adoption3fbab91

lines 381–388why, one step back
3813.8.1 / 2014-05-27
382==================383384 * update connect to 2.17.3385 - deps: body-parser@1.2.2386 - deps: express-session@1.2.1387 - deps: method-override@1.0.2388

Merge tag '3.8.0'Douglas Christopher Wilsonbefore adoptiondb4a061

lines 389–398why, one step back
3893.8.0 / 2014-05-21
390==================391392 * keep previous `Content-Type` for `res.jsonp`393 * set proper `charset` in `Content-Type` for `res.send`394 * update connect to 2.17.1395 - fix `res.charset` appending charset when `content-type` has one396 - deps: express-session@1.2.0397 - deps: morgan@1.1.1398 - deps: serve-index@1.0.3

Merge tag '3.7.0'Douglas Christopher Wilsonbefore adoption097cd0c

lines 399–421why, one step back
399
4003.7.0 / 2014-05-18401==================402403 * proper proxy trust with `app.set('trust proxy', trust)`404 - `app.set('trust proxy', 1)` trust first hop405 - `app.set('trust proxy', 'loopback')` trust loopback addresses406 - `app.set('trust proxy', '10.0.0.1')` trust single IP407 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet408 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list409 - `app.set('trust proxy', false)` turn off410 - `app.set('trust proxy', true)` trust everything411 * update connect to 2.16.2412 - deprecate `res.headerSent` -- use `res.headersSent`413 - deprecate `res.on("header")` -- use on-headers module instead414 - fix edge-case in `res.appendHeader` that would append in wrong order415 - json: use body-parser416 - urlencoded: use body-parser417 - dep: bytes@1.0.0418 - dep: cookie-parser@1.1.0419 - dep: csurf@1.2.0420 - dep: express-session@1.1.0421 - dep: method-override@1.0.1

Merge tag '3.6.0'Douglas Christopher Wilsonbefore adoption35c5060

lines 422–454why, one step back
422
4233.6.0 / 2014-05-09424==================425426 * deprecate `app.del()` -- use `app.delete()` instead427 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead428 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`429 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead430 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`431 * support PURGE method432 - add `app.purge`433 - add `router.purge`434 - include PURGE in `app.all`435 * update connect to 2.15.0436 * Add `res.appendHeader`437 * Call error stack even when response has been sent438 * Patch `res.headerSent` to return Boolean439 * Patch `res.headersSent` for node.js 0.8440 * Prevent default 404 handler after response sent441 * dep: compression@1.0.2442 * dep: connect-timeout@1.1.0443 * dep: debug@^0.8.0444 * dep: errorhandler@1.0.1445 * dep: express-session@1.0.4446 * dep: morgan@1.0.1447 * dep: serve-favicon@2.0.0448 * dep: serve-index@1.0.2449 * update debug to 0.8.0450 * add `enable()` method451 * change from stderr to stdout452 * update methods to 1.0.0453 - add PURGE454 * update mkdirp to 0.5.0

Merge branch '4.1.x'Douglas Christopher Wilsonbefore adoption0bbbc84

lines 455–460why, one step back
455
4563.5.3 / 2014-05-08457==================458459 * fix `req.host` for IPv6 literals460 * fix `res.jsonp` error if callback param is object

update History.md with 3.x branchJonathan Ongbefore adoptionb443da4

line 461why, one step back
461

Merge branch '3.x'Douglas Christopher Wilsonbefore adoption8ccceac

lines 462–474why, one step back
4623.5.2 / 2014-04-24
463==================464465 * update connect to 2.14.5466 * update cookie to 0.1.2467 * update mkdirp to 0.4.0468 * update send to 0.3.04694703.5.1 / 2014-03-25471==================472473 * pin less-middleware in generated app474

update History.md with 3.x branchJonathan Ongbefore adoptionb443da4

lines 475–485why, one step back
4753.5.0 / 2014-03-06
476==================477478 * bump deps4794803.4.8 / 2014-01-13481==================482483 * prevent incorrect automatic OPTIONS responses #1868 @dpatti484 * update binary and examples for jade 1.0 #1876 @yossi, #1877 @reqshark, #1892 @matheusazzi485 * throw 400 in case of malformed paths @rlidwka

Merge pull request #1889 from vesln/send-null-undefinedJonathan Ongbefore adoption121f8d0

lines 486–1738why, one step back
486
4873.4.7 / 2013-12-10488==================489490 * update connect4914923.4.6 / 2013-12-01493==================494495 * update connect (raw-body)4964973.4.5 / 2013-11-27498==================499500 * update connect501 * res.location: remove leading ./ #1802 @kapouer502 * res.redirect: fix `res.redirect('toString') #1829 @michaelficarra503 * res.send: always send ETag when content-length > 0504 * router: add Router.all() method5055063.4.4 / 2013-10-29507==================508509 * update connect510 * update supertest511 * update methods512 * express(1): replace bodyParser() with urlencoded() and json() #1795 @chirag045135143.4.3 / 2013-10-23515==================516517 * update connect5185193.4.2 / 2013-10-18520==================521522 * update connect523 * downgrade commander5245253.4.1 / 2013-10-15526==================527528 * update connect529 * update commander530 * jsonp: check if callback is a function531 * router: wrap encodeURIComponent in a try/catch #1735 (@lxe)532 * res.format: now includes chraset @1747 (@sorribas)533 * res.links: allow multiple calls @1746 (@sorribas)5345353.4.0 / 2013-09-07536==================537538 * add res.vary(). Closes #1682539 * update connect5405413.3.8 / 2013-09-02542==================543544 * update connect5455463.3.7 / 2013-08-28547==================548549 * update connect5505513.3.6 / 2013-08-27552==================553554 * Revert "remove charset from json responses. Closes #1631" (causes issues in some clients)555 * add: req.accepts take an argument list5565573.3.4 / 2013-07-08558==================559560 * update send and connect5615623.3.3 / 2013-07-04563==================564565 * update connect5665673.3.2 / 2013-07-03568==================569570 * update connect571 * update send572 * remove .version export5735743.3.1 / 2013-06-27575==================576577 * update connect5785793.3.0 / 2013-06-26580==================581582 * update connect583 * add support for multiple X-Forwarded-Proto values. Closes #1646584 * change: remove charset from json responses. Closes #1631585 * change: return actual booleans from req.accept* functions586 * fix jsonp callback array throw5875883.2.6 / 2013-06-02589==================590591 * update connect5925933.2.5 / 2013-05-21594==================595596 * update connect597 * update node-cookie598 * add: throw a meaningful error when there is no default engine599 * change generation of ETags with res.send() to GET requests only. Closes #16196006013.2.4 / 2013-05-09602==================603604 * fix `req.subdomains` when no Host is present605 * fix `req.host` when no Host is present, return undefined6066073.2.3 / 2013-05-07608==================609610 * update connect / qs6116123.2.2 / 2013-05-03613==================614615 * update qs6166173.2.1 / 2013-04-29618==================619620 * add app.VERB() paths array deprecation warning621 * update connect622 * update qs and remove all ~ semver crap623 * fix: accept number as value of Signed Cookie6246253.2.0 / 2013-04-15626==================627628 * add "view" constructor setting to override view behaviour629 * add req.acceptsEncoding(name)630 * add req.acceptedEncodings631 * revert cookie signature change causing session race conditions632 * fix sorting of Accept values of the same quality6336343.1.2 / 2013-04-12635==================636637 * add support for custom Accept parameters638 * update cookie-signature6396403.1.1 / 2013-04-01641==================642643 * add X-Forwarded-Host support to `req.host`644 * fix relative redirects645 * update mkdirp646 * update buffer-crc32647 * remove legacy app.configure() method from app template.6486493.1.0 / 2013-01-25650==================651652 * add support for leading "." in "view engine" setting653 * add array support to `res.set()`654 * add node 0.8.x to travis.yml655 * add "subdomain offset" setting for tweaking `req.subdomains`656 * add `res.location(url)` implementing `res.redirect()`-like setting of Location657 * use app.get() for x-powered-by setting for inheritance658 * fix colons in passwords for `req.auth`6596603.0.6 / 2013-01-04661==================662663 * add http verb methods to Router664 * update connect665 * fix mangling of the `res.cookie()` options object666 * fix jsonp whitespace escape. Closes #11326676683.0.5 / 2012-12-19669==================670671 * add throwing when a non-function is passed to a route672 * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses673 * revert "add 'etag' option"6746753.0.4 / 2012-12-05676==================677678 * add 'etag' option to disable `res.send()` Etags679 * add escaping of urls in text/plain in `res.redirect()`680 for old browsers interpreting as html681 * change crc32 module for a more liberal license682 * update connect6836843.0.3 / 2012-11-13685==================686687 * update connect688 * update cookie module689 * fix cookie max-age6906913.0.2 / 2012-11-08692==================693694 * add OPTIONS to cors example. Closes #1398695 * fix route chaining regression. Closes #13976966973.0.1 / 2012-11-01698==================699700 * update connect7017023.0.0 / 2012-10-23703==================704705 * add `make clean`706 * add "Basic" check to req.auth707 * add `req.auth` test coverage708 * add cb && cb(payload) to `res.jsonp()`. Closes #1374709 * add backwards compat for `res.redirect()` status. Closes #1336710 * add support for `res.json()` to retain previously defined Content-Types. Closes #1349711 * update connect712 * change `res.redirect()` to utilize a pathname-relative Location again. Closes #1382713 * remove non-primitive string support for `res.send()`714 * fix view-locals example. Closes #1370715 * fix route-separation example7167173.0.0rc5 / 2012-09-18718==================719720 * update connect721 * add redis search example722 * add static-files example723 * add "x-powered-by" setting (`app.disable('x-powered-by')`)724 * add "application/octet-stream" redirect Accept test case. Closes #13177257263.0.0rc4 / 2012-08-30727==================728729 * add `res.jsonp()`. Closes #1307730 * add "verbose errors" option to error-pages example731 * add another route example to express(1) so people are not so confused732 * add redis online user activity tracking example733 * update connect dep734 * fix etag quoting. Closes #1310735 * fix error-pages 404 status736 * fix jsonp callback char restrictions737 * remove old OPTIONS default response7387393.0.0rc3 / 2012-08-13740==================741742 * update connect dep743 * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds]744 * fix `res.render()` clobbering of "locals"7457463.0.0rc2 / 2012-08-03747==================748749 * add CORS example750 * update connect dep751 * deprecate `.createServer()` & remove old stale examples752 * fix: escape `res.redirect()` link753 * fix vhost example7547553.0.0rc1 / 2012-07-24756==================757758 * add more examples to view-locals759 * add scheme-relative redirects (`res.redirect("//foo.com")`) support760 * update cookie dep761 * update connect dep762 * update send dep763 * fix `express(1)` -h flag, use -H for hogan. Closes #1245764 * fix `res.sendfile()` socket error handling regression7657663.0.0beta7 / 2012-07-16767==================768769 * update connect dep for `send()` root normalization regression7707713.0.0beta6 / 2012-07-13772==================773774 * add `err.view` property for view errors. Closes #1226775 * add "jsonp callback name" setting776 * add support for "/foo/:bar*" non-greedy matches777 * change `res.sendfile()` to use `send()` module778 * change `res.send` to use "response-send" module779 * remove `app.locals.use` and `res.locals.use`, use regular middleware7807813.0.0beta5 / 2012-07-03782==================783784 * add "make check" support785 * add route-map example786 * add `res.json(obj, status)` support back for BC787 * add "methods" dep, remove internal methods module788 * update connect dep789 * update auth example to utilize cores pbkdf2790 * updated tests to use "supertest"7917923.0.0beta4 / 2012-06-25793==================794795 * Added `req.auth`796 * Added `req.range(size)`797 * Added `res.links(obj)`798 * Added `res.send(body, status)` support back for backwards compat799 * Added `.default()` support to `res.format()`800 * Added 2xx / 304 check to `req.fresh`801 * Revert "Added + support to the router"802 * Fixed `res.send()` freshness check, respect res.statusCode8038043.0.0beta3 / 2012-06-15805==================806807 * Added hogan `--hjs` to express(1) [nullfirm]808 * Added another example to content-negotiation809 * Added `fresh` dep810 * Changed: `res.send()` always checks freshness811 * Fixed: expose connects mime module. Cloases #11658128133.0.0beta2 / 2012-06-06814==================815816 * Added `+` support to the router817 * Added `req.host`818 * Changed `req.param()` to check route first819 * Update connect dep8208213.0.0beta1 / 2012-06-01822==================823824 * Added `res.format()` callback to override default 406 behaviour825 * Fixed `res.redirect()` 406. Closes #11548268273.0.0alpha5 / 2012-05-30828==================829830 * Added `req.ip`831 * Added `{ signed: true }` option to `res.cookie()`832 * Removed `res.signedCookie()`833 * Changed: dont reverse `req.ips`834 * Fixed "trust proxy" setting check for `req.ips`8358363.0.0alpha4 / 2012-05-09837==================838839 * Added: allow `[]` in jsonp callback. Closes #1128840 * Added `PORT` env var support in generated template. Closes #1118 [benatkin]841 * Updated: connect 2.2.28428433.0.0alpha3 / 2012-05-04844==================845846 * Added public `app.routes`. Closes #887847 * Added _view-locals_ example848 * Added _mvc_ example849 * Added `res.locals.use()`. Closes #1120850 * Added conditional-GET support to `res.send()`851 * Added: coerce `res.set()` values to strings852 * Changed: moved `static()` in generated apps below router853 * Changed: `res.send()` only set ETag when not previously set854 * Changed connect 2.2.1 dep855 * Changed: `make test` now runs unit / acceptance tests856 * Fixed req/res proto inheritance8578583.0.0alpha2 / 2012-04-26859==================860861 * Added `make benchmark` back862 * Added `res.send()` support for `String` objects863 * Added client-side data exposing example864 * Added `res.header()` and `req.header()` aliases for BC865 * Added `express.createServer()` for BC866 * Perf: memoize parsed urls867 * Perf: connect 2.2.0 dep868 * Changed: make `expressInit()` middleware self-aware869 * Fixed: use app.get() for all core settings870 * Fixed redis session example871 * Fixed session example. Closes #1105872 * Fixed generated express dep. Closes #10788738743.0.0alpha1 / 2012-04-15875==================876877 * Added `app.locals.use(callback)`878 * Added `app.locals` object879 * Added `app.locals(obj)`880 * Added `res.locals` object881 * Added `res.locals(obj)`882 * Added `res.format()` for content-negotiation883 * Added `app.engine()`884 * Added `res.cookie()` JSON cookie support885 * Added "trust proxy" setting886 * Added `req.subdomains`887 * Added `req.protocol`888 * Added `req.secure`889 * Added `req.path`890 * Added `req.ips`891 * Added `req.fresh`892 * Added `req.stale`893 * Added comma-delmited / array support for `req.accepts()`894 * Added debug instrumentation895 * Added `res.set(obj)`896 * Added `res.set(field, value)`897 * Added `res.get(field)`898 * Added `app.get(setting)`. Closes #842899 * Added `req.acceptsLanguage()`900 * Added `req.acceptsCharset()`901 * Added `req.accepted`902 * Added `req.acceptedLanguages`903 * Added `req.acceptedCharsets`904 * Added "json replacer" setting905 * Added "json spaces" setting906 * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92907 * Added `--less` support to express(1)908 * Added `express.response` prototype909 * Added `express.request` prototype910 * Added `express.application` prototype911 * Added `app.path()`912 * Added `app.render()`913 * Added `res.type()` to replace `res.contentType()`914 * Changed: `res.redirect()` to add relative support915 * Changed: enable "jsonp callback" by default916 * Changed: renamed "case sensitive routes" to "case sensitive routing"917 * Rewrite of all tests with mocha918 * Removed "root" setting919 * Removed `res.redirect('home')` support920 * Removed `req.notify()`921 * Removed `app.register()`922 * Removed `app.redirect()`923 * Removed `app.is()`924 * Removed `app.helpers()`925 * Removed `app.dynamicHelpers()`926 * Fixed `res.sendfile()` with non-GET. Closes #723927 * Fixed express(1) public dir for windows. Closes #8669289292.5.9/ 2012-04-02930==================931932 * Added support for PURGE request method [pbuyle]933 * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]9349352.5.8 / 2012-02-08936==================937938 * Update mkdirp dep. Closes #9919399402.5.7 / 2012-02-06941==================942943 * Fixed `app.all` duplicate DELETE requests [mscdex]9449452.5.6 / 2012-01-13946==================947948 * Updated hamljs dev dep. Closes #9539499502.5.5 / 2012-01-08951==================952953 * Fixed: set `filename` on cached templates [matthewleon]9549552.5.4 / 2012-01-02956==================957958 * Fixed `express(1)` eol on 0.4.x. Closes #9479599602.5.3 / 2011-12-30961==================962963 * Fixed `req.is()` when a charset is present9649652.5.2 / 2011-12-10966==================967968 * Fixed: express(1) LF -> CRLF for windows9699702.5.1 / 2011-11-17971==================972973 * Changed: updated connect to 1.8.x974 * Removed sass.js support from express(1)9759762.5.0 / 2011-10-24977==================978979 * Added ./routes dir for generated app by default980 * Added npm install reminder to express(1) app gen981 * Added 0.5.x support982 * Removed `make test-cov` since it wont work with node 0.5.x983 * Fixed express(1) public dir for windows. Closes #8669849852.4.7 / 2011-10-05986==================987988 * Added mkdirp to express(1). Closes #795989 * Added simple _json-config_ example990 * Added shorthand for the parsed request's pathname via `req.path`991 * Changed connect dep to 1.7.x to fix npm issue...992 * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]993 * Fixed `req.flash()`, only escape args994 * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]9959962.4.6 / 2011-08-22997==================998999 * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]100010012.4.5 / 2011-08-191002==================10031004 * Added support for routes to handle errors. Closes #8091005 * Added `app.routes.all()`. Closes #8031006 * Added "basepath" setting to work in conjunction with reverse proxies etc.1007 * Refactored `Route` to use a single array of callbacks1008 * Added support for multiple callbacks for `app.param()`. Closes #8011009Closes #8051010 * Changed: removed .call(self) for route callbacks1011 * Dependency: `qs >= 0.3.1`1012 * Fixed `res.redirect()` on windows due to `join()` usage. Closes #808101310142.4.4 / 2011-08-051015==================10161017 * Fixed `res.header()` intention of a set, even when `undefined`1018 * Fixed `*`, value no longer required1019 * Fixed `res.send(204)` support. Closes #771102010212.4.3 / 2011-07-141022==================10231024 * Added docs for `status` option special-case. Closes #7391025 * Fixed `options.filename`, exposing the view path to template engines102610272.4.2. / 2011-07-061028==================10291030 * Revert "removed jsonp stripping" for XSS103110322.4.1 / 2011-07-061033==================10341035 * Added `res.json()` JSONP support. Closes #7371036 * Added _extending-templates_ example. Closes #7301037 * Added "strict routing" setting for trailing slashes1038 * Added support for multiple envs in `app.configure()` calls. Closes #7351039 * Changed: `res.send()` using `res.json()`1040 * Changed: when cookie `path === null` don't default it1041 * Changed; default cookie path to "home" setting. Closes #7311042 * Removed _pids/logs_ creation from express(1)104310442.4.0 / 2011-06-281045==================10461047 * Added chainable `res.status(code)`1048 * Added `res.json()`, an explicit version of `res.send(obj)`1049 * Added simple web-service example105010512.3.12 / 2011-06-221052==================10531054 * \#express is now on freenode! come join!1055 * Added `req.get(field, param)`1056 * Added links to Japanese documentation, thanks @hideyukisaito!1057 * Added; the `express(1)` generated app outputs the env1058 * Added `content-negotiation` example1059 * Dependency: connect >= 1.5.1 < 2.0.01060 * Fixed view layout bug. Closes #7201061 * Fixed; ignore body on 304. Closes #701106210632.3.11 / 2011-06-041064==================10651066 * Added `npm test`1067 * Removed generation of dummy test file from `express(1)`1068 * Fixed; `express(1)` adds express as a dep1069 * Fixed; prune on `prepublish`107010712.3.10 / 2011-05-271072==================10731074 * Added `req.route`, exposing the current route1075 * Added _package.json_ generation support to `express(1)`1076 * Fixed call to `app.param()` function for optional params. Closes #682107710782.3.9 / 2011-05-251079==================10801081 * Fixed bug-ish with `../' in `res.partial()` calls108210832.3.8 / 2011-05-241084==================10851086 * Fixed `app.options()`108710882.3.7 / 2011-05-231089==================10901091 * Added route `Collection`, ex: `app.get('/user/:id').remove();`1092 * Added support for `app.param(fn)` to define param logic1093 * Removed `app.param()` support for callback with return value1094 * Removed module.parent check from express(1) generated app. Closes #6701095 * Refactored router. Closes #639109610972.3.6 / 2011-05-201098==================10991100 * Changed; using devDependencies instead of git submodules1101 * Fixed redis session example1102 * Fixed markdown example1103 * Fixed view caching, should not be enabled in development110411052.3.5 / 2011-05-201106==================11071108 * Added export `.view` as alias for `.View`110911102.3.4 / 2011-05-081111==================11121113 * Added `./examples/say`1114 * Fixed `res.sendfile()` bug preventing the transfer of files with spaces111511162.3.3 / 2011-05-031117==================11181119 * Added "case sensitive routes" option.1120 * Changed; split methods supported per rfc [slaskis]1121 * Fixed route-specific middleware when using the same callback function several times112211232.3.2 / 2011-04-271124==================11251126 * Fixed view hints112711282.3.1 / 2011-04-261129==================11301131 * Added `app.match()` as `app.match.all()`1132 * Added `app.lookup()` as `app.lookup.all()`1133 * Added `app.remove()` for `app.remove.all()`1134 * Added `app.remove.VERB()`1135 * Fixed template caching collision issue. Closes #6441136 * Moved router over from connect and started refactor113711382.3.0 / 2011-04-251139==================11401141 * Added options support to `res.clearCookie()`1142 * Added `res.helpers()` as alias of `res.locals()`1143 * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0`1144 * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]1145 * Renamed "cache views" to "view cache". Closes #6281146 * Fixed caching of views when using several apps. Closes #6371147 * Fixed gotcha invoking `app.param()` callbacks once per route middleware.1148Closes #6381149 * Fixed partial lookup precedence. Closes #6311150Shaw]115111522.2.2 / 2011-04-121153==================11541155 * Added second callback support for `res.download()` connection errors1156 * Fixed `filename` option passing to template engine115711582.2.1 / 2011-04-041159==================11601161 * Added `layout(path)` helper to change the layout within a view. Closes #6101162 * Fixed `partial()` collection object support.1163 Previously only anything with `.length` would work.1164 When `.length` is present one must still be aware of holes,1165 however now `{ collection: {foo: 'bar'}}` is valid, exposes1166 `keyInCollection` and `keysInCollection`.11671168 * Performance improved with better view caching1169 * Removed `request` and `response` locals1170 * Changed; errorHandler page title is now `Express` instead of `Connect`117111722.2.0 / 2011-03-301173==================11741175 * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #6061176 * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #6061177 * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.1178 * Dependency `connect >= 1.2.0`117911802.1.1 / 2011-03-291181==================11821183 * Added; expose `err.view` object when failing to locate a view1184 * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]1185 * Fixed; `res.send(undefined)` responds with 204 [aheckmann]118611872.1.0 / 2011-03-241188==================11891190 * Added `<root>/_?<name>` partial lookup support. Closes #4471191 * Added `request`, `response`, and `app` local variables1192 * Added `settings` local variable, containing the app's settings1193 * Added `req.flash()` exception if `req.session` is not available1194 * Added `res.send(bool)` support (json response)1195 * Fixed stylus example for latest version1196 * Fixed; wrap try/catch around `res.render()`119711982.0.0 / 2011-03-171199==================12001201 * Fixed up index view path alternative.1202 * Changed; `res.locals()` without object returns the locals120312042.0.0rc3 / 2011-03-171205==================12061207 * Added `res.locals(obj)` to compliment `res.local(key, val)`1208 * Added `res.partial()` callback support1209 * Fixed recursive error reporting issue in `res.render()`121012112.0.0rc2 / 2011-03-171212==================12131214 * Changed; `partial()` "locals" are now optional1215 * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]1216 * Fixed .filename view engine option [reported by drudge]1217 * Fixed blog example1218 * Fixed `{req,res}.app` reference when mounting [Ben Weaver]121912202.0.0rc / 2011-03-141221==================12221223 * Fixed; expose `HTTPSServer` constructor1224 * Fixed express(1) default test charset. Closes #579 [reported by secoif]1225 * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]122612272.0.0beta3 / 2011-03-091228==================12291230 * Added support for `res.contentType()` literal1231 The original `res.contentType('.json')`,1232 `res.contentType('application/json')`, and `res.contentType('json')`1233 will work now.1234 * Added `res.render()` status option support back1235 * Added charset option for `res.render()`1236 * Added `.charset` support (via connect 1.0.4)1237 * Added view resolution hints when in development and a lookup fails1238 * Added layout lookup support relative to the page view.1239 For example while rendering `./views/user/index.jade` if you create1240 `./views/user/layout.jade` it will be used in favour of the root layout.1241 * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]1242 * Fixed; default `res.send()` string charset to utf81243 * Removed `Partial` constructor (not currently used)124412452.0.0beta2 / 2011-03-071246==================12471248 * Added res.render() `.locals` support back to aid in migration process1249 * Fixed flash example125012512.0.0beta / 2011-03-031252==================12531254 * Added HTTPS support1255 * Added `res.cookie()` maxAge support1256 * Added `req.header()` _Referrer_ / _Referer_ special-case, either works1257 * Added mount support for `res.redirect()`, now respects the mount-point1258 * Added `union()` util, taking place of `merge(clone())` combo1259 * Added stylus support to express(1) generated app1260 * Added secret to session middleware used in examples and generated app1261 * Added `res.local(name, val)` for progressive view locals1262 * Added default param support to `req.param(name, default)`1263 * Added `app.disabled()` and `app.enabled()`1264 * Added `app.register()` support for omitting leading ".", either works1265 * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #5391266 * Added `app.param()` to map route params to async/sync logic1267 * Added; aliased `app.helpers()` as `app.locals()`. Closes #4811268 * Added extname with no leading "." support to `res.contentType()`1269 * Added `cache views` setting, defaulting to enabled in "production" env1270 * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.1271 * Added `req.accepts()` support for extensions1272 * Changed; `res.download()` and `res.sendfile()` now utilize Connect's1273 static file server `connect.static.send()`.1274 * Changed; replaced `connect.utils.mime()` with npm _mime_ module1275 * Changed; allow `req.query` to be pre-defined (via middleware or other parent1276 * Changed view partial resolution, now relative to parent view1277 * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.1278 * Fixed `req.param()` bug returning Array.prototype methods. Closes #5521279 * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()`1280 * Fixed; using _qs_ module instead of _querystring_1281 * Fixed; strip unsafe chars from jsonp callbacks1282 * Removed "stream threshold" setting128312841.0.8 / 2011-03-011285==================12861287 * Allow `req.query` to be pre-defined (via middleware or other parent app)1288 * "connect": ">= 0.5.0 < 1.0.0". Closes #5471289 * Removed the long deprecated __EXPRESS_ENV__ support129012911.0.7 / 2011-02-071292==================12931294 * Fixed `render()` setting inheritance.1295 Mounted apps would not inherit "view engine"129612971.0.6 / 2011-02-071298==================12991300 * Fixed `view engine` setting bug when period is in dirname130113021.0.5 / 2011-02-051303==================13041305 * Added secret to generated app `session()` call130613071.0.4 / 2011-02-051308==================13091310 * Added `qs` dependency to _package.json_1311 * Fixed namespaced `require()`s for latest connect support131213131.0.3 / 2011-01-131314==================13151316 * Remove unsafe characters from JSONP callback names [Ryan Grove]131713181.0.2 / 2011-01-101319==================13201321 * Removed nested require, using `connect.router`132213231.0.1 / 2010-12-291324==================13251326 * Fixed for middleware stacked via `createServer()`1327 previously the `foo` middleware passed to `createServer(foo)`1328 would not have access to Express methods such as `res.send()`1329 or props like `req.query` etc.133013311.0.0 / 2010-11-161332==================13331334 * Added; deduce partial object names from the last segment.1335 For example by default `partial('forum/post', postObject)` will1336 give you the _post_ object, providing a meaningful default.1337 * Added http status code string representation to `res.redirect()` body1338 * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__.1339 * Added `req.is()` to aid in content negotiation1340 * Added partial local inheritance [suggested by masylum]. Closes #1021341 providing access to parent template locals.1342 * Added _-s, --session[s]_ flag to express(1) to add session related middleware1343 * Added _--template_ flag to express(1) to specify the1344 template engine to use.1345 * Added _--css_ flag to express(1) to specify the1346 stylesheet engine to use (or just plain css by default).1347 * Added `app.all()` support [thanks aheckmann]1348 * Added partial direct object support.1349 You may now `partial('user', user)` providing the "user" local,1350 vs previously `partial('user', { object: user })`.1351 * Added _route-separation_ example since many people question ways1352 to do this with CommonJS modules. Also view the _blog_ example for1353 an alternative.1354 * Performance; caching view path derived partial object names1355 * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #4541356 * Fixed jsonp support; _text/javascript_ as per mailinglist discussion135713581.0.0rc4 / 2010-10-141359==================13601361 * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.01362 * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))1363 * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass]1364 * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass]1365 * Added `partial()` support for array-like collections. Closes #4341366 * Added support for swappable querystring parsers1367 * Added session usage docs. Closes #4431368 * Added dynamic helper caching. Closes #439 [suggested by maritz]1369 * Added authentication example1370 * Added basic Range support to `res.sendfile()` (and `res.download()` etc)1371 * Changed; `express(1)` generated app using 2 spaces instead of 41372 * Default env to "development" again [aheckmann]1373 * Removed _context_ option is no more, use "scope"1374 * Fixed; exposing _./support_ libs to examples so they can run without installs1375 * Fixed mvc example137613771.0.0rc3 / 2010-09-201378==================13791380 * Added confirmation for `express(1)` app generation. Closes #3911381 * Added extending of flash formatters via `app.flashFormatters`1382 * Added flash formatter support. Closes #4111383 * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold"1384 * Added _stream threshold_ setting for `res.sendfile()`1385 * Added `res.send()` __HEAD__ support1386 * Added `res.clearCookie()`1387 * Added `res.cookie()`1388 * Added `res.render()` headers option1389 * Added `res.redirect()` response bodies1390 * Added `res.render()` status option support. Closes #425 [thanks aheckmann]1391 * Fixed `res.sendfile()` responding with 403 on malicious path1392 * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_1393 * Fixed; mounted apps settings now inherit from parent app [aheckmann]1394 * Fixed; stripping Content-Length / Content-Type when 2041395 * Fixed `res.send()` 204. Closes #4191396 * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #4021397 * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]1398139914001.0.0rc2 / 2010-08-171401==================14021403 * Added `app.register()` for template engine mapping. Closes #3901404 * Added `res.render()` callback support as second argument (no options)1405 * Added callback support to `res.download()`1406 * Added callback support for `res.sendfile()`1407 * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()`1408 * Added "partials" setting to docs1409 * Added default expresso tests to `express(1)` generated app. Closes #3841410 * Fixed `res.sendfile()` error handling, defer via `next()`1411 * Fixed `res.render()` callback when a layout is used [thanks guillermo]1412 * Fixed; `make install` creating ~/.node_libraries when not present1413 * Fixed issue preventing error handlers from being defined anywhere. Closes #387141414151.0.0rc / 2010-07-281416==================14171418 * Added mounted hook. Closes #3691419 * Added connect dependency to _package.json_14201421 * Removed "reload views" setting and support code1422 development env never caches, production always caches.14231424 * Removed _param_ in route callbacks, signature is now1425 simply (req, res, next), previously (req, res, params, next).1426 Use _req.params_ for path captures, _req.query_ for GET params.14271428 * Fixed "home" setting1429 * Fixed middleware/router precedence issue. Closes #3661430 * Fixed; _configure()_ callbacks called immediately. Closes #368143114321.0.0beta2 / 2010-07-231433==================14341435 * Added more examples1436 * Added; exporting `Server` constructor1437 * Added `Server#helpers()` for view locals1438 * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #3491439 * Added support for absolute view paths1440 * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #3631441 * Added Guillermo Rauch to the contributor list1442 * Added support for "as" for non-collection partials. Closes #3411443 * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]1444 * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]1445 * Fixed instanceof `Array` checks, now `Array.isArray()`1446 * Fixed express(1) expansion of public dirs. Closes #3481447 * Fixed middleware precedence. Closes #3451448 * Fixed view watcher, now async [thanks aheckmann]144914501.0.0beta / 2010-07-151451==================14521453 * Re-write1454 - much faster1455 - much lighter1456 - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs145714580.14.0 / 2010-06-151459==================14601461 * Utilize relative requires1462 * Added Static bufferSize option [aheckmann]1463 * Fixed caching of view and partial subdirectories [aheckmann]1464 * Fixed mime.type() comments now that ".ext" is not supported1465 * Updated haml submodule1466 * Updated class submodule1467 * Removed bin/express146814690.13.0 / 2010-06-011470==================14711472 * Added node v0.1.97 compatibility1473 * Added support for deleting cookies via Request#cookie('key', null)1474 * Updated haml submodule1475 * Fixed not-found page, now using using charset utf-81476 * Fixed show-exceptions page, now using using charset utf-81477 * Fixed view support due to fs.readFile Buffers1478 * Changed; mime.type() no longer accepts ".type" due to node extname() changes147914800.12.0 / 2010-05-221481==================14821483 * Added node v0.1.96 compatibility1484 * Added view `helpers` export which act as additional local variables1485 * Updated haml submodule1486 * Changed ETag; removed inode, modified time only1487 * Fixed LF to CRLF for setting multiple cookies1488 * Fixed cookie complation; values are now urlencoded1489 * Fixed cookies parsing; accepts quoted values and url escaped cookies149014910.11.0 / 2010-05-061492==================14931494 * Added support for layouts using different engines1495 - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })1496 - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'1497 - this.render('page.html.haml', { layout: false }) // no layout1498 * Updated ext submodule1499 * Updated haml submodule1500 * Fixed EJS partial support by passing along the context. Issue #307150115020.10.1 / 2010-05-031503==================15041505 * Fixed binary uploads.150615070.10.0 / 2010-04-301508==================15091510 * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s1511 encoding is set to 'utf8' or 'utf-8'.1512 * Added "encoding" option to Request#render(). Closes #2991513 * Added "dump exceptions" setting, which is enabled by default.1514 * Added simple ejs template engine support1515 * Added error reponse support for text/plain, application/json. Closes #2971516 * Added callback function param to Request#error()1517 * Added Request#sendHead()1518 * Added Request#stream()1519 * Added support for Request#respond(304, null) for empty response bodies1520 * Added ETag support to Request#sendfile()1521 * Added options to Request#sendfile(), passed to fs.createReadStream()1522 * Added filename arg to Request#download()1523 * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request1524 * Performance enhanced by preventing several calls to toLowerCase() in Router#match()1525 * Changed; Request#sendfile() now streams1526 * Changed; Renamed Request#halt() to Request#respond(). Closes #2891527 * Changed; Using sys.inspect() instead of JSON.encode() for error output1528 * Changed; run() returns the http.Server instance. Closes #2981529 * Changed; Defaulting Server#host to null (INADDR_ANY)1530 * Changed; Logger "common" format scale of 0.4f1531 * Removed Logger "request" format1532 * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found1533 * Fixed several issues with http client1534 * Fixed Logger Content-Length output1535 * Fixed bug preventing Opera from retaining the generated session id. Closes #292153615370.9.0 / 2010-04-141538==================15391540 * Added DSL level error() route support1541 * Added DSL level notFound() route support1542 * Added Request#error()1543 * Added Request#notFound()1544 * Added Request#render() callback function. Closes #2581545 * Added "max upload size" setting1546 * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #2541547 * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js1548 * Added callback function support to Request#halt() as 3rd/4th arg1549 * Added preprocessing of route param wildcards using param(). Closes #2511550 * Added view partial support (with collections etc)1551 * Fixed bug preventing falsey params (such as ?page=0). Closes #2861552 * Fixed setting of multiple cookies. Closes #1991553 * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)1554 * Changed; session cookie is now httpOnly1555 * Changed; Request is no longer global1556 * Changed; Event is no longer global1557 * Changed; "sys" module is no longer global1558 * Changed; moved Request#download to Static plugin where it belongs1559 * Changed; Request instance created before body parsing. Closes #2621560 * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #2531561 * Changed; Pre-caching view partials in memory when "cache view partials" is enabled1562 * Updated support to node --version 0.1.901563 * Updated dependencies1564 * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})1565 * Removed utils.mixin(); use Object#mergeDeep()156615670.8.0 / 2010-03-191568==================15691570 * Added coffeescript example app. Closes #2421571 * Changed; cache api now async friendly. Closes #2401572 * Removed deprecated 'express/static' support. Use 'express/plugins/static'157315740.7.6 / 2010-03-191575==================15761577 * Added Request#isXHR. Closes #2291578 * Added `make install` (for the executable)1579 * Added `express` executable for setting up simple app templates1580 * Added "GET /public/*" to Static plugin, defaulting to <root>/public1581 * Added Static plugin1582 * Fixed; Request#render() only calls cache.get() once1583 * Fixed; Namespacing View caches with "view:"1584 * Fixed; Namespacing Static caches with "static:"1585 * Fixed; Both example apps now use the Static plugin1586 * Fixed set("views"). Closes #2391587 * Fixed missing space for combined log format1588 * Deprecated Request#sendfile() and 'express/static'1589 * Removed Server#running159015910.7.5 / 2010-03-161592==================15931594 * Added Request#flash() support without args, now returns all flashes1595 * Updated ext submodule159615970.7.4 / 2010-03-161598==================15991600 * Fixed session reaper1601 * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)160216030.7.3 / 2010-03-161604==================16051606 * Added package.json1607 * Fixed requiring of haml / sass due to kiwi removal160816090.7.2 / 2010-03-161610==================16111612 * Fixed GIT submodules (HAH!)161316140.7.1 / 2010-03-161615==================16161617 * Changed; Express now using submodules again until a PM is adopted1618 * Changed; chat example using millisecond conversions from ext161916200.7.0 / 2010-03-151621==================16221623 * Added Request#pass() support (finds the next matching route, or the given path)1624 * Added Logger plugin (default "common" format replaces CommonLogger)1625 * Removed Profiler plugin1626 * Removed CommonLogger plugin162716280.6.0 / 2010-03-111629==================16301631 * Added seed.yml for kiwi package management support1632 * Added HTTP client query string support when method is GET. Closes #20516331634 * Added support for arbitrary view engines.1635 For example "foo.engine.html" will now require('engine'),1636 the exports from this module are cached after the first require().16371638 * Added async plugin support16391640 * Removed usage of RESTful route funcs as http client1641 get() etc, use http.get() and friends16421643 * Removed custom exceptions164416450.5.0 / 2010-03-101646==================16471648 * Added ext dependency (library of js extensions)1649 * Removed extname() / basename() utils. Use path module1650 * Removed toArray() util. Use arguments.values1651 * Removed escapeRegexp() util. Use RegExp.escape()1652 * Removed process.mixin() dependency. Use utils.mixin()1653 * Removed Collection1654 * Removed ElementCollection1655 * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;)165616570.4.0 / 2010-02-111658==================16591660 * Added flash() example to sample upload app1661 * Added high level restful http client module (express/http)1662 * Changed; RESTful route functions double as HTTP clients. Closes #691663 * Changed; throwing error when routes are added at runtime1664 * Changed; defaulting render() context to the current Request. Closes #1971665 * Updated haml submodule166616670.3.0 / 2010-02-111668==================16691670 * Updated haml / sass submodules. Closes #2001671 * Added flash message support. Closes #641672 * Added accepts() now allows multiple args. fixes #1171673 * Added support for plugins to halt. Closes #1891674 * Added alternate layout support. Closes #1191675 * Removed Route#run(). Closes #1881676 * Fixed broken specs due to use(Cookie) missing167716780.2.1 / 2010-02-051679==================16801681 * Added "plot" format option for Profiler (for gnuplot processing)1682 * Added request number to Profiler plugin1683 * Fixed binary encoding for multi-part file uploads, was previously defaulting to UTF81684 * Fixed issue with routes not firing when not files are present. Closes #1841685 * Fixed process.Promise -> events.Promise168616870.2.0 / 2010-02-031688==================16891690 * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #1801691 * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #1741692 * Added expiration support to cache api with reaper. Closes #1331693 * Added cache Store.Memory#reap()1694 * Added Cache; cache api now uses first class Cache instances1695 * Added abstract session Store. Closes #1721696 * Changed; cache Memory.Store#get() utilizing Collection1697 * Renamed MemoryStore -> Store.Memory1698 * Fixed use() of the same plugin several time will always use latest options. Closes #176169917000.1.0 / 2010-02-031701==================17021703 * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context1704 * Updated node support to 0.1.27 Closes #1691705 * Updated dirname(__filename) -> __dirname1706 * Updated libxmljs support to v0.2.01707 * Added session support with memory store / reaping1708 * Added quick uid() helper1709 * Added multi-part upload support1710 * Added Sass.js support / submodule1711 * Added production env caching view contents and static files1712 * Added static file caching. Closes #1361713 * Added cache plugin with memory stores1714 * Added support to StaticFile so that it works with non-textual files.1715 * Removed dirname() helper1716 * Removed several globals (now their modules must be required)171717180.0.2 / 2010-01-101719==================17201721 * Added view benchmarks; currently haml vs ejs1722 * Added Request#attachment() specs. Closes #1161723 * Added use of node's parseQuery() util. Closes #1231724 * Added `make init` for submodules1725 * Updated Haml1726 * Updated sample chat app to show messages on load1727 * Updated libxmljs parseString -> parseHtmlString1728 * Fixed `make init` to work with older versions of git1729 * Fixed specs can now run independant specs for those who cant build deps. Closes #1271730 * Fixed issues introduced by the node url module changes. Closes 126.1731 * Fixed two assertions failing due to Collection#keys() returning strings1732 * Fixed faulty Collection#toArray() spec due to keys() returning strings1733 * Fixed `make test` now builds libxmljs.node before testing173417350.0.1 / 2010-01-031736==================17371738 * Initial release