Commit graph

965 commits

Author SHA1 Message Date
jongleberry
9671add57d test: remove babel tests as they are no longer needed in node v7.6 2017-02-25 00:05:25 -06:00
jongleberry
df7b4ff2b8 docs: replace the reference to co
closes #893
2017-02-24 23:43:26 -06:00
Amit Portnoy
00156dfec6 remove unused app.name (#899) 2017-02-18 14:01:58 -08:00
Lee Bousfield
152b6d73b7 Fix response.status default value documentation (#889)
Resolves #888, also see #705
2017-02-18 13:57:45 -08:00
Wang Dàpéng
8435268efc Upgrade mocha (#900) 2017-02-13 23:02:58 +08:00
dead-horse
d48291f40a Release 2.0.0-alpha.8 2017-02-13 11:10:34 +08:00
Rui Marinho
7ae9c3e109 Fix malformed content-type header causing exception on charset get (#898) 2017-02-13 11:05:35 +08:00
iamchenxin
2db3b1b49a Fix typo for accepts(). (#863)
it return {String|Array|false}, never return undeifined.
2016-12-07 00:22:11 +08:00
iamchenxin
fabf5864c6 Amend typo, request.is() return null|fasle|string. (#864)
Modifying the test for `null` from `==` to `===` to make sure it must be `null`.
2016-12-01 18:16:02 +08:00
Malcolm
e3ccdac621 Clarify behavior of ctx.throw in docs (#856) 2016-11-25 11:51:02 +08:00
Avindra Goolcharan
2a16426afe nit: fix grammar in generator deprecation warning (#834)
This fixes the tense of `will been` to `will be`
2016-10-17 17:45:06 +02:00
dead_horse
ce78786f95 Release 2.0.0-alpha.7 2016-09-07 16:29:46 +08:00
Adam Lau
21c0d823dd fix: subdomains should be [] if the host is an ip (#808)
Closes: #775
2016-09-07 16:21:32 +08:00
dead_horse
e4c0a53421 Release 2.0.0-alpha.6 2016-08-29 11:25:30 +08:00
Yiyu He
4338cb6c14 [breaking change] don't bind onerror to context (#800) 2016-08-29 11:18:30 +08:00
Ivan Lyons
614b4e1ad7 yield => await (#798) 2016-08-21 21:21:09 -07:00
jongleberry
0d7aeb1f7c 2.0.0-alpha.5 2016-08-10 12:16:39 -07:00
jongleberry
2abed6ec75 fix: res.flushHeaders() (#795)
* fix: res.flushHeaders()

* remove arg to flush headers

* fix tests for node v4 and v5
2016-08-10 12:15:48 -07:00
Jacob Bass
ce75a9c872 fixup babel setup instructions (#794)
old instructions pointed to incorrect npm module names
2016-08-06 07:06:31 +02:00
dead_horse
742a675e60 Release 2.0.0-beta.4 2016-07-24 02:06:19 +08:00
dead_horse
a1cdbdafcf docs: update babel setup
closes #783
2016-07-24 01:50:17 +08:00
Yiyu He
23903e7ef4 fix(response): correct response.writable logic (#782) 2016-07-24 01:20:29 +08:00
qingming
2c507d335d fix typo (#756) 2016-06-21 20:01:51 -07:00
Martin Iwanowski
d47d0f9619 fix broken link, fixes #741 (#745) 2016-05-27 07:41:22 +02:00
Yu Qi
b16d24ecb8 add maxAge and overwrite options to ctx.cookies.set(name, value, [options]). (#742) 2016-05-26 13:31:11 +08:00
jongleberry
e61d54565b docs: add more docs about app.context
references:

- https://github.com/koajs/koa/issues/652
2016-05-14 08:36:50 -07:00
Zack Tanner
808768a597 copy tweaks (#731) 2016-05-13 14:27:18 +08:00
jongleberry
41afac3eba travis: test node@6 2016-05-01 13:20:39 -07:00
Yu Qi
c979056087 fix tests on node 6
parsed querystrings no longer inherit from the Object prototype
2016-04-30 09:19:29 +02:00
d3v
e0a0d9f7cc fix: v1 artifact "this" reference (#711) 2016-04-20 14:15:11 +08:00
PlasmaPower
54e58d3523 req: Cache the request IP 2016-04-03 19:30:06 -07:00
PlasmaPower
826ad83db6 travis: move to container travis builds 2016-04-03 19:28:06 -07:00
Marceli.no
fd839976e2 Typo
Significant, but insignificant. Feel free to discard this pull request and make the change yourselves :)
2016-04-03 08:41:04 +08:00
jongleberry
be87ef8a24 lint: upgrade packages, fix generator star spacing 2016-03-28 14:21:05 -07:00
Yiyu He
177b599fd5 Merge pull request #699 from PlasmaPower/patch-2
Correct ctx.assert documentation parameter order (v2.x)
2016-03-28 01:25:09 +08:00
PlasmaPower
9c6969755f Correct ctx.assert documentation parameter order 2016-03-26 21:26:09 -06:00
jongleberry
bd3d9e5100 Merge pull request #690 from PlasmaPower/patch-1
Docs: v2 error handling is environment independent
2016-03-22 11:50:11 -07:00
PlasmaPower
efcdd3b93e Docs: v2 error handling is environment independent 2016-03-22 12:22:43 -06:00
jongleberry
2b094eb895 docs: update history and docs for v2 2016-03-22 11:03:19 -07:00
jongleberry
daf688bf69 Merge pull request #683 from fl0w/v2.x
convert generator-mw with deprecation warning
2016-03-22 10:13:35 -07:00
Martin Iwanowski
0ac4ff00c6 Convert generator-mw with deprecation warning 2016-03-22 07:35:05 +01:00
jongleberry
a1aec3d163 Merge pull request #686 from robinpokorny/lint-js-in-markdown
Correct code style of JavaScript in Markdown
2016-03-21 12:22:44 -07:00
Robin Pokorný
340dd4f1a3 Lint JavaScript in Markdown 2016-03-16 16:50:10 +01:00
dead_horse
39f058e11c fix cookies' secure detect 2016-03-15 13:57:22 -07:00
jongleberry
bcada5bde9 readme: update URLs based on HTTP redirects
see: a25ab12116
2016-03-15 12:38:44 -07:00
Yiyu He
9ba2f9c5df Merge pull request #681 from PlasmaPower/update-error-handling-doc
Update error handling doc to use promises+async (v2.x)
2016-03-14 23:16:01 +08:00
Lee Bousfield
1d1698eb85 Update error handling doc to use promises+async 2016-03-12 20:19:55 -07:00
jongleberry
882ea7e87a Merge pull request #678 from PlasmaPower/cherrypick-to-next
Add support for headers in errors (v2.x)
2016-03-12 18:33:47 -08:00
Jonathan Ong
04a7122e22 lint: benchmarks/ 2016-03-12 18:33:02 -08:00
jongleberry
2df468b524 Merge pull request #679 from PlasmaPower/remove-unused-http
Remove unused http variable (v2.x)
2016-03-12 18:32:39 -08:00