Skip to content

1.0.0-alpha04

Choose a tag to compare

@patjackson52 patjackson52 released this 02 Jul 14:58

Shared version-line release of all redux-kotlin modules at 1.0.0-alpha04. Publishes to Maven Central (signed, auto-released) and cuts the matching rk CLI.

Highlights — redux-kotlin-snapshot (semantics for AI-agent UI verification)

The headless snapshot renderer now exposes the content of a rendered scene as text/JSON beside the pixels, so a coding agent can verify UI changes cheaply and read a PNG only when a shot actually drifts.

  • Semantics dump: a deterministic, bounds-free tree (role, text, contentDescription, testTag, enabled/selected/toggle) extracted from the rendered Compose scene — compact text form or canonical json. Non-fatal: extraction failure degrades to empty, the PNG is still produced.
  • Semantics-golden gate: --verify-semantics compares against a stored canonical golden — a cheaper, less flaky, architecture-independent regression signal than the pixel diff.
  • CLI: --semantics, --semantics-format json|text, --verify-semantics-file (single), --verify-semantics (batch), --update-semantics (author/refresh baselines). Existing flags and exit codes (0/1/2) unchanged.
  • Batch report v2: per-shot verifySemantics (verdict + delta), semanticsSidecar, semanticsBytes; new Totals semantics counts + renderMsTotal; terse drift-only output; per-shot sidecars. Backward compatible (new fields nullable/defaulted).
  • Dashboard reflects the semantics verdict.

Consume it with:

implementation("org.reduxkotlin:redux-kotlin-snapshot:1.0.0-alpha04")

All other modules are republished unchanged at 1.0.0-alpha04.