Minor Changes
-
[nextjs] Add context to nextjs proxies that the developers can use to get information an what was executed inside each proxy (97ebaca)
-
Support Draft Components (a1d3798)
-
[nextjs] Fix sitemap route validation to return undefined for sitemap-index path. (ecba275)
-
[nextjs][react] Add renderChildrenWhenEmpty prop to Link component to render empty anchor with children instead of null when the link field value is empty. (741a10f)
-
Add tag-based revalidation support for the Next.js App Router with Cache Components, including cache tag helpers and revalidation route handlers. (856cb89)
Introduce the
nextjs-app-router-cache-componentsscaffolding template with a combined revalidation route wired out of the box. -
minor
@sitecore-content-sdk/contentdependency update:- Support Draft Components (a1d3798)
-
minor
@sitecore-content-sdk/reactdependency update:- [nextjs][react] Add renderChildrenWhenEmpty prop to Link component to render empty anchor with children instead of null when the link field value is empty. (741a10f)
Patch Changes
- [nextjs][Fix] Correct redirect-map regex matching and capture replacement for anchored patterns, locale-prefixed paths, and root-path redirects. (30b0db8)
- Stop the proxy chain once an upstream handler returns a redirect so custom plugins chained after RedirectsProxy cannot override Sitecore redirect responses. Short-circuit on 403,
res.redirected, or 3xx status codes to support Next.js 16 redirect responses. (bcebed4) - 500 Internal Server Error occurs in Pages editor when Server error page is opened (6b5ddb4)
- BYOC and FEAAS are broken when client component map generation is disabled (d9d50e1)
- Remove unused sync-disk-cache dependency which was unmaintained and had security warnings. The package was declared but never actually imported or used in the codebase. (585d583)
- [Pages Router] Set auth token in proxy and api route for preview protection (421d910)
- Fix personalization resolution in Edit Mode and Preview Mode by sending the
sc_variantheader to the Preview GraphQL API so API resolves the active variant server-side, instead of relying on sdkexperiencesfiltering. (858afaf) - Fallback of clientComponentMap option in defineCliConfig reverted to be true (553b16a)
- Pass sc_previewMode, sc_site when performing authorization in PreviewProxy (ced58bb)
- Support time-based preview via sc_previewTime query parameter. The editing render endpoint now accepts an optional sc_previewTime query parameter and forwards it as a header to Edge Preview GraphQL, enabling calendar-based content validation at specific future dates. (7b3b3f3)
- Upgrade glob dependency from deprecated v11 to v13 to resolve security vulnerabilities (CVE-2025-64756) (debe2bd)
- Check sc_site search parameter in PreviewProxy as a fallback when cookie is missing (2204da3)