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

5 hours ago

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-components scaffolding 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 generateStaticPaths is false (standard app-router template). Only prepend the configured default site to sites.json when defaultSite is explicitly set. Cache-components OSR template uses a build-validation site placeholder (_DEFAULT_) in generateStaticParams when path generation is off so next build succeeds without Edge or CMS content. (2bff473)
  • [create-content-sdk-app] Fix custom 404 handling in cache-components template (7d29ee8)
  • Remove dev-mode tsconfig path mapping for react in the Pages Router template so monorepo yarn watch samples resolve @types/react and npm run build no longer fails with missing React declaration files. (0c9c855)
  • Scope Tailwind v4 source scanning to app src in App Router templates so monorepo yarn watch samples do not hang or fail on globals.css when 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)

Don't miss a new content-sdk release

NewReleases is sending notifications on new releases.