FrameworksOfficial

json-render 0.23.2 lets hosts clean up a posted partial card after final validation fails

json-render released 0.23.2 on November 19. Chat SDK streamCard can post once a root element is usable and keep editing while the spec streams. If the final spec fails validation, CardSpecError now carries the posted message as postedMessage, allowing callers to edit, replace, or remove the partial card left in Slack, Teams, or another chat surface. This revision joins the 0.23 line's SwiftUI renderer, cross-framework replay fixes, and complexity budgets.

Why it matters

Streaming generative UI can become visible before final validation. Throwing an error without a handle to the message already sent leaves an invalid or incomplete card in the collaboration surface. Returning the recoverable object at the error boundary lets a host translate final-state failure into visible cleanup, replacement, or fallback behavior.

A closer look

postedMessage is present only when streamCard successfully posted a card and final-spec validation then failed. It remains undefined when nothing was posted or when toCard fails outside streamCard. Other failures, including a text-stream exception or rejected post or edit, propagate as the original object. Project tests cover posted, not-posted, and pass-through paths. Earlier 0.23 releases added JSONRenderCore and native JSONRenderSwiftUI, React comparison fixtures, deep-copy replay across React, Vue, Solid, Svelte, and Devtools, unfinished spec-fence reset, and bounds on duplicate Swift child IDs, validation issue counts, and diagnostic bytes.

Who this is for

Frontend and agent-platform teams using json-render Chat SDK for Slack, Teams, or other collaboration surfaces and maintaining streamed cards, failure recovery, SwiftUI, or cross-framework replay.

Original sources

Revisions & corrections (2)

— Official 0.23.2 release adds a verified recovery handle for partial cards after final-spec validation failure; merge preserves the 0.23 event history.

— Two adjacent official versions form one evidence-complete event: native SwiftUI support and conformance fixtures ship together with replay, parser, and complexity-boundary fixes.

Related events

Frameworks

AI SDK raises the Responses event limit for large generated images, fixing 'images arrived but the request failed'

On November 26, AI SDK added configurable maxEventSize handling and raised the per-event limit used by OpenAI and xAI Responses models from the 64 MiB default to 512 MiB. Because response.completed repeats every output item, several large base64 images could exceed the limit and fail the request after the images had already reached the client.