Commit Graph

663 Commits (0d916ad7272cbb8b69008be58572896bac22033f)

Author SHA1 Message Date
dead_horse 0d916ad727 Release 0.20.0 2015-04-30 16:21:46 +08:00
Yiyu He e21fc8aabb Merge pull request #438 from koajs/strict
make sure helpers return strict string
2015-04-29 15:25:25 +08:00
dead_horse c8eb5eefb1 make sure helpers return strict string 2015-04-29 01:44:02 +08:00
Yiyu He 34c36d05c3 Merge pull request #436 from soygul/patch-1
Update doc example to use ctx.state
2015-04-24 01:13:00 +08:00
dead_horse c021b4610d add experimental to benchmark 2015-04-23 18:36:02 +08:00
dead_horse 1c5cb6f691 feat: alias response.headers to response.header 2015-04-23 17:28:31 +08:00
Teoman Soygul d5b73ebe4f update doc example to use ctx.state 2015-04-16 15:43:45 +02:00
dead_horse 4b83a5a96c Release 0.19.1 2015-04-14 12:02:02 +08:00
Yiyu He bb5ecd325c Merge pull request #434 from koajs/non-error
non-error thrown, fixed #432
2015-04-14 11:53:16 +08:00
dead_horse b6aea969f8 non-error thrown, fixed #432 2015-04-14 10:34:55 +08:00
Jonathan Ong c307c81c43 0.19.0 2015-04-05 11:24:06 -07:00
fengmk2 7f6086a93c fix Chinese doc link 2015-04-05 20:24:06 +08:00
TJ Holowaychuk 8d74cb9f5c Merge pull request #427 from koajs/make-sure-host-return-string
make sure req.host and req.hostname return strict string
2015-04-03 10:31:37 -06:00
fengmk2 dd3a0fcdfa make sure req.host and req.hostname return strict string
Should return empty string when no host present.
2015-03-30 17:44:32 +08:00
fengmk2 8b14b91bae remove body empty detect 2015-03-29 14:40:09 +08:00
fengmk2 1edd6ec69a test: improve test coverage for application and response 2015-03-29 14:40:09 +08: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 4e1ad97f87 readme: it's ES7 not ES6!!! 2015-02-14 19:56:47 -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
jongleberry 0e02798a8b travis: don't test iojs minors because it moves too fast 2015-02-10 19:36:20 -08:00
Yiyu He 568725c30a Merge pull request #412 from koajs/content-type
Parse Content-Type with "content-type" instead of "media-typer"
2015-02-08 11:47:36 +08:00
Douglas Christopher Wilson 9dd99f5da2 Parse Content-Type with "content-type" instead of "media-typer" 2015-02-07 21:24:04 -05:00
jongleberry 089bc45e90 test on node v0.12 instead of v0.11 2015-02-06 14:42:27 -08:00
Jonathan Ong 4b57c105e3 0.17.0 2015-02-06 00:01:35 -08:00
Jonathan Ong d4d1c617ec test each minor version of iojs 2015-02-05 23:57:27 -08:00
Rui Marinho 6d5f506c99 Re-enable io.js support on .travis.yml
On the 3rd of February, the planned roll out on Travis was reverted
and is now rescheduled for a later date. This commit re-enables io.js
support on Travis due the original one being reverted.
2015-02-05 23:57:06 -08:00
Yiyu He 78c7aad2bc Merge pull request #410 from fundon/master
use harmony flag work with iojs
2015-02-05 16:31:08 +08:00
fundon 3ac33a5c44 use harmony flag work with iojs 2015-02-05 16:29:32 +08:00
Yiyu He a9e6d2ccb4 Merge pull request #409 from adamme/master
Make `npm test` work with io.js
2015-02-05 15:43:24 +08:00
Adam L e7f7db9abb Make `npm test` work with io.js 2015-02-05 15:41:41 +08:00
Jonathan Ong a6efc790a4 Revert "Add io.js support to .travis.yml"
This reverts commit 70c1905f59.
2015-02-03 15:19:17 -08:00
Rui Marinho 70c1905f59 Add io.js support to .travis.yml 2015-02-03 08:37:49 -08:00
Jonathan Ong 5b7587bb7e use Object.setPrototypeOf() instead of __proto__ 2015-02-01 16:39:44 -08:00
Jonathan Ong 963d46e46b bump supported iojs/node versions 2015-02-01 16:35:17 -08:00
fengmk2 9998696aed Merge pull request #404 from alsotang/patch-2
Update Readme.md
2015-02-01 21:20:01 +08:00
alsotang d659edf56a Update Readme.md
remove recommendation of koa-common
2015-02-01 21:17:55 +08:00
Jesús Rodríguez Rodríguez 8d1a340789 Fix typo on response.body test.
Just a small typo.
2015-01-29 15:39:06 -08:00
Jesus Rodriguez 68843e0cb3 Remove unused imports and exports 2015-01-29 15:39:06 -08:00
TJ Holowaychuk 83b2ac0ffc Merge pull request #401 from Foxandxss/patch-1
Change request's "ips" regex to match others.
2015-01-29 09:25:16 -08:00
Jesús Rodríguez Rodríguez 6c340455f8 Change request's "ips" regex to match others.
So I am in this silly quest of cloning the repo, deleting all the code on it and rewriting it again step by step to pass the tests. It is a acceptable way to learn how koa works.

Anyway, I saw that the regex used in `ips` doesn't match the others on the file, so I thought it would be good to change it.
2015-01-29 17:51:09 +01: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
TJ Holowaychuk 255a39b876 refactor res.append()
OCDOCDOCD
2015-01-27 10:14:57 -08:00
TJ Holowaychuk 8ac26b1d77 Merge pull request #399 from koajs/append
Add res.append(field, val) to append headers
2015-01-27 10:13:05 -08:00
dead_horse 5a3f32dfdd Add res.append(field, val) to append headers 2015-01-26 02:20:08 +08:00
Yiyu He ceacafeb81 Merge pull request #393 from seegno/enhancement/add-support-for-node-0-11-15
Fix url.format taking into account path on node@0.11.15
2015-01-26 02:19:29 +08:00
Rui Marinho d108926f46 Fix url.format usage of path on node@0.11.15
node@0.11.15 was released with a patch that adds support for `path` to
url.format
(d312b6d15c).

However, this broke `npm install` for git+ssh urls and as such has been
reverted on io.js, making it work like on node@0.11.14 again.

913addbff5
2015-01-23 02:09:21 +00:00