|
| 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 `SaveDSCResourceDependency` switch to allow `Invoke-ScriptAnalyzer` to download a DSC Resource module from PSGallery in the event of a `ModuleNotFoundDuringParse` parse error. |
| 9 | +- Add `remove` verb to `UseShouldProcessForStateChangingFunctions` rule |
| 10 | +- Add a `ScriptPath` property to Diagnostic Record that returns the full path of the script |
| 11 | +- Fix the parsing of `Settings` parameter value when a hashtable is given |
| 12 | +- Fix writing error record while running rule suppression |
| 13 | +- Fix rule suppression in DSC Configuration definitions |
| 14 | + |
| 15 | +### Rules |
| 16 | +- Add suggested corrections feature to the following rules. |
| 17 | + - `PSAvoidUsingCmdletAliases` |
| 18 | + - `PSAvoidUsingPlainTextForPassword` |
| 19 | + - `PSMisleadingBacktick` |
| 20 | + - `PSUseToExportFieldsInManifest` |
| 21 | + - `PSMissingModuleManifestField` |
| 22 | +- Fix extent of |
| 23 | + - `UseSingularNoun` |
| 24 | + - `UseApprovedVerb` |
| 25 | + - `AvoidUsernameAndPasswordParams` |
| 26 | + |
1 | 27 | ## Release v1.5.0 (Mar. 30, 2016)
|
2 | 28 |
|
3 |
| -#### Engine |
| 29 | +### Engine |
4 | 30 | - Fixed an engine bug that prevented versioned script rule modules from being loaded
|
5 | 31 | - Fixed loading issues with custom rules that do not have comment-based help to describe the rule
|
6 | 32 | - Fixed a hang issue that appeared when using ScriptAnalyzer engine recursively with a large data set
|
7 | 33 | - Housekeeping: Fixed Appveyor config to use VS 2015 and WMF 5.0 RTM image
|
8 | 34 | - Community Fix: Updated the Initialize API to process the `-Settings` (formerly `-Profile`) parameter
|
9 | 35 | - Perf: Improved rule filtering based on severity before invoking the engine to create tasks (threads)
|
10 | 36 |
|
11 |
| -#### Rules |
| 37 | +### Rules |
12 | 38 | - Fixed `UseToExportFieldsInManifest` rule to improve perf and functionality
|
13 | 39 | - Fixed `AvoidNullOrEmptyHelpMessageAttribute` to use parsed values instead of ast extent
|
14 | 40 | - Fixed inconsistencies in severities of rules
|
|
0 commit comments