pester / Pester

Pester is the ubiquitous test and mock framework for PowerShell.
https://pester.dev/
Other
3.08k stars 470 forks source link

Drop support of PowerShell 3, 4, 6.2, and unsupported 7 #2432

Closed nohwnd closed 5 months ago

nohwnd commented 5 months ago

PR Summary

Remove testing on unsupported versions of Windows PowerShell 3, 4 and PowerShell 6.2, so we only support 5.1, 7.2 and newer based on their lifetimes.

Update TFMs to reflect the supported .NET and .NET Framework versions. Use non-vulnerable packages.

Use embedded PDBs.

PR Checklist

fflaten commented 5 months ago

Should we let this stabilize for a patch or minor release before starting cleanup of PS 3/4 logic and syntax (like New-Object -> ::new()) ?

nohwnd commented 3 months ago

This was reverted in 5.6.0, but was reapplied on main for 6.0.0 and newer.