|
1 | 1 | # CHANGELOG
|
2 | 2 |
|
| 3 | +## [1.22.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.22.0) - 2024-03-05 |
| 4 | + |
| 5 | +Minimum required version when using PowerShell 7 is now `7.2.11`. |
| 6 | + |
| 7 | +## New Rule |
| 8 | + |
| 9 | +- Add AvoidUsingAllowUnencryptedAuthentication by @MJVL in (#1857) |
| 10 | +- Add the AvoidExclaimOperator rule to warn about the use of the ! negation operator. Fixes (#1826) by |
| 11 | + @liamjpeters in (#1922) |
| 12 | + |
| 13 | +## Enhancements |
| 14 | + |
| 15 | +- Enable suppression of PSAvoidAssignmentToAutomaticVariable for specific variable or parameter by |
| 16 | + @fflaten in (#1896) |
| 17 | +- Upgrade to use .NET 6 since PowerShell 7.0 is now out out of support by @bergmeister in (#1873) |
| 18 | +- Convert UseSingularNouns to configurable rule and add Windows to allowlist by @MJVL in (#1858) |
| 19 | +- Add ErrorView to SpecialVars.cs by @ewisniew0 in (#1865) |
| 20 | +- Allow suppression of PSUseSingularNouns for specific function by @fflaten in (#1903) |
| 21 | +- Adding ToString() methods to [CorrectionExtent] and [DiagnosticRecord] by @StartAutomating in (#1946) |
| 22 | +- Add PSNativeCommandUseErrorActionPreference preference variable by @aelij in (#1954) |
| 23 | +- AvoidUsingPositionalParameter: Check if command has parameters to avoid having az in default |
| 24 | + CommandAllowList by @bergmeister in (#1850) |
| 25 | +- PSReviewUnusedParameter: Add CommandsToTraverse option by @FriedrichWeinmann in (#1921) |
| 26 | + |
| 27 | +## Fixes |
| 28 | + |
| 29 | +- Prevent NullReferenceException for null analysis type. by @hubuk in (#1949) |
| 30 | + |
| 31 | +## Build & Test, Documentation and Maintenance |
| 32 | + |
| 33 | +- UseApprovedVerbs.md: Backport minor change of PR 104 in PowerShell-Docs-Modules by @bergmeister in |
| 34 | + (#1849) |
| 35 | +- Improve Pester bootstrap logic for CI by @bergmeister in (#1853) |
| 36 | +- Bump .NET SDK from 3.1.419 to 3.1.424 by @bergmeister in (#1852) |
| 37 | +- AvoidLongLines: Make internal function DiagnosticSeverity private by @bergmeister in (#1851) |
| 38 | +- SupportsShouldProcess.md: Fix Typo - MicrosoftDocs backport of PR 121 there by @sdwheeler in (#1869) |
| 39 | +- Minor test fix for UseCorrectCasing rule by @kilasuit in (#1885) |
| 40 | +- Make Invoke-Formatter test case assertion fail in case of incorrect casing by @alexandear in (#1888) |
| 41 | +- Fix `AvoidUsingDoubleQuotesForConstantString` information in overview README by @michaeltlombardi |
| 42 | + in (#1883) |
| 43 | +- Update dependabot reviewers to remove Rob by @fflaten in (#1897) |
| 44 | +- Fix typo in AvoidUsingPlainTextForPassword error message: 'to' being repeated two times by |
| 45 | + @ALiwoto in (#1902) |
| 46 | +- CI: Use new Ubuntu 22.04 image and remove deprecated Ubuntu 18.04 by @bergmeister in (#1847) |
| 47 | +- Change double quotes to single where possible by @sdwheeler in (#1911) |
| 48 | +- Backport MicrosoftDocs PR 143 by @sdwheeler in (#1910) |
| 49 | +- Fix typos in rules documentation by @sdwheeler in (#1913) |
| 50 | +- add demand for compliance job by @TravisEz13 in (#1920) |
| 51 | +- FabricBot: Onboarding to GitOps.ResourceManagement because of FabricBot decommissioning by |
| 52 | + @microsoft-github-policy-service in (#1925) |
| 53 | +- Sync changes from Docs repository by @sdwheeler in (#1929) |
| 54 | +- Developer documentation fix and message fix of |
| 55 | + PossibleIncorrectUsageOfRedirectionOperatorDescription by @JoelTipke in (#1928) |
| 56 | +- Documentation corrections for AvoidUsingPositionalParameters by @ImportTaste in (#1917) |
| 57 | +- Update minimum PowerShell Core version to 7.2.11 as 7.0 is now EOL by @bergmeister in (#1872) |
| 58 | +- Remove dead code and simplify by @bergmeister in (#1856) |
| 59 | +- PSReservedParams - link about_CommonParameters by @petervandivier in (#1908) |
| 60 | +- Generate strongly typed resources as part of build by @bergmeister in (#1855) |
| 61 | +- Bump Newtonsoft.Json to 13.0.3 by @dependabot in (#1866) |
| 62 | +- Use latest .NET 6.0 SDK patch version and update devcontainer to use .NET 6 as well by |
| 63 | + @bergmeister in (#1955) |
| 64 | +- Bump Microsoft.Management.Infrastructure from 1.0.0 to 3.0.0 for PowerShell 7 only by @dependabot |
| 65 | + in (#1947) |
| 66 | +- Bump version from 1.21.0 to 1.22.0 by @bergmeister in (#1965) |
| 67 | +- Remove Appveyor badge from main README by @bergmeister in (#1962) |
| 68 | +- Do not hard code common parameters in module help test any more by @bergmeister in (#1963) |
| 69 | + |
| 70 | +## New Contributors |
| 71 | + |
| 72 | +- @fflaten made their first contribution in (#1897) |
| 73 | +- @ALiwoto made their first contribution in (#1902) |
| 74 | +- @microsoft-github-policy-service made their first contribution in (#1925) |
| 75 | +- @JoelTipke made their first contribution in (#1928) |
| 76 | +- @ImportTaste made their first contribution in (#1917) |
| 77 | +- @liamjpeters made their first contribution in (#1922) |
| 78 | +- @petervandivier made their first contribution in (#1908) |
| 79 | +- @ewisniew0 made their first contribution in (#1865) |
| 80 | +- @StartAutomating made their first contribution in (#1946) |
| 81 | +- @aelij made their first contribution in (#1954) |
| 82 | +- @FriedrichWeinmann made their first contribution in (#1921) |
| 83 | + |
| 84 | +**Full Changelog**: <https://github.com/PowerShell/PSScriptAnalyzer/compare/1.21.0...1.22.0> |
| 85 | + |
3 | 86 | ## [1.21.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.21.0) - 2022-09-27
|
4 | 87 |
|
5 | 88 | ### New Rule
|
6 | 89 |
|
7 | 90 | - Add AvoidMultipleTypeAttributes rule (#1705) (thanks @hankyi95)
|
8 |
| -- Add the AvoidSemicolonsAsLineTerminators rule to warn about lines ending with a semicolon. Fix (#824) (#1806) (thanks @tempora-mutantur) |
| 91 | +- Add the AvoidSemicolonsAsLineTerminators rule to warn about lines ending with a semicolon. Fix |
| 92 | + (#824) (#1806) (thanks @tempora-mutantur) |
9 | 93 | - Add AvoidUsingBrokenHashAlgorithms (#1787) (thanks @MJVL)
|
10 | 94 |
|
11 | 95 | ### Enhancements
|
12 | 96 |
|
13 | 97 | - Also return suggestion to use PSCredential for AvoidUsingPlainTextForPassword rule (#1782) (by @bergmeister)
|
14 | 98 | - Invoke-Formatter: Accept input from pipeline (#1763) (by @bergmeister)
|
15 | 99 | - Make messages of UseCorrectCasing more detailed (#1843)
|
16 |
| -- Exclude automatic variable FormatEnumerationLimit from analysis by PSAvoidGlobalVars and PSUseDeclaredVarsMoreThanAssignments (#1836) (by @bergmeister) |
| 100 | +- Exclude automatic variable FormatEnumerationLimit from analysis by PSAvoidGlobalVars and |
| 101 | + PSUseDeclaredVarsMoreThanAssignments (#1836) (by @bergmeister) |
17 | 102 | - PSAvoidUsingPositionalParameters: Do not warn on AZ CLI (#1846) (by @bergmeister)
|
18 | 103 |
|
19 | 104 | ### Fixes
|
|
59 | 144 | - Remove Ubuntu 16.04 from test matrix (#1733) (by @rjmholt)
|
60 | 145 | - Use PowerShell1ES pool for official build (#1719) (by @JamesWTruher)
|
61 | 146 | - Update cmdlet docs for 1.20.0 (#1726) (by @sdwheeler)
|
62 |
| -- Fixes #1720 - move rule docs and update tests (#1724) (by @sdwheeler) |
| 147 | +- Fixes (#1720) - move rule docs and update tests (#1724) (by @sdwheeler) |
63 | 148 | - Update rule docs (#1711) (by @sdwheeler)
|
64 | 149 |
|
65 | 150 | ## [1.20.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.20.0) - 2021-08-20
|
|
170 | 255 |
|
171 | 256 | ### Compatibility Rules
|
172 | 257 |
|
173 |
| -- Make CompatibilityCollector able to parse a single version String #1446 (by @bergmeister) |
| 258 | +- Make CompatibilityCollector able to parse a single version String (#1446) (by @bergmeister) |
174 | 259 | - Update compatibility profiles for PowerShell 7 (#1429) (by @rjmholt)
|
175 | 260 | - Ps7 syntax (#1426) (by @rjmholt)
|
176 | 261 | - Fix ps3 syntax check (#1395) (by @rjmholt)
|
@@ -728,10 +813,10 @@ Here are some improvements since the last release.
|
728 | 813 | - Add build script to automate building and testing the solution
|
729 | 814 |
|
730 | 815 | A big **Thank You!** to the following folks for making PSScriptAnalyzer even better:
|
731 |
| -- [Kieran Jacobsen (@kjacobsen)](https://github.com/PowerShell/PSScriptAnalyzer/commits/development?author=kjacobsen): Fix rule documentation of `PSDSCExamplesPresent` [PR #591](https://github.com/PowerShell/PSScriptAnalyzer/pull/591) |
732 |
| -- [Charlie Schmidt (@charlieschmidt)](https://github.com/PowerShell/PSScriptAnalyzer/commits/development?author=charlieschmidt): Suppress External Rules [PR #585](https://github.com/PowerShell/PSScriptAnalyzer/pull/585) |
| 816 | +- [Kieran Jacobsen (@kjacobsen)](https://github.com/PowerShell/PSScriptAnalyzer/commits/development?author=kjacobsen): Fix rule documentation of `PSDSCExamplesPresent` [PR #591](#591) |
| 817 | +- [Charlie Schmidt (@charlieschmidt)](https://github.com/PowerShell/PSScriptAnalyzer/commits/development?author=charlieschmidt): Suppress External Rules [PR #585](#585) |
733 | 818 | - [June Blender (@juneb)](https://github.com/PowerShell/PSScriptAnalyzer/commits/development?author=juneb): Add tests for module help [058f65e1](https://github.com/PowerShell/PSScriptAnalyzer/commit/058f65e1f6278222378fedf444eecb2e32865b1e)
|
734 |
| -- [Shayde Nofziger (@Blackbaud-ShaydeNofziger)](https://github.com/PowerShell/PSScriptAnalyzer/commits/development?author=Blackbaud-ShaydeNofziger): Fix rule name typo and comment [PR #560](https://github.com/PowerShell/PSScriptAnalyzer/pull/560) |
| 819 | +- [Shayde Nofziger (@Blackbaud-ShaydeNofziger)](https://github.com/PowerShell/PSScriptAnalyzer/commits/development?author=Blackbaud-ShaydeNofziger): Fix rule name typo and comment [PR #560](#560) |
735 | 820 |
|
736 | 821 | ## [1.6.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.6.0) - 2016-06-07
|
737 | 822 |
|
|
0 commit comments