Skip to content

v0.20.0

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Aug 18:23
ea4b361

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

  • Release toolchain hardening: The workspace now requires Node.js 24 and pnpm 11, enforces package engine checks, and applies a minimum package release age (#293)

Breaking Changes

  • Custom renderer bridges that implement the core executeAction callback must now accept an ActionBinding instead of a bare action name. This exposes chained action params to custom integrations at compile time (#307)

Contributors