Skip to content

Commit ec9e609

Browse files
author
Kapil Borle
committed
Merge pull request #556 from PowerShell/v1.6.0
Update change log for next version release
2 parents 8f9ad83 + 54eaa6f commit ec9e609

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

CHANGELOG.MD

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,30 @@
33
### Engine
44
- Add `SuggestedCorrections` property to `DiagnosticRecord`
55
- This property emits text that can rectify the violation which triggered the rule.
6-
- The primary purpose of this feature is to enable quick-fix scenarios in editors (e.g. vscode)
6+
- The primary purpose of this feature is to enable quick-fix scenarios in editors (e.g. vscode)
77
- Add "Name" as a positional parameter in Get-ScriptAnalyzerRule
8-
- Add a `SaveDscDependency` switch to allow `Invoke-ScriptAnalyzer` to download a DSC Resource module from PSGallery in the event of a `ModuleNotFoundDuringParse` parse error.
8+
- Add a `SaveDscDependency` switch to allow `Invoke-ScriptAnalyzer` to download a DSC Resource module from PSGallery in the event of a `ModuleNotFoundDuringParse` parse error. This feature is available only for PSv5 and above.
99
- Add `remove` verb to `UseShouldProcessForStateChangingFunctions` rule
1010
- Add a `ScriptPath` property to Diagnostic Record that returns the full path of the script
11+
- Add PSv4 (Windows Server 2012 R2) and PSv3 (Windows Server 2012) to build and test matrix on AppVeyor
1112
- Fix the parsing of `Settings` parameter value when a hashtable is given
1213
- Fix writing error record while running rule suppression
1314
- Fix rule suppression in DSC Configuration definitions
14-
15+
- Fix build and tests on PSv4 and v3
16+
1517
### Rules
1618
- Add suggested corrections feature to the following rules.
1719
- `PSAvoidUsingCmdletAliases`
1820
- `PSAvoidUsingPlainTextForPassword`
1921
- `PSMisleadingBacktick`
2022
- `PSUseToExportFieldsInManifest`
2123
- `PSMissingModuleManifestField`
22-
- Fix extent of
23-
- `UseSingularNoun`
24-
- `UseApprovedVerb`
25-
- `AvoidUsernameAndPasswordParams`
24+
- Fix extent of
25+
- `PSUseSingularNoun`
26+
- `PSUseApprovedVerb`
27+
- `PSAvoidUsernameAndPasswordParams`
28+
- Fix a bug in `PSMissingModuleManifestField` rule caused by .psd1 files that do not contain Hashtable
29+
- Fix documentation of `PSAvoidUsingPlainTextForPassword`
2630

2731
## Release v1.5.0 (Mar. 30, 2016)
2832

@@ -107,7 +111,7 @@
107111
- Deprecate Internal Url rule based on community feedback, identified additional rules to handle hardcoded paths etc
108112
- Added localhost exceptions for HardCodedComputerName Rule
109113
- Update to Credential based rules to validate the presence of CredentialAttribute and PSCredential type
110-
114+
111115
###Documentation:
112116
- Rule & Cmdlet documentation updates – Cmdlet help file addition
113117

@@ -200,9 +204,9 @@
200204

201205
##Released v1.0.0 on Apr.24, 2015
202206
###Features:
203-
- Finalized three levels of Severity - Error/Warning/Information.
207+
- Finalized three levels of Severity - Error/Warning/Information.
204208
- Improved PSScriptAnalyzer engine behavior: emits non-terminating errors (Ex: for failed ast parse) and continues rule application when running on multiple scripts.
205-
- Added wild card supports for rules in Invoke-ScriptAnalyzer and Get-ScriptAnalyzer. Eg. Invoke-ScriptAnalyzer -IncludeRule PSAvoid* will apply all rules starting with PSAvoid* in built in rule assemblies.
209+
- Added wild card supports for rules in Invoke-ScriptAnalyzer and Get-ScriptAnalyzer. Eg. Invoke-ScriptAnalyzer -IncludeRule PSAvoid* will apply all rules starting with PSAvoid* in built in rule assemblies.
206210
- Added -Severity to Get-ScriptAnalyzerRules. Get-ScriptAnalyzer -Severity will filter rules based on the severity given.
207211
- Added Suppression functionality. Users are now able to specify suppression on certain parts of the scripts by specifying "SupressMessageAttribute" in the scripts. More details and documentations will be coming soon in blog posts. Also comes with this feature is the ability for users to display a list of suppressed messages.
208212

0 commit comments

Comments
 (0)