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 v3 and v4 support from build #2081

Merged
merged 2 commits into from
Mar 14, 2025
Merged

Drop v3 and v4 support from build #2081

merged 2 commits into from
Mar 14, 2025

Conversation

andyleejordan
Copy link
Member

@andyleejordan andyleejordan commented Mar 13, 2025

This leaves all the guarded v3 and v4 implementation and test code, but starts the removal of support by dropping it from the build and updating the manifest.

Copy link
Collaborator

@SeeminglyScience SeeminglyScience left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Collaborator

@bergmeister bergmeister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is also lots of conditional code in C# around PSV3/PSV4 and around PowerShell version in Pester tests. Plus the build scripts that package things up for each version.
I was thinking maybe start softer and only bump the minimum version in the manifest for now and wait for feedback following release, this way we wouldn't completely block people because they could just manually edit the manifest

@andyleejordan
Copy link
Member Author

There is also lots of conditional code in C# around PSV3/PSV4 and around PowerShell version in Pester tests. Plus the build scripts that package things up for each version. I was thinking maybe start softer and only bump the minimum version in the manifest for now and wait for feedback following release, this way we wouldn't completely block people because they could just manually edit the manifest

Yes indeed. I'll cut this down a bit to start.

@andyleejordan andyleejordan changed the title WIP: Drop v3 and v4 support from build and code Drop v3 and v4 support from build Mar 14, 2025
@andyleejordan
Copy link
Member Author

@bergmeister looking at it with a fresh set of eyes I'm thinking this is a good minimal start. It's in Git so we can bring it all back if needed, but essentially it covers the build and packaging process without touching the code and tests.

@andyleejordan andyleejordan merged commit e849068 into main Mar 14, 2025
6 checks passed
@andyleejordan andyleejordan deleted the ps-5 branch March 14, 2025 18:19
@bergmeister
Copy link
Collaborator

@bergmeister looking at it with a fresh set of eyes I'm thinking this is a good minimal start. It's in Git so we can bring it all back if needed, but essentially it covers the build and packaging process without touching the code and tests.

Ok, I was more thinking from an end user perspective because if binaries are missing in new release, there is no hack to still be able to use it. But there is no right and wrong, just a question of speed of change and how many eggs to crack for the omelette in one go

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.

3 participants