105 Commits

Author SHA1 Message Date
TZ | 天猪
fb1e1c4afb Release 2.5.0 (#2241) 2018-03-20 13:33:42 +08:00
Yiyu He
22dfaa72e3
feat: emit request and response event (#2020) 2018-01-26 11:14:13 +08:00
Yiyu He
aa46eb26d4
fix: log cookie's key when cookie exceed limit length (#1996) 2018-01-22 10:12:23 +08:00
薛定谔的猫
c136470861 test: use Buffer.alloc, Buffer.from. (#1895)
Since new Buffer() was deprecated since Node.js v6.
2017-12-29 17:48:59 +08:00
Khaidi Chu
40df153dd7 feat: add 400 response for broken client request to instead of empty response (#1829) 2017-12-15 13:26:08 +08:00
fengmk2
503b69b2e5 feat: dump application router json
Store on `run/router.json`
2017-11-29 15:06:07 +08:00
fengmk2
76ff783b80 fix: run dumpConfig at the last ready callback 2017-11-29 15:06:07 +08:00
Yiyu He
757f275a16
fix: dump async function as AsyncFunction (#1687) 2017-11-20 17:50:04 +08:00
Yiyu He
12edd64915
test: use async function instead of generator function (#1684) 2017-11-20 17:42:35 +08:00
Yiyu He
448d0945c0
deps: upgrade all plugins to adapt egg@2 (#1653) 2017-11-13 01:49:15 -06:00
Haoliang Gao
46ed6fac9f feat: add Subscription (#1469)
Ref https://github.com/eggjs/egg/issues/1468
2017-10-20 06:25:44 -05:00
TZ | 天猪
6846badc8d docs: add plugin.js description (#1499) 2017-10-10 21:23:35 -05:00
zōng yǔ
21425e7a9c feat: make cluster client configurable in egg (#1459) 2017-09-25 09:42:01 +08:00
hui
6eac07eb28 refactor: httpclient args tracer to be enforced (#1421) 2017-09-15 19:28:15 +08:00
AnzerWall
5a9531abbe feat: don’t force logger to use INFO level in prod (#1218) 2017-09-14 13:11:18 +08:00
hui
f7c0d85209 feat: support app.httpclient and agent.httpclient auto set tracer (#1393) 2017-09-10 11:41:34 +08:00
Haoliang Gao
dda386e425 test: add test and doc for listen options (#1246) 2017-07-27 18:06:17 +08:00
Haoliang Gao
3ef1de9524 feat: set cluster options, include path, port, hostname (#1231) 2017-07-27 09:35:50 +08:00
Haoliang Gao
e9f93cf83d refactor: export app.HttpClient that can be overwritten (#1234) 2017-07-26 17:36:49 +08:00
fengmk2
988b8c84d0 fix: make sure config.httpclient.httpAgent.timeout >= 30000 (#1165)
distinguish options: request, httpAgent and httpsAgent on httpclient
2017-07-19 10:05:50 +08:00
fengmk2
5dc56fac04 feat: ignore any key contains "secret" (#1156) 2017-07-05 10:39:25 +08:00
Haoliang Gao
74c8a547cc feat: dump run/${type}_config_meta.json (#1155)
Show who define the property of the config

Closes https://github.com/eggjs/egg/issues/1132
2017-07-05 09:16:10 +08:00
Haoliang Gao
c31bc15097 test: wait logger to flush (#1090)
fix https://travis-ci.org/eggjs/egg/jobs/245671138
2017-06-22 20:38:01 +08:00
fengmk2
a4ba2a2a1e feat: enable overrideMethod middleware by default (#1069) 2017-06-19 13:47:57 +08:00
fengmk2
4e510b2283 chore: use app.httpRequest() instead of supertest (#1041) 2017-06-13 18:03:53 +08:00
fengmk2
f1b510c340 feat: add config.logger.disableConsoleAfterReady (#1001)
let app can change the logger config
2017-06-12 18:17:05 +08:00
fengmk2
9d705e4687 test: make sure app close (#1030) 2017-06-12 15:14:48 +08:00
fengmk2
13b7c19531 test: node 8 (#976) 2017-06-10 22:03:55 +08:00
Haoliang Gao
1b108a72a9 docs: remove api that is from egg-rest (#1022) 2017-06-09 19:37:17 +08:00
Haoliang Gao
20a5d9127f test: disable coverage for schedule (#987) 2017-06-02 21:19:26 +08:00
Yiyu He
8fc63fd347 release 1.4.0 (#971) 2017-05-29 02:11:12 +08:00
Yiyu He
5b6fe2b187 feat: use lru to aovid oom in dns cache httpclient (#961) 2017-05-27 18:31:46 +08:00
Haoliang Gao
bd0a827c38 refactor: set consoleLevel WARN of coreLogger in local (#850)
This config is removed by PR #695,
but the infomation of coreLogger is not useful for app developer,
and this config won't changed by app developer
2017-05-05 22:02:09 +08:00
Haoliang Gao
13587667ac fix(loader): loadPlugin can be extended (#836) 2017-05-04 12:19:34 +08:00
Haoliang Gao
1a027ad727 test: use assert instead of should (#837) 2017-05-03 22:37:51 +08:00
Haoliang Gao
0522cee5fa Release 1.2.0 (#820) 2017-04-28 20:03:34 +08:00
Yiyu He
0757655cfe feat: BaseContextClass add logger (#816)
- move BaseContextClass to egg
- add BaseContextLogger
2017-04-28 17:01:43 +08:00
TZ | 天猪
5befb0b1f0 feat: remove egg logger local config (#695) 2017-04-14 10:52:29 +08:00
Haoliang Gao
7ab37915af test: test for closing logger (#667) 2017-03-28 13:11:56 +08:00
Yiyu He
8c77e59078 feat: warn if some confused configurations exist in config (#637) 2017-03-24 18:07:32 +08:00
TZ | 天猪
c1464fbecb docs: more detail for mysql dynamic create (#540) 2017-03-10 19:45:56 +08:00
Haoliang Gao
da3c26a212 test: fix development test (#546) 2017-03-10 17:27:27 +08:00
Haoliang Gao
59a3669661 feat: ignore types when dump (#518) 2017-03-07 19:54:35 +08:00
Yiyu He
743874d875 refactor: [BREAKING CHANGE] remove userservice and userrole (#527) 2017-03-07 14:18:29 +08:00
fengmk2
a296351927 refactor: [BREAKING_CHANGE] remove default validate plugin (#526)
It's hard to find a default validate plugin to satisfy everyone

https://github.com/eggjs/egg/issues/517
2017-03-07 01:25:26 +08:00
fengmk2
1777bb89c5 test: add qs security test cases (#491) 2017-03-02 01:41:49 +08:00
fengmk2
b28ce766fa test: disable error log to stderr (#453) 2017-02-25 22:07:55 +08:00
Yiyu He
4eaf3fb3bb feat: throw if config.keys not exists when access app.keys (#443) 2017-02-25 01:53:13 +08:00
fengmk2
80a06fcd07 feat: extend runInBackground on application (#442)
use mz-modules/sleep instead of ko-sleep
2017-02-24 12:56:52 +08:00
Haoliang Gao
3ba38b1faf feat: [BREAKING_CHANGE] reimplement view, use egg-view plugin (#402) 2017-02-23 14:31:59 +08:00