raspberryGPIOhtmlserver/node_modules/express/History.md
node_modules/express/History.mdRaw
1
23.2.6 / 2013-06-02
3==================
4
5 * update connect
6
73.2.5 / 2013-05-21
8==================
9
10 * update connect
11 * update node-cookie
12 * add: throw a meaningful error when there is no default engine
13 * change generation of ETags with res.send() to GET requests only. Closes #1619
14
153.2.4 / 2013-05-09
16==================
17
18 * fix `req.subdomains` when no Host is present
19 * fix `req.host` when no Host is present, return undefined
20
213.2.3 / 2013-05-07
22==================
23
24 * update connect / qs
25
263.2.2 / 2013-05-03
27==================
28
29 * update qs
30
313.2.1 / 2013-04-29
32==================
33
34 * add app.VERB() paths array deprecation warning
35 * update connect
36 * update qs and remove all ~ semver crap
37 * fix: accept number as value of Signed Cookie
38
393.2.0 / 2013-04-15
40==================
41
42 * add "view" constructor setting to override view behaviour
43 * add req.acceptsEncoding(name)
44 * add req.acceptedEncodings
45 * revert cookie signature change causing session race conditions
46 * fix sorting of Accept values of the same quality
47
483.1.2 / 2013-04-12
49==================
50
51 * add support for custom Accept parameters
52 * update cookie-signature
53
543.1.1 / 2013-04-01
55==================
56
57 * add X-Forwarded-Host support to `req.host`
58 * fix relative redirects
59 * update mkdirp
60 * update buffer-crc32
61 * remove legacy app.configure() method from app template.
62
633.1.0 / 2013-01-25
64==================
65
66 * add support for leading "." in "view engine" setting
67 * add array support to `res.set()`
68 * add node 0.8.x to travis.yml
69 * add "subdomain offset" setting for tweaking `req.subdomains`
70 * add `res.location(url)` implementing `res.redirect()`-like setting of Location
71 * use app.get() for x-powered-by setting for inheritance
72 * fix colons in passwords for `req.auth`
73
743.0.6 / 2013-01-04
75==================
76
77 * add http verb methods to Router
78 * update connect
79 * fix mangling of the `res.cookie()` options object
80 * fix jsonp whitespace escape. Closes #1132
81
823.0.5 / 2012-12-19
83==================
84
85 * add throwing when a non-function is passed to a route
86 * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses
87 * revert "add 'etag' option"
88
893.0.4 / 2012-12-05
90==================
91
92 * add 'etag' option to disable `res.send()` Etags
93 * add escaping of urls in text/plain in `res.redirect()`
94 for old browsers interpreting as html
95 * change crc32 module for a more liberal license
96 * update connect
97
983.0.3 / 2012-11-13
99==================
100
101 * update connect
102 * update cookie module
103 * fix cookie max-age
104
1053.0.2 / 2012-11-08
106==================
107
108 * add OPTIONS to cors example. Closes #1398
109 * fix route chaining regression. Closes #1397
110
1113.0.1 / 2012-11-01
112==================
113
114 * update connect
115
1163.0.0 / 2012-10-23
117==================
118
119 * add `make clean`
120 * add "Basic" check to req.auth
121 * add `req.auth` test coverage
122 * add cb && cb(payload) to `res.jsonp()`. Closes #1374
123 * add backwards compat for `res.redirect()` status. Closes #1336
124 * add support for `res.json()` to retain previously defined Content-Types. Closes #1349
125 * update connect
126 * change `res.redirect()` to utilize a pathname-relative Location again. Closes #1382
127 * remove non-primitive string support for `res.send()`
128 * fix view-locals example. Closes #1370
129 * fix route-separation example
130
1313.0.0rc5 / 2012-09-18
132==================
133
134 * update connect
135 * add redis search example
136 * add static-files example
137 * add "x-powered-by" setting (`app.disable('x-powered-by')`)
138 * add "application/octet-stream" redirect Accept test case. Closes #1317
139
1403.0.0rc4 / 2012-08-30
141==================
142
143 * add `res.jsonp()`. Closes #1307
144 * add "verbose errors" option to error-pages example
145 * add another route example to express(1) so people are not so confused
146 * add redis online user activity tracking example
147 * update connect dep
148 * fix etag quoting. Closes #1310
149 * fix error-pages 404 status
150 * fix jsonp callback char restrictions
151 * remove old OPTIONS default response
152
1533.0.0rc3 / 2012-08-13
154==================
155
156 * update connect dep
157 * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds]
158 * fix `res.render()` clobbering of "locals"
159
1603.0.0rc2 / 2012-08-03
161==================
162
163 * add CORS example
164 * update connect dep
165 * deprecate `.createServer()` & remove old stale examples
166 * fix: escape `res.redirect()` link
167 * fix vhost example
168
1693.0.0rc1 / 2012-07-24
170==================
171
172 * add more examples to view-locals
173 * add scheme-relative redirects (`res.redirect("//foo.com")`) support
174 * update cookie dep
175 * update connect dep
176 * update send dep
177 * fix `express(1)` -h flag, use -H for hogan. Closes #1245
178 * fix `res.sendfile()` socket error handling regression
179
1803.0.0beta7 / 2012-07-16
181==================
182
183 * update connect dep for `send()` root normalization regression
184
1853.0.0beta6 / 2012-07-13
186==================
187
188 * add `err.view` property for view errors. Closes #1226
189 * add "jsonp callback name" setting
190 * add support for "/foo/:bar*" non-greedy matches
191 * change `res.sendfile()` to use `send()` module
192 * change `res.send` to use "response-send" module
193 * remove `app.locals.use` and `res.locals.use`, use regular middleware
194
1953.0.0beta5 / 2012-07-03
196==================
197
198 * add "make check" support
199 * add route-map example
200 * add `res.json(obj, status)` support back for BC
201 * add "methods" dep, remove internal methods module
202 * update connect dep
203 * update auth example to utilize cores pbkdf2
204 * updated tests to use "supertest"
205
2063.0.0beta4 / 2012-06-25
207==================
208
209 * Added `req.auth`
210 * Added `req.range(size)`
211 * Added `res.links(obj)`
212 * Added `res.send(body, status)` support back for backwards compat
213 * Added `.default()` support to `res.format()`
214 * Added 2xx / 304 check to `req.fresh`
215 * Revert "Added + support to the router"
216 * Fixed `res.send()` freshness check, respect res.statusCode
217
2183.0.0beta3 / 2012-06-15
219==================
220
221 * Added hogan `--hjs` to express(1) [nullfirm]
222 * Added another example to content-negotiation
223 * Added `fresh` dep
224 * Changed: `res.send()` always checks freshness
225 * Fixed: expose connects mime module. Cloases #1165
226
2273.0.0beta2 / 2012-06-06
228==================
229
230 * Added `+` support to the router
231 * Added `req.host`
232 * Changed `req.param()` to check route first
233 * Update connect dep
234
2353.0.0beta1 / 2012-06-01
236==================
237
238 * Added `res.format()` callback to override default 406 behaviour
239 * Fixed `res.redirect()` 406. Closes #1154
240
2413.0.0alpha5 / 2012-05-30
242==================
243
244 * Added `req.ip`
245 * Added `{ signed: true }` option to `res.cookie()`
246 * Removed `res.signedCookie()`
247 * Changed: dont reverse `req.ips`
248 * Fixed "trust proxy" setting check for `req.ips`
249
2503.0.0alpha4 / 2012-05-09
251==================
252
253 * Added: allow `[]` in jsonp callback. Closes #1128
254 * Added `PORT` env var support in generated template. Closes #1118 [benatkin]
255 * Updated: connect 2.2.2
256
2573.0.0alpha3 / 2012-05-04
258==================
259
260 * Added public `app.routes`. Closes #887
261 * Added _view-locals_ example
262 * Added _mvc_ example
263 * Added `res.locals.use()`. Closes #1120
264 * Added conditional-GET support to `res.send()`
265 * Added: coerce `res.set()` values to strings
266 * Changed: moved `static()` in generated apps below router
267 * Changed: `res.send()` only set ETag when not previously set
268 * Changed connect 2.2.1 dep
269 * Changed: `make test` now runs unit / acceptance tests
270 * Fixed req/res proto inheritance
271
2723.0.0alpha2 / 2012-04-26
273==================
274
275 * Added `make benchmark` back
276 * Added `res.send()` support for `String` objects
277 * Added client-side data exposing example
278 * Added `res.header()` and `req.header()` aliases for BC
279 * Added `express.createServer()` for BC
280 * Perf: memoize parsed urls
281 * Perf: connect 2.2.0 dep
282 * Changed: make `expressInit()` middleware self-aware
283 * Fixed: use app.get() for all core settings
284 * Fixed redis session example
285 * Fixed session example. Closes #1105
286 * Fixed generated express dep. Closes #1078
287
2883.0.0alpha1 / 2012-04-15
289==================
290
291 * Added `app.locals.use(callback)`
292 * Added `app.locals` object
293 * Added `app.locals(obj)`
294 * Added `res.locals` object
295 * Added `res.locals(obj)`
296 * Added `res.format()` for content-negotiation
297 * Added `app.engine()`
298 * Added `res.cookie()` JSON cookie support
299 * Added "trust proxy" setting
300 * Added `req.subdomains`
301 * Added `req.protocol`
302 * Added `req.secure`
303 * Added `req.path`
304 * Added `req.ips`
305 * Added `req.fresh`
306 * Added `req.stale`
307 * Added comma-delmited / array support for `req.accepts()`
308 * Added debug instrumentation
309 * Added `res.set(obj)`
310 * Added `res.set(field, value)`
311 * Added `res.get(field)`
312 * Added `app.get(setting)`. Closes #842
313 * Added `req.acceptsLanguage()`
314 * Added `req.acceptsCharset()`
315 * Added `req.accepted`
316 * Added `req.acceptedLanguages`
317 * Added `req.acceptedCharsets`
318 * Added "json replacer" setting
319 * Added "json spaces" setting
320 * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92
321 * Added `--less` support to express(1)
322 * Added `express.response` prototype
323 * Added `express.request` prototype
324 * Added `express.application` prototype
325 * Added `app.path()`
326 * Added `app.render()`
327 * Added `res.type()` to replace `res.contentType()`
328 * Changed: `res.redirect()` to add relative support
329 * Changed: enable "jsonp callback" by default
330 * Changed: renamed "case sensitive routes" to "case sensitive routing"
331 * Rewrite of all tests with mocha
332 * Removed "root" setting
333 * Removed `res.redirect('home')` support
334 * Removed `req.notify()`
335 * Removed `app.register()`
336 * Removed `app.redirect()`
337 * Removed `app.is()`
338 * Removed `app.helpers()`
339 * Removed `app.dynamicHelpers()`
340 * Fixed `res.sendfile()` with non-GET. Closes #723
341 * Fixed express(1) public dir for windows. Closes #866
342
3432.5.9/ 2012-04-02
344==================
345
346 * Added support for PURGE request method [pbuyle]
347 * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]
348
3492.5.8 / 2012-02-08
350==================
351
352 * Update mkdirp dep. Closes #991
353
3542.5.7 / 2012-02-06
355==================
356
357 * Fixed `app.all` duplicate DELETE requests [mscdex]
358
3592.5.6 / 2012-01-13
360==================
361
362 * Updated hamljs dev dep. Closes #953
363
3642.5.5 / 2012-01-08
365==================
366
367 * Fixed: set `filename` on cached templates [matthewleon]
368
3692.5.4 / 2012-01-02
370==================
371
372 * Fixed `express(1)` eol on 0.4.x. Closes #947
373
3742.5.3 / 2011-12-30
375==================
376
377 * Fixed `req.is()` when a charset is present
378
3792.5.2 / 2011-12-10
380==================
381
382 * Fixed: express(1) LF -> CRLF for windows
383
3842.5.1 / 2011-11-17
385==================
386
387 * Changed: updated connect to 1.8.x
388 * Removed sass.js support from express(1)
389
3902.5.0 / 2011-10-24
391==================
392
393 * Added ./routes dir for generated app by default
394 * Added npm install reminder to express(1) app gen
395 * Added 0.5.x support
396 * Removed `make test-cov` since it wont work with node 0.5.x
397 * Fixed express(1) public dir for windows. Closes #866
398
3992.4.7 / 2011-10-05
400==================
401
402 * Added mkdirp to express(1). Closes #795
403 * Added simple _json-config_ example
404 * Added shorthand for the parsed request's pathname via `req.path`
405 * Changed connect dep to 1.7.x to fix npm issue...
406 * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]
407 * Fixed `req.flash()`, only escape args
408 * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]
409
4102.4.6 / 2011-08-22
411==================
412
413 * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]
414
4152.4.5 / 2011-08-19
416==================
417
418 * Added support for routes to handle errors. Closes #809
419 * Added `app.routes.all()`. Closes #803
420 * Added "basepath" setting to work in conjunction with reverse proxies etc.
421 * Refactored `Route` to use a single array of callbacks
422 * Added support for multiple callbacks for `app.param()`. Closes #801
423Closes #805
424 * Changed: removed .call(self) for route callbacks
425 * Dependency: `qs >= 0.3.1`
426 * Fixed `res.redirect()` on windows due to `join()` usage. Closes #808
427
4282.4.4 / 2011-08-05
429==================
430
431 * Fixed `res.header()` intention of a set, even when `undefined`
432 * Fixed `*`, value no longer required
433 * Fixed `res.send(204)` support. Closes #771
434
4352.4.3 / 2011-07-14
436==================
437
438 * Added docs for `status` option special-case. Closes #739
439 * Fixed `options.filename`, exposing the view path to template engines
440
4412.4.2. / 2011-07-06
442==================
443
444 * Revert "removed jsonp stripping" for XSS
445
4462.4.1 / 2011-07-06
447==================
448
449 * Added `res.json()` JSONP support. Closes #737
450 * Added _extending-templates_ example. Closes #730
451 * Added "strict routing" setting for trailing slashes
452 * Added support for multiple envs in `app.configure()` calls. Closes #735
453 * Changed: `res.send()` using `res.json()`
454 * Changed: when cookie `path === null` don't default it
455 * Changed; default cookie path to "home" setting. Closes #731
456 * Removed _pids/logs_ creation from express(1)
457
4582.4.0 / 2011-06-28
459==================
460
461 * Added chainable `res.status(code)`
462 * Added `res.json()`, an explicit version of `res.send(obj)`
463 * Added simple web-service example
464
4652.3.12 / 2011-06-22
466==================
467
468 * \#express is now on freenode! come join!
469 * Added `req.get(field, param)`
470 * Added links to Japanese documentation, thanks @hideyukisaito!
471 * Added; the `express(1)` generated app outputs the env
472 * Added `content-negotiation` example
473 * Dependency: connect >= 1.5.1 < 2.0.0
474 * Fixed view layout bug. Closes #720
475 * Fixed; ignore body on 304. Closes #701
476
4772.3.11 / 2011-06-04
478==================
479
480 * Added `npm test`
481 * Removed generation of dummy test file from `express(1)`
482 * Fixed; `express(1)` adds express as a dep
483 * Fixed; prune on `prepublish`
484
4852.3.10 / 2011-05-27
486==================
487
488 * Added `req.route`, exposing the current route
489 * Added _package.json_ generation support to `express(1)`
490 * Fixed call to `app.param()` function for optional params. Closes #682
491
4922.3.9 / 2011-05-25
493==================
494
495 * Fixed bug-ish with `../' in `res.partial()` calls
496
4972.3.8 / 2011-05-24
498==================
499
500 * Fixed `app.options()`
501
5022.3.7 / 2011-05-23
503==================
504
505 * Added route `Collection`, ex: `app.get('/user/:id').remove();`
506 * Added support for `app.param(fn)` to define param logic
507 * Removed `app.param()` support for callback with return value
508 * Removed module.parent check from express(1) generated app. Closes #670
509 * Refactored router. Closes #639
510
5112.3.6 / 2011-05-20
512==================
513
514 * Changed; using devDependencies instead of git submodules
515 * Fixed redis session example
516 * Fixed markdown example
517 * Fixed view caching, should not be enabled in development
518
5192.3.5 / 2011-05-20
520==================
521
522 * Added export `.view` as alias for `.View`
523
5242.3.4 / 2011-05-08
525==================
526
527 * Added `./examples/say`
528 * Fixed `res.sendfile()` bug preventing the transfer of files with spaces
529
5302.3.3 / 2011-05-03
531==================
532
533 * Added "case sensitive routes" option.
534 * Changed; split methods supported per rfc [slaskis]
535 * Fixed route-specific middleware when using the same callback function several times
536
5372.3.2 / 2011-04-27
538==================
539
540 * Fixed view hints
541
5422.3.1 / 2011-04-26
543==================
544
545 * Added `app.match()` as `app.match.all()`
546 * Added `app.lookup()` as `app.lookup.all()`
547 * Added `app.remove()` for `app.remove.all()`
548 * Added `app.remove.VERB()`
549 * Fixed template caching collision issue. Closes #644
550 * Moved router over from connect and started refactor
551
5522.3.0 / 2011-04-25
553==================
554
555 * Added options support to `res.clearCookie()`
556 * Added `res.helpers()` as alias of `res.locals()`
557 * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0`
558 * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]
559 * Renamed "cache views" to "view cache". Closes #628
560 * Fixed caching of views when using several apps. Closes #637
561 * Fixed gotcha invoking `app.param()` callbacks once per route middleware.
562Closes #638
563 * Fixed partial lookup precedence. Closes #631
564Shaw]
565
5662.2.2 / 2011-04-12
567==================
568
569 * Added second callback support for `res.download()` connection errors
570 * Fixed `filename` option passing to template engine
571
5722.2.1 / 2011-04-04
573==================
574
575 * Added `layout(path)` helper to change the layout within a view. Closes #610
576 * Fixed `partial()` collection object support.
577 Previously only anything with `.length` would work.
578 When `.length` is present one must still be aware of holes,
579 however now `{ collection: {foo: 'bar'}}` is valid, exposes
580 `keyInCollection` and `keysInCollection`.
581
582 * Performance improved with better view caching
583 * Removed `request` and `response` locals
584 * Changed; errorHandler page title is now `Express` instead of `Connect`
585
5862.2.0 / 2011-03-30
587==================
588
589 * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #606
590 * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #606
591 * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.
592 * Dependency `connect >= 1.2.0`
593
5942.1.1 / 2011-03-29
595==================
596
597 * Added; expose `err.view` object when failing to locate a view
598 * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]
599 * Fixed; `res.send(undefined)` responds with 204 [aheckmann]
600
6012.1.0 / 2011-03-24
602==================
603
604 * Added `<root>/_?<name>` partial lookup support. Closes #447
605 * Added `request`, `response`, and `app` local variables
606 * Added `settings` local variable, containing the app's settings
607 * Added `req.flash()` exception if `req.session` is not available
608 * Added `res.send(bool)` support (json response)
609 * Fixed stylus example for latest version
610 * Fixed; wrap try/catch around `res.render()`
611
6122.0.0 / 2011-03-17
613==================
614
615 * Fixed up index view path alternative.
616 * Changed; `res.locals()` without object returns the locals
617
6182.0.0rc3 / 2011-03-17
619==================
620
621 * Added `res.locals(obj)` to compliment `res.local(key, val)`
622 * Added `res.partial()` callback support
623 * Fixed recursive error reporting issue in `res.render()`
624
6252.0.0rc2 / 2011-03-17
626==================
627
628 * Changed; `partial()` "locals" are now optional
629 * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]
630 * Fixed .filename view engine option [reported by drudge]
631 * Fixed blog example
632 * Fixed `{req,res}.app` reference when mounting [Ben Weaver]
633
6342.0.0rc / 2011-03-14
635==================
636
637 * Fixed; expose `HTTPSServer` constructor
638 * Fixed express(1) default test charset. Closes #579 [reported by secoif]
639 * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]
640
6412.0.0beta3 / 2011-03-09
642==================
643
644 * Added support for `res.contentType()` literal
645 The original `res.contentType('.json')`,
646 `res.contentType('application/json')`, and `res.contentType('json')`
647 will work now.
648 * Added `res.render()` status option support back
649 * Added charset option for `res.render()`
650 * Added `.charset` support (via connect 1.0.4)
651 * Added view resolution hints when in development and a lookup fails
652 * Added layout lookup support relative to the page view.
653 For example while rendering `./views/user/index.jade` if you create
654 `./views/user/layout.jade` it will be used in favour of the root layout.
655 * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]
656 * Fixed; default `res.send()` string charset to utf8
657 * Removed `Partial` constructor (not currently used)
658
6592.0.0beta2 / 2011-03-07
660==================
661
662 * Added res.render() `.locals` support back to aid in migration process
663 * Fixed flash example
664
6652.0.0beta / 2011-03-03
666==================
667
668 * Added HTTPS support
669 * Added `res.cookie()` maxAge support
670 * Added `req.header()` _Referrer_ / _Referer_ special-case, either works
671 * Added mount support for `res.redirect()`, now respects the mount-point
672 * Added `union()` util, taking place of `merge(clone())` combo
673 * Added stylus support to express(1) generated app
674 * Added secret to session middleware used in examples and generated app
675 * Added `res.local(name, val)` for progressive view locals
676 * Added default param support to `req.param(name, default)`
677 * Added `app.disabled()` and `app.enabled()`
678 * Added `app.register()` support for omitting leading ".", either works
679 * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #539
680 * Added `app.param()` to map route params to async/sync logic
681 * Added; aliased `app.helpers()` as `app.locals()`. Closes #481
682 * Added extname with no leading "." support to `res.contentType()`
683 * Added `cache views` setting, defaulting to enabled in "production" env
684 * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.
685 * Added `req.accepts()` support for extensions
686 * Changed; `res.download()` and `res.sendfile()` now utilize Connect's
687 static file server `connect.static.send()`.
688 * Changed; replaced `connect.utils.mime()` with npm _mime_ module
689 * Changed; allow `req.query` to be pre-defined (via middleware or other parent
690 * Changed view partial resolution, now relative to parent view
691 * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.
692 * Fixed `req.param()` bug returning Array.prototype methods. Closes #552
693 * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()`
694 * Fixed; using _qs_ module instead of _querystring_
695 * Fixed; strip unsafe chars from jsonp callbacks
696 * Removed "stream threshold" setting
697
6981.0.8 / 2011-03-01
699==================
700
701 * Allow `req.query` to be pre-defined (via middleware or other parent app)
702 * "connect": ">= 0.5.0 < 1.0.0". Closes #547
703 * Removed the long deprecated __EXPRESS_ENV__ support
704
7051.0.7 / 2011-02-07
706==================
707
708 * Fixed `render()` setting inheritance.
709 Mounted apps would not inherit "view engine"
710
7111.0.6 / 2011-02-07
712==================
713
714 * Fixed `view engine` setting bug when period is in dirname
715
7161.0.5 / 2011-02-05
717==================
718
719 * Added secret to generated app `session()` call
720
7211.0.4 / 2011-02-05
722==================
723
724 * Added `qs` dependency to _package.json_
725 * Fixed namespaced `require()`s for latest connect support
726
7271.0.3 / 2011-01-13
728==================
729
730 * Remove unsafe characters from JSONP callback names [Ryan Grove]
731
7321.0.2 / 2011-01-10
733==================
734
735 * Removed nested require, using `connect.router`
736
7371.0.1 / 2010-12-29
738==================
739
740 * Fixed for middleware stacked via `createServer()`
741 previously the `foo` middleware passed to `createServer(foo)`
742 would not have access to Express methods such as `res.send()`
743 or props like `req.query` etc.
744
7451.0.0 / 2010-11-16
746==================
747
748 * Added; deduce partial object names from the last segment.
749 For example by default `partial('forum/post', postObject)` will
750 give you the _post_ object, providing a meaningful default.
751 * Added http status code string representation to `res.redirect()` body
752 * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__.
753 * Added `req.is()` to aid in content negotiation
754 * Added partial local inheritance [suggested by masylum]. Closes #102
755 providing access to parent template locals.
756 * Added _-s, --session[s]_ flag to express(1) to add session related middleware
757 * Added _--template_ flag to express(1) to specify the
758 template engine to use.
759 * Added _--css_ flag to express(1) to specify the
760 stylesheet engine to use (or just plain css by default).
761 * Added `app.all()` support [thanks aheckmann]
762 * Added partial direct object support.
763 You may now `partial('user', user)` providing the "user" local,
764 vs previously `partial('user', { object: user })`.
765 * Added _route-separation_ example since many people question ways
766 to do this with CommonJS modules. Also view the _blog_ example for
767 an alternative.
768 * Performance; caching view path derived partial object names
769 * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #454
770 * Fixed jsonp support; _text/javascript_ as per mailinglist discussion
771
7721.0.0rc4 / 2010-10-14
773==================
774
775 * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.0
776 * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))
777 * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass]
778 * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass]
779 * Added `partial()` support for array-like collections. Closes #434
780 * Added support for swappable querystring parsers
781 * Added session usage docs. Closes #443
782 * Added dynamic helper caching. Closes #439 [suggested by maritz]
783 * Added authentication example
784 * Added basic Range support to `res.sendfile()` (and `res.download()` etc)
785 * Changed; `express(1)` generated app using 2 spaces instead of 4
786 * Default env to "development" again [aheckmann]
787 * Removed _context_ option is no more, use "scope"
788 * Fixed; exposing _./support_ libs to examples so they can run without installs
789 * Fixed mvc example
790
7911.0.0rc3 / 2010-09-20
792==================
793
794 * Added confirmation for `express(1)` app generation. Closes #391
795 * Added extending of flash formatters via `app.flashFormatters`
796 * Added flash formatter support. Closes #411
797 * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold"
798 * Added _stream threshold_ setting for `res.sendfile()`
799 * Added `res.send()` __HEAD__ support
800 * Added `res.clearCookie()`
801 * Added `res.cookie()`
802 * Added `res.render()` headers option
803 * Added `res.redirect()` response bodies
804 * Added `res.render()` status option support. Closes #425 [thanks aheckmann]
805 * Fixed `res.sendfile()` responding with 403 on malicious path
806 * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_
807 * Fixed; mounted apps settings now inherit from parent app [aheckmann]
808 * Fixed; stripping Content-Length / Content-Type when 204
809 * Fixed `res.send()` 204. Closes #419
810 * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #402
811 * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]
812
813
8141.0.0rc2 / 2010-08-17
815==================
816
817 * Added `app.register()` for template engine mapping. Closes #390
818 * Added `res.render()` callback support as second argument (no options)
819 * Added callback support to `res.download()`
820 * Added callback support for `res.sendfile()`
821 * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()`
822 * Added "partials" setting to docs
823 * Added default expresso tests to `express(1)` generated app. Closes #384
824 * Fixed `res.sendfile()` error handling, defer via `next()`
825 * Fixed `res.render()` callback when a layout is used [thanks guillermo]
826 * Fixed; `make install` creating ~/.node_libraries when not present
827 * Fixed issue preventing error handlers from being defined anywhere. Closes #387
828
8291.0.0rc / 2010-07-28
830==================
831
832 * Added mounted hook. Closes #369
833 * Added connect dependency to _package.json_
834
835 * Removed "reload views" setting and support code
836 development env never caches, production always caches.
837
838 * Removed _param_ in route callbacks, signature is now
839 simply (req, res, next), previously (req, res, params, next).
840 Use _req.params_ for path captures, _req.query_ for GET params.
841
842 * Fixed "home" setting
843 * Fixed middleware/router precedence issue. Closes #366
844 * Fixed; _configure()_ callbacks called immediately. Closes #368
845
8461.0.0beta2 / 2010-07-23
847==================
848
849 * Added more examples
850 * Added; exporting `Server` constructor
851 * Added `Server#helpers()` for view locals
852 * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #349
853 * Added support for absolute view paths
854 * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #363
855 * Added Guillermo Rauch to the contributor list
856 * Added support for "as" for non-collection partials. Closes #341
857 * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]
858 * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]
859 * Fixed instanceof `Array` checks, now `Array.isArray()`
860 * Fixed express(1) expansion of public dirs. Closes #348
861 * Fixed middleware precedence. Closes #345
862 * Fixed view watcher, now async [thanks aheckmann]
863
8641.0.0beta / 2010-07-15
865==================
866
867 * Re-write
868 - much faster
869 - much lighter
870 - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs
871
8720.14.0 / 2010-06-15
873==================
874
875 * Utilize relative requires
876 * Added Static bufferSize option [aheckmann]
877 * Fixed caching of view and partial subdirectories [aheckmann]
878 * Fixed mime.type() comments now that ".ext" is not supported
879 * Updated haml submodule
880 * Updated class submodule
881 * Removed bin/express
882
8830.13.0 / 2010-06-01
884==================
885
886 * Added node v0.1.97 compatibility
887 * Added support for deleting cookies via Request#cookie('key', null)
888 * Updated haml submodule
889 * Fixed not-found page, now using using charset utf-8
890 * Fixed show-exceptions page, now using using charset utf-8
891 * Fixed view support due to fs.readFile Buffers
892 * Changed; mime.type() no longer accepts ".type" due to node extname() changes
893
8940.12.0 / 2010-05-22
895==================
896
897 * Added node v0.1.96 compatibility
898 * Added view `helpers` export which act as additional local variables
899 * Updated haml submodule
900 * Changed ETag; removed inode, modified time only
901 * Fixed LF to CRLF for setting multiple cookies
902 * Fixed cookie complation; values are now urlencoded
903 * Fixed cookies parsing; accepts quoted values and url escaped cookies
904
9050.11.0 / 2010-05-06
906==================
907
908 * Added support for layouts using different engines
909 - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })
910 - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'
911 - this.render('page.html.haml', { layout: false }) // no layout
912 * Updated ext submodule
913 * Updated haml submodule
914 * Fixed EJS partial support by passing along the context. Issue #307
915
9160.10.1 / 2010-05-03
917==================
918
919 * Fixed binary uploads.
920
9210.10.0 / 2010-04-30
922==================
923
924 * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s
925 encoding is set to 'utf8' or 'utf-8'.
926 * Added "encoding" option to Request#render(). Closes #299
927 * Added "dump exceptions" setting, which is enabled by default.
928 * Added simple ejs template engine support
929 * Added error reponse support for text/plain, application/json. Closes #297
930 * Added callback function param to Request#error()
931 * Added Request#sendHead()
932 * Added Request#stream()
933 * Added support for Request#respond(304, null) for empty response bodies
934 * Added ETag support to Request#sendfile()
935 * Added options to Request#sendfile(), passed to fs.createReadStream()
936 * Added filename arg to Request#download()
937 * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request
938 * Performance enhanced by preventing several calls to toLowerCase() in Router#match()
939 * Changed; Request#sendfile() now streams
940 * Changed; Renamed Request#halt() to Request#respond(). Closes #289
941 * Changed; Using sys.inspect() instead of JSON.encode() for error output
942 * Changed; run() returns the http.Server instance. Closes #298
943 * Changed; Defaulting Server#host to null (INADDR_ANY)
944 * Changed; Logger "common" format scale of 0.4f
945 * Removed Logger "request" format
946 * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found
947 * Fixed several issues with http client
948 * Fixed Logger Content-Length output
949 * Fixed bug preventing Opera from retaining the generated session id. Closes #292
950
9510.9.0 / 2010-04-14
952==================
953
954 * Added DSL level error() route support
955 * Added DSL level notFound() route support
956 * Added Request#error()
957 * Added Request#notFound()
958 * Added Request#render() callback function. Closes #258
959 * Added "max upload size" setting
960 * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #254
961 * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js
962 * Added callback function support to Request#halt() as 3rd/4th arg
963 * Added preprocessing of route param wildcards using param(). Closes #251
964 * Added view partial support (with collections etc)
965 * Fixed bug preventing falsey params (such as ?page=0). Closes #286
966 * Fixed setting of multiple cookies. Closes #199
967 * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)
968 * Changed; session cookie is now httpOnly
969 * Changed; Request is no longer global
970 * Changed; Event is no longer global
971 * Changed; "sys" module is no longer global
972 * Changed; moved Request#download to Static plugin where it belongs
973 * Changed; Request instance created before body parsing. Closes #262
974 * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #253
975 * Changed; Pre-caching view partials in memory when "cache view partials" is enabled
976 * Updated support to node --version 0.1.90
977 * Updated dependencies
978 * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})
979 * Removed utils.mixin(); use Object#mergeDeep()
980
9810.8.0 / 2010-03-19
982==================
983
984 * Added coffeescript example app. Closes #242
985 * Changed; cache api now async friendly. Closes #240
986 * Removed deprecated 'express/static' support. Use 'express/plugins/static'
987
9880.7.6 / 2010-03-19
989==================
990
991 * Added Request#isXHR. Closes #229
992 * Added `make install` (for the executable)
993 * Added `express` executable for setting up simple app templates
994 * Added "GET /public/*" to Static plugin, defaulting to <root>/public
995 * Added Static plugin
996 * Fixed; Request#render() only calls cache.get() once
997 * Fixed; Namespacing View caches with "view:"
998 * Fixed; Namespacing Static caches with "static:"
999 * Fixed; Both example apps now use the Static plugin
1000 * Fixed set("views"). Closes #239
1001 * Fixed missing space for combined log format
1002 * Deprecated Request#sendfile() and 'express/static'
1003 * Removed Server#running
1004
10050.7.5 / 2010-03-16
1006==================
1007
1008 * Added Request#flash() support without args, now returns all flashes
1009 * Updated ext submodule
1010
10110.7.4 / 2010-03-16
1012==================
1013
1014 * Fixed session reaper
1015 * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)
1016
10170.7.3 / 2010-03-16
1018==================
1019
1020 * Added package.json
1021 * Fixed requiring of haml / sass due to kiwi removal
1022
10230.7.2 / 2010-03-16
1024==================
1025
1026 * Fixed GIT submodules (HAH!)
1027
10280.7.1 / 2010-03-16
1029==================
1030
1031 * Changed; Express now using submodules again until a PM is adopted
1032 * Changed; chat example using millisecond conversions from ext
1033
10340.7.0 / 2010-03-15
1035==================
1036
1037 * Added Request#pass() support (finds the next matching route, or the given path)
1038 * Added Logger plugin (default "common" format replaces CommonLogger)
1039 * Removed Profiler plugin
1040 * Removed CommonLogger plugin
1041
10420.6.0 / 2010-03-11
1043==================
1044
1045 * Added seed.yml for kiwi package management support
1046 * Added HTTP client query string support when method is GET. Closes #205
1047
1048 * Added support for arbitrary view engines.
1049 For example "foo.engine.html" will now require('engine'),
1050 the exports from this module are cached after the first require().
1051
1052 * Added async plugin support
1053
1054 * Removed usage of RESTful route funcs as http client
1055 get() etc, use http.get() and friends
1056
1057 * Removed custom exceptions
1058
10590.5.0 / 2010-03-10
1060==================
1061
1062 * Added ext dependency (library of js extensions)
1063 * Removed extname() / basename() utils. Use path module
1064 * Removed toArray() util. Use arguments.values
1065 * Removed escapeRegexp() util. Use RegExp.escape()
1066 * Removed process.mixin() dependency. Use utils.mixin()
1067 * Removed Collection
1068 * Removed ElementCollection
1069 * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;)
1070
10710.4.0 / 2010-02-11
1072==================
1073
1074 * Added flash() example to sample upload app
1075 * Added high level restful http client module (express/http)
1076 * Changed; RESTful route functions double as HTTP clients. Closes #69
1077 * Changed; throwing error when routes are added at runtime
1078 * Changed; defaulting render() context to the current Request. Closes #197
1079 * Updated haml submodule
1080
10810.3.0 / 2010-02-11
1082==================
1083
1084 * Updated haml / sass submodules. Closes #200
1085 * Added flash message support. Closes #64
1086 * Added accepts() now allows multiple args. fixes #117
1087 * Added support for plugins to halt. Closes #189
1088 * Added alternate layout support. Closes #119
1089 * Removed Route#run(). Closes #188
1090 * Fixed broken specs due to use(Cookie) missing
1091
10920.2.1 / 2010-02-05
1093==================
1094
1095 * Added "plot" format option for Profiler (for gnuplot processing)
1096 * Added request number to Profiler plugin
1097 * Fixed binary encoding for multi-part file uploads, was previously defaulting to UTF8
1098 * Fixed issue with routes not firing when not files are present. Closes #184
1099 * Fixed process.Promise -> events.Promise
1100
11010.2.0 / 2010-02-03
1102==================
1103
1104 * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #180
1105 * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #174
1106 * Added expiration support to cache api with reaper. Closes #133
1107 * Added cache Store.Memory#reap()
1108 * Added Cache; cache api now uses first class Cache instances
1109 * Added abstract session Store. Closes #172
1110 * Changed; cache Memory.Store#get() utilizing Collection
1111 * Renamed MemoryStore -> Store.Memory
1112 * Fixed use() of the same plugin several time will always use latest options. Closes #176
1113
11140.1.0 / 2010-02-03
1115==================
1116
1117 * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context
1118 * Updated node support to 0.1.27 Closes #169
1119 * Updated dirname(__filename) -> __dirname
1120 * Updated libxmljs support to v0.2.0
1121 * Added session support with memory store / reaping
1122 * Added quick uid() helper
1123 * Added multi-part upload support
1124 * Added Sass.js support / submodule
1125 * Added production env caching view contents and static files
1126 * Added static file caching. Closes #136
1127 * Added cache plugin with memory stores
1128 * Added support to StaticFile so that it works with non-textual files.
1129 * Removed dirname() helper
1130 * Removed several globals (now their modules must be required)
1131
11320.0.2 / 2010-01-10
1133==================
1134
1135 * Added view benchmarks; currently haml vs ejs
1136 * Added Request#attachment() specs. Closes #116
1137 * Added use of node's parseQuery() util. Closes #123
1138 * Added `make init` for submodules
1139 * Updated Haml
1140 * Updated sample chat app to show messages on load
1141 * Updated libxmljs parseString -> parseHtmlString
1142 * Fixed `make init` to work with older versions of git
1143 * Fixed specs can now run independant specs for those who cant build deps. Closes #127
1144 * Fixed issues introduced by the node url module changes. Closes 126.
1145 * Fixed two assertions failing due to Collection#keys() returning strings
1146 * Fixed faulty Collection#toArray() spec due to keys() returning strings
1147 * Fixed `make test` now builds libxmljs.node before testing
1148
11490.0.1 / 2010-01-03
1150==================
1151
1152 * Initial release