Patch Changes
-
[angular] llms.txt Support (c7801c3)
Added
createLlmsTxtMiddleware({ client, sites }), an Express handler serving the llms.txt content managed via SitecoreAI for the site resolved by host name. The Angular template mounts it at/llms.txt. -
[angular] Metadata, Open Graph and Schema.org & JSON-LD Support (c7801c3)
@sitecore-content-sdk/content:resolvePageMetadataFields(withPageMetadataRouteFields/ResolvedPageMetadataFields) moved from@sitecore-content-sdk/nextjsto@sitecore-content-sdk/content/layout, so every framework shares the same field-to-tag rules.@sitecore-content-sdk/nextjskeeps re-exportingPageMetadataRouteFields.@sitecore-content-sdk/angular: addedPageMetadataService+<sc-page-meta-tags [route]>(<title>, metadata and Open Graph<meta>tags via Angular'sTitle/Metaservices) andJsonLdSchemaService+<sc-json-ld-schema [page]>(a single<script type="application/ld+json">in<head>, normal mode only). Re-exported thePageMetadataFields,MetadataFields,OpenGraphFields,OpenGraphImageField(Value)andPageMetadataRouteFieldstypes.- Angular template:
LayoutComponentrenders both components;RouteFieldsextendsPageMetadataFields.
-
Schema.org & JSON-LD Support (b858df1)
-
Enable Turbopack support for the component props loader in the Next.js Pages Router template, so
getComponentServerPropsis stripped from client bundles. Also fix the loader's package export path and make the webpack rule work on all platforms. (f0d8e2f) -
[nextjs] Cache Components template: the
getSitecorePage,getSitecoreErrorPageandgetSitecoreDictionarycache helpers now callcacheLife('default')explicitly, as Next.js recommends for everyuse cachescope. Behavior is unchanged (defaultis the implicit profile), but the cache lifetime is now visible at the call site. Change the profile there to tune how long Sitecore content stays cached. (ee7d15f) -
Fix
403 Forbiddenforpublicfolder static files (e.g..svg,.woff2) in Pages Builder editing mode.PreviewProxynow skips known static asset extensions, and the templateproxy.tsmatcher excludes them. (39e7906) -
Add
@sitecore-content-sdk/personalizeto the Next.js Pages Router template dependencies. Yarn does not install missing peers, so a Pages Router app built with Yarn could not resolve the package and omitted it from.sitecore/metadata.json. (16c65a2) -
minor
@sitecore-content-sdk/angulardependency update:- [angular] llms.txt Support
Added
createLlmsTxtMiddleware({ client, sites }), an Express handler serving the llms.txt content managed via SitecoreAI for the site resolved by host name. The Angular template mounts it at/llms.txt. (c7801c3)-
[angular] Metadata, Open Graph and Schema.org & JSON-LD Support
-
@sitecore-content-sdk/content:resolvePageMetadataFields(withPageMetadataRouteFields/ResolvedPageMetadataFields) moved from@sitecore-content-sdk/nextjsto@sitecore-content-sdk/content/layout, so every framework shares the same field-to-tag rules.@sitecore-content-sdk/nextjskeeps re-exportingPageMetadataRouteFields. -
@sitecore-content-sdk/angular: addedPageMetadataService+<sc-page-meta-tags [route]>(<title>, metadata and Open Graph<meta>tags via Angular'sTitle/Metaservices) andJsonLdSchemaService+<sc-json-ld-schema [page]>(a single<script type="application/ld+json">in<head>, normal mode only). Re-exported thePageMetadataFields,MetadataFields,OpenGraphFields,OpenGraphImageField(Value)andPageMetadataRouteFieldstypes. -
Angular template:
LayoutComponentrenders both components;RouteFieldsextendsPageMetadataFields. (c7801c3)- Add
sitecore-tools project experimental listto show the experimental features available in the current Content SDK app.
The command reads the app's framework package (@sitecore-content-sdk/nextjsor@sitecore-content-sdk/angular) and prints each feature with its enabled status. Framework packages now exportexperimentalFeaturesCatalogfrom their/experimentalentry. (e1d0156)
- Add
-
minor
@sitecore-content-sdk/clidependency update:- Add
sitecore-tools project experimental listto show the experimental features available in the current Content SDK app.
The command reads the app's framework package (@sitecore-content-sdk/nextjsor@sitecore-content-sdk/angular) and prints each feature with its enabled status. Framework packages now exportexperimentalFeaturesCatalogfrom their/experimentalentry. (e1d0156)
- Add
-
minor
@sitecore-content-sdk/contentdependency update:-
[angular] Metadata, Open Graph and Schema.org & JSON-LD Support
-
@sitecore-content-sdk/content:resolvePageMetadataFields(withPageMetadataRouteFields/ResolvedPageMetadataFields) moved from@sitecore-content-sdk/nextjsto@sitecore-content-sdk/content/layout, so every framework shares the same field-to-tag rules.@sitecore-content-sdk/nextjskeeps re-exportingPageMetadataRouteFields. -
@sitecore-content-sdk/angular: addedPageMetadataService+<sc-page-meta-tags [route]>(<title>, metadata and Open Graph<meta>tags via Angular'sTitle/Metaservices) andJsonLdSchemaService+<sc-json-ld-schema [page]>(a single<script type="application/ld+json">in<head>, normal mode only). Re-exported thePageMetadataFields,MetadataFields,OpenGraphFields,OpenGraphImageField(Value)andPageMetadataRouteFieldstypes. -
Angular template:
LayoutComponentrenders both components;RouteFieldsextendsPageMetadataFields. (c7801c3)- Avoid throwing errors in scClient calls when context ID in browser is missing.
- Replaces the GraphQL client used by scClient with no-op fallback in browser context, when public content ID is missing, preventing
getPage(),getDictionary()and other GraphQL-bound method from throwing. - Adds a guard into
getHeadLinks()call to return empty results when client context ID is missing, instead of throwing an error. - Client Context ID becomes required for rendering head links. (5184ea7)
-
-
minor
@sitecore-content-sdk/nextjsdependency update:- Add
sitecore-tools project experimental listto show the experimental features available in the current Content SDK app.
The command reads the app's framework package (@sitecore-content-sdk/nextjsor@sitecore-content-sdk/angular) and prints each feature with its enabled status. Framework packages now exportexperimentalFeaturesCatalogfrom their/experimentalentry. (e1d0156) - Schema.org & JSON-LD Support (b858df1)
- Add
-
minor
@sitecore-content-sdk/reactdependency update:- Schema.org & JSON-LD Support (b858df1)