- What's new
What's new in Content SDK 2.5
Content SDK for Next.js 2.5 introduces Schema.org and JSON-LD rendering and a CLI command for listing experimental features. It also includes improvements to component rendering, media URL rewriting, proxies, and Pages Router builds.
To update your existing Content SDK 2.4 application to 2.5:
-
In your existing application's
package.jsonfile, update the following:You must also update the following package to the version specified:
Package
Version
@sitecore-content-sdk/cli^2.4.0NoteContent SDK packages use independent versioning. Not all packages have the same version number.
-
Install the dependencies with the following command:
-
If your app relies on Sitecore stylesheet links, configure
NEXT_PUBLIC_SITECORE_EDGE_CONTEXT_ID. Stylesheet URLs now use the public client context ID rather than the server context ID.
Review the Content SDK release page for a complete list of changes for version 2.5.