import { Code } from "@/components/code"; export const metadata = { title: "Changelog | json-render", }; export default function ChangelogPage() { return (

Changelog

Notable changes and updates to json-render.

v0.4.0

February 2026

New: Custom Schema System

Create custom output formats with defineSchema. Each renderer now defines its own schema, enabling completely different spec formats for different use cases.

{`import { defineSchema } from "@json-render/core"; const mySchema = defineSchema((s) => ({ spec: s.object({ pages: s.array(s.object({ title: s.string(), blocks: s.array(s.ref("catalog.blocks")), })), }), catalog: s.object({ blocks: s.map({ props: s.zod(), description: s.string() }), }), }), { promptTemplate: myPromptTemplate, });`}

New: Component Slots

Components can now define which slots they accept. Use{" "} ["default"] for regular children, or named slots like ["header", "footer"] for more complex layouts.

{`const catalog = defineCatalog(schema, { components: { Card: { props: z.object({ title: z.string() }), slots: ["default"], // accepts children description: "A card container", }, Layout: { props: z.object({}), slots: ["header", "content", "footer"], // named slots description: "Page layout with header, content, footer", }, }, });`}

New: AI Prompt Generation

Catalogs now generate AI system prompts automatically with{" "} catalog.prompt(). The prompt includes all component definitions, props schemas, and action descriptions - ensuring the AI only generates valid specs.

{`import { defineCatalog } from "@json-render/core"; import { schema } from "@json-render/react/schema"; const catalog = defineCatalog(schema, { components: { /* ... */ }, actions: { /* ... */ }, }); // Generate system prompt for AI const systemPrompt = catalog.prompt(); // Use with any AI SDK const result = await streamText({ model: "claude-haiku-4.5", system: systemPrompt, prompt: userMessage, });`}

New: @json-render/remotion

Generate AI-powered videos with Remotion. Define video catalogs, stream timeline specs, and render with the Remotion Player.

{`import { Player } from "@remotion/player"; import { Renderer, schema, standardComponentDefinitions } from "@json-render/remotion"; const catalog = defineCatalog(schema, { components: standardComponentDefinitions, transitions: standardTransitionDefinitions, }); `}

Includes 10 standard video components (TitleCard, TypingText, SplitScreen, etc.), 7 transition types, and the ClipWrapper utility for custom components.

New: SpecStream

SpecStream is json-render's streaming format for progressively building specs from JSONL patches. The new compiler API makes it easy to process streaming AI responses.

{`import { createSpecStreamCompiler } from "@json-render/core"; const compiler = createSpecStreamCompiler(); // Process streaming chunks const { result, newPatches } = compiler.push(chunk); setSpec(result); // Update UI with partial result`}

Improved: Dashboard Example

The dashboard example is now a full-featured accounting dashboard with:

Improved: Documentation

Breaking Changes


v0.3.0

January 2026

Internal release with codegen foundations.

Note: Only @json-render/core was published to npm for this release.


v0.2.0

January 2026

Initial public release.

); }