Skip to content

0.1.0

Choose a tag to compare

@ihassan8 ihassan8 released this 16 Mar 05:18
· 64 commits to main since this release
8f89775

fix: cross-platform compat, SVG accuracy, docs overhaul, and CI matrix

  • badge_generator.py: replace os.path with pathlib; cross-platform
    absolute-path guard using PurePosixPath + PureWindowsPath; fix
    right_width/total_width formula alignment with label.svg template
  • label.svg: remove redundant {% set %} blocks that overrode Python
    context; replace xlink:href with href; clean up xmlns:xlink
  • circle.svg: remove deprecated xlink namespace and attribute
  • pill.svg, banner.svg: add aria-label, role=img, and <title> for
    accessibility
  • badge_template.svg: delete unreferenced dead template file
  • tests: fix snapshot I/O encoding (utf-8); fix style context key
    assertions; parametrize absolute-path test to cover Windows paths;
    update snapshots
  • docs: restructure usage.md parameters table into constructor vs
    generate_badge() sections; fix Colors import to public API; add
    per-entry style to batch example; remove phantom render_badge/BadgeSVG
    references from all docs; add PILL/BANNER/audit/style content
  • README.md: 3→5 templates; add styles; remove phantom in-memory section;
    fix coverage color threshold wording
  • release.yml: add pull_request trigger and cross-platform test matrix
    (ubuntu/windows/macos × Python 3.8–3.12)
  • Remove stale superpowers plan/spec docs