github Sitecore/content-sdk @sitecore-content-sdk/angular@1.0.0

Major Changes

  • Use CSDK_PUBLIC_DEFAULT_SITE_NAME variable instead of CSDK_PUBLIC_SITECORE_DEFAULT_SITE, aligning names across frameworks (ccaa42f)
    • When upgrading from your pre-release Angular app, please ensure you use CSDK_PUBLIC_DEFAULT_SITE_NAME and CSDK_PUBLIC_DEFAULT_LANGUAGE across your deployments
    • Check the updated env.example in the latest available Angular sample for the up-to-date list of available environnment variables

Minor Changes

  • Pass the page language to Sitecore Forms to support new multilingual form versions. (fa0496c)

  • Design Studio support: (b43b89c)

    • Adds a design-library component
    • Adds library and library-medatada modes support - preview existing and codegenerated components.
    • Implementation hangs on import-map (generated at build time) and a component factory to render components at runtime.
    • DESIGN_LIBRARY_IMPORT_MAP injections token provides a Promise to lazy load import map. DESIGN_LIBRARY_COMPONENT_FACTORY injection token provides the factory and allows overriding it.
  • [experimental] Add experimental features visibility API shared across frameworks. Types/utils live in @sitecore-content-sdk/content; each framework package owns its experimental.json catalog. Next.js and Angular expose editing-secret protected endpoints, wired in all Next.js templates and the Angular server. (b4fad5b)

  • Code extraction support for Angular CSDK (23c9158)

  • [Design Studio] Import map generation (1f90cbe)

  • minor @sitecore-content-sdk/content dependency update:

    • Pass the page language to Sitecore Forms to support new multilingual form versions. (fa0496c)
    • Add metadata and Open Graph tags to the NextJs scaffolding templates (914f94a)
    • [experimental] Add a global env switch for experimental features.

    Experimental feature status now treats the app-level CSDK_GLOBAL_EXPERIMENTAL_FEATURES_ENABLED as a global enable switch. When the global switch is off, feature status falls back to individual feature env vars. The shared experimental helpers expose the global env var constant (CSDK_GLOBAL_EXPERIMENTAL_FEATURES_FLAG) and helper, and starter env examples document how to enable experimental features during development. (c9c8d1c)

    • [experimental] Add experimental features visibility API shared across frameworks. Types/utils live in @sitecore-content-sdk/content; each framework package owns its experimental.json catalog. Next.js and Angular expose editing-secret protected endpoints, wired in all Next.js templates and the Angular server. (b4fad5b)

    • Treat Layout Service isContentResolved as datasource validity in withDatasourceCheck()

    • ComponentRendering now includes optional isContentResolved from the layout rendered JSON

    • When isContentResolved is false, withDatasourceCheck() uses the existing missing-datasource fallback

    • When the property is omitted or true, existing behavior is unchanged (afdfd19)

      • Use CSDK_PUBLIC_DEFAULT_SITE_NAME variable instead of CSDK_PUBLIC_SITECORE_DEFAULT_SITE, aligning names across frameworks
      • When upgrading from your pre-release Angular app, please ensure you use CSDK_PUBLIC_DEFAULT_SITE_NAME and CSDK_PUBLIC_DEFAULT_LANGUAGE across your deployments
      • Check the updated env.example in the latest available Angular sample for the up-to-date list of available environnment variables (ccaa42f)
      • Add support of llms txt for all next apps through api routes. (d2b0a9f)

Patch Changes

  • [experimental] Add a global env switch for experimental features. (c9c8d1c)

    Experimental feature status now treats the app-level CSDK_GLOBAL_EXPERIMENTAL_FEATURES_ENABLED as a global enable switch. When the global switch is off, feature status falls back to individual feature env vars. The shared experimental helpers expose the global env var constant (CSDK_GLOBAL_EXPERIMENTAL_FEATURES_FLAG) and helper, and starter env examples document how to enable experimental features during development.

  • Apply pascalCase transformation for component map entries at framework level (8eb01ef)

  • [bug] Fix unicode path routing producing 404 (fbd07f4)

Don't miss a new content-sdk release

NewReleases is sending notifications on new releases.