Commit graph

789 commits

Author SHA1 Message Date
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
Yiyu He
999c2cd85f Merge pull request #614 from koajs/fix-cookie-secure
fix cookies' secure detect
2016-03-01 14:29:04 +08:00
dead_horse
b5c1a60ac3 fix cookies' secure detect 2016-03-01 11:55:48 +08:00
Jonathan Ong
93c356ac7c ⬆️ delegates@^1.0.0 2016-02-28 16:46:37 -08:00
Bartol Karuza
229641127a JSDoc question/suggestion on optional parameters
Hi, Webstorm keeps giving me warnings on the 'redirect' method, because the JSDoc specified two input parameters, both required. There is a JSDoc standard for optional parameters. What is your view on using these in KOA documentation?
http://usejsdoc.org/tags-param.html#optional-parameters-and-default-values

closes #661
2016-02-28 16:19:55 -08:00
Jonathan Ong
97c34d1905 docs: note stream error handling and destruction. ref: #612 2016-02-28 16:18:14 -08:00
Jonathan Ong
8430e7e275 deprecate app.experimental 2016-02-28 16:13:52 -08:00
TJ Holowaychuk
d3066715e3 add CODE_OF_CONDUCT.md
aka dont be an asshole
2016-02-16 13:59:28 -08:00
Yiyu He
188922a003 Merge pull request #658 from pra85/patch-2
Fix a typo
2016-02-13 23:41:57 +08:00
Prayag Verma
08010416d3 Fix a typo
`appropritaely` → `appropriately`
2016-02-13 21:09:26 +05:30
Yiyu He
89f539724e Merge pull request #653 from ReadmeCritic/patch-1
Update README URLs based on HTTP redirects
2016-01-26 11:37:17 +08:00
ReadmeCritic
a25ab12116 Update README URLs based on HTTP redirects 2016-01-25 08:53:07 -08:00
Yiyu He
b9c1f7d069 Merge pull request #650 from julien-f/patch-1
Use new operator to create a Koa v2 app
2016-01-23 21:51:29 +08:00
Julien Fontanet
b3b00d9ebe Use new operator to create a Koa v2 app
Without it one would get: `TypeError: Class constructors cannot be invoked without 'new'`.
2016-01-23 14:31:05 +01:00
Julian Gruber
09f5080aa0 Merge pull request #643 from ide/latest-node
[CI] Run tests on the stable version of Node
2016-01-20 09:12:11 +01:00