github Sitecore/content-sdk v1.6.0
1.6.0

10 hours ago

✨ Bug fixes

  • [nextjs] [App Router] searchParams empty on statically generated pages when Draft Mode is enabled (Vercel only) (#448)
    • searchParams are not expected to be accessible in draftMode (this is a known Next.js issue). By design, preview data should be passed via request headers. To support this, we introduced the client.getPreviewInputs helper method. At the same time, preview data continues to be available via searchParams for backward compatibility. See more details in 'What's New' section of the release notes.
  • [nextjs] Preview allows users to access pages without proper permissions (#448)(#455)(#456)
    • App Router & Pages Router: Import and use PreviewMiddleware to gate preview requests. See more details in 'What's New' section of the release notes.
  • [react] Form component loses interactivity and state between rerenders (#447)
  • [core] Preview mode shows unpublishable content (#410)(416)
  • [nextjs] [create-content-sdk-app] Update Next.JS to latest 15.5.14 (#462)

Don't miss a new content-sdk release

NewReleases is sending notifications on new releases.