-
Notifications
You must be signed in to change notification settings - Fork 400
PSScriptAnalyzer v1.22.0 #1978
bergmeister
started this conversation in
General
PSScriptAnalyzer v1.22.0
#1978
-
Minimum required version when using PowerShell 7 is now 7.2.11
.
New Rule
- Add AvoidUsingAllowUnencryptedAuthentication by @MJVL in Add AvoidUsingAllowUnencryptedAuthentication #1857
- Add the AvoidExclaimOperator rule to warn about the use of the ! negation operator. Fixes Avoid exclamation point operator. #1826 by @liamjpeters in Add the AvoidExclaimOperator rule to warn about the use of the ! negation operator. Fixes #1826 #1922
Enhancements
- Enable suppression of PSAvoidAssignmentToAutomaticVariable for specific variable or parameter by @fflaten in Enable suppression of PSAvoidAssignmentToAutomaticVariable for specific variable or parameter #1896
- Upgrade to use .NET 6 since PowerShell 7.0 is now out out of support by @bergmeister in Upgrade to use .NET 6 since PowerShell 7.0 is now out out of support #1873
- Convert UseSingularNouns to configurable rule and add Windows to allowlist by @MJVL in Convert UseSingularNouns to configurable rule and add Windows to allowlist #1858
- Add ErrorView to SpecialVars.cs by @ewisniew0 in Add ErrorView to SpecialVars.cs #1865
- Allow suppression of PSUseSingularNouns for specific function by @fflaten in Allow suppression of PSUseSingularNouns for specific function #1903
- Adding ToString() methods to [CorrectionExtent] and [DiagnosticRecord] by @StartAutomating in Adding ToString() methods to [CorrectionExtent] and [DiagnosticRecord] #1946
- Add PSNativeCommandUseErrorActionPreference preference variable by @aelij in Add PSNativeCommandUseErrorActionPreference preference variable #1954
- AvoidUsingPositionalParameter: Check if command has parameters to avoid having az in default CommandAllowList by @bergmeister in AvoidUsingPositionalParameter: Check if command has parameters to avoid having az in default CommandAllowList #1850
- PSReviewUnusedParameter: Add CommandsToTraverse option by @FriedrichWeinmann in PSReviewUnusedParameter: Add CommandsToTraverse option #1921
Fixes
- Prevent NullReferenceException for null analysis type. by @hubuk in Prevent NullReferenceException for null analysis type. #1949
Build & Test, Documentation and Maintenance
- UseApprovedVerbs.md: Backport minor change of PR 104 in PowerShell-Docs-Modules by @bergmeister in UseApprovedVerbs.md: Backport minor change of PR 104 in PowerShell-Docs-Modules #1849
- Improve Pester bootstrap logic for CI by @bergmeister in Improve Pester bootstrap logic for CI #1853
- Bump .NET SDK from 3.1.419 to 3.1.424 by @bergmeister in Bump .NET SDK from 3.1.419 to 3.1.424 #1852
- AvoidLongLines: Make internal function DiagnosticSeverity private by @bergmeister in AvoidLongLines: Make internal function DiagnosticSeverity private #1851
- SupportsShouldProcess.md: Fix Typo - MicrosoftDocs backport of PR 121 there by @sdwheeler in SupportsShouldProcess.md: Fix Typo - MicrosoftDocs backport of PR 121 there #1869
- Minor test fix for UseCorrectCasing rule by @kilasuit in Minor test fix for UseCorrectCasing rule #1885
- Make Invoke-Formatter test case assertion fail in case of incorrect casing by @alexandear in Make Invoke-Formatter test case assertion fail in case of incorrect casing #1888
- Fix
AvoidUsingDoubleQuotesForConstantString
information in overview README by @michaeltlombardi in FixAvoidUsingDoubleQuotesForConstantString
information in overview README #1883 - Update dependabot reviewers to remove Rob by @fflaten in Update dependabot reviewers to remove Rob #1897
- Fix typo in AvoidUsingPlainTextForPassword error message: 'to' being repeated two times by @ALiwoto in Fix typo in AvoidUsingPlainTextForPassword error message: 'to' being repeated two times #1902
- CI: Use new Ubuntu 22.04 image and remove deprecated Ubuntu 18.04 by @bergmeister in CI: Use new Ubuntu 22.04 image and remove deprecated Ubuntu 18.04 #1847
- Change double quotes to single where possible by @sdwheeler in Change double quotes to single where possible #1911
- Backport MicrosoftDocs PR 143 by @sdwheeler in Backport MicrosoftDocs PR 143 #1910
- Fix typos in rules documentation by @sdwheeler in Fix typos in rules documentation #1913
- add demand for compliance job by @TravisEz13 in add demand for compliance job #1920
- FabricBot: Onboarding to GitOps.ResourceManagement because of FabricBot decommissioning by @microsoft-github-policy-service in FabricBot: Onboarding to GitOps.ResourceManagement because of FabricBot decommissioning #1925
- Sync changes from Docs repository by @sdwheeler in Sync changes from Docs repository #1929
- Developer documentation fix and message fix of PossibleIncorrectUsageOfRedirectionOperatorDescription by @JoelTipke in Developer documentation fix and message fix of PossibleIncorrectUsageOfRedirectionOperatorDescription #1928
- Documentation corrections for AvoidUsingPositionalParameters by @ImportTaste in Documentation corrections for AvoidUsingPositionalParameters #1917
- Update minimum PowerShell Core version to 7.2.11 as 7.0 is now EOL by @bergmeister in Update minimum PowerShell Core version to 7.2.11 as 7.0 is now EOL #1872
- Remove dead code and simplify by @bergmeister in Remove dead code and simplify #1856
- PSReservedParams - link about_CommonParameters by @petervandivier in PSReservedParams - link about_CommonParameters #1908
- Generate strongly typed resources as part of build by @bergmeister in Generate strongly typed resources as part of build #1855
- Bump Newtonsoft.Json to 13.0.3 by @dependabot in Bump Newtonsoft.Json to 13.0.3 #1866
- Use latest .NET 6.0 SDK patch version and update devcontainer to use .NET 6 as well by @bergmeister in Use latest .NET 6.0 SDK patch version and update devcontainer to use .NET 6 as well #1955
- Bump Microsoft.Management.Infrastructure from 1.0.0 to 3.0.0 for PowerShell 7 only by @dependabot in Bump Microsoft.Management.Infrastructure from 1.0.0 to 3.0.0 for PowerShell 7 only #1947
- Bump version from 1.21.0 to 1.22.0 by @bergmeister in Bump version from 1.21.0 to 1.22.0 #1965
- Remove Appveyor badge from main README by @bergmeister in Remove Appveyor badge from main README #1962
- Do not hard code common parameters in module help test any more by @bergmeister in Do not hard code common parameters in module help test any more #1963
New Contributors
- @fflaten made their first contribution in Update dependabot reviewers to remove Rob #1897
- @ALiwoto made their first contribution in Fix typo in AvoidUsingPlainTextForPassword error message: 'to' being repeated two times #1902
- @microsoft-github-policy-service made their first contribution in FabricBot: Onboarding to GitOps.ResourceManagement because of FabricBot decommissioning #1925
- @JoelTipke made their first contribution in Developer documentation fix and message fix of PossibleIncorrectUsageOfRedirectionOperatorDescription #1928
- @ImportTaste made their first contribution in Documentation corrections for AvoidUsingPositionalParameters #1917
- @liamjpeters made their first contribution in Add the AvoidExclaimOperator rule to warn about the use of the ! negation operator. Fixes #1826 #1922
- @petervandivier made their first contribution in PSReservedParams - link about_CommonParameters #1908
- @ewisniew0 made their first contribution in Add ErrorView to SpecialVars.cs #1865
- @StartAutomating made their first contribution in Adding ToString() methods to [CorrectionExtent] and [DiagnosticRecord] #1946
- @aelij made their first contribution in Add PSNativeCommandUseErrorActionPreference preference variable #1954
- @FriedrichWeinmann made their first contribution in PSReviewUnusedParameter: Add CommandsToTraverse option #1921
Full Changelog: 1.21.0...1.22.0
This discussion was created from the release PSScriptAnalyzer v1.22.0.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment