tag:github.com,2008:https://github.com/PowerShell/PSScriptAnalyzer/releases Release notes from PSScriptAnalyzer 2025-03-17T21:16:28Z tag:github.com,2008:Repository/33149177/1.24.0 2025-03-18T16:22:20Z 1.24.0 <h3>What's Changed</h3> <h4>Breaking Changes</h4> <p>Minimum required PowerShell version raised from 3 to 5.1</p> <ul> <li>Drop v3 and v4 support from build by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andyleejordan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andyleejordan">@andyleejordan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2918194889" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2081" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2081/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2081">#2081</a></li> </ul> <h4>New Features</h4> <ul> <li>Add new options (enabled by default) to formatting rule <code>UseCorrectCasing</code> to also correct operators, keywords and commands - Add UseConsistentCasing by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Jaykul/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Jaykul">@Jaykul</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="972196099" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1704" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1704/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1704">#1704</a></li> </ul> <h4>Enhancements</h4> <ul> <li>PSAlignAssignmentStatement: Ignore hashtables with a single key-value pair by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/liamjpeters/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/liamjpeters">@liamjpeters</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2210318499" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1986" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1986/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1986">#1986</a></li> <li>Use <code>RequiredResource</code> hashtable to specify PowerShell module versions by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andyleejordan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andyleejordan">@andyleejordan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2824449698" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2053" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2053/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2053">#2053</a></li> <li>Set exit code of <code>Invoke-ScriptAnalyzer -EnableExit</code> to total number of diagnostics (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2831436663" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2054" data-hovercard-type="issue" data-hovercard-url="/PowerShell/PSScriptAnalyzer/issues/2054/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/issues/2054">#2054</a>) by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/MatejKafka/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/MatejKafka">@MatejKafka</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2831488590" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2055" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2055/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2055">#2055</a></li> <li>PSAvoidAssignmentToAutomaticVariable: Ignore when a Parameter has an Attribute that contains a Variable expression by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/liamjpeters/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/liamjpeters">@liamjpeters</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2211180768" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1988" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1988/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1988">#1988</a></li> <li>Trim unnecessary trailing spaces from string resources in Strings.resx by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/XPlantefeve/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/XPlantefeve">@XPlantefeve</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2158945296" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1972" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1972/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1972">#1972</a></li> <li>Do not print summary repeatedly for each logger by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/MatejKafka/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/MatejKafka">@MatejKafka</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2844001522" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2058" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2058/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2058">#2058</a></li> <li>Make Settings type detection more robust by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Tadas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Tadas">@Tadas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2138785738" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1967" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1967/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1967">#1967</a></li> <li>Add foreach Assignment to AvoidAssignmentToAutomaticVariable by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/poshAJ/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/poshAJ">@poshAJ</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2459316682" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2021" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2021/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2021">#2021</a></li> <li>Invoke-ScriptAnalyzer: Stream diagnostics instead of batching by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/MatejKafka/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/MatejKafka">@MatejKafka</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2869116790" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2062" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2062/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2062">#2062</a></li> <li>Invoke-ScriptAnalyzer: Print summary only once per invocation by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/MatejKafka/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/MatejKafka">@MatejKafka</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2869131906" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2063" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2063/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2063">#2063</a></li> <li>Invoke-ScriptAnalyzer: Include parse errors in reported error count by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/MatejKafka/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/MatejKafka">@MatejKafka</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2888406858" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2069" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2069/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2069">#2069</a></li> <li>Add exception message for missing rules by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Tadas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Tadas">@Tadas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2138814120" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1968" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1968/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1968">#1968</a></li> </ul> <h4>Bug Fixes</h4> <ul> <li>Update links in module manifest by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/martincostello/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/martincostello">@martincostello</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2577795351" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2034" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2034/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2034">#2034</a></li> <li>Fix incorrect <code>-ReportSummary</code> Pester test grouping by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/MatejKafka/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/MatejKafka">@MatejKafka</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2843983861" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2057" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2057/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2057">#2057</a></li> <li>Fixed erroneous PSUseDeclaredVarsMoreThanAssignments for some globals variables by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/John-Leitch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/John-Leitch">@John-Leitch</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2402127030" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2013" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2013/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2013">#2013</a></li> <li>PSReservedParams: Make severity Error instead of Warning by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/liamjpeters/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/liamjpeters">@liamjpeters</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2213426241" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1989" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1989/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1989">#1989</a></li> <li>PSUseConsistentIndentation: Check indentation of lines where first token is a LParen not followed by comment or new line by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/liamjpeters/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/liamjpeters">@liamjpeters</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2240033309" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1995" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1995/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1995">#1995</a></li> <li>PSUseConsistentWhitespace: Correctly fix whitespace between command parameters when parameter value spans multiple lines by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/liamjpeters/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/liamjpeters">@liamjpeters</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2869304138" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2064" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2064/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2064">#2064</a></li> <li>PSAvoidTrailingWhitespace: Rule not applied when using formatter + single character lines with trailing whitespace are truncated by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/liamjpeters/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/liamjpeters">@liamjpeters</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2234997411" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1993" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1993/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1993">#1993</a></li> <li>PSUseConsistentWhitespace: Ignore whitespace between separator and comment by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/liamjpeters/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/liamjpeters">@liamjpeters</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2878885800" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2065" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2065/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2065">#2065</a></li> <li>PSReviewUnusedParameter false positive for ValueFromPipeline by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/liamjpeters/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/liamjpeters">@liamjpeters</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2892325514" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2072" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2072/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2072">#2072</a></li> <li>Change severity of UseCorrectCasing to be Information by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2918347588" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2082" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2082/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2082">#2082</a></li> </ul> <h4>Process Changes</h4> <ul> <li>Copy more files to module root by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andyleejordan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andyleejordan">@andyleejordan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2580087760" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2037" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2037/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2037">#2037</a></li> <li>Upgrade to .NET 8 since .NET 6 is past EOL by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andyleejordan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andyleejordan">@andyleejordan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2892598838" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2073" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2073/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2073">#2073</a></li> <li>Use -NoProfile when invoking pwsh in Pester tests by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/MatejKafka/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/MatejKafka">@MatejKafka</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2869104831" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2061" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2061/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2061">#2061</a></li> <li>Add GitHub Actions Ubuntu's dotnet path by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andyleejordan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andyleejordan">@andyleejordan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2917796889" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2080" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2080/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2080">#2080</a></li> <li>Update README.md with recent upgrade to .NET 8 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2915101052" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2076" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2076/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2076">#2076</a></li> <li>Update CHANGELOG.MD with 1.23.0 release notes by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2915203545" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2078" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2078/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2078">#2078</a></li> <li>Bring back Codespaces by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2915147707" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2077" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2077/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2077">#2077</a></li> <li>Update SMA version to 7.4.7 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2915017133" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2075" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2075/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2075">#2075</a></li> <li>Test PowerShell Preview in CI by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andyleejordan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andyleejordan">@andyleejordan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2888611114" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2070" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2070/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2070">#2070</a></li> <li>Backport MSDocs changes by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2922267158" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2085" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2085/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2085">#2085</a></li> <li>Document new optional parameters added to UseCorrectCasing by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2922282718" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2086" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2086/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2086">#2086</a></li> </ul> <h3>New Contributors</h3> <ul> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/martincostello/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/martincostello">@martincostello</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2577795351" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2034" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2034/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2034">#2034</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/MatejKafka/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/MatejKafka">@MatejKafka</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2831488590" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2055" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2055/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2055">#2055</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/XPlantefeve/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/XPlantefeve">@XPlantefeve</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2158945296" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1972" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1972/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1972">#1972</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/John-Leitch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/John-Leitch">@John-Leitch</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2402127030" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2013" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2013/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2013">#2013</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Tadas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Tadas">@Tadas</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2138785738" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1967" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1967/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1967">#1967</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/poshAJ/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/poshAJ">@poshAJ</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2459316682" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2021" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2021/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2021">#2021</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Jaykul/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Jaykul">@Jaykul</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="972196099" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1704" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1704/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1704">#1704</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/PowerShell/PSScriptAnalyzer/compare/1.23.0...1.24.0"><tt>1.23.0...1.24.0</tt></a></p> andyleejordan tag:github.com,2008:Repository/33149177/1.23.0 2025-03-15T17:47:53Z 1.23.0 <h2>What's Changed</h2> <ul> <li>Adding OneBranch pipeline YAML config file for OSS_Microsoft_PSSA-Official by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/adityapatwardhan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/adityapatwardhan">@adityapatwardhan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2180360334" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1981" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1981/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1981">#1981</a></li> <li>Update format and grammar of AvoidUsingAllowUnencryptedAuthentication by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2159141733" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1974" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1974/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1974">#1974</a></li> <li>Move to OneBranch Signing and SBOM generation by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/TravisEz13/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/TravisEz13">@TravisEz13</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2185215368" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1982" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1982/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1982">#1982</a></li> <li>Sync rule docs changes by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2208382660" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1985" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1985/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1985">#1985</a></li> <li>Sync docs changes from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2209640072" data-permission-text="Title is private" data-url="https://github.com/MicrosoftDocs/PowerShell-Docs-Modules/issues/213" data-hovercard-type="pull_request" data-hovercard-url="/MicrosoftDocs/PowerShell-Docs-Modules/pull/213/hovercard" href="https://github.com/MicrosoftDocs/PowerShell-Docs-Modules/pull/213">MicrosoftDocs/PowerShell-Docs-Modules#213</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2210897534" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1987" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1987/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1987">#1987</a></li> <li>Update CHANGELOG for 1.22.0 release by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2225937788" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1990" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1990/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1990">#1990</a></li> <li>Update Code of Conduct by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andyleejordan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andyleejordan">@andyleejordan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2301427556" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2002" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2002/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2002">#2002</a></li> <li>Update default type definition of <code>RuleInfo</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/liamjpeters/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/liamjpeters">@liamjpeters</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2395042339" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2011" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2011/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2011">#2011</a></li> <li>PSUseConsistentWhitespace: Handle redirect operators which are not in stream order by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/liamjpeters/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/liamjpeters">@liamjpeters</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2294785509" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2001" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2001/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2001">#2001</a></li> <li>Setup GitHub Actions CI by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andyleejordan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andyleejordan">@andyleejordan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2451794454" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2018" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2018/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2018">#2018</a></li> <li>Setup new OneBranch pipeline by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andyleejordan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andyleejordan">@andyleejordan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2518195699" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2027" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2027/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2027">#2027</a></li> <li>Bump SMA version by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andyleejordan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andyleejordan">@andyleejordan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2532061776" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2028" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2028/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2028">#2028</a></li> <li>Package updates by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andyleejordan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andyleejordan">@andyleejordan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2551386713" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2030" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2030/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2030">#2030</a></li> <li>v1.23.0: Update version for new release by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andyleejordan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andyleejordan">@andyleejordan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2574360456" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2032" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2032/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2032">#2032</a></li> <li>Migrate release pipeline to DeployBox by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andyleejordan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andyleejordan">@andyleejordan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2576781445" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/2033" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/2033/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/2033">#2033</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/adityapatwardhan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/adityapatwardhan">@adityapatwardhan</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2180360334" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1981" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1981/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1981">#1981</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/PowerShell/PSScriptAnalyzer/compare/1.22.0...1.23.0"><tt>1.22.0...1.23.0</tt></a></p> andyleejordan tag:github.com,2008:Repository/33149177/1.22.0 2024-03-11T22:30:13Z PSScriptAnalyzer v1.22.0 <p>Minimum required version when using PowerShell 7 is now <code>7.2.11</code>.</p> <h2>New Rule</h2> <ul> <li>Add AvoidUsingAllowUnencryptedAuthentication by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/MJVL/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/MJVL">@MJVL</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1437527230" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1857" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1857/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1857">#1857</a></li> <li>Add the AvoidExclaimOperator rule to warn about the use of the ! negation operator. Fixes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1330207952" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1826" data-hovercard-type="issue" data-hovercard-url="/PowerShell/PSScriptAnalyzer/issues/1826/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/issues/1826">#1826</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/liamjpeters/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/liamjpeters">@liamjpeters</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1756698409" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1922" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1922/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1922">#1922</a></li> </ul> <h2>Enhancements</h2> <ul> <li>Enable suppression of PSAvoidAssignmentToAutomaticVariable for specific variable or parameter by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/fflaten/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/fflaten">@fflaten</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1601759776" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1896" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1896/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1896">#1896</a></li> <li>Upgrade to use .NET 6 since PowerShell 7.0 is now out out of support by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1485034911" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1873" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1873/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1873">#1873</a></li> <li>Convert UseSingularNouns to configurable rule and add Windows to allowlist by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/MJVL/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/MJVL">@MJVL</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1437532357" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1858" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1858/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1858">#1858</a></li> <li>Add ErrorView to SpecialVars.cs by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ewisniew0/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ewisniew0">@ewisniew0</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1461672024" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1865" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1865/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1865">#1865</a></li> <li>Allow suppression of PSUseSingularNouns for specific function by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/fflaten/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/fflaten">@fflaten</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1631001707" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1903" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1903/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1903">#1903</a></li> <li>Adding ToString() methods to [CorrectionExtent] and [DiagnosticRecord] by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/StartAutomating/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/StartAutomating">@StartAutomating</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1936424524" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1946" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1946/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1946">#1946</a></li> <li>Add PSNativeCommandUseErrorActionPreference preference variable by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aelij/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aelij">@aelij</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2055084758" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1954" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1954/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1954">#1954</a></li> <li>AvoidUsingPositionalParameter: Check if command has parameters to avoid having az in default CommandAllowList by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1420654208" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1850" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1850/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1850">#1850</a></li> <li>PSReviewUnusedParameter: Add CommandsToTraverse option by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/FriedrichWeinmann/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/FriedrichWeinmann">@FriedrichWeinmann</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1735810425" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1921" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1921/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1921">#1921</a></li> </ul> <h2>Fixes</h2> <ul> <li>Prevent NullReferenceException for null analysis type. by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hubuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hubuk">@hubuk</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1982341671" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1949" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1949/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1949">#1949</a></li> </ul> <h2>Build &amp; Test, Documentation and Maintenance</h2> <ul> <li>UseApprovedVerbs.md: Backport minor change of PR 104 in PowerShell-Docs-Modules by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1416959728" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1849" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1849/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1849">#1849</a></li> <li>Improve Pester bootstrap logic for CI by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1420859809" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1853" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1853/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1853">#1853</a></li> <li>Bump .NET SDK from 3.1.419 to 3.1.424 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1420710695" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1852" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1852/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1852">#1852</a></li> <li>AvoidLongLines: Make internal function DiagnosticSeverity private by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1420668469" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1851" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1851/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1851">#1851</a></li> <li>SupportsShouldProcess.md: Fix Typo - MicrosoftDocs backport of PR 121 there by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1479314942" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1869" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1869/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1869">#1869</a></li> <li>Minor test fix for UseCorrectCasing rule by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kilasuit/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kilasuit">@kilasuit</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1558914078" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1885" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1885/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1885">#1885</a></li> <li>Make Invoke-Formatter test case assertion fail in case of incorrect casing by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alexandear/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alexandear">@alexandear</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1577838513" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1888" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1888/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1888">#1888</a></li> <li>Fix <code>AvoidUsingDoubleQuotesForConstantString</code> information in overview README by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/michaeltlombardi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/michaeltlombardi">@michaeltlombardi</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1531292734" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1883" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1883/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1883">#1883</a></li> <li>Update dependabot reviewers to remove Rob by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/fflaten/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/fflaten">@fflaten</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1603531611" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1897" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1897/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1897">#1897</a></li> <li>Fix typo in AvoidUsingPlainTextForPassword error message: 'to' being repeated two times by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ALiwoto/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ALiwoto">@ALiwoto</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1616864383" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1902" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1902/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1902">#1902</a></li> <li>CI: Use new Ubuntu 22.04 image and remove deprecated Ubuntu 18.04 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1384967827" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1847" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1847/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1847">#1847</a></li> <li>Change double quotes to single where possible by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1692752193" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1911" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1911/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1911">#1911</a></li> <li>Backport MicrosoftDocs PR 143 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1690889910" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1910" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1910/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1910">#1910</a></li> <li>Fix typos in rules documentation by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1700873772" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1913" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1913/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1913">#1913</a></li> <li>add demand for compliance job by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/TravisEz13/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/TravisEz13">@TravisEz13</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1735082225" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1920" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1920/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1920">#1920</a></li> <li>FabricBot: Onboarding to GitOps.ResourceManagement because of FabricBot decommissioning by @microsoft-github-policy-service in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1793963652" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1925" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1925/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1925">#1925</a></li> <li>Sync changes from Docs repository by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1838257237" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1929" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1929/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1929">#1929</a></li> <li>Developer documentation fix and message fix of PossibleIncorrectUsageOfRedirectionOperatorDescription by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JoelTipke/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JoelTipke">@JoelTipke</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1819198552" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1928" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1928/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1928">#1928</a></li> <li>Documentation corrections for AvoidUsingPositionalParameters by @ImportTaste in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1722933718" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1917" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1917/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1917">#1917</a></li> <li>Update minimum PowerShell Core version to 7.2.11 as 7.0 is now EOL by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1484243718" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1872" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1872/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1872">#1872</a></li> <li>Remove dead code and simplify by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1425750331" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1856" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1856/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1856">#1856</a></li> <li>PSReservedParams - link about_CommonParameters by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/petervandivier/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/petervandivier">@petervandivier</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1676960998" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1908" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1908/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1908">#1908</a></li> <li>Generate strongly typed resources as part of build by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1425464990" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1855" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1855/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1855">#1855</a></li> <li>Bump Newtonsoft.Json to 13.0.3 by <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/dependabot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dependabot">@dependabot</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1463806539" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1866" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1866/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1866">#1866</a></li> <li>Use latest .NET 6.0 SDK patch version and update devcontainer to use .NET 6 as well by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2062455267" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1955" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1955/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1955">#1955</a></li> <li>Bump Microsoft.Management.Infrastructure from 1.0.0 to 3.0.0 for PowerShell 7 only by <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/dependabot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dependabot">@dependabot</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1976918783" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1947" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1947/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1947">#1947</a></li> <li>Bump version from 1.21.0 to 1.22.0 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2131976689" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1965" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1965/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1965">#1965</a></li> <li>Remove Appveyor badge from main README by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2115277954" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1962" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1962/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1962">#1962</a></li> <li>Do not hard code common parameters in module help test any more by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2115307477" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1963" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1963/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1963">#1963</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/fflaten/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/fflaten">@fflaten</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1603531611" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1897" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1897/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1897">#1897</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ALiwoto/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ALiwoto">@ALiwoto</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1616864383" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1902" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1902/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1902">#1902</a></li> <li>@microsoft-github-policy-service made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1793963652" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1925" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1925/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1925">#1925</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JoelTipke/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JoelTipke">@JoelTipke</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1819198552" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1928" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1928/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1928">#1928</a></li> <li>@ImportTaste made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1722933718" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1917" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1917/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1917">#1917</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/liamjpeters/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/liamjpeters">@liamjpeters</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1756698409" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1922" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1922/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1922">#1922</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/petervandivier/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/petervandivier">@petervandivier</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1676960998" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1908" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1908/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1908">#1908</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ewisniew0/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ewisniew0">@ewisniew0</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1461672024" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1865" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1865/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1865">#1865</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/StartAutomating/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/StartAutomating">@StartAutomating</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1936424524" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1946" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1946/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1946">#1946</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aelij/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aelij">@aelij</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2055084758" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1954" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1954/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1954">#1954</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/FriedrichWeinmann/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/FriedrichWeinmann">@FriedrichWeinmann</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1735810425" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1921" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1921/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1921">#1921</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/PowerShell/PSScriptAnalyzer/compare/1.21.0...1.22.0"><tt>1.21.0...1.22.0</tt></a></p> bergmeister tag:github.com,2008:Repository/33149177/1.21.0 2024-03-05T14:40:55Z PSScriptAnalyzer v1.21.0 <h2><a href="https://github.com/PowerShell/PSScriptAnalyzer/tree/1.21.0">1.21.0</a> - 2022-09-14</h2> <h3>New Rule</h3> <ul> <li>Add AvoidMultipleTypeAttributes rule (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="974536941" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1705" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1705/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1705">#1705</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hankyi95/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hankyi95">@hankyi95</a>)</li> <li>Add the AvoidSemicolonsAsLineTerminators rule to warn about lines ending with a semicolon. Fix (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="267542459" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/824" data-hovercard-type="issue" data-hovercard-url="/PowerShell/PSScriptAnalyzer/issues/824/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/issues/824">#824</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1271980514" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1806" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1806/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1806">#1806</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tempora-mutantur/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tempora-mutantur">@tempora-mutantur</a>)</li> <li>Add AvoidUsingBrokenHashAlgorithms (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1198259405" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1787" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1787/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1787">#1787</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/MJVL/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/MJVL">@MJVL</a>)</li> </ul> <h3>Enhancements</h3> <ul> <li>Also return suggestion to use PSCredential for AvoidUsingPlainTextForPassword rule (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1184002326" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1782" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1782/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1782">#1782</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Invoke-Formatter: Accept input from pipeline (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1108508835" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1763" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1763/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1763">#1763</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>PSAvoidUsingPositionalParameters: Do not warn on AZ CLI (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1382943445" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1846" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1846/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1846">#1846</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>PSAvoidUsingPositionalParameters: Do not warn on AZ CLI (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1382943445" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1846" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1846/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1846">#1846</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> <h3>Fixes</h3> <ul> <li>Fix PSUseConsistentIndentation.PipelineIndentation.None to not remove code when the previous line ended with a pipe (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1052751777" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1746" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1746/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1746">#1746</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Skip OpenBrace check when preceded by Dot token (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1060031044" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1750" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1750/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1750">#1750</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Fix NRE (NullReferenceException) when custom rules omit optional properties in diagnostics (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="998499601" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1715" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1715/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1715">#1715</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> </ul> <h3>Build, Documentation and Maintenance</h3> <ul> <li>Tweak documentation for AvoidUsingBrokenHashAlgorithms (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1336299303" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1829" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1829/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1829">#1829</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/michaeltlombardi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/michaeltlombardi">@michaeltlombardi</a>)</li> <li>Set MaxDepth in JsonSerializerSettings for more secure handling of exceptional conditions in Newtonsoft.Json (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1316793229" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1824" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1824/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1824">#1824</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Use latest Newtonsoft.Json version for Windows PowerShell builds and not exclude it any more in Dependabot (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1316809284" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1825" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1825/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1825">#1825</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Correct pipeline acceptance docs for Invoke-Formatter.md (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1353050489" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1833" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1833/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1833">#1833</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Sync remaining docs changes from Microsoft docs (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1357140854" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1835" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1835/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1835">#1835</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Reformat note block (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1357905606" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1837" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1837/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1837">#1837</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a>)</li> <li>Update AvoidMultipleTypeAttributes.md with example that has runtime error (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1347023106" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1831" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1831/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1831">#1831</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Fix minimum PowerShell version to be 7.0.11 instead of 7.1.7 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1346664706" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1830" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1830/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1830">#1830</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Add <code>.github/fabricbot.json</code> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1283062321" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1812" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1812/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1812">#1812</a>)</li> <li>Sync changes from docs repo (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1290200472" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1814" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1814/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1814">#1814</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a>)</li> <li>Fix name of PowerShell 5.1 test stage in CI (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1300953366" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1820" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1820/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1820">#1820</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>CI: Retry test tasks in cas1e of failure to reduce sporadic failures (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1117833840" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1770" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1770/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1770">#1770</a>)</li> <li>Upgrade from net452 to net462 for Windows PowerShell (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1213456768" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1789" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1789/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1789">#1789</a>)</li> <li>Move issue template config into folder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1271384987" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1804" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1804/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1804">#1804</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/michaeltlombardi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/michaeltlombardi">@michaeltlombardi</a>)</li> <li>Bump version from 1.20.0 to 1.21.0 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1253136578" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1796" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1796/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1796">#1796</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Bump .NET SDK and SMA patch version (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1253118576" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1795" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1795/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1795">#1795</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Be sure not to clobber existing files when installing dotnet. (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1202429089" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1788" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1788/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1788">#1788</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> <li>Add link to issues chooser for reporting docs issues (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1245519025" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1794" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1794/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1794">#1794</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a>)</li> <li>Update README and delete docs that were migrated (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1230018999" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1790" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1790/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1790">#1790</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a>)</li> <li>Fix errors in ShouldProcess rule document (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1111810751" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1766" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1766/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1766">#1766</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/masaru-iritani/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/masaru-iritani">@masaru-iritani</a>)</li> <li>Replicate changes from docs repo (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1179979475" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1781" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1781/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1781">#1781</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a>)</li> <li>Update Windows CI images as windows-2016 has been deprecated (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1185328453" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1784" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1784/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1784">#1784</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Use latest mac image rather than a specific version. (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1149904510" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1777" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1777/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1777">#1777</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> <li>Add docs migration notice &amp; fix formatting (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1175813222" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1779" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1779/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1779">#1779</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a>)</li> <li>use compliant build environment for release build. (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1148567395" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1776" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1776/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1776">#1776</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> <li>Enable SBOM creation for script analyzer (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1107432232" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1762" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1762/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1762">#1762</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> <li>Fix links to work on GitHub (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1038731379" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1738" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1738/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1738">#1738</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andschwa/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andschwa">@andschwa</a>)</li> <li>Update AvoidUsingWMICmdlet.md (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1038491613" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1737" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1737/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1737">#1737</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/C0smin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/C0smin">@C0smin</a>)</li> <li>Fix broken doc link in README (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1033843141" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1735" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1735/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1735">#1735</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/AndrewRathbun/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/AndrewRathbun">@AndrewRathbun</a>)</li> <li>Add metadata to docs (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1029307351" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1731" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1731/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1731">#1731</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a>)</li> <li>Remove Ubuntu 16.04 from test matrix (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1029564797" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1733" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1733/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1733">#1733</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Use PowerShell1ES pool for official build (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1010231513" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1719" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1719/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1719">#1719</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> <li>Update cmdlet docs for 1.20.0 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1020267461" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1726" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1726/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1726">#1726</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a>)</li> <li>Fixes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1015416812" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1720" data-hovercard-type="issue" data-hovercard-url="/PowerShell/PSScriptAnalyzer/issues/1720/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/issues/1720">#1720</a> - move rule docs and update tests (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1015443708" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1724" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1724/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1724">#1724</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a>)</li> <li>Update rule docs (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="984223967" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1711" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1711/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1711">#1711</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a>)</li> </ul> bergmeister tag:github.com,2008:Repository/33149177/1.20.0 2021-08-25T20:31:17Z PSScriptAnalyzer v1.20.0 <h2><a href="https://github.com/PowerShell/PSScriptAnalyzer/tree/1.20.0">1.20.0</a> - 2021-08-20</h2> <h3>Fixes</h3> <ul> <li>Replace unhelpful warning around <code>process</code> aliasing <code>Get-Process</code> with warning about misused syntax (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="803016228" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1638" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1638/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1638">#1638</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Fix <code>FunctionInfo</code> fallback AST attribute analysis for UseShouldProcessCorrectly (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="849872342" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1659" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1659/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1659">#1659</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hubuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hubuk">@hubuk</a>)</li> <li>Do not increase indentation after a left parenthesis if the previous token is a newline and the next token is not a newline (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="611468812" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1469" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1469/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1469">#1469</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>UseConsistentWhitespace - CheckOpenBrace setting: Do not warn when being preceded by open parenthesis (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="792789006" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1633" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1633/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1633">#1633</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> <h3>New Rule</h3> <ul> <li>Make UseSingularNouns rule work in PowerShell 7 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="792384012" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1627" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1627/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1627">#1627</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>UseConsistentWhitespace: Create option to ignore assignment operator inside hashtable (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="674880497" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1566" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1566/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1566">#1566</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/daviesj/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/daviesj">@daviesj</a>)</li> </ul> <h3>Miscellaneous</h3> <ul> <li>Implement -IncludeSuppressions parameter (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="952033263" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1701" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1701/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1701">#1701</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Combine multiple suppressions applied to the same diagnostic (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="949932943" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1699" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1699/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1699">#1699</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Use dependabot to keep dependencies up to date (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="866303651" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1664" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1664/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1664">#1664</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Add reviewers and explicit dependency exclusions to dependabot (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="871327400" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1676" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1676/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1676">#1676</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Remove explicit registries in dependabot (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="871305821" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1671" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1671/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1671">#1671</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Link to PSScriptAnalyzer rule documentation from the README (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="812548218" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1642" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1642/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1642">#1642</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbodenmiller/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbodenmiller">@bbodenmiller</a>)</li> <li>Add HelpInfoUri to module manifest (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="838786997" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1651" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1651/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1651">#1651</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdwheeler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdwheeler">@sdwheeler</a>)</li> <li>Add documentation around CustomRulePath in Settings file to README.md (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="799234406" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1636" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1636/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1636">#1636</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/johlju/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/johlju">@johlju</a>)</li> <li>Use allowlist and blocklist terminology, supply alternate configuration key for PSAvoidUsingCmdletAliases (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="729104472" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1604" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1604/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1604">#1604</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Fix suppression example errors in README (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="715924383" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1593" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1593/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1593">#1593</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Fix AvoidLongLines documentation example (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="665606353" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1554" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1554/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1554">#1554</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/floh96/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/floh96">@floh96</a>)</li> <li>Remove broken waffle.io links from readme.md (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="668222733" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1558" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1558/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1558">#1558</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clcaldwell/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clcaldwell">@clcaldwell</a>)</li> <li>Fix typo in AvoidUsingCmdletAliases documentation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="711645853" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1590" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1590/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1590">#1590</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rubengonzalez-dev/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rubengonzalez-dev">@rubengonzalez-dev</a>)</li> </ul> <h3>Testing</h3> <ul> <li>Fix compatibility rule tests (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="944633479" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1697" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1697/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1697">#1697</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Fix missing space in AvoidPositionalParameter test asset (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="681216587" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1573" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1573/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1573">#1573</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> </ul> <h3>Development/Build Improvements</h3> <ul> <li>Fix build module tests (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="839110912" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1654" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1654/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1654">#1654</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clcaldwell/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clcaldwell">@clcaldwell</a>)</li> <li>Move to new signing process for release build and prep for 1.20.0 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="785283470" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1625" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1625/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1625">#1625</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> <li>Handle cases where the signature generator fails (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="856200977" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1661" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1661/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1661">#1661</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> <li>Update .NET SDK to 3.1.408 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="792534632" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1630" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1630/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1630">#1630</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Simplify devcontainer setup and resolve git line ending conflicts (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="802986758" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1637" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1637/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1637">#1637</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Speedup CI by bootstrapping PowerShell module installations in background and in parallel, whilst the .NET SDK is being installed (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="792866383" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1634" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1634/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1634">#1634</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Upgrade release Dockerfile from Ubuntu 16.04 to 20.04 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="792575104" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1631" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1631/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1631">#1631</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Remove old powershell-core NuGet feed, which sometimes causes build failures (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="792582160" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1632" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1632/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1632">#1632</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Remove reference to myget.org as a package resource (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="804958520" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1640" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1640/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1640">#1640</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> <li>Add Ubuntu 20.04 to build matrix (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="792527759" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1628" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1628/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1628">#1628</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Remove conditional compilation for PSv6/netstandard2.0 for Engine and Rules projects (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="728759400" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1600" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1600/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1600">#1600</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Upgrade Microsoft.CSharp, Microsoft.Win32.Registry and System.Reflection.TypeExtensions from 4.5.0 to 4.7.0 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="728752352" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1599" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1599/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1599">#1599</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Use PowerShell preview extension for Github Codespaces (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="727655517" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1596" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1596/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1596">#1596</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Update SMA reference for netcoreapp3.1 to from 7.0.0 to 7.0.3 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="727660812" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1597" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1597/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1597">#1597</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>🧹 Make usage of Microsoft.Management.Infrastructure consistent and reference it only once in CrossCompatibility project (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="728768948" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1601" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1601/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1601">#1601</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Update launch.json (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="728994089" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1603" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1603/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1603">#1603</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Make CI fail if tests fail and fix failing tests by making them Pester v5 compatible (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="665302207" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1553" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1553/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1553">#1553</a>) (coauthored by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> JamesWTruher tag:github.com,2008:Repository/33149177/1.19.1 2020-07-30T17:13:52Z PSScriptAnalyzer v1.19.1 <h3>Fixes</h3> <ul> <li><code>UseCorrectCasing</code>: Do not use CommandInfoCache when CommandInfoParameters property throws due to runspace affinity problem of PowerShell engine (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="638154590" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1523" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1523/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1523">#1523</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li><code>ReviewUnusedParameter</code>: Do not trigger when MyInvocation.BoundParameters or PSCmdlet.MyInvocation.BoundParameters is used (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="637152057" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1520" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1520/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1520">#1520</a>) (Thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jegannathanmaniganadan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jegannathanmaniganadan">@jegannathanmaniganadan</a>!)</li> <li><code>PipelineIndentationStyle.None</code>: Fix bug that caused incorrect formatting in hashtables (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="617787840" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1497" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1497/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1497">#1497</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li><code>UseUsingScopeModifierInNewRunspaces</code>: Fix ArgumentException when the same variable name is used in 2 different sessions. (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="616800504" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1493" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1493/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1493">#1493</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li><code>UseConsistentWhitespace</code> <ul> <li>Check previous token only if it starts on the same line (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="616761924" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1491" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1491/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1491">#1491</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Fix CheckParameter bug when using interpolated string (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="618394877" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1498" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1498/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1498">#1498</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> </li> </ul> <h3>New Rule</h3> <ul> <li>New rule (disabled by default): <a href="https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/AvoidUsingDoubleQuotesForConstantString.md">AvoidUsingDoubleQuotesForConstantString</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="612052493" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1470" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1470/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1470">#1470</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> <h3>Miscellaneous</h3> <ul> <li>Set Assembly version attribute (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="663334390" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1549" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1549/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1549">#1549</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Remove references to Windows in Introduction of Readme.md (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="623059201" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1509" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1509/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1509">#1509</a>) (Thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hjorslev/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hjorslev">@hjorslev</a>!)</li> </ul> <h3>Testing</h3> <ul> <li>Pester v5 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="602089768" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1444" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1444/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1444">#1444</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> <h3>Development improvements</h3> <ul> <li>Include PDB files in Debug build (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="647435510" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1535" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1535/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1535">#1535</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Add more useful launch configurations (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="618401739" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1499" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1499/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1499">#1499</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Make .Net Core version in Docker image of .devcontainer match the one in global.json (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="617571957" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1494" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1494/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1494">#1494</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> bergmeister tag:github.com,2008:Repository/33149177/1.19.0 2020-05-04T18:00:36Z PSScriptAnalyzer v1.19.0 <h3>New Rules</h3> <ul> <li>UseUsingScopeModifierInNewRunspaces (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="566484534" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1419" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1419/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1419">#1419</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Jawz84/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Jawz84">@Jawz84</a>!)</li> <li>ReviewUnusedParameter (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="535504287" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1382" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1382/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1382">#1382</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mattmcnabb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mattmcnabb">@mattmcnabb</a>!)</li> <li>AvoidOverwritingBuiltInCmdlets (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="501621778" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1348" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1348/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1348">#1348</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/thomasrayner/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/thomasrayner">@thomasrayner</a>!)</li> <li>UseProcessBlockForPipelineCommand (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="523802242" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1373" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1373/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1373">#1373</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mattmcnabb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mattmcnabb">@mattmcnabb</a>!)</li> <li>AvoidLongLines (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="488790622" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1329" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1329/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1329">#1329</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/thomasrayner/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/thomasrayner">@thomasrayner</a>!)</li> </ul> <h3>Rule Enhancements</h3> <ul> <li>Add more automatic variables to PSAvoidAssignmentToAutomaticVariables that are not read-only but should still not be assigned to in most cases (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="548780079" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1394" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1394/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1394">#1394</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> <h3>Compatibility Rules</h3> <ul> <li>Make CompatibilityCollector able to parse a single version String <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="602134948" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1446" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1446/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1446">#1446</a> (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Update compatibility profiles for PowerShell 7 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="589465128" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1429" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1429/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1429">#1429</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Ps7 syntax (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="579533642" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1426" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1426/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1426">#1426</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Fix ps3 syntax check (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="550519446" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1395" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1395/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1395">#1395</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Add PS 7 to UseCompatibleSyntax (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="491807432" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1331" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1331/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1331">#1331</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Fix UseCompatibleSyntax configuration doc (<a href="https://github.com/PowerShell/PSScriptAnalyzer/commit/e37daeb62d7ae6267b1a2c78a50404c8ab271786">e37daeb</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Update UseCompatibleTypes docs with more info (<a href="https://github.com/PowerShell/PSScriptAnalyzer/commit/42f5e58ad689fd3871bf4d9c5977b9352d1d4a1f">42f5e58</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>UseCompatibleCommands doc improvements (<a href="https://github.com/PowerShell/PSScriptAnalyzer/commit/7874b555643315dc3d8c00394fac81e0684504ff">7874b55</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Update AzF profile to be useful (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="493539453" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1341" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1341/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1341">#1341</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>UseCorrectCasing <ul> <li>Correct casing of parameters as well in PSUseCorrectCasing formatter rule (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="545280335" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1391" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1391/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1391">#1391</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Fix temporarily introduced bug (PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="545280335" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1391" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1391/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1391">#1391</a>) for UseCorrectCasing (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="561901104" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1408" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1408/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1408">#1408</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> </li> <li>UseConsistentIndentation <ul> <li>When non-default options are used, cater for the case of a comment between pipe and newline (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="607106804" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1463" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1463/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1463">#1463</a>)</li> <li>Add PipelineIndentationStyle.None option for scenarios where indentation is custom, inconsistent or the user does not like any of the 3 pipeline indentation styles (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="552119667" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1399" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1399/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1399">#1399</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Fix complex case when PipelineIndentation is not set to default (NoIndentation) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="512849203" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1359" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1359/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1359">#1359</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> </li> <li>UseConsistentWhitespace <ul> <li>Split CheckPipe feature of trimming redundant whitespace out into option CheckPipeForRedundantWhiteSpace (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="562429549" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1413" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1413/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1413">#1413</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Set default of CheckParameter configuration setting to false to ensure that setting won't be enabled by default if an old version of the VS-Code extension uses a new version of - PSScriptAnalyzer (1.19) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="562196111" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1411" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1411/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1411">#1411</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Remove redundant whitespace between parameters with new option (disabled by default) in UseConsistentWhitespace (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="545469255" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1392" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1392/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1392">#1392</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Ignore empty hashtable for CheckInnerBrace configuration (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="503261041" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1349" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1349/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1349">#1349</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> </li> </ul> <h3>Performance</h3> <p>The Formatter can now be multiple times faster depending on the use case and especially scaling problems were addressed that showed when analyzing large scripts with thousands of lines (a 3000 line test script was used in the below performance figures). Optimisations were to</p> <ul> <li>Eliminate initialization overhead, which can lead to a reduced time of up to 50%</li> <li>Optimize operations in rules to make them scale better, another improvement of around 50%</li> <li>The formatter used to re-parse the script in between every rule run but this is skipped now if the previous rule did not emit a <code>DiagnosticRecord</code> as it means the script text hasn't changed and doesn't need updating. Therefore formatting will be faster on scripts that need no to little changes.</li> </ul> <p>A small improvement was made to a script analysis rule as well but the gain is offset by the addition of the new rules in this release.</p> <p>The PRs for those improvements are:</p> <ul> <li>Eliminate Regex overhead in AvoidTrailingWhitespace -&gt; Speedup of 5% (PowerShell 5.1) or 2.5 % (PowerShell 7.1-preview.2) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="607773706" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1465" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1465/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1465">#1465</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Formatter: Recycle parsed AST and tokens in between rule invocations when no correction was applied to improve performance (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="606956326" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1462" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1462/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1462">#1462</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Improve performance of UseConsistentIndentation even more &gt; another 10% speedup for formatter (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="606540324" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1461" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1461/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1461">#1461</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Improve performance of UseConsistentIndentation -&gt; 35% speedup for formatter (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="605026730" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1458" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1458/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1458">#1458</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Lazy initialisation of LinkedList in TokenOperations constructor -&gt; 7% performance gain for formatter (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="602570701" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1453" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1453/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1453">#1453</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Invoke-Formatter: Skip VariableAnalysis, which is not needed to yield a 50% performance improvement (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="602525249" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1451" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1451/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1451">#1451</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> <h3>Fixes</h3> <ul> <li>Fix edge case of PSUseConsistentIndentation for non-default value (IncreaseIndentationForFirstPipeline/IncreaseIndentationAfterEveryPipeline) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="573960287" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1423" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1423/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1423">#1423</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Fix rule suppression ID in compat rules (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="593549300" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1432" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1432/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1432">#1432</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Changes to build analyzer for PS7 and PS6 and ship in separate directories and bump version to 1.19.0 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="577723674" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1425" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1425/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1425">#1425</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> <li>Use AST to determine SupportsShouldProcess when an error is thrown (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="550575419" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1397" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1397/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1397">#1397</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Fix false positive of AvoidAlias rule for implicit aliasing of Get- commands for the CommandType ExternalScript (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="544766049" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1386" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1386/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1386">#1386</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> <h3>Build/Tests/Maintenance</h3> <ul> <li>Changelog for 1.19.0 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="602162581" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1448" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1448/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1448">#1448</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Use separate test.yaml files files since param passing of pwsh still doesn't seem to fully work correctly <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="608566029" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1466" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1466/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1466">#1466</a> (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>New build scripts for release pipeline (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="600444608" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1442" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1442/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1442">#1442</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> <li>Make sure that tests always get uploaded, due to too much YAML indentation, condition was not applied (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="603440644" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1455" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1455/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1455">#1455</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Cleanup csproj files: Remove code duplication for Configuration and entries in Rules project, since it depends on Engine project (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="602502366" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1450" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1450/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1450">#1450</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Build: Use logging command as a temporary workaround due to billing bug preventing upload of pipeline artefacts (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="607712182" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1464" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1464/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1464">#1464</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Use bracket syntax for passing yaml parameter (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="602278628" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1449" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1449/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1449">#1449</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Update Newtonsoft.Json from 12.0.2 to 12.0.3 in Compatibility project as well (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="602158371" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1447" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1447/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1447">#1447</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Replace usage of $MyInvocation.MyCommand.Path with $PSScriptRoot and cleanup tests as a preparation for Pester v5 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="598563224" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1438" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1438/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1438">#1438</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Compatibility tests: Use correct genericVerCases test case and remove invalid test case (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="598894635" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1440" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1440/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1440">#1440</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Add out folder to .gitignore (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="601298740" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1443" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1443/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1443">#1443</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Pin major version of Pester to 4 and upgrade Pester version for WMF4 build (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="594092376" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1433" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1433/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1433">#1433</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>ms-vscode.csharp to ms-dotnettools.csharp (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="577524107" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1424" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1424/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1424">#1424</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/devlead/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/devlead">@devlead</a>!)</li> <li>Upgrade .net sdk to latest path (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="573604643" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1421" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1421/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1421">#1421</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Fix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="566393820" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1417" data-hovercard-type="issue" data-hovercard-url="/PowerShell/PSScriptAnalyzer/issues/1417/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/issues/1417">#1417</a> modulehelp false positives (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="566398118" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1418" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1418/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1418">#1418</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Jawz84/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Jawz84">@Jawz84</a>!)</li> <li>Increase macOs CI coverage to include both 10.14 and 10.15 as 10.15 has recently been added to Azure DevOps hosted agents (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="562237424" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1412" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1412/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1412">#1412</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Fix vmImage entries in build to match description (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="561922924" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1409" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1409/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1409">#1409</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Update .Net Core SDK from 3.1.100 to latest patch 3.1.101 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="560003149" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1405" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1405/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1405">#1405</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Multi-stage pipelines (to split build-&gt;test) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="558892095" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1404" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1404/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1404">#1404</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Use vmImage in yaml and merge build definitions into 1 by using jobs. Disable all AppVeyor images except for WMF4. Disable flaky UseCompatibleCommand tests on Ubuntu in CI (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="558719479" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1403" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1403/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1403">#1403</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Azure pipelines migration (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="458678224" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1267" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1267/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1267">#1267</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Add DevContainer support (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="466430971" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1286" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1286/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1286">#1286</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Increase maximum runspace pool size in flaky test (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="512835797" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1358" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1358/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1358">#1358</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Use latest version of PlatyPS in AppVeyor (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="545277163" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1390" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1390/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1390">#1390</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>.Net core sdk 3.1 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="544780149" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1388" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1388/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1388">#1388</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Use Where-Object instead of alias in buildmodule.tests.ps1 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="512867144" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1360" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1360/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1360">#1360</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kvprasoon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kvprasoon">@kvprasoon</a>!)</li> <li>Remove legacy methods (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="544775261" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1387" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1387/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1387">#1387</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Upgrade .Net Core SDK version to a newer version that is also available in Visual Studio Online environment (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="530486262" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1377" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1377/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1377">#1377</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Update Newtonsoft.Json from 12.0.1 to 12.02 (latest version), which increases the minimum PS Core version from 6.2.0 to 6.2.1 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="512833761" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1357" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1357/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1357">#1357</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Harden dotnet --version handling (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="517986458" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1367" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1367/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1367">#1367</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> <li>Fix configuration for PS v5 and v6 builds to be Debug/Release as it used to be to allow for actual debug builds (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="512833118" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1356" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1356/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1356">#1356</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Disable bad tests on Linux for now (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="516960689" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1365" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1365/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1365">#1365</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Fix Ubuntu build and runspace test (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="493429357" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1340" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1340/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1340">#1340</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Update Readme with minimum PowerShell Core version being 6.2 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="604317319" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1457" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1457/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1457">#1457</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Change term to satisfy policheck requirements <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="602129840" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1445" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1445/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1445">#1445</a> (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> <li>Update adopters file with entry for Microsoft internal teams (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="551575691" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1398" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1398/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1398">#1398</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pperrier27/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pperrier27">@pperrier27</a>!)</li> <li>Add ADOPTERS.md (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="532178279" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1380" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1380/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1380">#1380</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/SteveL-MSFT/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/SteveL-MSFT">@SteveL-MSFT</a>)</li> <li>Update SuppressMessageAttribute docs link and use single quotes for examples (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="545262042" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1389" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1389/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1389">#1389</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Update ShouldProcess.md (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="537135516" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1383" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1383/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1383">#1383</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/baardhermansen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/baardhermansen">@baardhermansen</a>!)</li> <li>Fix typo in example (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="531831317" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1379" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1379/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1379">#1379</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Farwaykorse/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Farwaykorse">@Farwaykorse</a>!)</li> <li>Update Hyperlink for Approved Verbs (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="523861725" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1374" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1374/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1374">#1374</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/MysticRyuujin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/MysticRyuujin">@MysticRyuujin</a>!)</li> </ul> bergmeister tag:github.com,2008:Repository/33149177/1.18.3 2019-09-16T17:49:34Z PSScriptAnalyzer v1.18.3 <p>This release adds one more important fix, which prevents a leak of runspaces when repeatedly invoking the PSScriptAnalyzer cmdlets. Furthermore it ups the minimum version of PowerShell Core to <code>6.2.0</code> due to <code>6.1</code> reaching its <a href="https://docs.microsoft.com/powershell/scripting/powershell-support-lifecycle?view=powershell-6#powershell-releases-end-of-life" rel="nofollow">end of life</a> this month.</p> <ul> <li>Change CommandInfoCache to implement IDisposable and clean up the runspace pool (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="492474772" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1335" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1335/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1335">#1335</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> <li>Update Newtonsoft json to 12.0.1 due to PowerShell 6.1 going out of support (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="492991952" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1336" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1336/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1336">#1336</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> bergmeister tag:github.com,2008:Repository/33149177/1.18.2 2019-09-03T20:54:38Z PSScriptAnalyzer v1.18.2 <p>This release mainly brings fixes and enhancements that are especially useful when being consumed by PowerShellEditorServices.<br> The benefit to the user will be some enhancements and fixes in the formatter, especially around multiline commands. In addition to that, error messages emitted when using invalid syntax in the setting file are now much more meaningful and actionable.</p> <h3>Fixes</h3> <ul> <li> <p>Compatibility Analysis</p> <ul> <li>Fix profile collection on non-Windows, add PS 7 profiles (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="456360896" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1260" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1260/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1260">#1260</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> </ul> </li> <li> <p>Formatter</p> <ul> <li>Fix PSCloseBrace rule to not wrongly flag closing brace of one-line hashtable, which lead to incorrect formatting (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="481343451" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1309" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1309/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1309">#1309</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>PipelineIndentationStyle (when not being set to NoIndentation) <ul> <li>PipelineIndentationStyle: Fix edge case where pipeline was incorrectly detected to span multiple lines due to backticks in the command leading up to the pipeline (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="481910849" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1312" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1312/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1312">#1312</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Fix edge case when PipelineIndentationStyle is not set to NoIndentation (pipeline operator spanning only one line but PipelineAst spanning multiple lines) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="456577989" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1261" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1261/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1261">#1261</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> </li> <li>Allow formatter to optionally correct aliases (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="462398024" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1277" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1277/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1277">#1277</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> </li> <li> <p>Engine</p> <ul> <li>Work around runspacepool deadlock (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="483532324" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1316" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1316/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1316">#1316</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> </ul> </li> </ul> <h3>Enhancements</h3> <ul> <li>Formatter <ul> <li>Fix Indentation of multiline command with backticks after comment line (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="483608314" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1318" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1318/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1318">#1318</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> </li> <li>Code Analysis: <ul> <li>Enhance UseDeclaredVarsMoreThanAssignments to detect also take into account the usage of Get-Variable with an array of variables and usage of named - parameter -Name (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="481779735" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1310" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1310/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1310">#1310</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> </li> <li>Settings files <ul> <li>Actionable errors from incorrect settings files (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="457431505" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1263" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1263/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1263">#1263</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/travis-c-lagrone/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/travis-c-lagrone">@travis-c-lagrone</a>!)</li> <li>Update engine resource string 'WrongKeyHashTable' to include all valid settings hashtable keys (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="459539318" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1273" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1273/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1273">#1273</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/travis-c-lagrone/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/travis-c-lagrone">@travis-c-lagrone</a>!)</li> </ul> </li> <li>Add icon and add reference in readme and manifest (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="467759911" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1291" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1291/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1291">#1291</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>, thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/adilio/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/adilio">@adilio</a> for creating the logo!)</li> </ul> <h3>Documentation</h3> <ul> <li>Update readme with changes to default branch being master now (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="457928293" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1265" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1265/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1265">#1265</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>UseApprovedVerbs.md: Improving Documentation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="471382202" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1294" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1294/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1294">#1294</a>) (Thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Banner-Keith/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Banner-Keith">@Banner-Keith</a>!)</li> <li>Update documentation for parameter "Settings" of command "Invoke-ScriptAnalyzer" to include the key "RecurseCustomRulesPath" - (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="459531149" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1272" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1272/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1272">#1272</a>) (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/travis-c-lagrone/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/travis-c-lagrone">@travis-c-lagrone</a>!)</li> </ul> <h3>Build</h3> <ul> <li>Don't sign the compatability collector catalog so that PSScriptAnalyzer can ship with a catalog file again (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="487676782" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1328" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1328/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1328">#1328</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> <li>Fix Ubuntu Appveyor build (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="484187839" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1320" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1320/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1320">#1320</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>, thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a> for the initial investigation)</li> </ul> bergmeister tag:github.com,2008:Repository/33149177/1.18.1 2019-06-18T21:12:20Z PSScriptAnalyzer v1.18.1 <p>Please see the <a href="https://github.com/PowerShell/PSScriptAnalyzer/blob/development/CHANGELOG.MD">CHANGELOG</a> for information about the changes in the release. You can download this version from <a href="https://www.powershellgallery.com/packages/PSScriptAnalyzer/1.18.1" rel="nofollow">PowerShellGallery</a>.</p> <h3>Fixes</h3> <ul> <li> <p>Formatter</p> <ul> <li>UseCorrectCasing <ul> <li>Do not use alias name as key for command info cache to fix the problem where UseCorrectCasing corrects aliases (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="432887267" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1216" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1216/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1216">#1216</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Fix wildcard lookups for command lookup and do not append .exe for applications on Windows (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="430064371" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1210" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1210/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1210">#1210</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Do not correct applications or script paths at all (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="453150514" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1255" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1255/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1255">#1255</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> </li> <li>Prevent PSCloseBrace crash if hashtable definition start on first token and there is a PSCloseBrace violation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="440422740" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1235" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1235/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1235">#1235</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>PipelineIndentationStyle <ul> <li>Fix formatting regression in 1.18.0 whereby single-line pipeline reduces indentation level incorrectly (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="424649724" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1191" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1191/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1191">#1191</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Make IncreaseIndentationForFirstPipeline the true default option for PipelineIndentationStyle option (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="433480501" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1218" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1218/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1218">#1218</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> </li> </ul> </li> <li> <p>Compatibility Rules</p> <ul> <li>Fix UseCompatibleSyntax class error message (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="432321130" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1215" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1215/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1215">#1215</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Convert compatibility module to binary module, fix compatibility with Azure environments (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="430647877" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1212" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1212/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1212">#1212</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Prevent .NET members with names differing only by case from crashing the compatibility profiler (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="425135709" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1195" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1195/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1195">#1195</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> <li>Fix compatibility profile query API so that aliases referring to other modules appear (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="425094770" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1194" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1194/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1194">#1194</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> </ul> </li> <li> <p>DSC</p> <ul> <li>Instead of using the first cimClass and then having no superClass, use the first cimClass that has a non-null superClass (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="426663903" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1200" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1200/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1200">#1200</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>, thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ykuijs/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ykuijs">@ykuijs</a>! for the great collaboration)</li> <li>Make <code>-SaveDscDependency</code> work on Linux (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="450482046" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1246" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1246/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1246">#1246</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> </li> <li> <p>Enable suppression of custom rules when used together with <code>-IncludeDefaultRules</code> to allow all possible scenarios from 1.17.1 and 1.18.0. This removes also the check if the rule name in the suppression attribute can be found because this check is technically not possible in all scenarios (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="450161654" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1245" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1245/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1245">#1245</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</p> </li> <li> <p>Fix NullReferenceException for class type (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="424016222" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1182" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1182/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1182">#1182</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</p> </li> </ul> <h3>Performance</h3> <p>2 improvements were made that make cold runs of ScriptAnalyzer twice as fast compared to <code>1.18.0</code></p> <ul> <li>Speedup cold runs by using a runspace pool (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="421928240" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1178" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1178/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1178">#1178</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Fix logic errors in AvoidAlias rule to halve the amount of necessary calls to <code>Get-Command</code>, making the rule twice (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="452632385" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1251" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1251/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1251">#1251</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> </ul> <h3>General Improvements</h3> <ul> <li>Add ImplementingType to RuleInfo object for better settings file validation and settings template file creation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="452236452" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1250" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1250/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1250">#1250</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> <li>Fix typo in AvoidDefaultValueForMandatoryParameterError resource string (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="440202208" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1233" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1233/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1233">#1233</a>) (Thanks @tnieto88!)</li> <li>Change module root find function in CompatibilityRule (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="425527842" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1196" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1196/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1196">#1196</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Update PossibleIncorrectComparisonWithNull documentation with better example (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="449673294" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1244" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1244/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1244">#1244</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="436677314" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1226" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1226/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1226">#1226</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="435488856" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1220" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1220/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1220">#1220</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> and thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/PrzemyslawKlys/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/PrzemyslawKlys">@PrzemyslawKlys</a> and @lesterw1!)</li> <li>Compatibility rules documentation fixes (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="438615324" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1229" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1229/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1229">#1229</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="428430318" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1204" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1204/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1204">#1204</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="436539189" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1225" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1225/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1225">#1225</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="435604101" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1221" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1221/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1221">#1221</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rjmholt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rjmholt">@rjmholt</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a> and thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/skycommand/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/skycommand">@skycommand</a>!)</li> <li>Update README.md on supported PowerShell Core version and update Docker examples (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="424482568" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1188" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1188/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1188">#1188</a>) (Thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/PrzemyslawKlys/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/PrzemyslawKlys">@PrzemyslawKlys</a>!)</li> <li>Update UseConsistentWhitespace documentation to show all options (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="424298135" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1185" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1185/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1185">#1185</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> </ul> <h3>Build</h3> <ul> <li>Make it possible to build ScriptAnalyzer with PowerShell7 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="453430160" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1256" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1256/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1256">#1256</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Update signing file for versioned location of module (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="452759697" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1253" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1253/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1253">#1253</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> <li>Bump version to 1.18.1 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="451692724" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1248" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1248/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1248">#1248</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Change build script to install into a versioned directory (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="450921750" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1247" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1247/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1247">#1247</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> <li>Remove code for deprecated rules that is not used any more (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="440165127" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1232" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1232/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1232">#1232</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Speedup CI builds by skipping the first time initialization of the bootstrapped dotnet CLI (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="430080139" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1211" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1211/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1211">#1211</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bergmeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bergmeister">@bergmeister</a>)</li> <li>Add suppression of warning for MS policy (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="428467557" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1205" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1205/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1205">#1205</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> <li>Change logic for copying profiles into the 'install' directory (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="425557621" data-permission-text="Title is private" data-url="https://github.com/PowerShell/PSScriptAnalyzer/issues/1197" data-hovercard-type="pull_request" data-hovercard-url="/PowerShell/PSScriptAnalyzer/pull/1197/hovercard" href="https://github.com/PowerShell/PSScriptAnalyzer/pull/1197">#1197</a>) (by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamesWTruher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamesWTruher">@JamesWTruher</a>)</li> </ul> bergmeister