Commit graph

191 commits

Author SHA1 Message Date
Felix Becker
ebb4850709 Remove co dependency
closes #558
closes #557

Change tests to use plain functions and promises

Add test

return promise in middleware

Change benchmarks to use plain functions and promises

typeerror
2015-10-27 16:24:25 -07:00
jongleberry
c2206a287d 2.0.0-alpha.1 2015-10-22 16:37:49 -07:00
jongleberry
2e8cdab8bc support async functions
closes #530
closes #415
2015-10-22 16:34:59 -07:00
jongleberry
e7c72d7873 ⬆️ istanbul@0.4 2015-10-22 15:43:15 -07:00
Michaël Zasso
24ccde947d add eslint and standard config 2015-10-13 09:23:06 +02:00
Jonathan Ong
00b3c97258 dev: use istanbul instead of istanbul-harmony
seems to work now…
2015-10-11 21:57:03 -07:00
Jonathan Ong
07619f65c3 remove support for node < 4 2015-10-11 21:22:33 -07:00
Jonathan Ong
af0ae08dc4 1.1.0 2015-10-11 16:31:05 -07:00
dead_horse
6563e6ac3d get rid of 0.11 2015-08-30 23:42:44 +08:00
Jonathan Ong
0b9c032af1 1.0.0 2015-08-22 14:47:31 -07:00
Michaël Zasso
0618db83c1 deps: upgrade should, install should-http 2015-05-24 11:08:20 +02:00
Yazhong Liu
90b05c09e5 upgrade supertest to ^1.0.1 2015-05-24 12:39:53 +08:00
Jonathan Ong
04dfb19cb2 0.21.0 2015-05-23 20:15:23 -07:00
Jonathan Ong
3f160214e2 ⬆️ fresh@0.3.0 2015-05-23 20:10:21 -07:00
dead_horse
0d916ad727 Release 0.20.0 2015-04-30 16:21:46 +08:00
dead_horse
4b83a5a96c Release 0.19.1 2015-04-14 12:02:02 +08:00
Jonathan Ong
c307c81c43 0.19.0 2015-04-05 11:24:06 -07:00
Jonathan Ong
9b4e349c9b 0.18.1 2015-03-01 10:34:35 -08:00
Jonathan Ong
04e60b374c move babel to dev deps 2015-03-01 10:34:21 -08:00
Jonathan Ong
b721273682 rename 6to5 to babel 2015-02-15 16:47:18 -08:00
Jonathan Ong
e3510bab28 0.18.0 2015-02-14 19:54:21 -08:00
Jonathan Ong
c5545cd918 add experimental async function support 2015-02-14 17:33:08 -08:00
Douglas Christopher Wilson
9dd99f5da2 Parse Content-Type with "content-type" instead of "media-typer" 2015-02-07 21:24:04 -05:00
Jonathan Ong
4b57c105e3 0.17.0 2015-02-06 00:01:35 -08:00
Jonathan Ong
963d46e46b bump supported iojs/node versions 2015-02-01 16:35:17 -08:00
dead_horse
6f5150249b upgrade dependences 2015-01-29 12:39:52 +08:00
Jonathan Ong
54a93f11ba 0.16.0 2015-01-27 12:14:56 -08:00
Jonathan Ong
abd5e79223 0.15.0 2015-01-18 22:04:13 -08:00
Rui Marinho
526eeadfa5 update co@4.1.0
This version includes an important fix for a memory leak.

See https://github.com/tj/co/issues/180.
2015-01-03 01:59:27 +00:00
Jonathan Ong
ca1197c93e ⬆️ co@^4.0.2 2014-12-18 16:05:39 -08:00
Jonathan Ong
a995afb1ef 0.14.0 2014-12-15 10:13:40 -08:00
Jonathan Ong
8ddd1e08d4 update delegates and supertest 2014-11-17 18:44:28 -08:00
dead_horse
3f183a196b upgrade co@4 2014-11-17 21:21:00 +08:00
dead_horse
286f5ad43e bump mocha 2014-11-16 21:54:29 +08:00
dead_horse
209643191d upgrade content-disposition to 0.5 2014-10-28 02:12:43 +08:00
Jonathan Ong
a340a77ff3 0.13.0 2014-10-17 18:21:32 -07:00
Jonathan Ong
8774979e13 0.12.2 2014-09-28 21:24:24 -07:00
Jonathan Ong
fb20490435 package: use wide semver ranges for deps we control
we can reevaluate post v1. getting annoyed with updating deps all the
time.
2014-09-28 21:24:08 -07:00
Jonathan Ong
e057ad1ced 0.12.1 2014-09-21 17:59:30 -07:00
Jonathan Ong
2ad2e32fda bump content-disposition and statuses 2014-09-21 17:58:52 -07:00
Jonathan Ong
08ce7b51a1 0.12.0 2014-09-20 13:23:40 -07:00
Jonathan Ong
ca2d326cfa bump content-disposition 2014-09-20 13:22:44 -07:00
Jonathan Ong
2f0fe55ae3 .throw() -> http-errors, .assert() -> http-assert 2014-09-20 10:46:28 -07:00
fengmk2
cca2438f64 ctx.attachment support no-ascii filename 2014-09-19 13:46:08 +08:00
Tiago Ribeiro
a85f580983 Add full coverage 2014-09-08 23:53:46 +01:00
Jonathan Ong
473cd68a55 0.11.0 2014-09-08 01:44:17 -07:00
Jonathan Ong
883b2732bf bump deps 2014-09-08 01:42:28 -07:00
Jonathan Ong
54873b53c6 cleanup package.json 2014-09-08 01:40:44 -07:00
dead_horse
f6c6fee9a6 bump type-is mime-types accpets 2014-09-06 10:35:24 +08:00
Jonathan Ong
5fea250bcc bump on-finished 2014-08-17 16:14:25 -07:00
Jonathan Ong
9455726c00 finished -> on-finished
removes the writable test because it’s fake and there are tests for
on-finished for this case
2014-08-16 02:58:06 -07:00
Jonathan Ong
920909c546 dethroy -> destroy 2014-08-14 23:34:25 -07:00
Jonathan Ong
933d3e90da bump vary and parseurl 2014-08-13 18:16:40 -07:00
TJ Holowaychuk
a96b5cfe72 Release 0.10.0 2014-08-12 14:25:19 -07:00
TJ Holowaychuk
631dd1673c Release 0.9.0 2014-08-07 19:06:40 -07:00
Jonathan Ong
e7f74f9bbb update cookies 2014-07-30 21:38:48 -07:00
Jonathan Ong
8317cba0fd 0.8.2 2014-07-27 20:39:49 -07:00
Jonathan Ong
6eee80701d bump co and parseurl 2014-07-27 20:39:23 -07:00
dead_horse
fd019688ec use parseurl 2014-07-14 17:57:03 +08:00
dead_horse
5b18f8bab0 parse req.type by media-typer 2014-07-09 23:52:56 +08:00
TJ Holowaychuk
63489495e1 Merge pull request #311 from dead-horse/coverage
add coverage
2014-07-05 14:23:35 -07:00
dead_horse
4883e950ed add coverage 2014-07-06 00:55:45 +08:00
Jonathan Ong
7f5a46b68a 0.8.1 2014-06-24 17:43:43 -07:00
Jonathan Ong
5733bed4c3 bump type-is 2014-06-24 17:43:33 -07:00
Jonathan Ong
288d0c00c6 0.8.0 2014-06-13 00:32:41 -07:00
Jonathan Ong
1f908137d2 0.7.0 2014-06-07 03:50:24 -07:00
TJ Holowaychuk
63a4297084 Merge pull request #291 from koajs/vary
remove response.append(), use vary module
2014-06-06 23:00:39 -07:00
Jonathan Ong
c547b1fd72 0.6.3 2014-06-06 16:27:37 -07:00
Jonathan Ong
76c65422c0 update finished 2014-06-06 16:26:24 -07:00
Jonathan Ong
fdbd16acc3 remove response.append(), use vary module 2014-06-05 16:06:15 -07:00
Jonathan Ong
851160e0ae 0.6.2 2014-06-03 21:45:50 -07:00
Jonathan Ong
008f0554c6 set-type -> mime-types
removes mime dependencies from the dep tree.
liberally sets charset because some express users complained about bad
browsers using the default charset.
2014-06-03 21:44:25 -07:00
Jonathan Ong
c7f2d24851 bump should just because 2014-06-03 21:36:27 -07:00
TJ Holowaychuk
29687cb253 add linting
left out of test for now since it seems to barf on *
2014-05-16 09:23:00 -07:00
Jonathan Ong
fee913f1e2 0.6.1 2014-05-11 20:51:11 -07:00
TJ Holowaychuk
0491dc7532 Release 0.6.0 2014-05-01 18:09:48 -07:00
TJ Holowaychuk
5e3d7f0aa0 remove mime dependency 2014-04-28 20:13:31 -07:00
Jonathan Ong
163e59c0d5 refactor to use set-type 2014-04-27 01:53:07 -07:00
Jonathan Ong
0cacc5706a use koa-is-json 2014-04-25 00:15:33 -07:00
Jonathan Ong
dd1aef0f7b bump supertest 2014-04-19 07:46:23 -07:00
Jonathan Ong
e472a18010 refactor: use mime-extended 2014-04-19 07:45:57 -07:00
TJ Holowaychuk
a95046278f Release 0.5.5 2014-04-14 15:37:33 -07:00
TJ Holowaychuk
95a78c3a44 Merge pull request #255 from dead-horse/stream-body
make sure all intermediate stream bodies will be destroy
2014-04-14 15:34:13 -07:00
Jonathan Ong
e8ba41df96 bump type is 2014-04-12 17:24:49 -07:00
TJ Holowaychuk
b308440438 Release 0.5.4 2014-04-12 12:30:55 -07:00
TJ Holowaychuk
c15cf47475 Release 0.5.3 2014-04-09 09:42:23 -07:00
dead_horse
329d2b94db make sure all intermediate stream bodies will be destroy and have error handle 2014-04-10 00:02:13 +08:00
Jonathan Ong
d6c523d107 0.5.2 2014-03-23 04:03:34 -07:00
Jonathan Ong
ee8345303a remove unnecessary index.js file 2014-03-23 04:03:17 -07:00
Jonathan Ong
184cb0b3d9 bump dev deps 2014-03-23 04:02:05 -07:00
Jonathan Ong
c382305d4f refactor: use escape-html
dat SLOC
2014-03-12 18:30:16 -07:00
Jonathan Ong
182f9d6fa4 refactor: use statuses 2014-03-12 18:29:14 -07:00
TJ Holowaychuk
895cf4040c add app.toJSON() 2014-03-11 11:01:33 -07:00
TJ Holowaychuk
c96459bc61 Release 0.5.1 2014-03-06 18:06:32 -08:00
TJ Holowaychuk
e8d3a37e9e bump 2014-02-19 20:58:28 -08:00
Jonathan Ong
a9149f07ad 0.4.0 2014-02-11 13:41:42 -08:00
Jonathan Ong
6029df4499 cleanup dev deps 2014-01-31 13:53:32 -08:00
Jonathan Ong
c5655e093a bump cookies to 0.4.0
no longer need to do that keygrip stuff, though i’m more inclined to
remove all the error checking.
2014-01-31 13:52:27 -08:00
TJ Holowaychuk
5cdae4445a merge 2014-01-29 12:16:33 -08:00
TJ Holowaychuk
4013be5dd4 update node-fresh 2014-01-29 12:16:15 -08:00