v2.0.0
What's New in v2.0.0
Redesigned PR Comments
PR comments now feature a polished, visual design inspired by tools like Codecov and SonarQube:
- Shields.io coverage badge — large, color-coded badge showing coverage percentage at a glance
- Threshold pass/fail badge — instant visual status
- Unicode progress bar —
████████████████░░░░alongside the badge - Per-file status icons — 🟢 (≥90%), 🟡 (≥70%), 🔴 (<70%)
- Compact metric layout — key stats in a single line
Improved Discoverability
- GitHub Pages site with Schema.org structured data
llms.txtfor AI tool discoverability (Claude, ChatGPT, Perplexity)- 15 repository topics added
- GitHub Discussions enabled
- Marketplace branding updated (shield/blue)
Other Changes
- Action name: Diff Cover — PR Coverage & Quality Reports
- Action now dogfoods itself — posts real coverage comments on its own PRs
- README overhauled with comparison table, badges, and "Why This Action?" section
- Converted from Docker to composite action for faster execution
Migration from v1
Update your workflow reference:
# Before
- uses: Affanmir/diff-cover-action@v1
# After
- uses: Affanmir/diff-cover-action@v2The only breaking change is the PR comment format — if you parse the comment body, update your patterns.
Full Changelog: v1.2.0...v2.0.0