Skip to content

cookiebite v0.5.1

Choose a tag to compare

@korECM korECM released this 19 Jun 07:36
· 192 commits to main since this release

Hardening release from a self-audit: cookiebite was dogfooded across 10 report scenarios and reviewed through 6 lenses, surfacing 15 issues. Adversarial verification then caught 3 regressions the first fix pass introduced (logic/HTML breaks that node --check passes but a browser does not) — all remediated and browser-verified.

Fixed

  • i18n leaks into non-Korean reports. Chart data-table toggle labels now follow REPORT_LOCALE with tableLabel/chartLabel overrides (were hardcoded Korean); the TOC heading moved inside the editable slot so it localizes.
  • Findings filter dropped Low. Filter chips are built from the tones present (incl. neutral → "Low"), so Low findings are reachable instead of vanishing on the first filter click.
  • Dark mode gaps. baseChart now sets legend text color (legends were invisible on dark) and respects reduced-motion; near-black brand accents (Vercel, Resend) get an opt-in accentDark override so they read on a dark surface.
  • Credit footer. Auto-injected "Made with cookiebite" link uses text-secondary for AA contrast and no longer duplicates a hand-written credit.
  • Silent failures. accentRgba resolves non-hex accents instead of emitting rgba(NaN,…); kpis() keeps suffix alongside unit; apply-theme.py validates presets and no longer KeyErrors on a missing name.
  • Verification harness. verify-report.sh scrolls before the full-page capture (AOS/lazy content paints) and records console errors.
  • Docs. Persimmon is documented as the default; a color-mix-not-in-canvas caveat, a treemap accent-ramp recipe, the sortable-numeric-as-Number rule, pinned CDN versions, and a corrected AOS claim.

Full changelog: v0.5.0...v0.5.1