Skip to content

Commit e1dc126

Browse files
authored
Update CHANGELOG for 1.22.0 release (#1990)
1 parent a754b95 commit e1dc126

File tree

1 file changed

+92
-7
lines changed

1 file changed

+92
-7
lines changed

CHANGELOG.MD

+92-7
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,104 @@
11
# CHANGELOG
22

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+
386
## [1.21.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.21.0) - 2022-09-27
487

588
### New Rule
689

790
- 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)
993
- Add AvoidUsingBrokenHashAlgorithms (#1787) (thanks @MJVL)
1094

1195
### Enhancements
1296

1397
- Also return suggestion to use PSCredential for AvoidUsingPlainTextForPassword rule (#1782) (by @bergmeister)
1498
- Invoke-Formatter: Accept input from pipeline (#1763) (by @bergmeister)
1599
- 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)
17102
- PSAvoidUsingPositionalParameters: Do not warn on AZ CLI (#1846) (by @bergmeister)
18103

19104
### Fixes
@@ -59,7 +144,7 @@
59144
- Remove Ubuntu 16.04 from test matrix (#1733) (by @rjmholt)
60145
- Use PowerShell1ES pool for official build (#1719) (by @JamesWTruher)
61146
- 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)
63148
- Update rule docs (#1711) (by @sdwheeler)
64149

65150
## [1.20.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.20.0) - 2021-08-20
@@ -170,7 +255,7 @@
170255

171256
### Compatibility Rules
172257

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)
174259
- Update compatibility profiles for PowerShell 7 (#1429) (by @rjmholt)
175260
- Ps7 syntax (#1426) (by @rjmholt)
176261
- Fix ps3 syntax check (#1395) (by @rjmholt)
@@ -728,10 +813,10 @@ Here are some improvements since the last release.
728813
- Add build script to automate building and testing the solution
729814

730815
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)
733818
- [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)
735820

736821
## [1.6.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.6.0) - 2016-06-07
737822

0 commit comments

Comments
 (0)