Skip to content

1.24.0

Latest
Compare
Choose a tag to compare
@andyleejordan andyleejordan released this 18 Mar 16:22
· 4 commits to main since this release
4b4a136

What's Changed

Breaking Changes

Minimum required PowerShell version raised from 3 to 5.1

New Features

  • Add new options (enabled by default) to formatting rule UseCorrectCasing to also correct operators, keywords and commands - Add UseConsistentCasing by @Jaykul in #1704

Enhancements

  • PSAlignAssignmentStatement: Ignore hashtables with a single key-value pair by @liamjpeters in #1986
  • Use RequiredResource hashtable to specify PowerShell module versions by @andyleejordan in #2053
  • Set exit code of Invoke-ScriptAnalyzer -EnableExit to total number of diagnostics (#2054) by @MatejKafka in #2055
  • PSAvoidAssignmentToAutomaticVariable: Ignore when a Parameter has an Attribute that contains a Variable expression by @liamjpeters in #1988
  • Trim unnecessary trailing spaces from string resources in Strings.resx by @XPlantefeve in #1972
  • Do not print summary repeatedly for each logger by @MatejKafka in #2058
  • Make Settings type detection more robust by @Tadas in #1967
  • Add foreach Assignment to AvoidAssignmentToAutomaticVariable by @poshAJ in #2021
  • Invoke-ScriptAnalyzer: Stream diagnostics instead of batching by @MatejKafka in #2062
  • Invoke-ScriptAnalyzer: Print summary only once per invocation by @MatejKafka in #2063
  • Invoke-ScriptAnalyzer: Include parse errors in reported error count by @MatejKafka in #2069
  • Add exception message for missing rules by @Tadas in #1968

Bug Fixes

  • Update links in module manifest by @martincostello in #2034
  • Fix incorrect -ReportSummary Pester test grouping by @MatejKafka in #2057
  • Fixed erroneous PSUseDeclaredVarsMoreThanAssignments for some globals variables by @John-Leitch in #2013
  • PSReservedParams: Make severity Error instead of Warning by @liamjpeters in #1989
  • PSUseConsistentIndentation: Check indentation of lines where first token is a LParen not followed by comment or new line by @liamjpeters in #1995
  • PSUseConsistentWhitespace: Correctly fix whitespace between command parameters when parameter value spans multiple lines by @liamjpeters in #2064
  • PSAvoidTrailingWhitespace: Rule not applied when using formatter + single character lines with trailing whitespace are truncated by @liamjpeters in #1993
  • PSUseConsistentWhitespace: Ignore whitespace between separator and comment by @liamjpeters in #2065
  • PSReviewUnusedParameter false positive for ValueFromPipeline by @liamjpeters in #2072
  • Change severity of UseCorrectCasing to be Information by @bergmeister in #2082

Process Changes

New Contributors

Full Changelog: 1.23.0...1.24.0

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy