From cb087958451b9c7d2d85941d621bc59a28a43836 Mon Sep 17 00:00:00 2001 From: Kapil Borle Date: Tue, 15 Aug 2017 09:12:46 -0700 Subject: [PATCH 1/2] Update changelog --- CHANGELOG.MD | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 06d0b4b77..d6c440e18 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,12 @@ -## [1.15.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.15.0) - 2017-06-21 +## [1.16.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.16.0) - 2017-08-15 +### Added +- (#803) `CustomRulePath`, `RecurseCustomRulePath` and `IncludeDefaultRules` parameters to settings file. + +### Fixed +- (#801) Reading DSC classes in `PSUseIdenticalMandatoryParametersForDSC` rule. +- (#796) `PSAvoidUsingWriteHost` rule documentation (Thanks @bergmeister!). + +## [1.15.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.15.0) - 2017-06-21 ### Added - (#780) `Range` parameter to the `Invoke-Formatter` cmdlet. The user can specify the range in which formatting should be applied. The primary usage for this parameter is to be used with editors that request selection formatting. From 5b66d52ca226e27d977bf8f0bea2b19c8ec95558 Mon Sep 17 00:00:00 2001 From: Kapil Borle Date: Tue, 15 Aug 2017 09:33:13 -0700 Subject: [PATCH 2/2] Update module manifest and project files --- Engine/PSScriptAnalyzer.psd1 | 12 +++++------- Engine/project.json | 2 +- Rules/project.json | 4 ++-- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/Engine/PSScriptAnalyzer.psd1 b/Engine/PSScriptAnalyzer.psd1 index 104579ed4..4a24c8c92 100644 --- a/Engine/PSScriptAnalyzer.psd1 +++ b/Engine/PSScriptAnalyzer.psd1 @@ -11,7 +11,7 @@ Author = 'Microsoft Corporation' RootModule = 'PSScriptAnalyzer.psm1' # Version number of this module. -ModuleVersion = '1.15.0' +ModuleVersion = '1.16.0' # ID used to uniquely identify this module GUID = 'd6245802-193d-4068-a631-8863a4342a18' @@ -88,14 +88,11 @@ PrivateData = @{ IconUri = '' ReleaseNotes = @' ### Added -- (#780) `Range` parameter to the `Invoke-Formatter` cmdlet. The user can specify the range in which formatting should be applied. The primary usage for this parameter is to be used with editors that request selection formatting. -- (#782, #788) Allman style, Stroustrup style and one true brace style (OTBS) code formatting presets. -- (#790) `Kind` switch to `PSUseConsistentIndentation` rule to provide tabbed indentation. +- (#803) `CustomRulePath`, `RecurseCustomRulePath` and `IncludeDefaultRules` parameters to settings file. ### Fixed -- (#781, #784) `NewLineAfer` switch behavior in `PSPlaceCloseBrace` rule. When the switch is set to `$false`, the emitted suggested corrections enforce branching control statements to be on the same line as their preceding closing braces. On the other hand when the switch is set to `$true`, the emitted suggested corrections enforce branching controls statements to be on the next line. - -Many thanks to @rkeithhill for contributing the _Stroustrup_ style code formatting preset. +- (#801) Reading DSC classes in `PSUseIdenticalMandatoryParametersForDSC` rule. +- (#796) `PSAvoidUsingWriteHost` rule documentation (Thanks @bergmeister!). '@ } } @@ -119,3 +116,4 @@ Many thanks to @rkeithhill for contributing the _Stroustrup_ style code formatti + diff --git a/Engine/project.json b/Engine/project.json index 28213a8b5..f60424aea 100644 --- a/Engine/project.json +++ b/Engine/project.json @@ -1,6 +1,6 @@ { "name": "Microsoft.Windows.PowerShell.ScriptAnalyzer", - "version": "1.15.0", + "version": "1.16.0", "dependencies": { "System.Management.Automation": "6.0.0-alpha13" }, diff --git a/Rules/project.json b/Rules/project.json index e359ab1a9..5a33b4acb 100644 --- a/Rules/project.json +++ b/Rules/project.json @@ -1,9 +1,9 @@ { "name": "Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules", - "version": "1.15.0", + "version": "1.16.0", "dependencies": { "System.Management.Automation": "6.0.0-alpha13", - "Engine": "1.15.0", + "Engine": "1.16.0", "Newtonsoft.Json": "9.0.1" },