Commit graph

803 commits

Author SHA1 Message Date
dead-horse
e2c9f914be chore: ensure publish with tag v1 2017-03-20 10:52:24 +08:00
dead-horse
58e069ae2e deps: cookies@~0.7.0
https://github.com/pillarjs/cookies/pull/83
2017-03-20 10:49:52 +08:00
jongleberry
9e3f613199 1.3.0 2017-03-07 23:12:36 -08:00
fengmk2
8c1c69f260 feat: set err.headerSent before app error event emit (#923)
cherry-pick from https://github.com/koajs/koa/pull/919
2017-03-02 17:30:33 +08:00
jongleberry
188feafdf0 travis: test node@8 2017-02-25 21:12:18 -06:00
Ilkka Oksanen
91c403a541 response: don't access res._headers directly when helpers exist
res._headers is considered internal to node itself. Its value will
change in a backwards incompatible way in the future node releases.

Use the documented helper functions instead when they are available.
2017-02-25 21:12:18 -06:00
jongleberry
0b9c8b8078 readme: update badge branch 2017-02-25 00:49:06 -06:00
Felix Sanz
f3029f5bbd Removed deprecated ordering of throw arguments (#906) 2017-02-21 14:18:33 +08:00
João Carmona
18dbf5f59c docs(readme): update reference to latest version (#901) 2017-02-13 23:02:12 +08:00
dead-horse
8b2dbf6ba0 Release 1.2.5 2017-02-12 00:06:13 +08:00
Rui Marinho
d28d959bc8 Fix malformed content-type header causing exception on charset get (#897) 2017-02-12 00:02:53 +08:00
The Alchemist
948d3efaf6 Use node.js 6 and 7 too (#869) 2016-12-07 13:21:12 -08:00
Felix Sanz
799d3b42a4 this.is() returns null when no body is passed (#850) 2016-11-06 16:53:50 +01:00
Saad Quadri
c62aa90e6e doc: Change usage of reserved word static in guide (#829)
Very minor, but I think `static` is a reserved word so it might be better to use `serve` instead, I think that's what `koa-static` uses in its examples as well.
2016-10-10 11:56:14 +02:00
dead_horse
a293cc2d5e Release 1.2.4 2016-09-07 16:22:45 +08:00
Adam Lau
27caff3d59 fix: should get subdomains from hostname instead (#809)
This helps avoid dealing with the port in this.host
2016-09-07 16:20:44 +08:00
dead_horse
4c665cc2ef Release 1.2.3 2016-09-07 11:25:34 +08:00
Adam Lau
b1a14f1a73 fix: subdomains should be [] if the host is an ip (#807)
* fix: subdomains should be [] if the host is an ip

Fixes #775
2016-09-07 11:23:39 +08:00
fengmk2
1aa85ce721 Release 1.2.2 2016-08-31 10:33:27 +08:00
fengmk2
2600a20eca fix: add named function for request and response handlers (#804) 2016-08-31 10:24:28 +08:00
Jen Trudell
53ed176c13 Fixes typo in error handling section of API readme (#786) 2016-07-26 18:50:20 +02:00
TJ Holowaychuk
0f3ec409d9 Update Readme.md 2016-07-25 15:12:08 -07:00
dead_horse
c2c626f308 typo 2016-07-22 19:03:34 +08:00
dead_horse
4e969b54b2 Release 1.2.1 2016-07-22 18:24:07 +08:00
Yiyu He
83d480efdf fix(response): correct response.writable logic (#781) 2016-07-22 18:20:41 +08:00
TJ Holowaychuk
0590430d7b Update Readme.md 2016-07-06 08:47:25 -07:00
TJ Holowaychuk
66c5c88178 Update Readme.md 2016-07-05 16:03:47 -07:00
Atrox
55e5bb985f Change backers & sponsors badges to flat-square (#759) 2016-06-22 15:27:57 +08:00
Jonathan Boiser
99d76d773d http.createServer -> https.create... to illustrate "multiple addresses" comment (#749) 2016-06-21 20:02:18 -07:00
Lee Bousfield
ea992fc258 Updated AUTHORS (#754) 2016-06-21 20:01:39 -07:00
Xavier Damman
9e0b97754f Added OpenCollective backers and sponsors (#748)
* Added OpenCollective backers and sponsors

* Removed become a backer/sponsor links
2016-06-13 18:53:25 -07:00
Sheryl Hohman
b0292fd851 fix typo (#736)
fixes #735
2016-06-06 20:14:21 -07:00
Yu Qi
fe620e140b add maxAge and overwrite options to ctx.cookies.set(name, value, [options]). (#743) 2016-05-26 13:45:11 +08:00
tonykung06
7396cae0ee fix typo (#739) 2016-05-22 13:47:41 +02:00
jongleberry
330e253d8c travis: test node@5 2016-05-01 13:20:20 -07:00
Yu Qi
10e31cdde3 fix tests on node 6
parsed querystrings no longer inherit from the Object prototype
2016-05-01 08:45:30 +02:00
Yiyu He
4809f083ac Merge pull request #696 from stigok/stigok-patch-1
Update context.md
2016-03-25 12:35:56 +08:00
Stig Otnes Kolstad
e1a219e434 Update context.md
Corrected wrong param order in method description for ctx.assert
2016-03-25 00:57:25 +01:00
jongleberry
6ba43810a2 readme: update docs on released v2 2016-03-22 10:50:59 -07:00
Yiyu He
e4bcdecef2 Merge pull request #684 from robinpokorny/patch-1
Unify badges to flat-square style
2016-03-15 18:57:03 +08:00
Robin Pokorný
4fbb8c90b5 Unify badges to flat-square style 2016-03-15 11:27:09 +01:00
Yiyu He
66f7c35ee1 Merge pull request #680 from PlasmaPower/readme-semicolons
Added semicolons to README v2 alpha example
2016-03-14 23:15:43 +08:00
Lee Bousfield
9cc2dff20b Added semicolons to README v2 alpha example 2016-03-12 20:10:00 -07:00
Jonathan Ong
7bc6e79da3 travis: install wrk 2016-03-06 13:45:35 -08:00
Jonathan Ong
37ea485bc0 travis: run 'make bench'
closes #191
2016-03-03 19:45:34 -08:00
Jonathan Ong
e4691b69a1 1.2.0 2016-03-03 19:30:21 -08:00
Lee Bousfield
c826467560 Add support for headers in errors
closes: #668
closes: #571
2016-03-03 19:20:30 -08:00
jongleberry
8e7e1c3023 Merge pull request #673 from koajs/codecov
use codecov instead of coveralls
2016-03-03 14:50:13 -08:00
jongleberry
7a461b3a53 use codecov instead of coveralls 2016-03-03 14:45:12 -08:00
jongleberry
572b4599f0 comments: remove vague TODOs
closes #576
2016-03-01 15:01:35 -08:00