Commit graph

732 commits

Author SHA1 Message Date
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
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
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
TJ Holowaychuk
7fe29d92f1 fix Application.inspect() – missing .proxy value. 2015-10-31 11:16:41 -07:00
jongleberry
2907b7fc03 1.1.1 2015-10-22 16:39:20 -07:00
jongleberry
16265355db ⬆️ istanbul@0.4 2015-10-22 15:43:50 -07:00
Santiago Sotomayor
de20a5c96c unset content-type when the type is unknown
closes #532
closes #536
2015-10-22 15:41:23 -07:00
Jonathan Ong
406a2966ca dev: use istanbul instead of istanbul-harmony
seems to work now…
2015-10-11 21:57:17 -07:00
Tejas Manohar
96c1e0998f don't use 'exports', only 'module.exports'
closes #513
2015-10-11 21:18:32 -07:00
Jonathan Ong
af0ae08dc4 1.1.0 2015-10-11 16:31:05 -07:00
Tejas Manohar
0b1b49cb8a use strict in all .js files
closes #508
2015-10-11 16:08:32 -07:00
fengmk2
f875eb0c30 Merge pull request #486 from tejasmanohar/app_silent
app.silent option to turn off err logging
2015-10-09 11:22:58 +08:00
Tejas Manohar
6c19c41c09 keep test env logging for backwards-compat 2015-10-08 19:02:36 -05:00
TJ Holowaychuk
65cc864c9b Merge pull request #491 from tejasmanohar/remove_err_assignment
no need to assign error in catch{}-able test
2015-10-08 14:39:15 -07:00
Tejas Manohar
e717733aa8 no need to assign error in catch{}-able test 2015-10-06 19:43:09 -05:00
TJ Holowaychuk
237e6c4f60 Merge pull request #490 from tejasmanohar/webchat_irc_link
add a webchat freenode link to irc channel
2015-10-06 09:22:19 -07:00
TJ Holowaychuk
65b59a9509 Merge pull request #489 from tejasmanohar/blank_newline_at_top
ensure all JS files have blank newline at top/bot
2015-10-06 09:21:40 -07:00
Tejas Manohar
10f9811e37 add a webchat freenode link to irc channel 2015-10-05 18:22:56 -05:00
Tejas Manohar
5e21238594 add newline to bottom of file where missing 2015-10-05 18:19:32 -05:00
Tejas Manohar
ea4754e332 ensure all JS files have blank newline at top 2015-10-05 18:18:03 -05:00
Tejas Manohar
c369b33b23 app.silent option to turn off err logging 2015-10-05 17:51:26 -05:00
dead_horse
b2bcbcec7c docs: add request.origin 2015-10-03 11:38:48 +08:00
TJ Holowaychuk
1ed691dde3 fix some test formatting 2015-10-02 18:49:20 -07:00
TJ Holowaychuk
2359b6a769 Merge pull request #483 from squarejaw/test-coverage
Increase test coverage
2015-10-02 18:44:49 -07:00
Bryan Bess
0192d21d73 Increase test coverage 2015-10-02 19:18:05 -05:00
fengmk2
039217ad4e Merge pull request #481 from squarejaw/typo
Fix typo in test
2015-09-26 22:46:23 +08:00
Bryan Bess
890244fc74 Fix typo 2015-09-26 09:23:17 -05:00
Yiyu He
b3d46bd69e Merge pull request #480 from chentsulin/ctx.origin
implement ctx.origin
2015-09-21 22:23:44 +08:00
C.T. Lin
85860587cc implement ctx.origin 2015-09-20 23:49:37 +08:00
mdemo
520163fe57 add node 4.x on travis ci 2015-09-10 01:36:38 +08:00
Jonathan Ong
9bf6bf1c07 improve verbage based on comments 2015-08-30 22:07:54 -07:00
llambda
30c8723705 Update Readme.md 2015-08-30 22:05:33 -07:00
fengmk2
f530219862 Merge pull request #475 from koajs/app-context-docs
Add docs for app.context
2015-08-31 12:06:53 +08:00
Travis Jeffery
e710b4b05f add app.context docs 2015-08-30 22:20:53 -05:00
dead_horse
6563e6ac3d get rid of 0.11 2015-08-30 23:42:44 +08:00
dead_horse
36a933375b fix comment 2015-08-25 16:49:05 +08:00
gyson
1be333ca31 change respond() to a regular function
remove `yield* next` in lib/application, which caused annoy `A promise
was converted into a generator …` message.

benchmark result:
* when bench with native Promise, it has no impact for both stable and
experimental ones.
* when bench with Bluebird, it’s about 5-10% faster than original for
both stable and experimental ones.

closes #472
2015-08-23 13:55:20 -07:00
Jonathan Ong
0b9c032af1 1.0.0 2015-08-22 14:47:31 -07:00