Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

History.md 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. 2.2.3 / 2019-11-14
  2. ==================
  3. **fixes**
  4. * [[`7990aa7`](http://github.com/eggjs/egg-cors/commit/7990aa7c92fa2c82bb6e9018b7191852879f1569)] - fix: use new URL instead of url.parse (#22) (Yiyu He <<dead_horse@qq.com>>)
  5. 2.2.2 / 2019-10-25
  6. ==================
  7. **fixes**
  8. * [[`74e8c26`](http://github.com/eggjs/egg-cors/commit/74e8c264ddbc3aa4b926efa7696a310ef3dabe71)] - fix: should also check origin with port (#21) (Yelmor <<yelmor@outlook.com>>)
  9. **others**
  10. * [[`53ffc7e`](http://github.com/eggjs/egg-cors/commit/53ffc7ec2cb4d119dc2e6b76bbccb0ed7a3712e9)] - chore: update travis (TZ | 天猪 <<atian25@qq.com>>)
  11. 2.2.1 / 2019-10-22
  12. ==================
  13. **fixes**
  14. * [[`499c2b1`](http://github.com/eggjs/egg-cors/commit/499c2b1cd730b4a9d5d7811946661cc9b475326d)] - fix: second-level domain and port support misjudgement (#20) (Khaidi Chu <<i@2333.moe>>)
  15. 2.2.0 / 2019-03-11
  16. ==================
  17. **features**
  18. * [[`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>>)
  19. 2.1.2 / 2018-11-30
  20. ==================
  21. * chore: typings of origin params (#18)
  22. 2.1.1 / 2018-10-01
  23. ==================
  24. * deps: update (#17)
  25. * chore: add types of cors option. (#15)
  26. * docs: update readme (#16)
  27. 2.1.0 / 2018-07-11
  28. ==================
  29. **others**
  30. * [[`ff8b7da`](http://github.com/eggjs/egg-cors/commit/ff8b7dab9c9acff5f5319ecca1fe0df5d1ebfaf8)] - chore(typings): add interface Config['cors'] (#12) (waiting <<waiting@xiaozhong.biz>>)
  31. 2.0.0 / 2017-11-23
  32. ==================
  33. **others**
  34. * [[`120639f`](http://github.com/eggjs/egg-cors/commit/120639fb784ed1ea71eff071124d3f242b52ab72)] - refactor: use async function and support egg@2 (#9) (Yiyu He <<dead_horse@qq.com>>)
  35. 1.2.0 / 2017-07-24
  36. ==================
  37. * deps: update deps (#8)
  38. * feat: add config for Access-Control-Allow-Origin (#7)
  39. 1.1.0 / 2017-03-24
  40. ==================
  41. * feat: update to egg@1.0 and docs fix (#6)
  42. * fix: adjust with new test (#4)
  43. 1.0.0 / 2016-11-04
  44. ==================
  45. * chore: update deps and test on node v7 (#3)
  46. * doc: add configuration information on how to pass in domain whitelist (#2)
  47. * test: add tests (#1)
  48. 0.0.2 / 2016-07-15
  49. ==================
  50. * init