0.1.0 — 2026-11-16
First release.
AshBackendDrivenOptimisticUi.Resourceextension with theoptimistic_uiblock:optimisticrules,onreactions andnot_optimisticopt-outs, with the effectsset,push,where,insert,remove,editandclear.- Rules are compiled to JSON Logic. The evaluator follows the full JSON Logic standard, checked by the official test suite, plus five documented custom operations.
AshBackendDrivenOptimisticUi.RuleSet: a ready Ash resource whose:rulesaction returns the rules. List it in a domain and your API layer serves it like any other action.AshBackendDrivenOptimisticUi.PushCollectorcarries the pushes and retractions of a request on any transport.mix igniter.install ash_backend_driven_optimistic_uidoes the setup.mix optimistic_ui.explainandmix optimistic_ui.snapshot.AshBackendDrivenOptimisticUi.Testhelpers:assert_snapshots_current/1checks every rule's snapshot in one test, andoptimisticruns a rule.- The library's
.formatter.exsexports the DSL's no-parens names; adopters addimport_deps: [:ash_backend_driven_optimistic_ui]. - Docs: README, topic guides, a generated DSL reference and
usage-rules.md.