Minor Changes
-
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. -
[cli][create-content-sdk-app] Update build and component map generation to recreate the .sitecore directory when it is missing. (0325d61)
Patch Changes
- Remove unused config section from nextjs template package.json to eliminate npm warnings about unknown CLI config settings. (f81ac30)
- [create-content-sdk-app] Add help flag output (386c7f8)
- Return empty app-router static params when
generateStaticPathsis false (standard app-router template). Only prepend the configured default site tosites.jsonwhendefaultSiteis explicitly set. Cache-components OSR template uses a build-validation site placeholder (_DEFAULT_) ingenerateStaticParamswhen path generation is off sonext buildsucceeds without Edge or CMS content. (2bff473) - [create-content-sdk-app] Fix custom 404 handling in cache-components template (7d29ee8)
- Remove dev-mode
tsconfigpath mapping forreactin the Pages Router template so monorepoyarn watchsamples resolve@types/reactandnpm run buildno longer fails with missing React declaration files. (0c9c855) - Scope Tailwind v4 source scanning to app
srcin App Router templates so monorepoyarn watchsamples do not hang or fail onglobals.csswhen symlinked SDK packages are scanned. (f28b4a1) - [create-content-sdk-app] Add PartialDesignDynamicPlaceholder to App Router and Pages Router templates for Sitecore AI partial designs (85b14a9)
- [create-content-sdk][Chore] The template version management has been adjusted for multi-version use (3f9282b)
- [create-content-sdk-app] Remove redundant --template from help options (3631584)
- Upgrade glob dependency from deprecated v11 to v13 to resolve security vulnerabilities (CVE-2025-64756) (debe2bd)