feat!: support latest Next.js versions, fix server-only props being passed to Client Document Views (#7026)

**BREAKING:** The minimum required Next.js version has been bumped from
`15.0.0-rc.0` to `15.0.0-canary.53`. This is because the way client
components are represented changed somewhere between those versions, and
it is not feasible to support both versions in our RSC detection logic.
This commit is contained in:
Alessio Gravili
2024-07-08 09:24:56 -04:00
committed by GitHub
parent f39701401e
commit 1cf7d4db32
11 changed files with 83 additions and 101 deletions

View File

@@ -21,7 +21,7 @@
"@payloadcms/storage-vercel-blob": "beta",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.0.0-rc.0",
"next": "15.0.0-canary.53",
"payload": "beta",
"react": "^19.0.0-rc-f994737d14-20240522",
"react-dom": "^19.0.0-rc-f994737d14-20240522"