spiceflow@1.26.0-rsc.14
-
Federation streaming payloads now support client components — streaming payloads (async generators) discover client references mid-render and announce them via incremental
modulesSSE events, always emitted before the flight chunk that references them. PreviouslyencodeFederationPayload({ stream })only supported server-rendered JSX; now streamed content can mix server and interactive client components. -
Federation consumer error resilience — a chunk that fails to load only breaks its own component instead of crashing the host page.
RemoteIslandwraps decoded trees in an error boundary that falls back to the static SSR HTML. The require patch now resolves host-first and memoizes per id so React's two-phase preload/require always sees the same promise instance. -
Fix import map injection for pages without
<html><head>shell — pages rendered by custom entries (dashboard, auth pages) that return<div>or<main>without an<html><head>wrapper never received the import map, causing client chunks to crash with "Failed to resolve module specifier". Now uses React 19.2's nativeimportMapoption which emits the map in the preamble regardless of the component tree structure. -
Fix federation module fallback for entry-only deps — modules whose code only lives in entry/framework chunks are now announced with an empty chunk list plus a server-side error instead of being silently dropped.