Skip to content

v2.4.2: Live DOM Contrast Gate, Safe Non-Destructive CLI & Version Harmonization

Choose a tag to compare

@omid-io omid-io released this 03 Sep 11:11
· 60 commits to main since this release

What's Changed in v2.4.2

Hardened & Added

  • CLI Non-Destructive Protection: Added --force\ (with automated .bak\ backups) and --dry-run\ to @omid-io/tokens\ (\init\ and \�dd), preventing accidental overwrite of developer configs and component files.
  • Physical Pixel DOM Contrast Gate: Upgraded Chromium runtime evaluation to sample actual GPU-rendered pixels via Canvas 2D \getImageData(), walking DOM parent trees to resolve effective backgrounds and verifying >= 4.5:1 body and >= 3.0:1 heading contrast across all interfaces.
  • Prefers-Reduced-Motion Transition Suppression: Verified that under \prefers-reduced-motion: reduce, all CSS transitions and animations are physically suppressed (<= 0.05s). Added missing reduced motion media queries to \�xamples/persian_rtl_bento.html.
  • ARIA Contract Hardening: Verified non-empty accessible names with \�ria-labelledby\ tree resolution and asserted that \�ria-controls\ targets physically exist in the DOM.
  • Single Source of Truth Manifest & Version Harmonization: Added \�ersion.json\ and harmonized version pinning across \install.sh, \install.ps1, \SECURITY.md, and \ARCHITECTURE.md. Removed redundant legacy workflow .github/workflows/evals.yml.