Skip to content

Commit b1a8187

Browse files
authored
Merge pull request #1264 from PowerShell/development
bring master up to 1.18.1 the CI failure is not a test failure, but a result upload problem
2 parents 294696f + e206b32 commit b1a8187

File tree

157 files changed

+4442
-3445
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+4442
-3445
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -216,5 +216,5 @@ PSScriptAnalyzer/
216216
# Test result file
217217
TestResults.xml
218218

219-
# PSCompatibilityAnalyzer module
220-
PSCompatibilityAnalyzer/out/
219+
# PSCompatibilityCollector module
220+
PSCompatibilityCollector/out/

CHANGELOG.MD

+58
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,63 @@
11
# CHANGELOG
22

3+
## [1.18.1](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.18.1) - 2019-06-12
4+
5+
### Fixes
6+
7+
- Formatter
8+
- UseCorrectCasing
9+
- Do not use alias name as key for command info cache to fix the problem where UseCorrectCasing corrects aliases (#1216) (by @bergmeister)
10+
- Fix wildcard lookups for command lookup and do not append .exe for applications on Windows (#1210) (by @bergmeister)
11+
- Do not correct applications or script paths at all (#1255) (by @bergmeister)
12+
- Prevent PSCloseBrace crash if hashtable definition start on first token and there is a PSCloseBrace violation (#1235) (by @bergmeister)
13+
- PipelineIndentationStyle
14+
- Fix formatting regression in 1.18.0 whereby single-line pipeline reduces indentation level incorrectly (#1191) (by @bergmeister)
15+
- Make IncreaseIndentationForFirstPipeline the true default option for PipelineIndentationStyle option (#1218) (by @bergmeister)
16+
17+
- Compatibility Rules
18+
- Fix UseCompatibleSyntax class error message (#1215) (by @rjmholt)
19+
- Convert compatibility module to binary module, fix compatibility with Azure environments (#1212) (by @rjmholt)
20+
- Prevent .NET members with names differing only by case from crashing the compatibility profiler (#1195) (by @rjmholt)
21+
- Fix compatibility profile query API so that aliases referring to other modules appear (#1194) (by @rjmholt)
22+
23+
- DSC
24+
- Instead of using the first cimClass and then having no superClass, use the first cimClass that has a non-null superClass (#1200) (by @bergmeister, thanks to @ykuijs! for the great collaboration)
25+
- Make `-SaveDscDependency` work on Linux (#1246) (by @bergmeister)
26+
27+
- Enable suppression of custom rules when used together with `-IncludeDefaultRules` 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 (#1245) (by @bergmeister)
28+
- Fix NullReferenceException for class type (#1182) (by @bergmeister)
29+
30+
### Performance
31+
32+
2 improvements were made that make cold runs of ScriptAnalyzer twice as fast compared to `1.18.0`
33+
34+
- Speedup cold runs by using a runspace pool (#1178) (by @bergmeister)
35+
- Fix logic errors in AvoidAlias rule to halve the amount of necessary calls to `Get-Command`, making the rule twice (#1251) (by @JamesWTruher)
36+
37+
### General Improvements
38+
39+
- Add ImplementingType to RuleInfo object for better settings file validation and settings template file creation (#1250) (by @JamesWTruher)
40+
- Fix typo in AvoidDefaultValueForMandatoryParameterError resource string (#1233) (Thanks @tnieto88!)
41+
- Change module root find function in CompatibilityRule (#1196) (by @rjmholt)
42+
43+
### Documentation
44+
45+
- Update PossibleIncorrectComparisonWithNull documentation with better example (#1244, #1226 and #1220) (by @bergmeister and thanks to @PrzemyslawKlys and @lesterw1!)
46+
- Compatibility rules documentation fixes (#1229, #1204, #1225 and #1221) (by @rjmholt, @bergmeister and thanks @skycommand!)
47+
- Update README.md on supported PowerShell Core version and update Docker examples (#1188) (Thanks @PrzemyslawKlys!)
48+
- Update UseConsistentWhitespace documentation to show all options (#1185) (by @bergmeister)
49+
50+
### Build
51+
52+
- Make it possible to build ScriptAnalyzer with PowerShell7 (#1256) (by @bergmeister)
53+
- Update signing file for versioned location of module (#1253) (by @JamesWTruher)
54+
- Bump version to 1.18.1 (#1248) (by @bergmeister)
55+
- Change build script to install into a versioned directory (#1247) (by @JamesWTruher)
56+
- Remove code for deprecated rules that is not used any more (#1232) (by @bergmeister)
57+
- Speedup CI builds by skipping the first time initialization of the bootstrapped dotnet CLI (#1211) (by @bergmeister)
58+
- Add suppression of warning for MS policy (#1205) (by @JamesWTruher)
59+
- Change logic for copying profiles into the 'install' directory (#1197) (by @JamesWTruher)
60+
361
## [1.18.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.18.0) - 2019-03-21
462

563
### Breaking Changes

DeprecatedRules/AvoidUninitializedVariable.cs

-156
This file was deleted.

DeprecatedRules/AvoidUnloadableModule.cs

-131
This file was deleted.

0 commit comments

Comments
 (0)