4.0.0-canary.38 and Next.js 16.4 or later.
0.x to v1
Some options were renamed in v1. The plugin throws at boot when it finds an old name, and the error names the new one.Before (0.x)
After (v1)
security option. A true or false value throws at boot:
Before (0.x)
After (v1)
transform now gets one object with doc and the build context. A transform with two parameters throws at boot. A transform that still treats its argument as the document fails the spec request, because it returns the object, not a document. Check every transform:
Before (0.x)
After (v1)
- The spec no longer takes
serversfrom the requestHostheader, because a client can fake it. It usesserverURLfrom your Payload config, orservers. To keep the old behavior for known hosts, list them intrustedHosts. - An extension
transformthat throws now fails the spec request. Before, the plugin logged the error and served the document without that transform. - The docs UI loads a pinned library version with Subresource Integrity.
- Upload read schemas show
variantsinstead ofsizes, because Payload renamed image sizes to variants. See the Payload release notes.