Patch Changes
-
Fixed
next dev --webpack/next build --webpackfailing withUnhandledSchemeErrorfor (153a804)
node:eventswhen the generated.sitecore/import-map.tsimportedcombineImportEntries.content/toolsstays the browser-safe entry for that helper. Pure component-map helpers now live
apart fromglob, and the Node-onlyprepareComponentsForMap/buildComponentMapContent
helpers (which depend onpath) are exported fromcontent/node-tools. -
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) andcreateSitecoreRevalidateMiddleware(Angular)
previously appended asc:dict:<site>:<locale>tag for every site insiteson 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:itemtags 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 reporteditemVersion, but webhook-driven revalidation always targets
sc:item:<id>:<locale>:latest. The mismatch meant those page cache entries were silently unreachable byrevalidateTagand only went stale on cache TTL expiry. -
sc:itemtags now always use hyphenated lowercase GUIDs (sc:item:<hyphenated-id>:<locale>:latest), so cache writes and webhook revalidation always agree. (fae7cb9)Experience Edge publish payloads send unhyphenated item IDs (
xxxxxxxxx). Cached pages already tag content with hyphenated lowercase GUIDs (sc:item:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx:...). Because Next.js / loader cache tags are compared as exact strings, those invalidation tags missed and published updates could stay stale.