Skip to content

Fix PowerShell Gallery preview badge#522

Merged
PrzemyslawKlys merged 2 commits intomasterfrom
chore/fix-powershell-preview-badge-20260214-PSWriteHTML
Feb 14, 2026
Merged

Fix PowerShell Gallery preview badge#522
PrzemyslawKlys merged 2 commits intomasterfrom
chore/fix-powershell-preview-badge-20260214-PSWriteHTML

Conversation

@PrzemyslawKlys
Copy link
Member

Shields changed the PowerShell Gallery prerelease badge endpoint and the old vpre badge now renders a placeholder link.

This updates README badge URLs to use the normal PowerShell Gallery version badge with include_prereleases, so it displays the prerelease version again.

Ref: badges/shields#11583

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@claude
Copy link

claude bot commented Feb 14, 2026

Pull Request Review

Summary

This PR fixes the PowerShell Gallery prerelease badge by updating the Shields.io badge URL from the deprecated vpre endpoint to the standard v endpoint with the include_prereleases parameter.

Code Quality ✓

Strengths:

  • The change is minimal, focused, and addresses the specific issue
  • The solution follows the Shields.io recommended approach for displaying prerelease versions
  • The badge maintains the same visual styling (style=flat-square, colorB=yellow) and labeling for consistency
  • The PR description provides clear context with a reference to the upstream Shields.io issue

Technical Review ✓

Changes Made:

- https://img.shields.io/powershellgallery/vpre/PSWriteHTML.svg?label=powershell%20gallery%20preview&colorB=yellow&style=flat-square
+ https://img.shields.io/powershellgallery/v/PSWriteHTML.svg?label=powershell%20gallery%20preview&colorB=yellow&style=flat-square&include_prereleases

Analysis:

  • The change replaces /vpre/ with /v/ and adds &include_prereleases parameter
  • This aligns with Shields.io's updated badge endpoints where vpre is deprecated
  • The badge will now display the latest version including prereleases when they exist

Potential Issues: None Found

No bugs, security concerns, or performance issues identified. This is a documentation-only change affecting badge rendering.

Recommendations

Minor Observation (Line 4):
I noticed line 4 in readme.md has a potential issue unrelated to this PR:

<a href="https://github.com/EvotecIT/PSWriteHTML/actions/workflows/powershell-tests.yml"><img src="https://github.com/EvotecIT/PSWriteHTML/actions/workflows/ci.yml/badge.svg"></a>

The link points to powershell-tests.yml but the badge image points to ci.yml. This may be intentional, but you might want to verify these workflow references are correct.

Verdict: ✅ Approve

This is a clean, well-documented fix for a real issue. The change is safe to merge.

Test Coverage: Not applicable - this is a documentation change only.

Reviewed by: Claude Code

@PrzemyslawKlys PrzemyslawKlys merged commit 884a264 into master Feb 14, 2026
@PrzemyslawKlys PrzemyslawKlys deleted the chore/fix-powershell-preview-badge-20260214-PSWriteHTML branch February 14, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant