github PowerShell/PSScriptAnalyzer 1.6.0
PSScriptAnalyzer v1.6.0

latest releases: 1.22.0, 1.21.0, 1.20.0...
7 years ago

This release contains numerous rules and engine bug fixes along with the following two major feature additions.

This release adds a switch named SaveDSCDepenency to Invoke-ScriptAnalyzer. As the name suggests, when this switch is provided, we allow PSSA to download DSC resources from PSGallery whenever it encounters ModuleNotFoundDuringParse error in the context of Import-DSCResource keyword. For more information about this feature please have a look at #520 and #524 .

A new property, SuggestedCorrections is added to DiagnosticRecord. This feature facilitates quick-fix scenarios in editors that use PSSA to provide users with diagnostic information about the PowerShell scripts that are being edited. Whenever a rule violation occurs, PSSA provides a valid SuggestedCorrections property in the emitted DiagnosticRecord objects. This provides information about the violation extent and the correction that can rectify the violation. For more information about this feature please have a look at #502, #508 and #516.

You can grab this version from PowerShellGallery at https://www.powershellgallery.com/packages/PSScriptAnalyzer/1.6.0

Detailed change log can be found at https://github.com/PowerShell/PSScriptAnalyzer/blob/master/CHANGELOG.MD

Don't miss a new PSScriptAnalyzer release

NewReleases is sending notifications on new releases.