Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 8 commits into from
Apr 7, 2024

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Apr 6, 2024

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

  • PR has meaningful title
  • Summary describes changes
  • PR is ready to be merged
    • If not, use the arrow next to Create Pull Request to mark it as a draft. PR can be marked Ready for review when it's ready.
  • Tests are added/update (if required)
  • Documentation is updated/added (if required) <- Not yet, that will be a whole other PR to docs after this is fully released.

src/Pester.psd1 Outdated Show resolved Hide resolved
src/Pester.psd1 Outdated Show resolved Hide resolved
@nohwnd nohwnd merged commit 6466ee0 into main Apr 7, 2024
11 checks passed
@nohwnd nohwnd deleted the on-support-supported-powershells branch April 7, 2024 14:12
@fflaten
Copy link
Collaborator

fflaten commented Apr 7, 2024

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
Copy link
Member Author

nohwnd commented May 17, 2024

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

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.

2 participants