github Sitecore/content-sdk create-content-sdk-app@2.1.0
2.1.0

6 hours ago

🎉 New Features & Improvements

  • [events] [nextjs] Lightweight Tracking (#414)(#435)(#438)(#443)(#444)
    • Introduced BotTrackingProxy Next.js proxy to capture bot tracking events.
  • [nextjs] Upgrade to Next.js 16.2 (#429)
  • [create-content-sdk-app] Use native flat ESLint config for App Router templates (#431)
  • [nextjs] Support for redirect items redirects in redirect proxy (#433) (#439)
  • [search] Pass CDP session id in the queries to the search service (#445)

🐛 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.getPreviewData 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] [Internal Host] Preview allows users to access pages without proper permissions (#448)(#455)(#456)
    • App Router & Pages Router: Import and use PreviewProxy to gate preview requests. See more details in 'What's New' section of the release notes.
  • Preview mode shows unpublishable content (#410)(416)
  • [core] [content] Fix GraphQL client factory ignoring custom fetch and related options (#418)
  • [nextjs] AppRouter - NextLink is throwing Locale error in dev mode (#427)
  • [react] Form component loses interactivity and state between rerenders (#447)

✨ Chores

  • [create-content-sdk-app] Update outdated documentation links (#440)

Don't miss a new content-sdk release

NewReleases is sending notifications on new releases.