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

feat!: upgrade next to 15.0.0-canary.173, react to 19.0.0-rc-3edc000d-20240926 in the monorepo #8489

Merged
merged 5 commits into from
Oct 1, 2024

Conversation

r1tsuu
Copy link
Collaborator

@r1tsuu r1tsuu commented Sep 30, 2024

Updates the minimal supported versions of next.js to 15.0.0-canary.173 and react to 19.0.0-rc-3edc000d-20240926.

Adds neccessary awaits according to this breaking change vercel/next.js#68812

Breaking Changes

The params and searchParams types in app/(payload)/admin/[[...segments]]/page.tsx and app/(payload)/admin/[[...segments]]/not-found.tsx must be changed to promises:

- type Args = {
-   params: {
-     segments: string[]
-   }
-   searchParams: {
-     [key: string]: string | string[]
-   }
- }

+ type Args = {
+   params: Promise<{
+     segments: string[]
+   }>
+   searchParams: Promise<{
+     [key: string]: string | string[]
+   }>
+ }

@DanRibbens DanRibbens merged commit fa59d4c into beta Oct 1, 2024
53 checks passed
@DanRibbens DanRibbens deleted the feat/next-173 branch October 1, 2024 17:16
r1tsuu added a commit that referenced this pull request Oct 4, 2024
Copy link

github-actions bot commented Oct 4, 2024

🚀 This is included in version v3.0.0-beta.111

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants