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 for PowerShell v3 and v4? #2324

Closed
fflaten opened this issue Mar 23, 2023 · 9 comments
Closed

Drop support for PowerShell v3 and v4? #2324

fflaten opened this issue Mar 23, 2023 · 9 comments
Milestone

Comments

@fflaten
Copy link
Collaborator

fflaten commented Mar 23, 2023

Windows Server 2012/2012R2 will be end of life October 10, 2023. From that point on only PowerShell v5.1 and later is supported by Microsoft and we should consider dropping support for PSv3 and PSv4.

Using this issue to track features and changes being blocked by PSv3 and PSv4:

@fflaten fflaten changed the title Drop support for PowerShell v3 and v4 Drop support for PowerShell v3 and v4? Mar 23, 2023
@fflaten fflaten removed the RFC label Mar 23, 2023
@LaurentDardenne
Copy link

Once this is done, will versions of Pester supporting Powershell v3 or v4 continue to be maintained in the event of a blocking bug?

@fflaten
Copy link
Collaborator Author

fflaten commented Jun 11, 2023

Note: This issue is not a accepted change at this point. Just an issue for discussing it and tracking pros/cons. Might convert it to a discussion topic 🙂

Once this is done, will versions of Pester supporting PowerShell v3 or v4 continue to be maintained in the event of a blocking bug?

Like v4 now it'd likely get critical fixes and security patches, but at that point v5 should be very stable. All OSs compatible with PSv3/v4 won't get any updates so there's a low risk of anything breaking.

@fflaten
Copy link
Collaborator Author

fflaten commented Apr 7, 2024

Resolved in #2432.

Keeping open until released and we start working on the previously blocked issues.

@fflaten fflaten added this to the 6.0.0 milestone Apr 28, 2024
@xtqqczze
Copy link

xtqqczze commented Jun 5, 2024

FYI Windows Server 2012 is supported under the Microsoft Extended Security Updates program until 2026-10-13:

https://learn.microsoft.com/en-us/lifecycle/products/windows-server-2012

@nohwnd
Copy link
Member

nohwnd commented Jun 5, 2024

ESU is a paid service that Microsoft provides, this module is free. We can do paid support probably, but so far nobody asked us for that.

@xtqqczze
Copy link

xtqqczze commented Jun 5, 2024

ESU is a paid service that Microsoft provides, this module is free. We can do paid support probably, but so far nobody asked us for that.

I think it's not unreasonable to drop support in the next major version of Pester, just pointing out PSv3/PSv4 are still supported by Microsoft.

@xtqqczze
Copy link

xtqqczze commented Jun 5, 2024

@nohwnd Just noticed the Pester supported versions information in SECURITY.md has not been updated for many years.

@nohwnd
Copy link
Member

nohwnd commented Jun 5, 2024 via email

@fflaten
Copy link
Collaborator Author

fflaten commented Jun 16, 2024

Completed by #2432 released in 6.0.0-alpha1

@fflaten fflaten closed this as completed Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants