Commit graph

961 commits

Author SHA1 Message Date
dead-horse
916f914727 Release 2.5.0 2018-02-11 17:40:10 +08:00
Yiyu He
3c23aa5b74
feat: ignore set header/status when header sent () 2018-02-11 16:25:24 +08:00
Martin Iwanowski
0923ef6182 run coverage using --runInBand () 2018-02-09 11:13:45 +08:00
Joseph Lin
e544012e9f [Update] license year to 2018 () 2018-02-06 14:01:36 -05:00
Paul Anderson
a64e4ae982 docs: small grammatical fix in api docs index () 2018-01-30 21:05:49 -08:00
Tomas Ruud
e5db6a9833 docs: fixed typo () 2018-01-30 21:05:19 -08:00
Mengdi Gao
c2615ecc5c docs: capitalize K in word koa () 2018-01-30 21:05:00 -08:00
Alexsey
6baa41178d Error handling: on non-error throw try to stringify if error is an object () 2017-12-24 20:48:44 +08:00
Nick McCurdy
53bea20e79 Use eslint-config-koa () 2017-12-24 15:01:01 +08:00
Michał Gołębiowski-Owczarek
9068316fc7 Update mgol's name in AUTHORS, add .mailmap () 2017-12-24 14:55:45 +08:00
Nick McCurdy
79c3c73452 Avoid generating package locks instead of ignoring them () 2017-12-24 14:36:17 +08:00
Mars Wong
841844ee2f chore: update copyright year to 2017 () 2017-11-12 10:06:04 -06:00
jongleberry
bd89dfcafc 2.4.1 2017-11-06 14:23:34 +00:00
jongleberry
418bb066af 2.4.0 – added missing 2.3.0 changelog 2017-11-06 14:16:32 +00:00
jongleberry
c68a6966c2 2.3.0 2017-11-06 14:03:36 +00:00
jongleberry
687b73257b
travis: test node@9 2017-11-06 13:08:21 +00:00
Riceball LEE
53a4446123 expose the Application::handleRequest method ()
* * expose the Application::handleRequest method to extend the context

* * minor change the handleRequest comment
2017-11-06 12:21:52 +00:00
Martin Iwanowski
85ff544f7a deps: update min engines () 2017-11-06 12:18:58 +00:00
Bernie Stern
6029064756 HTTP/2 has no status message () () 2017-11-06 12:17:43 +00:00
Sergei Osipov
18e4fafb02 Update fresh to ^0.5.2 to close vulnerability () 2017-11-06 12:00:22 +00:00
Jonas Zhang
e8a024cbc0 docs: ddd Chinese docs link for v2.x () 2017-11-03 11:13:19 +08:00
Taehwan, No
1e81ea3691 docs: update babel setup () 2017-10-18 03:22:26 -05:00
Nick McCurdy
43a1df8200 test: Remove --forceExit flag for Jest () 2017-09-26 21:58:37 -05:00
Pedro Pablo Aste Kompen
0168fd87a8 docs: Update middleware.gif () 2017-09-25 23:22:22 -05:00
Shawn Sit
e1e030cc3d docs: command is wrong for running tests () 2017-09-25 23:08:21 -05:00
JamesWang
77ca4290a1 test: replace request(app.listen()) with request(app.callback()) 2017-09-25 23:07:57 -05:00
Martin Iwanowski
7f577aff2d meta: update AUTHORS () 2017-09-25 23:02:07 -05:00
Hrvoje Šimić
f3ede44ffa docs: fix dead link to logo image () 2017-09-25 23:00:15 -05:00
Martin Iwanowski
7e78147f52 tools: remove --fix to catch lint errors () 2017-09-19 03:23:32 -05:00
Todor Stoychev
09f1b7bb1f docs: fix typo () 2017-09-13 12:58:43 -05:00
jongleberry
86ab4ae84a Revert "refactor: remove duplicate assignment in respond test ()" ()
This reverts commit c161c0f2e9.
2017-09-11 21:35:13 -05:00
Clark Du
c161c0f2e9 refactor: remove duplicate assignment in respond test ()
Signed-off-by: Clark Du <clark.duxin@gmail.com>
2017-09-11 10:22:34 -07:00
Usman Hussain
392e8aa90d Koa routing (third party libraries support) () 2017-08-17 10:20:57 -07:00
Yu Qi
78832ff6c6 bench: add bench for async/await () 2017-08-03 09:33:51 +08:00
Rico Sta. Cruz
7294eae078 koa-vs-express: Update note about generators () 2017-07-20 18:02:17 -07:00
Saad Quadri
40a6dd2c80 docs: improve consistency in api code examples () 2017-07-20 18:01:03 -07:00
Hartley Melamed
0c44c11ce3 Updates documentation to include reference for RFC2324 (HTTP Status 418) () 2017-07-19 11:04:59 -07:00
Luke Bousfield
67630217ae Fix context.inspect when called on the prototype ()
* Fix context.inspect when called on the prototype

Fixes 

* Add tests
2017-07-15 20:05:26 -04:00
haoxin
9f2182dec7 docs: fix typo () 2017-07-13 10:52:07 -07:00
Chiahao Lin
87cde82399 docs: modified examples using the wrong keyword (yield -> await) () 2017-07-07 00:48:31 -07:00
jongleberry
aaac09af1a 2.3.0 2017-06-20 10:01:10 -07:00
Martin Iwanowski
327b65cb6b Use node 7+ WHATWG parser for hostname, fixes ()
* Use node 7+ WHATWG parser for hostname, fixes 

* only use URL if host is IPv6, expose parsed URL

* catch invalid URLs, memoize empty obj

* hostname returns empty string when URL throws
2017-06-20 09:57:30 -07:00
Martin fl0w Iwanowski
012587889d added setters for header and headers, fixes 2017-06-20 09:57:07 -07:00
Martin fl0w Iwanowski
f6f1ab73e1 lint: commit --fix 2017-06-20 09:57:07 -07:00
Martin fl0w Iwanowski
4b41a8b94b update gitignore, added package-lock 2017-06-20 09:57:07 -07:00
Yiyu He
41f8776350 test: run ci on node 7,8 () 2017-06-20 09:56:47 -07:00
designgrill
beec26ebf8 docs: A middleware is always responsible for calling downstream ()
Irrespective of whether it is called by an upstream middleware or not.
2017-06-12 11:38:25 -07:00
Kareem Kwong
0a7856ca15 docs: Add note about overwriting charset in response.type () 2017-06-12 11:37:16 -07:00
Richard Marmorstein
7941fb5221 grammar () 2017-06-12 11:36:19 -07:00
Equim
08eb1a20c3 docs: apply Date.now() to all docs () 2017-05-21 23:33:25 +08:00