chore: add "v" before version number on badges#1488
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Pull request overview
This PR adds a "v" prefix to version numbers displayed in package badges (e.g., "1.0.0" becomes "v1.0.0"), aligning with common conventions used by shields.io and throughout the codebase where versions are displayed with the "v" prefix.
Changes:
- Modified the version badge strategy to prepend "v" to the version number
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📝 WalkthroughWalkthroughA modification to the version badge strategy in the API registry endpoint updates the displayed badge text format. The version value is now prefixed with a "v" character when rendered on the badge. The underlying version retrieval mechanism—including fallback to latest version and handling of unknown versions—remains unchanged. The modification affects only the final output string presentation, with two lines added and two lines removed in the affected file. Suggested reviewers
🚥 Pre-merge checks | ✅ 1 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
00a8487 to
e075b05
Compare
In other places, we show package version number with "v" prefix, which also helps recognizing what number we're actually looking at.
In other places, we show package version number with "v" prefix, which also helps recognizing what number we're actually looking at if we override label:
It's also in line with shields.io style: