Commit Graph

890 Commits (2.2.0)

Author SHA1 Message Date
jongleberry 236ba70569 2.2.0 2017-03-14 01:57:27 -07:00
jongleberry 4816cd76f0 :arrow-up: deps
closes #939
2017-03-14 01:55:15 -07:00
jongleberry f841418b10 package: drop package.engines.node req to v6
closes #938
closes #936
closes #935
2017-03-14 01:48:36 -07:00
jongleberry ebed04f342 2.1.0 2017-03-07 23:09:56 -08:00
Lee Bousfield e6539e1cf2 Return middleware chain promise from `callback()` (#848)
The v2.x version of 8836cd3 on master.
2017-03-07 23:05:28 -08:00
jongleberry 65c130db5b readme docs++ (#932)
* Better expose documentation in overview readme

* Add code examples for context, request and response

* docs++

* fix indentation
2017-03-07 23:04:43 -08:00
jongleberry e812339033 docs: create v2 Migration document (#931)
* Give v2 migration documentation its own document. Incorporate docs from #533

* Fix mis-capitalization of Koa

* Remove unnecessary Dependency section

* Hint at koa-convert enabled compatibility

* Add section on constructing with new

* Clarify es6 constructors are used

* Fix varying capitalization

* Restore mistakenly removed Dependency changes section

* v1.x should not receive feature updates

* Add next() to signature, add missing backticks

* docs++
2017-03-07 22:59:42 -08:00
jongleberry e9d7abaf79 res: use http.ServerResponse._header when accessors exist (#930)
* Don't use http.ServerResponse._header when accessors exist

Structure of http.ServerResponse._header will change in future
Node versions. Avoid reading and setting it directly when
helpers exist.

* Add new header test case

* make things a little more strict
2017-03-07 22:59:24 -08:00
Jeff Moore 188c0968e1 Add Troubleshooting documentation (#921)
* Move Common Problems wiki documentation to troubleshooting.md

* Fix header levels and TOC linking

* Change header structure, move causes to their own sections

* Fix fragment capitalization

* Add an example for missing await

* Cleanup language due to problem generalization

* Add visibility for troubleshooting

* Fix fragment typo
2017-03-01 15:50:02 -08:00
fengmk2 e452b68bd9 feat: set err.headerSent before app error event emit (#919) 2017-02-28 10:52:54 +08:00
Ilkka Oksanen 0c28d1f57b Fix async/await babel recommendation 2017-02-26 12:23:42 -06:00
Stéphane Bisinger 909b829ac6 Fix typo 2017-02-26 12:23:11 -06:00
Ilkka Oksanen d740d9b2b1 Update the link to migration instructions (#916) 2017-02-26 21:41:14 +08:00
Yiyu He 73e9e13580 chore: unify badge's style (#914) 2017-02-26 15:57:49 +08:00
jongleberry 612a77b72b travis: test node@8 nightly 2017-02-25 14:09:51 -06:00
石发磊 207aa4e75b readme: change `generatorFunction` to `generator function` (#912)
change word `generatorFunction` to `generator function`, because to correspondence with the above form
2017-02-25 12:59:55 -06:00
Filip Skokan 0c2d881b67 update engines in package.json for 7.6.0 min node (#911) 2017-02-25 21:29:16 +08:00
Xavier Damman 2fda9dd0bf Added OpenCollective backers and sponsors (#748)
* Added OpenCollective backers and sponsors

* Removed become a backer/sponsor links
2017-02-25 00:50:07 -06:00
jongleberry 6c6aa4dab4 2.0.1 2017-02-25 00:47:45 -06:00
jongleberry 4e5deaeb9c history++ 2017-02-25 00:38:20 -06:00
jongleberry 65061085e4 package: remove publish tag 2017-02-25 00:30:37 -06:00
jongleberry d4b32234ea docs++ 2017-02-25 00:30:11 -06:00
jongleberry f191c0def4 package: oops re-add babel-eslint 2017-02-25 00:23:31 -06:00
fengmk2 a7c4236728 fix: add named arrow function for request and response handlers (#805)
cherry-pick #804
2017-02-25 00:06:41 -06:00
jongleberry cd02834f75 travis: only test node v7.6.0+ 2017-02-25 00:06:01 -06:00
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