Commit graph

817 commits

Author SHA1 Message Date
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
James Ide
4e411ed7ed [CI] Run tests on the stable version of Node
This ensures that Koa is regularly tested against the latest version of Node and surfaces issues early. The main thing is that new version of Node could be released and tests that were previously passing would suddenly start failing (if there were a breaking change).

I also reversed the order of Node versions in the test matrix so that recent = more relevant versions are at the top.
2016-01-20 00:09:01 -08:00
jongleberry
0c136fd04c Merge pull request #645 from tejasmanohar/mention_es7
docs: mention es2016 when discussing async functions
2016-01-19 22:06:56 -08:00
jongleberry
3c92e46d88 Merge pull request #647 from koajs/error-doc
add app.silent, err.status, err.expose to doc, fixes #630
2016-01-19 22:06:19 -08:00
dead_horse
8cbff160ca add app.silent, err.status, err.expose to doc, fixes #630 2016-01-20 11:40:47 +08:00
Tejas Manohar
b44fe436c6 docs: mention es2016 when discussing async functions 2016-01-19 12:14:50 -08:00
dead_horse
fcacb35220 chore: readme 2016-01-19 11:37:23 +08:00
Julian Gruber
fa245b92e1 Merge pull request #640 from pra85/patch-1
chore(license): update license year to 2016
2016-01-18 11:52:16 +01:00
jongleberry
1f403cde74 Merge pull request #641 from tejasmanohar/fix-this-v2-example
change `this` to `ctx` in v2 signature example
2016-01-17 21:43:53 -08:00
Tejas Manohar
a03a7b3059 change this to ctx in v2 signature example 2016-01-17 21:33:45 -08:00
Prayag Verma
0c9c56cc04 chore(license): update license year to 2016 2016-01-18 11:00:42 +05:30
Jonathan Ong
bbfa6777a0 readme: add docs about v2. closes #603 2016-01-17 16:27:23 -08:00
Julian Gruber
8326df6b72 Revert "chore(package): update should to version 8.1.1"
This reverts commit 2a80f8fb76.
2016-01-12 19:21:52 +01:00
Julian Gruber
2572eafed1 Merge pull request #634 from koajs/greenkeeper-should-8.1.1
Update should to version 8.1.1 🚀
2016-01-12 14:59:35 +01:00
greenkeeperio-bot
2a80f8fb76 chore(package): update should to version 8.1.1
http://greenkeeper.io/
2016-01-12 03:02:13 -08:00
TJ Holowaychuk
b6cf2ed605 docs: mention 0.12.x instead of 0.11.x 2015-12-22 10:55:36 -08:00
TJ Holowaychuk
4b7b9790f2 docs: remove iojs mention
its just confusing people
2015-12-21 09:13:56 -08:00
TJ Holowaychuk
971115cfbd Merge pull request #626 from lourd/master
Standardizes instances of removeHeader to remove
2015-12-20 17:57:24 -08:00
Louis DeScioli
ec477107d5 Standardizes instances of removeHeader to remove 2015-12-20 19:55:41 -05:00
Yiyu He
e6dcc9f7b7 Merge pull request #623 from janriemer/fix-comment
fix(app): fix comment for 'experimental' check
2015-12-16 22:13:57 +08:00
janriemer
8a1e4ddb77 fix(app): fix comment for 'experimental' check
comment stated that when 'experimental' is false,
es7 async would be allowed, but that is not the case
2015-12-16 11:48:13 +01:00
dead_horse
9f80296fc4 Release 1.1.2 2015-11-05 10:56:00 +08:00
dead_horse
c243baa4d1 ensure parseurl always working as expected 2015-11-05 10:55:28 +08:00