🖼️ v0.15.1 — Live Previews in Release Notes
What's New
Nothing new in the public API — this is a documentation and tooling patch.
What Changed
bin/generate-release-notes — embed Lookbook previews in changelogs
The release notes generator now instructs Claude to check for a Lookbook preview class for every new or updated component mentioned in a release, and to embed it directly in the changelog using the ERB helper. If the preview class defines a playground method, that is preferred; otherwise the most illustrative method is used. Example:
<lookbook-embed app="https://midwest.unabridged-staging.com/lookbook/" preview="Elements::RatingComponentPreview" scenario="playground" panels="params" actions="inspect,open"></lookbook-embed>Older changelogs backfilled with embed helpers
Live component embeds were retroactively added to four earlier changelogs so readers get interactive previews regardless of which version they're browsing:
- v0.12.0 —
AccordionComponent,PaginationComponent,EmptyStateComponent,ProgressBarComponent,ConfirmationComponent - v0.12.1 —
ConfirmationComponent - v0.13.0 —
ChartComponent(area, column, and line playground embeds) - v0.13.1 —
ButtonComponent,Form::InputComponent
What Was Removed
Nothing removed.
Dev Process
Version bump
lib/midwest/version.rb, package.json, and lsp/package.json updated from 0.15.0 → 0.15.1. No gem code or component APIs were changed.