others
- [
369d31d
] - refactor: use async function, support options.origin return promise (#59) (Yiyu He <[email protected]>)
fixes
- [
12ae730
] - fix: setVary: Origin
header on error responses (#55) (Erik Fried <[email protected]>)
others
- [
019ec40
] - travis: test node@10 and drop test node@4 (#51) (fengmk2 <[email protected]>) - [
6e22833
] - doc: update outdated options doc (Xingan Wang <[email protected]>) - [
c982530
] - travis: test node@8 (jongleberry <[email protected]>) - [
b4f65b3
] - npm: remove tag (jongleberry <[email protected]>) - [
878ae9b
] - package: rename to @koa/cors (jongleberry <[email protected]>)
- fix: always set "Vary: Origin" header (#31)
- feat: add PATCH to default methods
- fix: keepHeadersOnError won't affect OPTIONS request (#17)
- feat: Keep headers after an error (#13)
- chore: use eslint instead of jshint (#10)
- test: use codecov instead of coveralls
- chore: make node engines >= 4.3.1
- doc: update example
- test: only test on node 4+
- refactor: src,test: update to (ctx, next) -> Promise middleware contract
- chore: base on koa@2
- fix: make more spec-compliant
- first release