Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Revert @koa/cors upgrade to 5.0.0 due to breaking cors middleware #20041

Merged
merged 1 commit into from Apr 5, 2024

Conversation

derrickmehaffy
Copy link
Member

@derrickmehaffy derrickmehaffy commented Apr 4, 2024

What does it do?

Reverts the upgrade made in #19921 due to #20033

Why is it needed?

CORs broken in 4.22.0 due to the @koa/cors upgrade

How to test it?

Reconfigure Strapi CORs middleware with a custom origin and ensure you can access the admin panel and fetch requests from external API

Related issue(s)/PR(s)

Fix #20033

@derrickmehaffy derrickmehaffy self-assigned this Apr 4, 2024
@derrickmehaffy derrickmehaffy added source: dependencies Source is dependency problem pr: chore This PR contains chore tasks (cleanups, configs, tooling...) labels Apr 4, 2024
@derrickmehaffy derrickmehaffy changed the title Chore: Revert #19921 Chore: Revert @koa/cors upgrade to 5.0.0 due to breaking cors middleware Apr 4, 2024
Copy link

vercel bot commented Apr 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
contributor-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2024 8:26pm

@derrickmehaffy
Copy link
Member Author

exp version building: https://github.com/strapi/strapi/actions/runs/8560873294

Copy link
Contributor

github-actions bot commented Apr 4, 2024

Size Change: 0 B

Total Size: 1.3 MB

ℹ️ View Unchanged
Filename Size
examples/getstarted/build/bb4d0d527bdfb161bc5a.svg 2.33 kB
examples/getstarted/build/index.html 609 B
examples/getstarted/build/main.********.js 1.3 MB
examples/getstarted/build/runtime~main.********.js 4.21 kB

compressed-size-action

@derrickmehaffy
Copy link
Member Author

Exp ver: 0.0.0-experimental.3fe3bbfca24dc91ac0c0d4936249cfcb04f716e3

@alexandrebodin alexandrebodin added this to the 4.22.1 milestone Apr 5, 2024
@alexandrebodin alexandrebodin merged commit 8a05303 into releases/4.22.1 Apr 5, 2024
145 of 146 checks passed
@alexandrebodin alexandrebodin deleted the revert/19921 branch April 5, 2024 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: chore This PR contains chore tasks (cleanups, configs, tooling...) source: dependencies Source is dependency problem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants