Release notes
2.1.0
Custom previews in the registry, a previews-only token scope, and publishing of components and patterns above 4.5 MB.
Released 2026-11-09.
Readers, coding agents, and the AI assistant can now save a component with their own args, and every reader sees it next to the built previews. Components and patterns above 4.5 MB now publish.
New
Custom previews
- A signed-in registry member can save a custom preview: a component rendered with their own args. It appears in the preview picker next to the built previews. See Custom previews.
- Create on a component page opens an editor with the args of the selected preview. The editor has a live preview, a Form view with one control per property (object, array, and union properties included), and a JSON view that checks the args as you type.
- A republished component does not break a custom preview. Each read reports unknown properties, missing required properties, and type mismatches. At render time, a missing required property gets its default value.
- Only the author or an administrator can change or delete a custom preview.
- The registry renders custom previews in a sandboxed frame, from a render shell that the build emits.
MCP and the assistant
- Five registry-only MCP tools:
handoff_list_custom_previews,handoff_get_custom_preview,handoff_create_custom_preview,handoff_update_custom_preview,handoff_delete_custom_preview. - In a registry,
handoff_get_componentalso returnsargsSchemaandcustomPreviews. - The AI assistant can create and change custom previews for the signed-in reader. In the editor, it changes the open preview, and the editor offers to load the change.
Access tokens
- New
previews:writescope: read, plus save custom previews, without publish rights. Any member can create such a token. See Accounts and access.
Publishing
publishsends components and patterns above 4.5 MB by uploading the largest artifacts as blobs first. Against an older registry,publishstill stops at 4.5 MB.- The registry deletes blobs and artifact rows that nothing uses.
Documentation app
- Redesigned preview card: the component code sits behind View Code, with GitHub code colors and dark mode.
- A preview shows a loading spinner while its frame loads.
- Previews of
elementcomponents (the default type) are centered on a transparent background. A toolbar button shows the page background, and the app remembers the choice.blockcomponents keep the full-width layout. - The
typefield suggestselementandblockin your editor, and still accepts any value. - CSF stories keep the options of
selectandradiocontrols. A component imported from another file gets its property types from that file.
Breaking changes
None.
Upgrade
- Install
handoff-app@2.1.0. - Run
db:migrateagainst the registry database. It adds thecomponent_custom_previewstable. - Rebuild and redeploy the registry.
- Republish your components. A component published before 2.1.0 has no render shell, so Create stays disabled for it.