Skip to content

Claim PowerShell 7.4+ support instead of 7.2+#2811

Merged
nohwnd merged 1 commit into
mainfrom
nohwnd-claim-powershell-7-4-support
Jun 29, 2026
Merged

Claim PowerShell 7.4+ support instead of 7.2+#2811
nohwnd merged 1 commit into
mainfrom
nohwnd-claim-powershell-7-4-support

Conversation

@nohwnd

@nohwnd nohwnd commented Jun 29, 2026

Copy link
Copy Markdown
Member

Summary

Pester 6 ships a net8.0 assembly for PowerShell 7 (plus net462 for Windows PowerShell 5.1). A net8.0 assembly cannot load on the .NET 6 / .NET 7 runtimes used by PowerShell 7.2 / 7.3, so claiming support for those versions is inaccurate. They are also both out of support from Microsoft per the PowerShell support lifecycle — the oldest supported release is 7.4 (LTS, .NET 8).

This already matches what src/csharp/Pester/Pester.csproj documents ("PowerShell 7.4.x is the oldest supported PowerShell version"). This PR fixes the user-facing claims to match.

Changes

  • README.md — "PowerShell 7.2 and newer" → "PowerShell 7.4 and newer".
  • docs/6.0.0.md — three "PowerShell 7.2+" support claims → "PowerShell 7.4+".

The .psd1 manifest floor stays at 5.1 (Windows PowerShell 5.1 is served by the net462 assembly). The "PowerShell 7+" references for the parallel runner feature are left unchanged, as they describe a feature requirement, not the support floor.

A matching docs-site update is being opened against pester/docs.

Pester 6 ships a net8.0 assembly for PowerShell 7, which cannot load on
the .NET 6/.NET 7 runtimes of PowerShell 7.2/7.3. Those versions are also
out of support from Microsoft. The oldest supported PowerShell is 7.4 (LTS,
.NET 8), matching what the csproj already documents. Update the README and
the 6.0.0 release notes to claim 7.4+ instead of 7.2+.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@nohwnd nohwnd enabled auto-merge (squash) June 29, 2026 21:04
@nohwnd nohwnd disabled auto-merge June 29, 2026 21:27
@nohwnd nohwnd merged commit a9ba2b6 into main Jun 29, 2026
3 checks passed
@nohwnd nohwnd deleted the nohwnd-claim-powershell-7-4-support branch June 29, 2026 21:27
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