Changelog
What's new in Strata
Every release, with migration notes. We follow semver: breaking changes only in majors.
28 changes across 7 releases
Faster cold starts and Slider fixes
Compiler cold start is 31% faster on large monorepos, plus five fixes to Slider and Toast.
- ImprovedCompilerContent scanning now runs in a worker pool — 2.4 s → 1.65 s on a 1,900-file repo.
- FixedSliderThumb no longer jumps when
stepdoesn't dividemaxValueevenly. - FixedSliderRange sliders announce both values to screen readers.
- FixedToastPromise toasts keep their action button after resolving.
- FixedCLI
strata addrespects--cwdwhen resolving dependencies.
Slider, Toast beta and typed tokens
Two new components,
token()with full autocompletion and a refreshed CLI output format.Slider
Single and range sliders with formatted output, keyboard stepping and vertical orientation.
Toast (beta)
Stacked, swipe-to-dismiss notifications with promise states. API may change before 3.7.
Typed tokens
token("colors.brand")autocompletes every path in your theme and fails the type check on typos.- NewComponentsNew
Slidercomponent. - NewComponentsNew
Toastcomponent andtoast()helper (beta). - NewCore
token()returns typed CSS variable references. - ImprovedCLIGrouped, colour-coded output with timing per step.
- FixedDialogNested dialogs restore focus to the correct trigger.
- NewComponentsNew
Container query fixes
Fixes for named containers and an edge case in dark-mode token generation.
- FixedCompilerNamed containers (
@container/sidebar) work inside cascade layers. - FixedThemingTokens defined only for dark mode no longer fall back to
initial. - FixedKbdCorrect glyph for Option on macOS.
- FixedCompilerNamed containers (
Kbd, container ranges and Zed support
Container query ranges, a Kbd component and first-party Zed editor support.
Container ranges
@md:max-@xl:targets a range of container widths.Zed extension
IntelliSense, hovers and colour swatches now ship for Zed.
- NewComponentsNew
KbdandKbdGroup. - NewCompilerContainer query range variants.
- NewEditorZed language server extension.
- ImprovedDocsEvery utility page now lists its generated CSS.
- NewComponentsNew
strata diff and theme generator
Track upstream changes to copied components and generate palettes from a single colour.
strata diff
See what changed upstream in components you've added and edited.
strata theme --from
A balanced 12-step palette with contrast-checked pairs from one hex value.
- NewCLI
strata diff [name] --exit-codefor CI. - NewCLI
strata theme --from <hex>. - ImprovedSelectTypeahead matches diacritics-insensitively.
- FixedTabsIndicator animates correctly in RTL layouts.
- NewCLI
Strata 3: cascade layers and TypeScript config
A ground-up compiler rewrite built on cascade layers, with a typed config and semantic colour tokens.
Cascade layers
Utilities always beat component styles —
!importantis gone.TypeScript config
strata.config.tswithdefineConfig()and typed plugins.Semantic colours
text-muted,surface-raisedand friends flip automatically in dark mode.- BreakingConfig
strata.config.jsreplaced bystrata.config.ts. - BreakingCore
importantoption removed. - BreakingReactBindings moved to
@strata/react. - NewLayoutNew
stackandrowprimitives. - ImprovedCompilerIncremental builds are 4.2× faster.
- BreakingConfig
Final 2.x maintenance release
Security update for the dev server and the last planned 2.x release.
- FixedDev serverPatched path traversal in the HMR endpoint.
- FixedCompilerWindows paths with spaces resolve correctly.