|
| 1 | +## Release v1.6.0 |
| 2 | + |
| 3 | +### Engine |
| 4 | +- Add `SuggestedCorrections` property to `DiagnosticRecord` |
| 5 | + - 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) |
| 7 | +- 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. This feature is available only for PSv5 and above. |
| 9 | +- Add `remove` verb to `UseShouldProcessForStateChangingFunctions` rule |
| 10 | +- 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 |
| 12 | +- Fix the parsing of `Settings` parameter value when a hashtable is given |
| 13 | +- Fix writing error record while running rule suppression |
| 14 | +- Fix rule suppression in DSC Configuration definitions |
| 15 | +- Fix build and tests on PSv4 and v3 |
| 16 | + |
| 17 | +### Rules |
| 18 | +- Add suggested corrections feature to the following rules. |
| 19 | + - `PSAvoidUsingCmdletAliases` |
| 20 | + - `PSAvoidUsingPlainTextForPassword` |
| 21 | + - `PSMisleadingBacktick` |
| 22 | + - `PSUseToExportFieldsInManifest` |
| 23 | + - `PSMissingModuleManifestField` |
| 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` |
| 30 | + |
1 | 31 | ## Release v1.5.0 (Mar. 30, 2016)
|
2 | 32 |
|
3 |
| -#### Engine |
| 33 | +### Engine |
4 | 34 | - Fixed an engine bug that prevented versioned script rule modules from being loaded
|
5 | 35 | - Fixed loading issues with custom rules that do not have comment-based help to describe the rule
|
6 | 36 | - Fixed a hang issue that appeared when using ScriptAnalyzer engine recursively with a large data set
|
7 | 37 | - Housekeeping: Fixed Appveyor config to use VS 2015 and WMF 5.0 RTM image
|
8 | 38 | - Community Fix: Updated the Initialize API to process the `-Settings` (formerly `-Profile`) parameter
|
9 | 39 | - Perf: Improved rule filtering based on severity before invoking the engine to create tasks (threads)
|
10 | 40 |
|
11 |
| -#### Rules |
| 41 | +### Rules |
12 | 42 | - Fixed `UseToExportFieldsInManifest` rule to improve perf and functionality
|
13 | 43 | - Fixed `AvoidNullOrEmptyHelpMessageAttribute` to use parsed values instead of ast extent
|
14 | 44 | - Fixed inconsistencies in severities of rules
|
|
81 | 111 | - Deprecate Internal Url rule based on community feedback, identified additional rules to handle hardcoded paths etc
|
82 | 112 | - Added localhost exceptions for HardCodedComputerName Rule
|
83 | 113 | - Update to Credential based rules to validate the presence of CredentialAttribute and PSCredential type
|
84 |
| - |
| 114 | + |
85 | 115 | ###Documentation:
|
86 | 116 | - Rule & Cmdlet documentation updates – Cmdlet help file addition
|
87 | 117 |
|
|
174 | 204 |
|
175 | 205 | ##Released v1.0.0 on Apr.24, 2015
|
176 | 206 | ###Features:
|
177 |
| -- Finalized three levels of Severity - Error/Warning/Information. |
| 207 | +- Finalized three levels of Severity - Error/Warning/Information. |
178 | 208 | - Improved PSScriptAnalyzer engine behavior: emits non-terminating errors (Ex: for failed ast parse) and continues rule application when running on multiple scripts.
|
179 |
| -- 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. |
180 | 210 | - Added -Severity to Get-ScriptAnalyzerRules. Get-ScriptAnalyzer -Severity will filter rules based on the severity given.
|
181 | 211 | - 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.
|
182 | 212 |
|
|
0 commit comments