v0.23.2
Bug Fixes
- Chat stream errors: The
CardSpecErrorthrown bystreamCardfor an invalid final spec now carries the posted message aspostedMessage, so callers can edit or remove the partial card (#483)
Contributors
- @Railly
- @sachinmour
Folge Json Render, um die Release Notes in deinen Feed zu holen.
CardSpecError thrown by streamCard for an invalid final spec now carries the posted message as postedMessage, so callers can edit or remove the partial card (#483)specTooComplex issue that keeps its severity, so a spec whose only dropped issues were warnings stays valid (#477)JSONRender by URL from 0.23.1 on, with the JSONRenderCore, JSONRenderSwiftUI, and JSONRenderCatalog products. The nested package at swift/JSONRender remains for local checkouts (#478)JSONRender Swift package with a JSONRenderCore model for specs, streaming, state, expressions, actions, visibility, and validation, a JSONRenderSwiftUI renderer with built-in views, a native catalog, and macOS and streaming example apps. Conformance fixtures compare the Swift render tree with the React renderer, and CI builds and tests the package (#470)min and max, using the same parser and rules as the numeric check (#429)getPageData from createNextApp and to move NextAppProvider into a client layout (#428)@json-render/chat to render specs as Chat SDK cards, so one catalog posts natively on Slack, Teams, and the other Chat SDK platforms. streamCard streams a card into a thread and edits it as elements arrive, and toCard validates specs against per-component schemas and optional platform limits. State expressions, visible, and repeat resolve against spec.state (#451)json-render-shadcn to avoid replacing the official shadcn skill (#417)useJsonRenderMessage (#416)__proto__ as an own property when serializing props (#407)process.env.NODE_ENV so devtools stay disabled without a browser process global (#408)Behebt Fehler bei gepunkteten Formularwerten, numerischer Validierung und Schema-Typinferenz; die Dokumentationsseite wurde zu Geistdocs migriert und die native WebMCP-Suche aktualisiert.
"123abc", empty strings, and whitespace-only strings instead of accepting them as numbers (#389)s.any() fields as any, matching z.any(), so validated specs remain assignable to Spec without casts (#390)Json Render v0.21.0 bringt mit @json-render/tanstack-start einen TanStack-Start-Renderer für JSON-definierte Anwendungen (Routen, Layouts, SSR-Loader, Prerendering), experimentelle Jev-Komposition, Named Slots für Vue-Registries sowie stabilere gestreamte React-Renders.
@json-render/tanstack-start for JSON-defined applications with file-based routes, reusable layouts, SSR loaders, head metadata, prerender paths, client navigation, and route fallbacks (#334)experimental_composeSpec and experimental_createEvaluator to compose validated specs from app-owned candidates, plus a Jev model option and iterative composition editing in the playgroundchildren slot (#323)Json Render v0.20.0 führt Named Slots für React-Komponenten, verschachtelte Repeats über item-relative Pfade in repeat.statePath und ein Harness-Chat-Beispiel ein und behebt Fehler bei verketteten Action-Parametern, optionaler Sichtbarkeit und Spec-Validierung.
header and footer, while children remains the default slot. Slots are preserved through validation, streaming, nested conversion, code export, playground views, and Devtools navigation (#320). Built from the original contribution by @wotnak in #105repeat.statePath now accepts item-relative paths such as { "$item": "employees" }, enabling nested data rendering across React, React Native, React Email, React PDF, Image, Ink, Solid, Svelte, and Vue (#319). Built from the original contribution by @tmchow in #256onSuccess and onError actions now receive their configured params across core and all renderer bridges (#307)visible fields now remain optional across Zod 4 versions, while prompts explicitly require children arrays for every element (#299)Neue Custom-Directives-API und das Paket @json-render/directives mit sieben vorgefertigten Directives wie $format, $math und $concat sind verfügbar.
@json-render/core now supports custom directives via defineDirective, letting you declare new JSON shapes (like $format, $math) that resolve to computed values at render time. Directives compose naturally — nest $format over $math over $state and they resolve inside-out. All four renderers (React, Vue, Svelte, Solid) have built-in directive resolution (#279)@json-render/directives — New package shipping seven ready-made directives: $format (date, currency, number, percent via Intl), $math (add, subtract, multiply, divide, mod, min, max, round, floor, ceil, abs), $concat, $count, $truncate, $pluralize, and $join. Also exports createI18nDirective for $t translation keys with {{param}} interpolation, and standardDirectives for one-line registration (#279)Fünf neue Devtools-Pakete ermöglichen die Inspektion von json-render-Apps im Browser inklusive DOM-Picker und Event-Store.
@json-render/devtools (framework-agnostic core), plus @json-render/devtools-react, @json-render/devtools-vue, @json-render/devtools-svelte, and @json-render/devtools-solid adapters. Drop <JsonRenderDevtools /> into your app to get a shadow-DOM-isolated panel with six tabs (Spec, State, Actions, Stream, Catalog, Pick), a DOM picker that maps clicked elements back to spec keys via data-jr-key, a capped event store, and server-side stream tap utilities. Floating toggle or Cmd/Ctrl + Shift + J, tree-shakes to null in production (#273)examples/devtools Next.js demo showing the full devtools panel wired up to an AI chat endpoint and a component catalog (#273)@json-render/core now exposes an action observer and a devtools enablement flag that adapters use to mirror actions and stream events into the panel (#273)formatZodType now correctly handles z.record(), z.default(), and z.literal() types from Zod 4, which previously produced incorrect or empty output in generated prompts and schemas (#239)formatZodType covering record, default, and literal types to guard against regressions (#272)Neue GaussianSplat-Komponente für react-three-fiber sowie zwei Beispiel-Apps für Gaussian Splatting mit und ohne Three.js.
GaussianSplat component to @json-render/react-three-fiber, bringing the component count to 20. Composable with all existing R3F components (lights, controls, post-processing) via drei's Splat loader (#259)Der Veröffentlichungsprozess wurde von Changesets auf einen manuellen Single-PR-Workflow mit automatischer npm-Veröffentlichung umgestellt.
Abhängigkeiten auf @json-render/core@0.16.0 aktualisiert.
Abhängigkeiten auf @json-render/core@0.16.0 aktualisiert.
Abhängigkeiten auf @json-render/core@0.16.0 aktualisiert.
Abhängigkeiten auf @json-render/core@0.16.0 aktualisiert.
Abhängigkeiten auf @json-render/core@0.16.0 aktualisiert.
Abhängigkeiten auf @json-render/core@0.16.0 aktualisiert.