-
Notifications
You must be signed in to change notification settings - Fork 394
Raise minimum version of PowerShell Core from 6.0.2 to 6.1.0 or 6.1.3 #1159
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
Comments
Definitely worth moving off 6.0.2 to 6.1.3. Moving to PSStandard is nice but is a fairly large effort. You'd also lose a lot going to PSStandard for PS 3. For script rules that use The functional APIs on the other hand are easy to work with -- easily cached runtime tests determine what PowerShell version you're on, and then you can use reflection when you need to. |
Yh, I agree that moving to PSStandard (which I would only do for the compilation against v5 and v6) is another big chunk of work. |
I think requiring But with 6.0 being EOL, I think we are forced to give up 6.0 support (from the perspective of releasing "maintained" and "supported" software ourselves) |
Currently the minimum version of PSCore required by PSSA is 6.0.2 (because previous Nuget packages of SMA had a bug).
Due to PSCore 6.0 reaching its end of life this month (as far as I am aware), should we bump the minimum required version to 6.1.0. or even 6.1.3?
We have 2 places in code that we'd adapt:
PSScriptAnalyzer/Engine/PSScriptAnalyzer.psm1
Lines 16 to 17 in 7d850bb
PSScriptAnalyzer/Engine/Engine.csproj
Line 65 in 7d850bb
Any opinions @JamesWTruher @rjmholt @SteveL-MSFT ?
The text was updated successfully, but these errors were encountered: