Skip to content

Lightflow v0.5.2

Choose a tag to compare

@cedricbellet cedricbellet released this 19 Oct 10:48
· 9 commits to main since this release

Lightflow v0.5.2

Patch release: two visualizer rendering fixes found by post-submit review of v0.5.1, and a sturdier guard against CSS drift.

Fixes

  • Stage cards show their status border colour. The status border rules added in v0.5.1 were emitted before the default border-slate-700, so at equal specificity the grey default won. The default now precedes the status rules (Tailwind's own palette order), and completed / paused / failed cards render with emerald / amber / rose borders as designed.
  • Status rings no longer disappear when you select a card. selectStage cleared the previous selection by removing ring-2 from every card, which also stripped the status ring from completed, paused and failed cards (a latent bug that v0.5.1's rings made visible). It now removes only the selection classes and keeps ring-2 wherever a status ring is present. Verified in headless Chrome: status border and 2 px status outline unchanged after selecting another card.

Guard

The drift test now scans the places class names are actually spelled — class attributes (HTML and template literals), className assignments, classList.* calls, and the renderer's class-string variables — rather than every quoted string. It needs no utility whitelist, covers responsive and layout tokens too (226 distinct classes checked, up from ~190), and cannot pick up JS identifiers or SVG attribute names.

Also: hover:shadow-2xl alpha now matches shadow-2xl; space-y-* use the same :not([hidden]) form as the existing rules; -webkit-backdrop-filter added for older WebKit.

Unchanged

Engine, CLI, exit codes, passport.json. 131 standalone tests pass.