github Sitecore/content-sdk create-content-sdk-app@2.4.1

Patch Changes

  • Sitecore webhook revalidation no longer invalidates dictionary data for every configured site on (a321794)
    every call — only an actual Dictionary entry update revalidates its own site's dictionary tag.

    createSitecoreRevalidateRouteHandler (Next.js) and createSitecoreRevalidateMiddleware (Angular)
    previously appended a sc:dict:<site>:<locale> tag for every site in sites on every webhook
    call, regardless of what the payload actually changed. Because dictionary data is shared across
    nearly every page, this meant any unrelated content update - or even a call with no dictionary
    changes at all - revalidated every page for that site and locale, defeating the benefit of
    targeted, on-demand revalidation.

  • sc:item tags no longer carry a version segment (sc:item:<id>:<locale>), so cache writes and (9d6168b)
    webhook revalidation always agree.
    Item cache tags could previously include a specific published version (sc:item:<id>:<locale>:v<N>)
    when the layout response reported itemVersion, but webhook-driven revalidation always targets
    sc:item:<id>:<locale>:latest. The mismatch meant those page cache entries were silently unreachable by revalidateTag and only went stale on cache TTL expiry.

Don't miss a new content-sdk release

NewReleases is sending notifications on new releases.