Commit graph

817 commits

Author SHA1 Message Date
dead-horse
abedc3f1a0 Release 1.6.2 2018-09-11 23:23:47 +08:00
fengmk2
fd3db0f323 fix: pin debug@2 avoid deprecated warnning (#1244) 2018-09-11 23:22:55 +08:00
fengmk2
c67f543f75
test: make ci run faster (#1242) 2018-09-11 21:06:38 +08:00
fengmk2
eea159d6fd Release 1.6.1 2018-09-11 20:30:03 +08:00
Yiyu He
a92c83f03c fix: pin debug@3 (#1241) 2018-09-11 20:28:26 +08:00
dead-horse
8b0635d26c Release 1.6.0 2018-02-12 16:44:47 +08:00
Yiyu He
f04714227b feat: ignore set/remove header/status when header sent (#1145) 2018-02-12 16:43:13 +08:00
dead-horse
494a365427 Release 1.5.1 2018-01-25 18:55:01 +08:00
dead-horse
ded3c62f09 fix: this.handleRequest replace app.handleRequest 2018-01-25 18:53:51 +08:00
dead-horse
73f1cec7bb Release 1.5.0 2018-01-24 22:28:49 +08:00
dead-horse
a558d306ba expose the Application::handleRequest method 2018-01-24 22:27:02 +08:00
dead-horse
2f8df368ff Release 1.4.1 2017-10-09 09:53:44 +08:00
Haoliang Gao
9b4a1e7f41 fix: upgrade fresh to the latest version (#1073)
Relate security issue https://snyk.io/vuln/npm:fresh:20170908
2017-09-30 12:49:58 -07:00
dead-horse
15849e4d75 Release 1.4.0 2017-03-20 10:52:57 +08:00
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