3.0.1 (2024-04-25)
3.0.0 (2023-12-11)
- drop Node.js < 14
- use @koa/[email protected] (#27) (599e918)
fixes
- [
7990aa7
] - fix: use new URL instead of url.parse (#22) (Yiyu He <[email protected]>)
fixes
- [
74e8c26
] - fix: should also check origin with port (#21) (Yelmor <[email protected]>)
others
- [
53ffc7e
] - chore: update travis (TZ | 天猪 <[email protected]>)
fixes
- [
499c2b1
] - fix: second-level domain and port support misjudgement (#20) (Khaidi Chu <[email protected]>)
features
- [
30a1b8c
] - feat: use koa/cors@3, support options.origin to be async function (#19) (Yiyu He <[email protected]>)
- chore: typings of origin params (#18)
- deps: update (#17)
- chore: add types of cors option. (#15)
- docs: update readme (#16)
others
- [
ff8b7da
] - chore(typings): add interface Config['cors'] (#12) (waiting <[email protected]>)
others
- [
120639f
] - refactor: use async function and support egg@2 (#9) (Yiyu He <[email protected]>)
- deps: update deps (#8)
- feat: add config for Access-Control-Allow-Origin (#7)
- feat: update to [email protected] and docs fix (#6)
- fix: adjust with new test (#4)
- 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)
- init