Commit Graph

1261 Commits

Author SHA1 Message Date
Brad Ito
7deedb2352 docs: Updating context.md with the latest cookies opts (#1433) 2020-04-10 16:59:33 +08:00
laffachan
3e97a106bb docs(links): remove Google+ link (#1439) 2020-04-10 16:58:25 +08:00
Olle Jonsson
eda27608f7 build: Drop unused Travis sudo: false directive (#1416) 2020-01-04 14:41:37 +08:00
dead-horse
ed84ee50da Release 2.11.0 2019-10-28 10:52:49 +08:00
Yiyu He
422e539e89 feat: support app.proxyIPHeader and app.maxIpsCount to make ctx.ips more security 2019-10-28 10:39:21 +08:00
Konstantin Vyatkin
4dc56f6d04 chore: update ESLint and plugins/configs (#1407) 2019-10-17 10:25:36 +08:00
Konstantin Vyatkin
be7d334778 chore: removes code duplication at handling HEAD method (#1400) 2019-10-15 23:41:11 +08:00
Konstantin Vyatkin
f155785e2b chore: support writableEnded (#1402) 2019-10-15 23:39:39 +08:00
Konstantin Vyatkin
b968688afe chore: add FUNDING.yml (#1403) 2019-10-15 23:38:18 +08:00
Konstantin Vyatkin
4f968298f9 chore: remove isJSON in res.length (#1399) 2019-10-15 10:17:29 +08:00
Konstantin Vyatkin
d48d88ee17 feat: implement response.has (#1397) 2019-10-14 20:00:45 +08:00
Konstantin Vyatkin
8be5626bbb build: enable codecov partial coverage and use bash uploader (#1396) 2019-10-14 12:07:32 +08:00
Konstantin Vyatkin
ef5c43bcbc chore: use rest params (#1393) 2019-10-14 11:19:07 +08:00
dead-horse
66c1593c20 Release 2.10.0 2019-10-12 16:22:23 +08:00
Filip Skokan
d7f7f77689 feat: support sameSite=none cookies (bump cookies dependency) (#1390) 2019-10-12 16:21:52 +08:00
fengmk2
7b0370be37 Release 2.9.0 2019-10-12 13:47:54 +08:00
Micheal Hill
2d1c598186 feat: export HttpError from http-errors library 2019-10-12 13:41:21 +08:00
谭九鼎
cf70dbc6d2 Chore: Use https in readme (#1389) 2019-10-09 13:10:38 +08:00
fengmk2
a0d2816cba Release 2.8.2 2019-09-28 12:51:10 +08:00
fengmk2
54e8fab3e3 fix: encode redirect url if not already encoded (#1384)
Same bug from express 76eaa326ee
2019-09-28 12:49:57 +08:00
Robert Nagy
817b498305 test: fix body test (#1375)
Setting body will set the content-length header. Unless the
corresponding number of bytes are sent the response will
be aborted and not emit 'end'.
2019-08-23 18:57:56 +08:00
Robert Nagy
f75d445535 test: fix end after end (#1374) 2019-08-23 18:57:32 +08:00
dead-horse
061c21f336 Release 2.8.1 2019-08-19 12:36:21 +08:00
dead-horse
287e589ac7 fix: make options more compatibility 2019-08-19 11:54:41 +08:00
dead-horse
1015cea41d Release 2.8.0 2019-08-19 10:47:30 +08:00
Jake
5afff89eca feat: accept options in the Application constructor (#1372) 2019-08-19 10:44:09 +08:00
Gunnlaugur Thor Briem
3b23865340 docs: parameter of request.get is case-insensitive (#1373) 2019-08-19 10:43:35 +08:00
Jeff
a245d18a13 docs: Update response.socket (#1357)
* docs: Include `dead-horse`'s comment 

https://github.com/koajs/koa/pull/1355#discussion_r302404837

* Update docs/api/response.md

Polish English

Co-Authored-By: Martin Iwanowski <martin@iwanowski.se>
2019-08-16 01:31:15 +08:00
Edvard Chen
d1d65dd29d chore(deps): install egg-bin, mm as devDeps not deps (#1366) 2019-08-10 23:40:27 +08:00
Yiyu He
2c86b10fea test: remove jest and use egg-bin(mocha) (#1363) 2019-07-30 18:00:43 +08:00
Peng Jie
219bf22237 docs(context): update link (#1354)
* docs(context): update link

* docs(response): add code highlight
2019-07-30 14:06:19 +08:00
Imon-Haque
52a673703a chore: ignore Intellij IDEA project files (#1361) 2019-07-24 19:06:56 +08:00
Jeff
ff70bdc75a fix: typo on document (#1355) 2019-07-11 15:44:52 +08:00
Peng Jie
b9e35469d3 docs(api): fix keygrip link (#1350) 2019-06-28 12:55:19 +08:00
dead-horse
d4bdb5ed9e chore: update eslint and fix lint errors 2019-06-26 11:15:22 +08:00
dead-horse
12960c437c build: test on 8/10/12 2019-06-26 11:14:37 +08:00
Alex Berk
00e8f7a1b7 docs: ctx.type aliases ctx.response, not ctx.request (#1343) 2019-06-26 11:11:44 +08:00
Peng Jie
62f29eb0c4 docs(context): update cookies link (#1348) 2019-06-26 11:07:09 +08:00
Igor Adamenko
b7fc526ea4 docs: fix typo in cookie path default value docs (#1340) 2019-06-10 14:49:53 +08:00
kzhang
23f7f545ab chore: simplify variable (#1332) 2019-06-03 16:04:01 +08:00
Dobes Vandermeer
132c9ee63f docs: Clarify the format of request.headers (#1325) 2019-06-03 15:58:02 +08:00
Andrew Peterson
5810f279a4 docs: Removed Document in Progress note in Koa vs Express (#1336)
closes #1335
2019-06-03 15:57:14 +08:00
Vern Brandl
75233d974a chore: Consider removing this return statement; it will be ignored. (#1322) 2019-04-17 11:33:36 +08:00
Vern Brandl
04e07fdc62 test: Buffer() is deprecated due to security and usability issues. so use the Buffer.alloc() instead (#1321) 2019-04-16 18:05:18 +08:00
rosald
130e363856 docs: use 'fs-extra' instead of 'fs-promise' (#1309) 2019-02-14 13:17:35 +08:00
James George
2f2078bf99 chore: Update PR-welcome badge url (#1299) 2019-02-02 09:44:11 +08:00
dead-horse
8b4e2cd3bc Release 2.7.0 2019-01-28 16:51:37 +08:00
Martin Iwanowski
b7bfa7113b feat: change set status assert, allowing valid custom statuses (#1308) 2019-01-28 16:50:27 +08:00
James George
72f325b78e chore: add pr welcoming badge (#1291) 2019-01-15 00:35:24 +08:00
call me saisai
b15115b2cb chore: Reduce unnecessary variable declarations (#1298) 2019-01-15 00:34:12 +08:00