Sitecore Content SDK 2.5 and Angular 1.1: The Upgrade Details That Matter More Than JSON-LD
Introduction
Sitecore released Content SDK for Next.js 2.5 and Content SDK for Angular 1.1 on October 29, 2026. The headline feature is Schema.org structured data rendered as JSON-LD from SitecoreAI configuration.
That is useful, but it is not the whole story.
The release also includes a few changes that are more likely to affect an existing implementation than the new structured data feature. The public client context ID is now required when generating Sitecore stylesheet links. Existing applications do not automatically receive updated layout integrations just because their npm packages have been upgraded. Next.js also has a meaningful App Router payload improvement that deserves more attention than a generic list of bug fixes.
Angular 1.1 is particularly interesting because it brings several capabilities that Next.js received in the 2.4 release into the Angular SDK: page metadata, Open Graph tags, and llms.txt.
This article focuses on those practical details: what changed, what is shared between the frameworks, and what to check before upgrading.
The headline: JSON-LD is now part of the Sitecore content flow
Both SDKs can now render Schema.org structured data configured in SitecoreAI.
The important architectural detail is where the data comes from. The Layout Service can return structured schema nodes in:
page.layout.sitecore.context.schemas
Each node contains its own @context and @type. The SDK renders the configured schema data into a JSON-LD script, so developers no longer need to write a separate renderer and handle serialization and escaping for the standard integration.
For Next.js, the SDK provides the JsonLdSchema component. The updated starter templates include it through the SitecoreHead component.
For Angular, the SDK adds JsonLdSchemaService and the <sc-json-ld-schema [page]> component. The Angular starter template includes it in the layout.
This is a good example of Sitecore moving more of the experience configuration into the platform while keeping the front-end integration relatively small.
The detail that is easy to miss: existing apps need the integration
Updating the package does not rewrite the files that were generated when an application was first scaffolded.
A Next.js application created before 2.5 may have the new JsonLdSchema export available after the package update, but its layout will not magically start rendering it. The developer still needs to add the component to the layout or adopt the updated SitecoreHead structure.
The same general rule applies to Angular applications. Review the existing layout rather than assuming that a dependency update has brought every starter-template change into the application.
For Next.js, the basic integration looks like this:
import { JsonLdSchema } from '@sitecore-content-sdk/nextjs';
const Layout = ({ page }: LayoutProps): JSX.Element => {
return (
<>
<JsonLdSchema page={page} />
{/* The rest of the application layout */}
</>
);
};
Render it once per page. If the application’s SitecoreHead already renders the component, do not add a second instance.
There is another useful safeguard: the SDK does not render the structured data when the page is in an editing or preview mode. It only emits JSON-LD in normal mode. This avoids injecting structured data around unpublished content and editing chrome.
The practical takeaway is simple: upgrading the package and adopting the new integration are two separate tasks.
The upgrade detail that can break stylesheet rendering
This is probably the most important thing to check before deploying either SDK update.
The client context ID is now required when getHeadLinks() generates Sitecore stylesheet links. The stylesheet URLs use the public client context ID rather than the server context ID.
The required environment variable depends on the framework:
| Framework | Environment variable |
|---|---|
| Next.js | NEXT_PUBLIC_SITECORE_EDGE_CONTEXT_ID |
| Angular | CSDK_PUBLIC_SITECORE_EDGE_CONTEXT_ID |
If the application uses a scoped client context ID, it must include access to at least the Files resource.
This is easy to miss because the package update can install successfully while the environment configuration remains unchanged. The failure may only become obvious when Sitecore stylesheet links are missing in a particular environment.
Check the variable in every deployment target, not just production:
- Local development
- Development and integration environments
- QA or staging
- Preview deployments
- Production
Also check the scope of the context ID. A value can be present and still be insufficient if it does not include the Files resource.
This is not a new styling feature. It is a configuration requirement introduced as part of the security-related changes around stylesheet link generation. Treat it as an upgrade checklist item.
Angular 1.1: the bigger story is capability alignment
Angular 1.1 is more than a patch release. It adds several capabilities that make the Angular SDK a more complete option for teams building SitecoreAI front ends.
The key additions are:
- Schema.org and JSON-LD rendering
- Page titles and metadata generated from Sitecore fields
- Open Graph metadata
llms.txtsupport- A CLI command to list available experimental features
- Fixes for editing layouts and shared client functionality
The metadata support is worth calling out. Angular adds PageMetadataService and the <sc-page-meta-tags [route]> component. The component uses Angular’s Title and Meta services to set the page title, metadata, and Open Graph tags.
The SDK supports the initial server-side render and updates metadata during client-side navigation. That matters for applications where users move between routes without a full page reload. Metadata needs to follow the active route, not remain stuck on the first page the browser loaded.
The Angular starter template includes the metadata and JSON-LD components in its layout, and the route fields extend the page metadata fields.
Angular also gets llms.txt
Angular 1.1 adds support for serving site-specific llms.txt content managed through SitecoreAI.
The implementation adds:
createLlmsTxtMiddleware({ client, sites })
This creates an Express handler that resolves the site using the request host and serves the configured content at:
/llms.txt
The Angular template mounts the middleware at that route.
This is useful because teams can manage the content through SitecoreAI rather than maintaining a separate static file in the front-end repository.
It is worth keeping expectations realistic. llms.txt provides a curated overview intended for AI tools. It does not guarantee that an AI system will crawl the file, use it, or cite the site. The value is having a maintained, discoverable resource that can describe the site’s content and priorities.
Next.js already received llms.txt support in Content SDK 2.4, so the Angular addition helps bring the two framework experiences closer together.
The Next.js improvement that deserves more attention: smaller App Router payloads
The 2.5 release includes an implementation change in the App Router placeholder that reduces the amount of layout data serialized into the React Server Component payload.
Previously, each rendering was passed as a complete ComponentRendering object to a client-side error boundary. That object could contain the resolved datasource, fields, and nested placeholder data.
The error boundary only needed the component name and rendering UID. Passing the entire object therefore sent more data to the browser than the boundary actually used.
The SDK now narrows the data passed to the error boundary to those required values.
The release notes give a useful example: on a Sitecore-driven homepage with a shared header and footer, the change removed 67 KB per prerendered page, or 13% of the stored HTML and .rsc artifacts, while keeping the rendered output byte-identical.
That is a meaningful improvement, but it should be interpreted correctly. The 67 KB and 13% figures are from the example in the release notes, not a guaranteed reduction for every application.
The broader lesson is more important: server components do not automatically prevent data from reaching the browser. Anything passed across a client component boundary can become part of the serialized payload. Keep the props passed to client components as small as their actual responsibilities allow.
For teams with large layout data, shared navigation, and nested placeholders, this is worth measuring after upgrading.
Other Next.js 2.5 changes worth knowing
There are several smaller changes that are useful in real projects.
Better locale-aware redirect matching
The App Router redirect proxy now removes the request locale before matching redirect rules.
A rule such as:
^/page$
can match both:
/page
/en/page
/da/page
even when the locale is not explicitly listed in the redirect configuration. Locale values captured from a redirect expression also retain their configured casing.
This should reduce the number of special redirect rules needed for multilingual sites.
More predictable site resolution
The MultisiteProxy behavior has been tightened for normal App Router requests. The unprefixed site query parameter is now used for site resolution only in draft-mode requests.
For normal requests, use the supported sc_site parameter if you need to force a site through the query string. This prevents unrelated third-party requests containing ?site=... from changing site resolution or overwriting the sc_site cookie.
It is a small change, but it is worth checking custom links and integrations that may have used the shorter parameter.
Media URL rewriting reaches component data
The shared client now applies rewriteMediaUrls to results returned by SitecoreClient.getData.
This is useful for implementations using custom Experience Edge hostnames. Media URLs returned inside component GraphQL data can now be rewritten consistently, rather than relying only on page-level data handling.
Cache tags for publish-driven revalidation
The SDK exposes buildSitecoreItemCacheTag, which can be used when caching GraphQL responses associated with a Sitecore item and revalidating them when that item is published.
This is a useful building block for applications implementing their own caching strategy. It does not automatically configure every cache or revalidation path, but it gives developers a shared helper for generating the item cache tag.
A shared direction across Next.js and Angular
One of the less visible architectural changes is that resolvePageMetadataFields, along with its related types, has moved into:
@sitecore-content-sdk/content/layout
The Next.js package continues to re-export PageMetadataRouteFields for compatibility, but the shared location makes the metadata field resolution logic available to both frameworks.
That is a small but important step. As the Angular SDK matures, common behavior should live in shared packages rather than being independently implemented for each framework.
It also gives teams with both Angular and Next.js applications a more consistent way to think about page metadata and structured data configuration.
The two SDKs are not identical in every feature or implementation detail, but the direction is clear: Sitecore is building a shared content integration layer with framework-specific rendering components.
The new experimental feature command
Both framework packages also support a CLI command for listing experimental features:
sitecore-tools project experimental list
The command reads the installed framework package and reports the experimental features available to the application, including whether each feature is enabled and which environment variable controls it.
This is useful for teams that have multiple environments or developers working on the same application. Instead of relying on tribal knowledge or searching through configuration files, developers can inspect the feature catalog from the project.
One important distinction: the command lists and reports feature status. It does not mean every experimental feature is enabled by default.
Upgrade checklist
The package versions are independently managed, so do not assume every Content SDK package should use the same version number.
For a Next.js application upgrading from 2.4, Sitecore documents these package updates:
{
"@sitecore-content-sdk/nextjs": "^2.5.0",
"@sitecore-content-sdk/cli": "^2.4.0"
}
For an Angular application upgrading from 1.0:
{
"@sitecore-content-sdk/angular": "^1.1.0",
"@sitecore-content-sdk/cli": "^2.4.0"
}
Then install the dependencies:
npm install
Before deploying, work through this short checklist:
- Set the public client context ID. Configure the correct environment variable for the framework in every environment.
- Check scoped permissions. Confirm that a scoped context ID includes access to the Files resource.
- Review the application layout. Add the JSON-LD integration if the existing application was scaffolded before these changes.
- Review metadata behavior. For Angular, verify page titles and Open Graph tags on both initial server rendering and client-side route changes.
- Check
llms.txt. For Angular, verify that the middleware serves the expected site-specific content at/llms.txt. - Inspect App Router payloads. If the application uses Next.js App Router, compare the generated HTML and RSC payload sizes before and after the update.
- Review custom redirects and site links. Check locale-prefixed redirects and replace unsupported normal-mode uses of the
sitequery parameter withsc_site. - Check media URLs. Test components that use
SitecoreClient.getDatawith custom Experience Edge hostnames. - Inspect experimental features. Run the new CLI command and confirm that feature flags match the intended environment configuration.
Conclusion
Content SDK 2.5 and Angular 1.1 are not just about adding JSON-LD.
The structured data integration is useful because SitecoreAI can provide the schema configuration and the SDK can render it without every team maintaining its own serialization code. Angular 1.1 also closes some practical gaps with Next.js by adding metadata, Open Graph, and llms.txt support.
But the details most likely to affect an upgrade are less visible:
- Existing application layouts need to adopt the new integrations.
- Stylesheet link generation now depends on a public client context ID with the right permissions.
- Next.js reduces unnecessary data in App Router payloads by narrowing what crosses a client boundary.
- Shared metadata logic is moving into framework-neutral packages.
For existing projects, the best reason to upgrade is not a single headline feature. It is the combination of better platform integration, a more consistent framework story, and a handful of changes that make applications easier to operate and optimize.
Just make sure the environment configuration and generated application files are reviewed as part of the upgrade. Those are the details most likely to be missed when teams focus only on the release headline.