Minor Changes
- [Angular] Transform sample to minimal template and add LLM helper files (0c4a8c7)
Patch Changes
-
Resolve FEaaS/BYOC stylesheet links against the configured Edge URL (framework-wide). App Router only: drop
precedence="high"so styles apply instead of preload. (16e405f) -
Add metadata and Open Graph tags to the NextJs scaffolding templates (914f94a)
-
[experimental] Add a global env switch for experimental features. (c9c8d1c)
Experimental feature status now treats the app-level
CSDK_GLOBAL_EXPERIMENTAL_FEATURES_ENABLEDas 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. -
[experimental] Add experimental features visibility API shared across frameworks. Types/utils live in
@sitecore-content-sdk/content; each framework package owns itsexperimental.jsoncatalog. Next.js and Angular expose editing-secret protected endpoints, wired in all Next.js templates and the Angular server. (b4fad5b) -
Add support of llms txt for all next apps through api routes. (d2b0a9f)
-
[Angular] Use import-map generation (1f90cbe)
-
[Angular] Add healthz endpoint to default sample (ccaa42f)
-
major
@sitecore-content-sdk/angulardependency update:- 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_NAMEandCSDK_PUBLIC_DEFAULT_LANGUAGEacross your deployments - Check the updated
env.examplein the latest available Angular sample for the up-to-date list of available environnment variables (ccaa42f)
-
minor
@sitecore-content-sdk/angulardependency update:- Pass the page language to Sitecore Forms to support new multilingual form versions. (fa0496c)
- Design Studio support:
- Adds a
design-librarycomponent - Adds
libraryandlibrary-medatadamodes 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_MAPinjections token provides a Promise to lazy load import map.DESIGN_LIBRARY_COMPONENT_FACTORYinjection token provides the factory and allows overriding it. (b43b89c)- [experimental] Add experimental features visibility API shared across frameworks. Types/utils live in
@sitecore-content-sdk/content; each framework package owns itsexperimental.jsoncatalog. 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/contentdependency 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_ENABLEDas 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 itsexperimental.jsoncatalog. Next.js and Angular expose editing-secret protected endpoints, wired in all Next.js templates and the Angular server. (b4fad5b) -
Treat Layout Service
isContentResolvedas datasource validity inwithDatasourceCheck() -
ComponentRenderingnow includes optionalisContentResolvedfrom the layoutrenderedJSON -
When
isContentResolvedisfalse,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_NAMEandCSDK_PUBLIC_DEFAULT_LANGUAGEacross your deployments - Check the updated
env.examplein 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)
-
minor
@sitecore-content-sdk/nextjsdependency update:- 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_ENABLEDas 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 itsexperimental.jsoncatalog. Next.js and Angular expose editing-secret protected endpoints, wired in all Next.js templates and the Angular server. (b4fad5b) - Add support of llms txt for all next apps through api routes. (d2b0a9f)
-
minor
@sitecore-content-sdk/reactdependency 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)
-
Treat Layout Service
isContentResolvedas datasource validity inwithDatasourceCheck() -
ComponentRenderingnow includes optionalisContentResolvedfrom the layoutrenderedJSON -
When
isContentResolvedisfalse,withDatasourceCheck()uses the existing missing-datasource fallback -
When the property is omitted or
true, existing behavior is unchanged (afdfd19)- Add More Like This (MLT) query support to SearchService and React search hooks
-
New public
SearchQuerytype models the/v1/searchquery payload (keyphrase,seedItemId,seedItemUrl) -
SearchParametersnow accepts optional mutually exclusiveseedItemIdandseedItemUrlfields for MLT widget queries -
SearchService.search()validates that only one ofkeyphrase,seedItemId, orseedItemUrlis provided -
Seed fields are sent only to
/v1/search;/v1/search/suggestcontinues to acceptkeyphraseonly -
MLT responses map to the existing
results/total/facetsshape -
useSearchanduseInfiniteSearchacceptseedItemIdandseedItemUrl(b0823f3)- Add
useSuggestReact hook for/v1/search/suggesttypeahead
- Add
-
Accepts
searchIndexId,query(mapped tokeyphrase), optionallocale,enabled, andkeepPreviousData -
Returns
querySuggestions,previewResults, and the same loading/error flags asuseSearch -
Does not send a request when
queryis empty or whitespace only (b0823f3)
-
-
minor
@sitecore-content-sdk/searchdependency update:-
Add More Like This (MLT) query support to SearchService and React search hooks
-
New public
SearchQuerytype models the/v1/searchquery payload (keyphrase,seedItemId,seedItemUrl) -
SearchParametersnow accepts optional mutually exclusiveseedItemIdandseedItemUrlfields for MLT widget queries -
SearchService.search()validates that only one ofkeyphrase,seedItemId, orseedItemUrlis provided -
Seed fields are sent only to
/v1/search;/v1/search/suggestcontinues to acceptkeyphraseonly -
MLT responses map to the existing
results/total/facetsshape -
useSearchanduseInfiniteSearchacceptseedItemIdandseedItemUrl(b0823f3)- Add typeahead suggest support to
SearchService
- Add typeahead suggest support to
-
New
SearchService.suggest()method callingPOST {edgeUrl}/v1/search/suggest -
Accepts
searchIndexId, required non-emptykeyphrase, and optionallocale -
Returns wire-shaped
querySuggestionsandpreviewResults -
New public types:
SuggestParameters,SuggestResponse,QuerySuggestionItem(b0823f3)
-