Zum Inhalt springen

Json Render Updates & Release Notes

Einträge
38
Quellen
1
Zuletzt aktualisiert

Folge Json Render, um die Release Notes in deinen Feed zu holen.

Json Render von Vercel Labs

v0.23.1

Bug Fixes

  • Swift render tree limits: Bound the child ids a build holds, so a spec that lists the same child many times with a long state value stops at a limit instead of holding a copy of that value once per child. Bound the issues the validator reports and the message bytes they hold, and end a shortened result with one specTooComplex issue that keeps its severity, so a spec whose only dropped issues were warnings stays valid (#477)

Improvements

  • Swift package installation: Made the repository root a Swift package, so Xcode and SwiftPM can add 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)

Contributors

  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden

Json Render von Vercel Labs

v0.23.0

New Features

  • Swift package and SwiftUI renderer: Added a 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)

Bug Fixes

  • Spec replay: Deep-copy message parts before replaying so repeated replays no longer mutate the parts or duplicate state items and children in React, Vue, Solid, Svelte, and Devtools. Devtools also skips malformed spec parts instead of crashing (#453)
  • Spec fences: Reset unfinished spec fences at text block boundaries so prose after an interrupted fence is no longer dropped by the core and YAML transforms (#426)
  • Code generation: Emit string props as JSX expressions so quotes, backslashes, and newlines survive code export (#427)
  • Email validation: Ignore surrounding whitespace in the email validator, matching the URL and required checks (#430)
  • Numeric validation: Accept numeric strings for min and max, using the same parser and rules as the numeric check (#429)

Documentation

  • Corrected the Next.js quick start to use getPageData from createNextApp and to move NextAppProvider into a client layout (#428)

Contributors

  • @ctate
  • @Railly
  • @lahfir
  • @kevin9327
  • @ken8203 …

Originalquelle(öffnet in neuem Tab)Problem melden

Json Render von Vercel Labs

v0.22.0

New Features

  • Chat SDK renderer: Added @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)
  • Chat SDK example: Added a playground that previews generated messages as Slack renders them, with a Teams Adaptive Card view and a copy button for Block Kit Builder (#451)

Contributors

  • @Railly

Originalquelle(öffnet in neuem Tab)Problem melden

Json Render von Vercel Labs

v0.21.3

Bug Fixes

  • YAML patch state: Keep move and copy operations in sync with later YAML edits, isolate copied and emitted values, and bound copy growth (#411)
  • JSON Pointer paths: Keep path helpers on own properties and dense arrays, ignoring inherited paths and out-of-range array indexes (#411)
  • Repeated stream operations: Apply every SpecStream JSONL line, including repeated append operations (#414)
  • Chat example styling: Correct Tailwind source paths so chat examples include Streamdown and shadcn styles (#415)
  • shadcn skill installation: Rename the skill to json-render-shadcn to avoid replacing the official shadcn skill (#417)

Documentation

  • Correct Solid registry and reactive input examples across guides, API references, and package documentation (#413)
  • Document mixed message part ordering and the aggregation behavior of useJsonRenderMessage (#416)
  • Document published Jev composition APIs with exact-version npm installation instructions (#418)

Contributors

  • @lahfir
  • @dajiaohuang
  • @Jassi2004
  • @xiehuanyi
  • @kevin9327
  • @adhamali450
  • @monsterlag
  • @Bortlesboat

Originalquelle(öffnet in neuem Tab)Problem melden

Json Render von Vercel Labs

v0.21.2

Bug Fixes

  • Code generation: Quote non-identifier object keys and preserve __proto__ as an own property when serializing props (#407)
  • Production devtools: Honor production bundle replacements for process.env.NODE_ENV so devtools stay disabled without a browser process global (#408)
  • PDF repeats: Render repeat containers once, including empty repeats, across server-side PDF output methods (#409)
  • React registry actions: Run actions with a no-op setter when no state setter is available (#410)

Contributors

  • @lahfir
  • @dajiaohuang
  • @Jassi2004
  • @xiehuanyi
  • @peter-cynomi
  • @Yi-111-a

Originalquelle(öffnet in neuem Tab)Problem melden

Json Render von Vercel Labs

Vercel Labs: Json Render v0.21.1

Behebt Fehler bei gepunkteten Formularwerten, numerischer Validierung und Schema-Typinferenz; die Dokumentationsseite wurde zu Geistdocs migriert und die native WebMCP-Suche aktualisiert.

Bug Fixes

  • Dotted form values: Preserve literal emails, URLs, and version strings in form value lookups instead of treating them as missing state paths (#353)
  • Numeric validation: Reject partially numeric strings such as "123abc", empty strings, and whitespace-only strings instead of accepting them as numbers (#389)
  • Schema type inference: Infer s.any() fields as any, matching z.any(), so validated specs remain assignable to Spec without casts (#390)

Documentation

  • Migrated the docs site to Geistdocs while preserving public URLs, page content, and anchors (#340)
  • Updated native WebMCP discovery and search with the Geistdocs MCP adapter (#363)

Contributors

  • @ctate
  • @Railly
  • @fix2015
  • @kevin9327
  • @tmchow

Originalquelle(öffnet in neuem Tab)Problem melden

Json Render von Vercel Labs

Json Render 0.21.0: TanStack-Start-Renderer und Named Slots für Vue

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.

New Features

  • TanStack Start renderer: Added @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 Jev composition: Added experimental_composeSpec and experimental_createEvaluator to compose validated specs from app-owned candidates, plus a Jev model option and iterative composition editing in the playground

Improvements

  • Vue named slots: Vue registries now support catalog-declared named slots alongside the default children slot (#323)
  • React streaming stability: Stabilized streamed React renders and added coverage for incomplete streamed props and nested prop identities (#325)
  • Documentation and project status: Expanded renderer, Jev, and package documentation and added Labs status badges to the project README

Contributors

  • @ctate
  • @Railly

Originalquelle(öffnet in neuem Tab)Problem melden

Json Render von Vercel Labs

Json Render 0.20.0: Named Slots für React und verschachtelte Repeats

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.

New Features

  • Named slots for React: Components can declare named slots such as 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 #105
  • Nested repeats: repeat.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 #256
  • Harness chat example: Added a complete Next.js example using the AI SDK 7 harness adapter, agent delegation, sandbox transport, and json-render components (#302)

Bug Fixes

  • Chained action params: Named onSuccess and onError actions now receive their configured params across core and all renderer bridges (#307)
  • Consistent optional visibility: Element visible fields now remain optional across Zod 4 versions, while prompts explicitly require children arrays for every element (#299)
  • Spec validation and autofix: Dangling child references are pruned, malformed visibility conditions are reported, and repeated items can be filtered safely (#300)

Improvements …

Originalquelle(öffnet in neuem Tab)Problem melden

Json Render von Vercel Labs

Json Render v0.19.0

Neue Custom-Directives-API und das Paket @json-render/directives mit sieben vorgefertigten Directives wie $format, $math und $concat sind verfügbar.

New Features

  • Custom directives API — @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)

Improvements

  • Example READMEs — Added documentation to the chat, dashboard, game-engine, and no-ai examples (#277)

Contributors

  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden

Json Render von Vercel Labs

Json Render v0.18.0 mit Devtools

Fünf neue Devtools-Pakete ermöglichen die Inspektion von json-render-Apps im Browser inklusive DOM-Picker und Event-Store.

New Features

  • Devtools — Five new packages for inspecting json-render apps in the browser: @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)
  • Devtools example — New examples/devtools Next.js demo showing the full devtools panel wired up to an AI chat endpoint and a component catalog (#273)
  • Action observer and devtools flag in core — @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)

Bug Fixes

  • Zod 4 schema formatting — 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)

Improvements

  • Zod 4 test coverage — Added unit tests for formatZodType covering record, default, and literal types to guard against regressions (#272)

Contributors

  • @ctate
  • @mvanhorn

Originalquelle(öffnet in neuem Tab)Problem melden

Json Render von Vercel Labs

Json Render v0.17.0 mit Gaussian Splatting

Neue GaussianSplat-Komponente für react-three-fiber sowie zwei Beispiel-Apps für Gaussian Splatting mit und ohne Three.js.

New Features

  • Gaussian Splatting — Added 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)
  • Standalone gsplat example — Experimental demo app showcasing Gaussian Splatting with gsplat.js (no Three.js dependency), featuring scene selector, live JSON spec viewer, and progress indicator (#259)
  • R3F gsplat example — Demo app with five scenes: splat showroom, splat with primitives, multi-splat, post-processing effects, and animated floating splat (#259)

Improved

  • AI output quality — Improved prompt output and schema generation for more reliable AI-generated specs (#268)

Contributors

  • @ctate
  • @willmanzoli

Originalquelle(öffnet in neuem Tab)Problem melden

Json Render von Vercel Labs

Json Render v0.16.0 Release-Prozess

Der Veröffentlichungsprozess wurde von Changesets auf einen manuellen Single-PR-Workflow mit automatischer npm-Veröffentlichung umgestellt.

Improved

  • Release process — Switched from Changesets to a manual single-PR release workflow with changelog markers and automatic npm publish on version bump

Originalquelle(öffnet in neuem Tab)Problem melden