Skip to content

Releases: eggjs/egg-cors

v3.0.1

25 Apr 15:36
Compare
Choose a tag to compare

3.0.1 (2024-04-25)

Bug Fixes

  • let framework known app has custom origin handler or not (#28) (#29) (b446a98)

This release is also available on:

v2.2.4

25 Apr 15:27
Compare
Choose a tag to compare

2.2.4 (2024-04-25)

Bug Fixes

  • let framework known app has custom origin handler or not (#28) (b677d0a)

This release is also available on:

v3.0.0

11 Dec 14:55
Compare
Choose a tag to compare

3.0.0 (2023-12-11)

⚠ BREAKING CHANGES

  • drop Node.js < 14

Features


This release is also available on:

v2.2.3

11 Dec 14:54
Compare
Choose a tag to compare

2.2.3 (2023-12-11)

Features

  • add config for Access-Control-Allow-Origin (#7) (0cc030e)
  • update to egg@1.0 and docs fix (#6) (556e121)
  • use koa/cors@3, support options.origin to be async function (#19) (30a1b8c)

Bug Fixes

  • adjust with new test (#4) (ff87c46)
  • second-level domain and port support misjudgement (#20) (499c2b1)
  • should also check origin with port (#21) (74e8c26)
  • use new URL instead of url.parse (#22) (7990aa7)