Skip to content

Commit a1a3147

Browse files
committed
v1.24.0: Thanks to all the new contributors!
1 parent 28081e5 commit a1a3147

File tree

4 files changed

+60
-10
lines changed

4 files changed

+60
-10
lines changed

.pipelines/PSScriptAnalyzer-Official.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ extends:
138138
target: main
139139
assets: $(Pipeline.Workspace)/PSScriptAnalyzer.$(version).nupkg
140140
tagSource: userSpecifiedTag
141-
tag: v$(version)
141+
tag: $(version)
142142
isDraft: true
143143
addChangeLog: false
144144
releaseNotesSource: inline

CHANGELOG.MD

+57-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,56 @@
11
# CHANGELOG
22

3+
## [1.24.0](https://github.com/PowerShell/PSScriptAnalyzer/releases/tag/1.24.0)
4+
5+
### What's Changed
6+
* Update links in module manifest by @martincostello in https://github.com/PowerShell/PSScriptAnalyzer/pull/2034
7+
* Copy more files to module root by @andyleejordan in https://github.com/PowerShell/PSScriptAnalyzer/pull/2037
8+
* Use `RequiredResource` hashtable to specify PowerShell module versions by @andyleejordan in https://github.com/PowerShell/PSScriptAnalyzer/pull/2053
9+
* Set exit code of `Invoke-ScriptAnalyzer -EnableExit` to total number of diagnostics (#2054) by @MatejKafka in https://github.com/PowerShell/PSScriptAnalyzer/pull/2055
10+
* Fix incorrect `-ReportSummary` Pester test grouping by @MatejKafka in https://github.com/PowerShell/PSScriptAnalyzer/pull/2057
11+
* PSAvoidAssignmentToAutomaticVariable: Ignore when a Parameter has an Attribute that contains a Variable expression by @liamjpeters in https://github.com/PowerShell/PSScriptAnalyzer/pull/1988
12+
* PSAlignAssignmentStatement: Ignore hashtables with a single key-value pair by @liamjpeters in https://github.com/PowerShell/PSScriptAnalyzer/pull/1986
13+
* Trim unnecessary trailing spaces from string resources in Strings.resx by @XPlantefeve in https://github.com/PowerShell/PSScriptAnalyzer/pull/1972
14+
* Fixed erroneous PSUseDeclaredVarsMoreThanAssignments for some globals variables by @John-Leitch in https://github.com/PowerShell/PSScriptAnalyzer/pull/2013
15+
* Do not print summary repeatedly for each logger by @MatejKafka in https://github.com/PowerShell/PSScriptAnalyzer/pull/2058
16+
* PSReservedParams: Make severity Error instead of Warning by @liamjpeters in https://github.com/PowerShell/PSScriptAnalyzer/pull/1989
17+
* Make Settings type detection more robust by @Tadas in https://github.com/PowerShell/PSScriptAnalyzer/pull/1967
18+
* PSUseConsistentIndentation: Check indentation of lines where first token is a LParen not followed by comment or new line by @liamjpeters in https://github.com/PowerShell/PSScriptAnalyzer/pull/1995
19+
* Add foreach Assignment to AvoidAssignmentToAutomaticVariable by @PoshAJ in https://github.com/PowerShell/PSScriptAnalyzer/pull/2021
20+
* Invoke-ScriptAnalyzer: Stream diagnostics instead of batching by @MatejKafka in https://github.com/PowerShell/PSScriptAnalyzer/pull/2062
21+
* PSUseConsistentWhitespace: Correctly fix whitespace between command parameters when parameter value spans multiple lines by @liamjpeters in https://github.com/PowerShell/PSScriptAnalyzer/pull/2064
22+
* Use -NoProfile when invoking pwsh in Pester tests by @MatejKafka in https://github.com/PowerShell/PSScriptAnalyzer/pull/2061
23+
* PSAvoidTrailingWhitespace: Rule not applied when using formatter + single character lines with trailing whitespace are truncated by @liamjpeters in https://github.com/PowerShell/PSScriptAnalyzer/pull/1993
24+
* PSUseConsistentWhitespace: Ignore whitespace between separator and comment by @liamjpeters in https://github.com/PowerShell/PSScriptAnalyzer/pull/2065
25+
* Invoke-ScriptAnalyzer: Print summary only once per invocation by @MatejKafka in https://github.com/PowerShell/PSScriptAnalyzer/pull/2063
26+
* Upgrade to .NET 8 since .NET 6 is past EOL by @andyleejordan in https://github.com/PowerShell/PSScriptAnalyzer/pull/2073
27+
* Add GitHub Actions Ubuntu's dotnet path by @andyleejordan in https://github.com/PowerShell/PSScriptAnalyzer/pull/2080
28+
* Update README.md with recent upgrade to .NET 8 by @bergmeister in https://github.com/PowerShell/PSScriptAnalyzer/pull/2076
29+
* Update CHANGELOG.MD with 1.23.0 release notes by @bergmeister in https://github.com/PowerShell/PSScriptAnalyzer/pull/2078
30+
* Bring back Codespaces by @bergmeister in https://github.com/PowerShell/PSScriptAnalyzer/pull/2077
31+
* Update SMA version to 7.4.7 by @bergmeister in https://github.com/PowerShell/PSScriptAnalyzer/pull/2075
32+
* PSReviewUnusedParameter false positive for ValueFromPipeline by @liamjpeters in https://github.com/PowerShell/PSScriptAnalyzer/pull/2072
33+
* Invoke-ScriptAnalyzer: Include parse errors in reported error count by @MatejKafka in https://github.com/PowerShell/PSScriptAnalyzer/pull/2069
34+
* Test PowerShell Preview in CI by @andyleejordan in https://github.com/PowerShell/PSScriptAnalyzer/pull/2070
35+
* Add UseConsistentCasing by @Jaykul in https://github.com/PowerShell/PSScriptAnalyzer/pull/1704
36+
* Change severity of UseCorrectCasing to be Information by @bergmeister in https://github.com/PowerShell/PSScriptAnalyzer/pull/2082
37+
* Drop v3 and v4 support from build by @andyleejordan in https://github.com/PowerShell/PSScriptAnalyzer/pull/2081
38+
* Add exception message for missing rules by @Tadas in https://github.com/PowerShell/PSScriptAnalyzer/pull/1968
39+
40+
### New Contributors
41+
* @martincostello made their first contribution in https://github.com/PowerShell/PSScriptAnalyzer/pull/2034
42+
* @MatejKafka made their first contribution in https://github.com/PowerShell/PSScriptAnalyzer/pull/2055
43+
* @XPlantefeve made their first contribution in https://github.com/PowerShell/PSScriptAnalyzer/pull/1972
44+
* @John-Leitch made their first contribution in https://github.com/PowerShell/PSScriptAnalyzer/pull/2013
45+
* @Tadas made their first contribution in https://github.com/PowerShell/PSScriptAnalyzer/pull/1967
46+
* @PoshAJ made their first contribution in https://github.com/PowerShell/PSScriptAnalyzer/pull/2021
47+
* @Jaykul made their first contribution in https://github.com/PowerShell/PSScriptAnalyzer/pull/1704
48+
49+
**Full Changelog**: https://github.com/PowerShell/PSScriptAnalyzer/compare/1.23.0...1.24.0
50+
351
## [1.23.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.23.0) - 2024-10-09
452

5-
## What's Changed
53+
### What's Changed
654
* Adding OneBranch pipeline YAML config file for OSS_Microsoft_PSSA-Official by @adityapatwardhan in https://github.com/PowerShell/PSScriptAnalyzer/pull/1981
755
* Update format and grammar of AvoidUsingAllowUnencryptedAuthentication by @sdwheeler in https://github.com/PowerShell/PSScriptAnalyzer/pull/1974
856
* Move to OneBranch Signing and SBOM generation by @TravisEz13 in https://github.com/PowerShell/PSScriptAnalyzer/pull/1982
@@ -19,20 +67,22 @@
1967
* v1.23.0: Update version for new release by @andyleejordan in https://github.com/PowerShell/PSScriptAnalyzer/pull/2032
2068
* Migrate release pipeline to DeployBox by @andyleejordan in https://github.com/PowerShell/PSScriptAnalyzer/pull/2033
2169

22-
## New Contributors
70+
### New Contributors
2371
* @adityapatwardhan made their first contribution in https://github.com/PowerShell/PSScriptAnalyzer/pull/1981
2472

73+
**Full Changelog**: https://github.com/PowerShell/PSScriptAnalyzer/compare/1.22.0...1.23.0
74+
2575
## [1.22.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.22.0) - 2024-03-05
2676

2777
Minimum required version when using PowerShell 7 is now `7.2.11`.
2878

29-
## New Rule
79+
### New Rule
3080

3181
- Add AvoidUsingAllowUnencryptedAuthentication by @MJVL in (#1857)
3282
- Add the AvoidExclaimOperator rule to warn about the use of the ! negation operator. Fixes (#1826) by
3383
@liamjpeters in (#1922)
3484

35-
## Enhancements
85+
### Enhancements
3686

3787
- Enable suppression of PSAvoidAssignmentToAutomaticVariable for specific variable or parameter by
3888
@fflaten in (#1896)
@@ -46,11 +96,11 @@ Minimum required version when using PowerShell 7 is now `7.2.11`.
4696
CommandAllowList by @bergmeister in (#1850)
4797
- PSReviewUnusedParameter: Add CommandsToTraverse option by @FriedrichWeinmann in (#1921)
4898

49-
## Fixes
99+
### Fixes
50100

51101
- Prevent NullReferenceException for null analysis type. by @hubuk in (#1949)
52102

53-
## Build & Test, Documentation and Maintenance
103+
### Build & Test, Documentation and Maintenance
54104

55105
- UseApprovedVerbs.md: Backport minor change of PR 104 in PowerShell-Docs-Modules by @bergmeister in
56106
(#1849)
@@ -89,7 +139,7 @@ Minimum required version when using PowerShell 7 is now `7.2.11`.
89139
- Remove Appveyor badge from main README by @bergmeister in (#1962)
90140
- Do not hard code common parameters in module help test any more by @bergmeister in (#1963)
91141

92-
## New Contributors
142+
### New Contributors
93143

94144
- @fflaten made their first contribution in (#1897)
95145
- @ALiwoto made their first contribution in (#1902)

Directory.Build.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<!-- See https://aka.ms/dotnet/msbuild/customize for more details on customizing your build -->
33
<PropertyGroup>
4-
<ModuleVersion>1.23.0</ModuleVersion>
4+
<ModuleVersion>1.24.0</ModuleVersion>
55
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
66
</PropertyGroup>
77
</Project>

docs/Cmdlets/PSScriptAnalyzer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Download Help Link: https://aka.ms/ps-modules-help
3-
Help Version: 1.23.0
3+
Help Version: 1.24.0
44
Locale: en-US
55
Module Guid: d6245802-193d-4068-a631-8863a4342a18
66
Module Name: PSScriptAnalyzer

0 commit comments

Comments
 (0)