github Sitecore/content-sdk v1.2.0
1.2.0

22 hours ago

๐ŸŽ‰ New Features & Improvements

  • Next.js App Router support (beta):
    • Base template (#191)
    • Robots.txt and Sitemap.xml support (#197)
    • Editing and preview support (#198)
    • Internationalization support (#202) (#214)
    • Client-server component map separation (#230)(#232)(#234)(#235)(#241)
    • Server components for FEAAS and BYOC (#248) (#262)
    • Generic App router compatible placeholder (#258)
    • Mark client components with use client directive. (#226)
  • [core] Introduce scConfig property in sitecore.cli.config (#244):
    • The scConfig property is used to pass the Sitecore configuration to the CLI commands.
    • Build commands now receive arguments (e.g. scConfig) to allow access to the CLI specific configuration settings. Now it's optional to pass scConfig manually to the command constructor.
  • [nextjs] Slim down sample even more (#225)
  • Add LLMs and Copilot instruction files for improved AI guidance (#239)
  • [core] [nextjs] Enable component variants in component-map & also send variants files in code extraction (#245)(#251)
  • [core] Expose getData on SitecoreClient to run raw GraphQL queries. (#249)
  • Add Claude AI guidance files for improved AI development support (#254)
  • Add Windsurf AI rules for improved IDE development support (#255)

๐Ÿ› Bug Fixes

  • [nextjs] Error when rendering Preview when Multisite middleware is disabled (#256)
  • [template/nextjs] [template/next-app-router] Fix imports for SSR/SSG (#229)
  • [template/next-app-router] Unable to render 'preview' without default sitename (#247)
  • [template/next-app-router] Guard static params generation and harden not-found routes for XM Cloud (#242)
  • [template/next-app-router] Prevent CloudSDK re-initialization on client-side navigation (#243)

๐Ÿงน Chores

  • [core] [nextjs] Move Design Library logic from nextjs to core (#236)

Don't miss a new content-sdk release

NewReleases is sending notifications on new releases.