333
schangxiang@126.com
2025-09-19 18966e02fb573c7e2bb0c6426ed792b38b910940
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
 
2.2.0 / 2019-03-11
==================
 
**features**
  * [[`30a1b8c`](http://github.com/eggjs/egg-cors/commit/30a1b8c8cf58cacd208f86905d334588db523b8e)] - feat: use koa/cors@3, support options.origin to be async function (#19) (Yiyu He <<dead_horse@qq.com>>)
 
2.1.2 / 2018-11-30
==================
 
  * chore: typings of origin params (#18)
 
2.1.1 / 2018-10-01
==================
 
  * deps: update (#17)
  * chore: add types of cors option. (#15)
  * docs: update readme (#16)
 
2.1.0 / 2018-07-11
==================
 
**others**
  * [[`ff8b7da`](http://github.com/eggjs/egg-cors/commit/ff8b7dab9c9acff5f5319ecca1fe0df5d1ebfaf8)] - chore(typings): add interface Config['cors'] (#12) (waiting <<waiting@xiaozhong.biz>>)
 
2.0.0 / 2017-11-23
==================
 
**others**
  * [[`120639f`](http://github.com/eggjs/egg-cors/commit/120639fb784ed1ea71eff071124d3f242b52ab72)] - refactor: use async function and support egg@2 (#9) (Yiyu He <<dead_horse@qq.com>>)
 
1.2.0 / 2017-07-24
==================
 
  * deps: update deps (#8)
  * feat: add config for Access-Control-Allow-Origin (#7)
 
1.1.0 / 2017-03-24
==================
 
  * feat: update to egg@1.0 and docs fix (#6)
  * fix: adjust with new test (#4)
 
1.0.0 / 2016-11-04
==================
 
  * chore: update deps and test on node v7 (#3)
  * doc: add configuration information on how to pass in domain whitelist (#2)
  * test: add tests (#1)
 
0.0.2 / 2016-07-15
==================
 
  * init