Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 995 lines (793 sloc) 36.024 kB
aaa5deb @tj Release 1.0.0rc
tj authored
1
20e8f08 @tj Release 3.0.0rc2
tj authored
2 3.0.0rc2 / 2012-08-03
3 ==================
4
5 * add CORS example
6 * update connect dep
7 * deprecate `.createServer()` & remove old stale examples
8 * fix: escape `res.redirect()` link
9 * fix vhost example
10
2d91eac @tj Release 3.0.0rc1
tj authored
11 3.0.0rc1 / 2012-07-24
12 ==================
13
14 * add more examples to view-locals
15 * add scheme-relative redirects (`res.redirect("//foo.com")`) support
16 * update cookie dep
17 * update connect dep
18 * update send dep
19 * fix `express(1)` -h flag, use -H for hogan. Closes #1245
20 * fix `res.sendfile()` socket error handling regression
21
1ad2ece @tj Release 3.0.0beta7
tj authored
22 3.0.0beta7 / 2012-07-16
23 ==================
24
25 * update connect dep for `send()` root normalization regression
26
a512d9b @tj Release 3.0.0beta6
tj authored
27 3.0.0beta6 / 2012-07-13
28 ==================
29
30 * add `err.view` property for view errors. Closes #1226
31 * add "jsonp callback name" setting
32 * add support for "/foo/:bar*" non-greedy matches
33 * change `res.sendfile()` to use `send()` module
34 * change `res.send` to use "response-send" module
35 * remove `app.locals.use` and `res.locals.use`, use regular middleware
36
ee89ff5 @tj Release 3.0.0beta5
tj authored
37 3.0.0beta5 / 2012-07-03
38 ==================
39
40 * add "make check" support
41 * add route-map example
42 * add `res.json(obj, status)` support back for BC
43 * add "methods" dep, remove internal methods module
44 * update connect dep
45 * update auth example to utilize cores pbkdf2
46 * updated tests to use "supertest"
47
1248f03 @tj Release 3.0.0beta4
tj authored
48 3.0.0beta4 / 2012-06-25
49 ==================
50
51 * Added `req.auth`
52 * Added `req.range(size)`
53 * Added `res.links(obj)`
54 * Added `res.send(body, status)` support back for backwards compat
55 * Added `.default()` support to `res.format()`
56 * Added 2xx / 304 check to `req.fresh`
57 * Revert "Added + support to the router"
58 * Fixed `res.send()` freshness check, respect res.statusCode
59
f90401b @tj Release 3.0.0beta3
tj authored
60 3.0.0beta3 / 2012-06-15
61 ==================
62
63 * Added hogan `--hjs` to express(1) [nullfirm]
64 * Added another example to content-negotiation
65 * Added `fresh` dep
66 * Changed: `res.send()` always checks freshness
67 * Fixed: expose connects mime module. Cloases #1165
68
2787bd5 @tj Release 3.0.0beta2
tj authored
69 3.0.0beta2 / 2012-06-06
70 ==================
71
72 * Added `+` support to the router
73 * Added `req.host`
74 * Changed `req.param()` to check route first
75 * Update connect dep
76
3c6ad53 @tj Release 3.0.0beta1
tj authored
77 3.0.0beta1 / 2012-06-01
78 ==================
79
80 * Added `res.format()` callback to override default 406 behaviour
81 * Fixed `res.redirect()` 406. Closes #1154
82
82a9817 @tj Release 3.0.0alpha5
tj authored
83 3.0.0alpha5 / 2012-05-30
84 ==================
85
86 * Added `req.ip`
87 * Added `{ signed: true }` option to `res.cookie()`
88 * Removed `res.signedCookie()`
89 * Changed: dont reverse `req.ips`
90 * Fixed "trust proxy" setting check for `req.ips`
91
125dd7a @tj Prepared release 3.0.0alpha4
tj authored
92 3.0.0alpha4 / 2012-05-09
93 ==================
94
95 * Added: allow `[]` in jsonp callback. Closes #1128
96 * Added `PORT` env var support in generated template. Closes #1118 [benatkin]
97 * Updated: connect 2.2.2
98
fc179c8 @tj Prepared release 3.0.0alpha3
tj authored
99 3.0.0alpha3 / 2012-05-04
100 ==================
101
102 * Added public `app.routes`. Closes #887
103 * Added _view-locals_ example
104 * Added _mvc_ example
105 * Added `res.locals.use()`. Closes #1120
106 * Added conditional-GET support to `res.send()`
107 * Added: coerce `res.set()` values to strings
108 * Changed: moved `static()` in generated apps below router
109 * Changed: `res.send()` only set ETag when not previously set
110 * Changed connect 2.2.1 dep
111 * Changed: `make test` now runs unit / acceptance tests
112 * Fixed req/res proto inheritance
113
c205407 @tj Release 3.0.0alpha2
tj authored
114 3.0.0alpha2 / 2012-04-26
115 ==================
116
117 * Added `make benchmark` back
118 * Added `res.send()` support for `String` objects
119 * Added client-side data exposing example
120 * Added `res.header()` and `req.header()` aliases for BC
121 * Added `express.createServer()` for BC
122 * Perf: memoize parsed urls
123 * Perf: connect 2.2.0 dep
124 * Changed: make `expressInit()` middleware self-aware
125 * Fixed: use app.get() for all core settings
126 * Fixed redis session example
127 * Fixed session example. Closes #1105
128 * Fixed generated express dep. Closes #1078
129
abe5cc7 @tj populate changelog
tj authored
130 3.0.0alpha1 / 2012-04-15
131 ==================
132
133 * Added `app.locals.use(callback)`
134 * Added `app.locals` object
135 * Added `app.locals(obj)`
136 * Added `res.locals` object
137 * Added `res.locals(obj)`
138 * Added `res.format()` for content-negotiation
139 * Added `app.engine()`
140 * Added `res.cookie()` JSON cookie support
141 * Added "trust proxy" setting
142 * Added `req.subdomains`
143 * Added `req.protocol`
144 * Added `req.secure`
145 * Added `req.path`
146 * Added `req.ips`
147 * Added `req.fresh`
148 * Added `req.stale`
149 * Added comma-delmited / array support for `req.accepts()`
150 * Added debug instrumentation
151 * Added `res.set(obj)`
152 * Added `res.set(field, value)`
153 * Added `res.get(field)`
154 * Added `app.get(setting)`. Closes #842
155 * Added `req.acceptsLanguage()`
156 * Added `req.acceptsCharset()`
157 * Added `req.accepted`
158 * Added `req.acceptedLanguages`
159 * Added `req.acceptedCharsets`
160 * Added "json replacer" setting
161 * Added "json spaces" setting
162 * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92
163 * Added `--less` support to express(1)
164 * Added `express.response` prototype
165 * Added `express.request` prototype
166 * Added `express.application` prototype
167 * Added `app.path()`
168 * Added `app.render()`
169 * Added `res.type()` to replace `res.contentType()`
170 * Changed: `res.redirect()` to add relative support
171 * Changed: enable "jsonp callback" by default
172 * Changed: renamed "case sensitive routes" to "case sensitive routing"
173 * Rewrite of all tests with mocha
174 * Removed "root" setting
175 * Removed `res.redirect('home')` support
176 * Removed `req.notify()`
177 * Removed `app.register()`
178 * Removed `app.redirect()`
179 * Removed `app.is()`
180 * Removed `app.helpers()`
181 * Removed `app.dynamicHelpers()`
182 * Fixed `res.sendfile()` with non-GET. Closes #723
183 * Fixed express(1) public dir for windows. Closes #866
184
12ada75 @tj updated history.md from 2x branch
tj authored
185 2.5.9/ 2012-04-02
186 ==================
187
188 * Added support for PURGE request method [pbuyle]
189 * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]
190
191 2.5.8 / 2012-02-08
192 ==================
193
194 * Update mkdirp dep. Closes #991
195
196 2.5.7 / 2012-02-06
197 ==================
198
199 * Fixed `app.all` duplicate DELETE requests [mscdex]
200
201 2.5.6 / 2012-01-13
202 ==================
203
204 * Updated hamljs dev dep. Closes #953
205
206 2.5.5 / 2012-01-08
207 ==================
208
209 * Fixed: set `filename` on cached templates [matthewleon]
210
211 2.5.4 / 2012-01-02
212 ==================
213
214 * Fixed `express(1)` eol on 0.4.x. Closes #947
215
216 2.5.3 / 2011-12-30
217 ==================
218
219 * Fixed `req.is()` when a charset is present
220
221 2.5.2 / 2011-12-10
222 ==================
223
224 * Fixed: express(1) LF -> CRLF for windows
225
226 2.5.1 / 2011-11-17
227 ==================
228
229 * Changed: updated connect to 1.8.x
230 * Removed sass.js support from express(1)
231
232 2.5.0 / 2011-10-24
233 ==================
234
235 * Added ./routes dir for generated app by default
236 * Added npm install reminder to express(1) app gen
237 * Added 0.5.x support
238 * Removed `make test-cov` since it wont work with node 0.5.x
239 * Fixed express(1) public dir for windows. Closes #866
240
241 2.4.7 / 2011-10-05
242 ==================
243
244 * Added mkdirp to express(1). Closes #795
245 * Added simple _json-config_ example
246 * Added shorthand for the parsed request's pathname via `req.path`
247 * Changed connect dep to 1.7.x to fix npm issue...
248 * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]
249 * Fixed `req.flash()`, only escape args
250 * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]
251
252 2.4.6 / 2011-08-22
253 ==================
254
255 * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]
256
4d8d5b1 @tj Release 2.4.5
tj authored
257 2.4.5 / 2011-08-19
258 ==================
259
260 * Added support for routes to handle errors. Closes #809
261 * Added `app.routes.all()`. Closes #803
12ada75 @tj updated history.md from 2x branch
tj authored
262 * Added "basepath" setting to work in conjunction with reverse proxies etc.
263 * Refactored `Route` to use a single array of callbacks
4d8d5b1 @tj Release 2.4.5
tj authored
264 * Added support for multiple callbacks for `app.param()`. Closes #801
265 Closes #805
266 * Changed: removed .call(self) for route callbacks
267 * Dependency: `qs >= 0.3.1`
268 * Fixed `res.redirect()` on windows due to `join()` usage. Closes #808
269
270 2.4.4 / 2011-08-05
271 ==================
272
273 * Fixed `res.header()` intention of a set, even when `undefined`
274 * Fixed `*`, value no longer required
275 * Fixed `res.send(204)` support. Closes #771
276
c72abc5 @tj Release 2.4.3
tj authored
277 2.4.3 / 2011-07-14
278 ==================
279
280 * Added docs for `status` option special-case. Closes #739
281 * Fixed `options.filename`, exposing the view path to template engines
282
5ae994e @tj Release 2.4.2
tj authored
283 2.4.2. / 2011-07-06
284 ==================
285
286 * Revert "removed jsonp stripping" for XSS
287
4dfc1a6 @tj Release 2.4.1
tj authored
288 2.4.1 / 2011-07-06
289 ==================
290
291 * Added `res.json()` JSONP support. Closes #737
292 * Added _extending-templates_ example. Closes #730
293 * Added "strict routing" setting for trailing slashes
294 * Added support for multiple envs in `app.configure()` calls. Closes #735
295 * Changed: `res.send()` using `res.json()`
296 * Changed: when cookie `path === null` don't default it
297 * Changed; default cookie path to "home" setting. Closes #731
298 * Removed _pids/logs_ creation from express(1)
299
3faa790 @tj Release 2.4.0
tj authored
300 2.4.0 / 2011-06-28
301 ==================
302
303 * Added chainable `res.status(code)`
304 * Added `res.json()`, an explicit version of `res.send(obj)`
305 * Added simple web-service example
306
ce2bcae @tj Release 2.3.12
tj authored
307 2.3.12 / 2011-06-22
308 ==================
309
310 * \#express is now on freenode! come join!
311 * Added `req.get(field, param)`
312 * Added links to Japanese documentation, thanks @hideyukisaito!
313 * Added; the `express(1)` generated app outputs the env
314 * Added `content-negotiation` example
315 * Dependency: connect >= 1.5.1 < 2.0.0
316 * Fixed view layout bug. Closes #720
317 * Fixed; ignore body on 304. Closes #701
318
e2cdd76 @tj Release 2.3.11
tj authored
319 2.3.11 / 2011-06-04
320 ==================
321
322 * Added `npm test`
323 * Removed generation of dummy test file from `express(1)`
324 * Fixed; `express(1)` adds express as a dep
325 * Fixed; prune on `prepublish`
326
1bb798d @tj Release 2.3.10
tj authored
327 2.3.10 / 2011-05-27
328 ==================
329
330 * Added `req.route`, exposing the current route
331 * Added _package.json_ generation support to `express(1)`
332 * Fixed call to `app.param()` function for optional params. Closes #682
333
d9cee90 @tj Release 2.3.9
tj authored
334 2.3.9 / 2011-05-25
335 ==================
336
337 * Fixed bug-ish with `../' in `res.partial()` calls
338
339 2.3.8 / 2011-05-24
340 ==================
341
342 * Fixed `app.options()`
343
344 2.3.7 / 2011-05-23
44eae73 @tj Release 2.3.7
tj authored
345 ==================
346
347 * Added route `Collection`, ex: `app.get('/user/:id').remove();`
348 * Added support for `app.param(fn)` to define param logic
349 * Removed `app.param()` support for callback with return value
350 * Removed module.parent check from express(1) generated app. Closes #670
351 * Refactored router. Closes #639
352
45f168e @tj Release 2.3.6
tj authored
353 2.3.6 / 2011-05-20
354 ==================
355
356 * Changed; using devDependencies instead of git submodules
357 * Fixed redis session example
358 * Fixed markdown example
359 * Fixed view caching, should not be enabled in development
360
131f658 @tj Release 2.3.5
tj authored
361 2.3.5 / 2011-05-20
362 ==================
363
364 * Added export `.view` as alias for `.View`
365
d9aa7c3 @tj Release 2.3.4
tj authored
366 2.3.4 / 2011-05-08
367 ==================
368
369 * Added `./examples/say`
370 * Fixed `res.sendfile()` bug preventing the transfer of files with spaces
371
8afb905 @tj Release 2.3.3
tj authored
372 2.3.3 / 2011-05-03
373 ==================
374
375 * Added "case sensitive routes" option.
376 * Changed; split methods supported per rfc [slaskis]
377 * Fixed route-specific middleware when using the same callback function several times
378
cc185a8 @tj Release 2.3.2
tj authored
379 2.3.2 / 2011-04-27
380 ==================
381
382 * Fixed view hints
383
2572a78 @tj Release 2.3.1
tj authored
384 2.3.1 / 2011-04-26
385 ==================
386
387 * Added `app.match()` as `app.match.all()`
388 * Added `app.lookup()` as `app.lookup.all()`
389 * Added `app.remove()` for `app.remove.all()`
390 * Added `app.remove.VERB()`
391 * Fixed template caching collision issue. Closes #644
392 * Moved router over from connect and started refactor
393
658e064 @tj Release 2.3.0
tj authored
394 2.3.0 / 2011-04-25
395 ==================
396
397 * Added options support to `res.clearCookie()`
398 * Added `res.helpers()` as alias of `res.locals()`
399 * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0`
400 * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]
401 * Renamed "cache views" to "view cache". Closes #628
402 * Fixed caching of views when using several apps. Closes #637
403 * Fixed gotcha invoking `app.param()` callbacks once per route middleware.
404 Closes #638
405 * Fixed partial lookup precedence. Closes #631
406 Shaw]
407
957cf45 @tj Release 2.2.2
tj authored
408 2.2.2 / 2011-04-12
409 ==================
410
411 * Added second callback support for `res.download()` connection errors
412 * Fixed `filename` option passing to template engine
413
4e1aefa @tj Release 2.2.1
tj authored
414 2.2.1 / 2011-04-04
415 ==================
416
417 * Added `layout(path)` helper to change the layout within a view. Closes #610
418 * Fixed `partial()` collection object support.
419 Previously only anything with `.length` would work.
420 When `.length` is present one must still be aware of holes,
421 however now `{ collection: {foo: 'bar'}}` is valid, exposes
422 `keyInCollection` and `keysInCollection`.
423
424 * Performance improved with better view caching
425 * Removed `request` and `response` locals
426 * Changed; errorHandler page title is now `Express` instead of `Connect`
427
45faee3 @tj Release 2.2.0
tj authored
428 2.2.0 / 2011-03-30
429 ==================
430
431 * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #606
432 * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #606
433 * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.
0733d3c @tj connect 1.2.0
tj authored
434 * Dependency `connect >= 1.2.0`
45faee3 @tj Release 2.2.0
tj authored
435
798d255 @tj Release 2.1.1
tj authored
436 2.1.1 / 2011-03-29
437 ==================
438
439 * Added; expose `err.view` object when failing to locate a view
440 * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]
441 * Fixed; `res.send(undefined)` responds with 204 [aheckmann]
442
14e6a66 @tj Release 2.1.0
tj authored
443 2.1.0 / 2011-03-24
a75e60a @tj fixed docs due to markdown-js not supporting html
tj authored
444 ==================
445
14e6a66 @tj Release 2.1.0
tj authored
446 * Added `<root>/_?<name>` partial lookup support. Closes #447
447 * Added `request`, `response`, and `app` local variables
448 * Added `settings` local variable, containing the app's settings
449 * Added `req.flash()` exception if `req.session` is not available
450 * Added `res.send(bool)` support (json response)
451 * Fixed stylus example for latest version
452 * Fixed; wrap try/catch around `res.render()`
a75e60a @tj fixed docs due to markdown-js not supporting html
tj authored
453
bf596dc @tj Release 2.0.0
tj authored
454 2.0.0 / 2011-03-17
455 ==================
456
457 * Fixed up index view path alternative.
458 * Changed; `res.locals()` without object returns the locals
459
1555b92 @tj Release 2.0.0rc3
tj authored
460 2.0.0rc3 / 2011-03-17
461 ==================
462
463 * Added `res.locals(obj)` to compliment `res.local(key, val)`
464 * Added `res.partial()` callback support
465 * Fixed recursive error reporting issue in `res.render()`
466
4c13748 @tj Release 2.0.0rc2
tj authored
467 2.0.0rc2 / 2011-03-17
468 ==================
469
470 * Changed; `partial()` "locals" are now optional
471 * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]
472 * Fixed .filename view engine option [reported by drudge]
473 * Fixed blog example
474 * Fixed `{req,res}.app` reference when mounting [Ben Weaver]
475
80f4d08 @tj Release 2.0.0rc
tj authored
476 2.0.0rc / 2011-03-14
477 ==================
478
479 * Fixed; expose `HTTPSServer` constructor
480 * Fixed express(1) default test charset. Closes #579 [reported by secoif]
481 * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]
482
1536d73 @tj Release 2.0.0beta3
tj authored
483 2.0.0beta3 / 2011-03-09
484 ==================
485
486 * Added support for `res.contentType()` literal
487 The original `res.contentType('.json')`,
488 `res.contentType('application/json')`, and `res.contentType('json')`
489 will work now.
490 * Added `res.render()` status option support back
491 * Added charset option for `res.render()`
492 * Added `.charset` support (via connect 1.0.4)
493 * Added view resolution hints when in development and a lookup fails
494 * Added layout lookup support relative to the page view.
495 For example while rendering `./views/user/index.jade` if you create
496 `./views/user/layout.jade` it will be used in favour of the root layout.
497 * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]
498 * Fixed; default `res.send()` string charset to utf8
499 * Removed `Partial` constructor (not currently used)
500
d4f4b66 @tj Release 2.0.0beta2
tj authored
501 2.0.0beta2 / 2011-03-07
502 ==================
503
504 * Added res.render() `.locals` support back to aid in migration process
505 * Fixed flash example
506
10f4f52 @tj populate changelog for 2.0.0beta
tj authored
507 2.0.0beta / 2011-03-03
508 ==================
509
510 * Added HTTPS support
00e1dbf @tj docs for res.cookie()
tj authored
511 * Added `res.cookie()` maxAge support
10f4f52 @tj populate changelog for 2.0.0beta
tj authored
512 * Added `req.header()` _Referrer_ / _Referer_ special-case, either works
513 * Added mount support for `res.redirect()`, now respects the mount-point
514 * Added `union()` util, taking place of `merge(clone())` combo
515 * Added stylus support to express(1) generated app
516 * Added secret to session middleware used in examples and generated app
517 * Added `res.local(name, val)` for progressive view locals
518 * Added default param support to `req.param(name, default)`
519 * Added `app.disabled()` and `app.enabled()`
520 * Added `app.register()` support for omitting leading ".", either works
521 * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #539
522 * Added `app.param()` to map route params to async/sync logic
523 * Added; aliased `app.helpers()` as `app.locals()`. Closes #481
524 * Added extname with no leading "." support to `res.contentType()`
525 * Added `cache views` setting, defaulting to enabled in "production" env
526 * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.
527 * Added `req.accepts()` support for extensions
528 * Changed; `res.download()` and `res.sendfile()` now utilize Connect's
529 static file server `connect.static.send()`.
530 * Changed; replaced `connect.utils.mime()` with npm _mime_ module
531 * Changed; allow `req.query` to be pre-defined (via middleware or other parent
532 * Changed view partial resolution, now relative to parent view
533 * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.
534 * Fixed `req.param()` bug returning Array.prototype methods. Closes #552
6873a68 @tj changelog typo
tj authored
535 * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()`
10f4f52 @tj populate changelog for 2.0.0beta
tj authored
536 * Fixed; using _qs_ module instead of _querystring_
537 * Fixed; strip unsafe chars from jsonp callbacks
538 * Removed "stream threshold" setting
539
1e392d2 @tj populate changelog from 1.x
tj authored
540 1.0.8 / 2011-03-01
541 ==================
542
543 * Allow `req.query` to be pre-defined (via middleware or other parent app)
544 * "connect": ">= 0.5.0 < 1.0.0". Closes #547
545 * Removed the long deprecated __EXPRESS_ENV__ support
546
547 1.0.7 / 2011-02-07
548 ==================
549
550 * Fixed `render()` setting inheritance.
551 Mounted apps would not inherit "view engine"
552
553 1.0.6 / 2011-02-07
554 ==================
555
556 * Fixed `view engine` setting bug when period is in dirname
557
558 1.0.5 / 2011-02-05
559 ==================
560
561 * Added secret to generated app `session()` call
562
563 1.0.4 / 2011-02-05
564 ==================
565
566 * Added `qs` dependency to _package.json_
567 * Fixed namespaced `require()`s for latest connect support
568
0f55284 @tj Updated changelog
tj authored
569 1.0.3 / 2011-01-13
570 ==================
571
572 * Remove unsafe characters from JSONP callback names [Ryan Grove]
573
574 1.0.2 / 2011-01-10
575 ==================
576
577 * Removed nested require, using `connect.router`
578
579 1.0.1 / 2010-12-29
580 ==================
581
582 * Fixed for middleware stacked via `createServer()`
583 previously the `foo` middleware passed to `createServer(foo)`
584 would not have access to Express methods such as `res.send()`
585 or props like `req.query` etc.
586
a766cc7 @tj Release 1.0.0
tj authored
587 1.0.0 / 2010-11-16
588 ==================
589
590 * Added; deduce partial object names from the last segment.
591 For example by default `partial('forum/post', postObject)` will
592 give you the _post_ object, providing a meaningful default.
593 * Added http status code string representation to `res.redirect()` body
594 * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__.
595 * Added `req.is()` to aid in content negotiation
596 * Added partial local inheritance [suggested by masylum]. Closes #102
597 providing access to parent template locals.
598 * Added _-s, --session[s]_ flag to express(1) to add session related middleware
599 * Added _--template_ flag to express(1) to specify the
600 template engine to use.
601 * Added _--css_ flag to express(1) to specify the
602 stylesheet engine to use (or just plain css by default).
603 * Added `app.all()` support [thanks aheckmann]
604 * Added partial direct object support.
605 You may now `partial('user', user)` providing the "user" local,
606 vs previously `partial('user', { object: user })`.
607 * Added _route-separation_ example since many people question ways
608 to do this with CommonJS modules. Also view the _blog_ example for
609 an alternative.
610 * Performance; caching view path derived partial object names
611 * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #454
612 * Fixed jsonp support; _text/javascript_ as per mailinglist discussion
613
003599c @tj Release 1.0.0rc4
tj authored
614 1.0.0rc4 / 2010-10-14
615 ==================
616
617 * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.0
618 * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))
619 * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass]
620 * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass]
621 * Added `partial()` support for array-like collections. Closes #434
622 * Added support for swappable querystring parsers
623 * Added session usage docs. Closes #443
624 * Added dynamic helper caching. Closes #439 [suggested by maritz]
625 * Added authentication example
626 * Added basic Range support to `res.sendfile()` (and `res.download()` etc)
627 * Changed; `express(1)` generated app using 2 spaces instead of 4
628 * Default env to "development" again [aheckmann]
629 * Removed _context_ option is no more, use "scope"
630 * Fixed; exposing _./support_ libs to examples so they can run without installs
631 * Fixed mvc example
632
b6c839d @tj Release 1.0.0rc3
tj authored
633 1.0.0rc3 / 2010-09-20
634 ==================
635
636 * Added confirmation for `express(1)` app generation. Closes #391
637 * Added extending of flash formatters via `app.flashFormatters`
638 * Added flash formatter support. Closes #411
639 * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold"
640 * Added _stream threshold_ setting for `res.sendfile()`
641 * Added `res.send()` __HEAD__ support
642 * Added `res.clearCookie()`
643 * Added `res.cookie()`
644 * Added `res.render()` headers option
645 * Added `res.redirect()` response bodies
646 * Added `res.render()` status option support. Closes #425 [thanks aheckmann]
647 * Fixed `res.sendfile()` responding with 403 on malicious path
648 * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_
649 * Fixed; mounted apps settings now inherit from parent app [aheckmann]
650 * Fixed; stripping Content-Length / Content-Type when 204
651 * Fixed `res.send()` 204. Closes #419
652 * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #402
653 * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]
654
655
3150253 @tj Release 1.0.0rc2
tj authored
656 1.0.0rc2 / 2010-08-17
657 ==================
658
659 * Added `app.register()` for template engine mapping. Closes #390
660 * Added `res.render()` callback support as second argument (no options)
661 * Added callback support to `res.download()`
662 * Added callback support for `res.sendfile()`
663 * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()`
664 * Added "partials" setting to docs
665 * Added default expresso tests to `express(1)` generated app. Closes #384
666 * Fixed `res.sendfile()` error handling, defer via `next()`
667 * Fixed `res.render()` callback when a layout is used [thanks guillermo]
668 * Fixed; `make install` creating ~/.node_libraries when not present
669 * Fixed issue preventing error handlers from being defined anywhere. Closes #387
670
aaa5deb @tj Release 1.0.0rc
tj authored
671 1.0.0rc / 2010-07-28
672 ==================
673
674 * Added mounted hook. Closes #369
675 * Added connect dependency to _package.json_
676
677 * Removed "reload views" setting and support code
678 development env never caches, production always caches.
679
680 * Removed _param_ in route callbacks, signature is now
681 simply (req, res, next), previously (req, res, params, next).
682 Use _req.params_ for path captures, _req.query_ for GET params.
683
684 * Fixed "home" setting
685 * Fixed middleware/router precedence issue. Closes #366
686 * Fixed; _configure()_ callbacks called immediately. Closes #368
a947064 @tj Release 1.0.0beta2
tj authored
687
688 1.0.0beta2 / 2010-07-23
689 ==================
690
691 * Added more examples
692 * Added; exporting `Server` constructor
693 * Added `Server#helpers()` for view locals
694 * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #349
695 * Added support for absolute view paths
696 * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #363
697 * Added Guillermo Rauch to the contributor list
698 * Added support for "as" for non-collection partials. Closes #341
929b43e @tj Fixed changelog typo
tj authored
699 * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]
a947064 @tj Release 1.0.0beta2
tj authored
700 * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]
701 * Fixed instanceof `Array` checks, now `Array.isArray()`
702 * Fixed express(1) expansion of public dirs. Closes #348
703 * Fixed middleware precedence. Closes #345
704 * Fixed view watcher, now async [thanks aheckmann]
f87eb47 @tj Markdown history file
tj authored
705
2798af1 @tj Updated history
tj authored
706 1.0.0beta / 2010-07-15
707 ==================
708
83f1ccb @tj Updated history some more
tj authored
709 * Re-write
710 - much faster
711 - much lighter
712 - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs
2798af1 @tj Updated history
tj authored
713
80cec7d @tj Release 0.14.0
tj authored
714 0.14.0 / 2010-06-15
715 ==================
716
717 * Utilize relative requires
718 * Added Static bufferSize option [aheckmann]
719 * Fixed caching of view and partial subdirectories [aheckmann]
720 * Fixed mime.type() comments now that ".ext" is not supported
721 * Updated haml submodule
722 * Updated class submodule
723 * Removed bin/express
724
db2eb65 @tj Release 0.13.0
tj authored
725 0.13.0 / 2010-06-01
726 ==================
727
728 * Added node v0.1.97 compatibility
729 * Added support for deleting cookies via Request#cookie('key', null)
730 * Updated haml submodule
731 * Fixed not-found page, now using using charset utf-8
732 * Fixed show-exceptions page, now using using charset utf-8
733 * Fixed view support due to fs.readFile Buffers
734 * Changed; mime.type() no longer accepts ".type" due to node extname() changes
735
ca782db @tj Release 0.12.0
tj authored
736 0.12.0 / 2010-05-22
737 ==================
738
739 * Added node v0.1.96 compatibility
740 * Added view `helpers` export which act as additional local variables
741 * Updated haml submodule
742 * Changed ETag; removed inode, modified time only
743 * Fixed LF to CRLF for setting multiple cookies
744 * Fixed cookie complation; values are now urlencoded
745 * Fixed cookies parsing; accepts quoted values and url escaped cookies
746
0ce39a4 @tj Release 0.11.0
tj authored
747 0.11.0 / 2010-05-06
748 ==================
749
750 * Added support for layouts using different engines
751 - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })
752 - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'
753 - this.render('page.html.haml', { layout: false }) // no layout
754 * Updated ext submodule
755 * Updated haml submodule
756 * Fixed EJS partial support by passing along the context. Issue #307
757
6a6cce0 @tj Release 0.10.1
tj authored
758 0.10.1 / 2010-05-03
759 ==================
760
761 * Fixed binary uploads.
762
8b6c4d3 @tj Updated history
tj authored
763 0.10.0 / 2010-04-30
764 ==================
765
766 * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s
767 encoding is set to 'utf8' or 'utf-8'.
768 * Added "encoding" option to Request#render(). Closes #299
769 * Added "dump exceptions" setting, which is enabled by default.
770 * Added simple ejs template engine support
771 * Added error reponse support for text/plain, application/json. Closes #297
772 * Added callback function param to Request#error()
773 * Added Request#sendHead()
774 * Added Request#stream()
775 * Added support for Request#respond(304, null) for empty response bodies
776 * Added ETag support to Request#sendfile()
777 * Added options to Request#sendfile(), passed to fs.createReadStream()
778 * Added filename arg to Request#download()
779 * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request
780 * Performance enhanced by preventing several calls to toLowerCase() in Router#match()
781 * Changed; Request#sendfile() now streams
782 * Changed; Renamed Request#halt() to Request#respond(). Closes #289
783 * Changed; Using sys.inspect() instead of JSON.encode() for error output
784 * Changed; run() returns the http.Server instance. Closes #298
785 * Changed; Defaulting Server#host to null (INADDR_ANY)
786 * Changed; Logger "common" format scale of 0.4f
787 * Removed Logger "request" format
788 * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found
789 * Fixed several issues with http client
790 * Fixed Logger Content-Length output
791 * Fixed bug preventing Opera from retaining the generated session id. Closes #292
792
1255331 @tj Release 0.9.0
tj authored
793 0.9.0 / 2010-04-14
794 ==================
795
5729da5 @tj Release 0.9.0
tj authored
796 * Added DSL level error() route support
797 * Added DSL level notFound() route support
798 * Added Request#error()
799 * Added Request#notFound()
800 * Added Request#render() callback function. Closes #258
801 * Added "max upload size" setting
802 * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #254
1255331 @tj Release 0.9.0
tj authored
803 * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js
5729da5 @tj Release 0.9.0
tj authored
804 * Added callback function support to Request#halt() as 3rd/4th arg
805 * Added preprocessing of route param wildcards using param(). Closes #251
806 * Added view partial support (with collections etc)
1255331 @tj Release 0.9.0
tj authored
807 * Fixed bug preventing falsey params (such as ?page=0). Closes #286
808 * Fixed setting of multiple cookies. Closes #199
809 * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)
810 * Changed; session cookie is now httpOnly
811 * Changed; Request is no longer global
812 * Changed; Event is no longer global
813 * Changed; "sys" module is no longer global
814 * Changed; moved Request#download to Static plugin where it belongs
5729da5 @tj Release 0.9.0
tj authored
815 * Changed; Request instance created before body parsing. Closes #262
816 * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #253
817 * Changed; Pre-caching view partials in memory when "cache view partials" is enabled
1255331 @tj Release 0.9.0
tj authored
818 * Updated support to node --version 0.1.90
819 * Updated dependencies
820 * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})
5729da5 @tj Release 0.9.0
tj authored
821 * Removed utils.mixin(); use Object#mergeDeep()
822
3b49821 @tj Release 0.8.0
tj authored
823 0.8.0 / 2010-03-19
824 ==================
825
826 * Added coffeescript example app. Closes #242
827 * Changed; cache api now async friendly. Closes #240
828 * Removed deprecated 'express/static' support. Use 'express/plugins/static'
829
273a51a @tj Release 0.7.6
tj authored
830 0.7.6 / 2010-03-19
831 ==================
832
833 * Added Request#isXHR. Closes #229
834 * Added `make install` (for the executable)
835 * Added `express` executable for setting up simple app templates
836 * Added "GET /public/*" to Static plugin, defaulting to <root>/public
837 * Added Static plugin
838 * Fixed; Request#render() only calls cache.get() once
839 * Fixed; Namespacing View caches with "view:"
840 * Fixed; Namespacing Static caches with "static:"
841 * Fixed; Both example apps now use the Static plugin
842 * Fixed set("views"). Closes #239
843 * Fixed missing space for combined log format
844 * Deprecated Request#sendfile() and 'express/static'
845 * Removed Server#running
846
934adb1 @tj Release 0.7.5
tj authored
847 0.7.5 / 2010-03-16
848 ==================
849
850 * Added Request#flash() support without args, now returns all flashes
851 * Updated ext submodule
852
f56a33d @tj Release 0.7.4
tj authored
853 0.7.4 / 2010-03-16
854 ==================
855
856 * Fixed session reaper
857 * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)
858
d893009 @tj Release 0.7.3
tj authored
859 0.7.3 / 2010-03-16
860 ==================
861
862 * Added package.json
863 * Fixed requiring of haml / sass due to kiwi removal
864
d0a8bb5 @tj Release 0.7.2
tj authored
865 0.7.2 / 2010-03-16
866 ==================
867
868 * Fixed GIT submodules (HAH!)
869
b6d2c84 @tj Release 0.7.1
tj authored
870 0.7.1 / 2010-03-16
871 ==================
872
873 * Changed; Express now using submodules again until a PM is adopted
874 * Changed; chat example using millisecond conversions from ext
875
73c506f @tj Release 0.7.0
tj authored
876 0.7.0 / 2010-03-15
877 ==================
878
879 * Added Request#pass() support (finds the next matching route, or the given path)
880 * Added Logger plugin (default "common" format replaces CommonLogger)
881 * Removed Profiler plugin
882 * Removed CommonLogger plugin
883
a7cee4c @tj Removed references to submodules
tj authored
884 0.6.0 / 2010-03-11
885 ==================
886
887 * Added seed.yml for kiwi package management support
888 * Added HTTP client query string support when method is GET. Closes #205
889
890 * Added support for arbitrary view engines.
891 For example "foo.engine.html" will now require('engine'),
892 the exports from this module are cached after the first require().
893
894 * Added async plugin support
895
896 * Removed usage of RESTful route funcs as http client
897 get() etc, use http.get() and friends
898
899 * Removed custom exceptions
900
14ceb8c @tj Release 0.5.0
tj authored
901 0.5.0 / 2010-03-10
902 ==================
903
904 * Added ext dependency (library of js extensions)
905 * Removed extname() / basename() utils. Use path module
906 * Removed toArray() util. Use arguments.values
907 * Removed escapeRegexp() util. Use RegExp.escape()
908 * Removed process.mixin() dependency. Use utils.mixin()
909 * Removed Collection
910 * Removed ElementCollection
911 * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;)
912
2f6dfbc @tj Release 0.4.0
tj authored
913 0.4.0 / 2010-02-11
914 ==================
915
916 * Added flash() example to sample upload app
917 * Added high level restful http client module (express/http)
918 * Changed; RESTful route functions double as HTTP clients. Closes #69
919 * Changed; throwing error when routes are added at runtime
920 * Changed; defaulting render() context to the current Request. Closes #197
921 * Updated haml submodule
922
45ef08c @tj Release 0.3.0
tj authored
923 0.3.0 / 2010-02-11
924 ==================
925
926 * Updated haml / sass submodules. Closes #200
927 * Added flash message support. Closes #64
928 * Added accepts() now allows multiple args. fixes #117
929 * Added support for plugins to halt. Closes #189
930 * Added alternate layout support. Closes #119
931 * Removed Route#run(). Closes #188
932 * Fixed broken specs due to use(Cookie) missing
933
e645123 @tj Release 0.2.1
tj authored
934 0.2.1 / 2010-02-05
935 ==================
936
937 * Added "plot" format option for Profiler (for gnuplot processing)
938 * Added request number to Profiler plugin
939 * Fixed binary encoding for multi-part file uploads, was previously defaulting to UTF8
940 * Fixed issue with routes not firing when not files are present. Closes #184
941 * Fixed process.Promise -> events.Promise
942
c8dd169 @tj Release 0.2.0
tj authored
943 0.2.0 / 2010-02-03
944 ==================
945
946 * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #180
947 * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #174
948 * Added expiration support to cache api with reaper. Closes #133
949 * Added cache Store.Memory#reap()
950 * Added Cache; cache api now uses first class Cache instances
951 * Added abstract session Store. Closes #172
952 * Changed; cache Memory.Store#get() utilizing Collection
953 * Renamed MemoryStore -> Store.Memory
954 * Fixed use() of the same plugin several time will always use latest options. Closes #176
955
82891ea @tj Release 0.1.0
tj authored
956 0.1.0 / 2010-02-03
957 ==================
958
959 * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context
960 * Updated node support to 0.1.27 Closes #169
961 * Updated dirname(__filename) -> __dirname
962 * Updated libxmljs support to v0.2.0
963 * Added session support with memory store / reaping
964 * Added quick uid() helper
965 * Added multi-part upload support
966 * Added Sass.js support / submodule
967 * Added production env caching view contents and static files
968 * Added static file caching. Closes #136
969 * Added cache plugin with memory stores
970 * Added support to StaticFile so that it works with non-textual files.
971 * Removed dirname() helper
972 * Removed several globals (now their modules must be required)
973
cbc3163 @tj Release 0.0.2
tj authored
974 0.0.2 / 2010-01-10
975 ==================
976
977 * Added view benchmarks; currently haml vs ejs
978 * Added Request#attachment() specs. Closes #116
979 * Added use of node's parseQuery() util. Closes #123
980 * Added `make init` for submodules
981 * Updated Haml
982 * Updated sample chat app to show messages on load
983 * Updated libxmljs parseString -> parseHtmlString
984 * Fixed `make init` to work with older versions of git
985 * Fixed specs can now run independant specs for those who cant build deps. Closes #127
986 * Fixed issues introduced by the node url module changes. Closes 126.
987 * Fixed two assertions failing due to Collection#keys() returning strings
988 * Fixed faulty Collection#toArray() spec due to keys() returning strings
989 * Fixed `make test` now builds libxmljs.node before testing
990
4e85cac @tj Release 0.0.1
tj authored
991 0.0.1 / 2010-01-03
f87eb47 @tj Markdown history file
tj authored
992 ==================
993
994 * Initial release
Something went wrong with that request. Please try again.