Skip to main content

Maturity & lifecycle

Every component, token, pattern and template in PrismDS carries a maturity status so consumers always know what is production-safe. Status is recorded per family in the snapshot below; individual components do not yet carry a status line of their own.

States​

StatusMeaningSafe for production?
experimentalSpike / proof-of-concept. API will change without notice.No
alphaUsable, incomplete. Breaking changes likely.Behind a flag only
betaFeature-complete, hardening. Breaking changes possible, announced.Yes, with caution
stableLocked API, fully documented, a11y-verified.Yes
deprecatedSuperseded; still ships with a migration path. Removed next major.Migrate away
legacyKept for an old product; no new adoption.Existing use only
internal-onlyFor Prism's own demos/kits; not part of the public surface.No

Current snapshot​

  • Tokens (colours, type, spacing, scales, density, signatures): stable.
  • Themes: base light / dark / system, Industry and Enterprise. Deprecated: data-theme="laboratory" (an alias of industry) and the --text-xs … --text-9xl names (use the --fs-* roles).
  • Core / forms / feedback / navigation / overlays / datetime / layout / cards / typography: stable.
  • states, data (DataGrid), charts, lockups, permissions: beta — feature-complete, in real use across the kits, hardening.
  • business, controls, dashboard, industry, privacy, workflow, tv, theming: added since this snapshot was first written and not yet given a status.
  • UI kits (CommerceOS, CampusOS, HealthOS, MediaOS, FinanceOS, HospitalityOS, EstateOS): internal-only reference implementations.
  • Distribution: the registry (@prism/<name>), @artoftechconsulting/prism-tokens and the Python package prismds ship at one version. @artoftechconsulting/prism-native (React Native) is a proof of concept.

Deprecation policy​

  1. Mark the item deprecated and add a Deprecated: note in its .prompt.md naming the replacement and the version it will be removed in.
  2. Keep it shipping, unchanged, for at least one minor release.
  3. Remove only in a major release, with a MIGRATION entry.

Migration policy​

  • Every breaking change ships with a migration note: before/after snippet + a find-and-replace hint where possible.
  • Renamed tokens get a temporary alias (--old: var(--new);) for one minor cycle.

Breaking-change policy (semver)​

  • Patch — fixes, no API/visual change beyond the bug.
  • Minor — additive: new components/tokens/props, new optional behaviour. Never removes or renames.
  • Major — removals, renames, default-value changes, visual changes that could break layouts.

Recorded exception: 2.9.0. That minor release changed what data-theme="industry" means (it became the light variant; the dark one is industry-dark), removed the separate Laboratory theme files, and changed Industry's --accent. By this policy it should have been a major release. It shipped as 2.9.0 by decision, with laboratory kept as a deprecated alias and the migration written up in docs/INDUSTRY_THEME.md. It is an exception, not a precedent.

"Safe for production" checklist​

  • Status is beta or stable.
  • Has .d.ts, .prompt.md, and a @dsCard specimen.
  • Passes the QA gates (a11y, RTL, dark, density, long-string).
  • No experimental/alpha dependencies.
  • Tokens only — no hard-coded colours, sizes or fonts.

Release-readiness checklist​

  • The ds-validate gates pass.
  • README index + relevant docs/ updated.
  • Maturity statuses current; deprecations have migration notes.
  • packages/ dist rebuilt if tokens/components changed.
  • Version bumped and the release tagged (the changelog page is generated from tags and PR titles).