From e787deeadb4066215667568237dd62de42425448 Mon Sep 17 00:00:00 2001 From: Kapil Borle Date: Mon, 3 Apr 2017 16:00:34 -0700 Subject: [PATCH 1/3] Update changelog --- CHANGELOG.MD | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index abe75ddee..d442fdd4d 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,11 @@ -## [1.11.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.11.0) - 2017-03-01 +## [1.11.1](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.11.1) - 2017-04-04 +### Fixed +- CodeFormatting settings file (#727, #728). +- Whitelisted aliases comparison in AvoidUsingCmdletAliases rule (#739). +- PlaceCloseBrace rule behavior for NewLineAfter option (#741). +- UseConsistentIndentation rule to ignore open brace in magic methods (#744). + +## [1.11.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.11.0) - 2017-03-01 ### Added - Built-in settings presets to specify settings from command line (#717). Currently, PSSA ships with `PSGallery`, `CodeFormatting`, `DSC`, and other settings presets. All of them can be found in the `Settings/` directory in the module. To use them just pass them as an argument to the `Settings` parameter. For example, if you want to run rules that *powershellgallery* runs, then use the following command. ```powershell From 4bd5d5c6524371571334149e77a883f08adf0305 Mon Sep 17 00:00:00 2001 From: Kapil Borle Date: Mon, 3 Apr 2017 16:01:27 -0700 Subject: [PATCH 2/3] Update module manifest --- Engine/PSScriptAnalyzer.psd1 | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/Engine/PSScriptAnalyzer.psd1 b/Engine/PSScriptAnalyzer.psd1 index d1fe2f75f..40d9064b6 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.11.0' +ModuleVersion = '1.11.1' # ID used to uniquely identify this module GUID = 'd6245802-193d-4068-a631-8863a4342a18' @@ -87,24 +87,11 @@ PrivateData = @{ ProjectUri = 'https://github.com/PowerShell/PSScriptAnalyzer' IconUri = '' ReleaseNotes = @' -### Added -- Built-in settings presets to specify settings from command line (#717). Currently, PSSA ships with `PSGallery`, `CodeFormatting`, `DSC`, and other settings presets. All of them can be found in the `Settings/` directory in the module. To use them just pass them as an argument to the `Settings` parameter. For example, if you want to run rules that *powershellgallery* runs, then use the following command. -```powershell -PS> Invoke-ScriptAnalyzer -Path /path/to/your/module -Settings PSGallery -``` -- Argument completion for built-in settings presets (#717). -- Argument completion for `IncludeRule` and `ExcludeRule` parameters (#717). -- Option to `PSCloseBrace` rule to add new line after the brace (#713). -- Option to `PSCloseBrace` rule to ignore expressions that have open and close braces on the same line (#706). -- New rule, PSUseConsistentWhitespace, to check for whitespace style around operators and separators (#702). - ### Fixed -- Indentation when pipes precede new lines in a multi-line command expression in `PSUseConsistentIdentation` rule (#705). -- Handling of SubExpressionAsts (`$(...)`) in `PSUseConsistentIdentation` rule (#700). -- Performance issues caused by `get-command` cmdlet (#695). - -### Changed -- Settings implementation to decouple it from engine (#717). +- CodeFormatting settings file (#727, #728). +- Whitelisted aliases comparison in AvoidUsingCmdletAliases rule (#739). +- PlaceCloseBrace rule behavior for NewLineAfter option (#741). +- UseConsistentIndentation rule to ignore open brace in magic methods (#744). '@ } } @@ -121,3 +108,4 @@ PS> Invoke-ScriptAnalyzer -Path /path/to/your/module -Settings PSGallery + From b0bb0f59149ecc04ccae1a5cc2028c89852b4eed Mon Sep 17 00:00:00 2001 From: Kapil Borle Date: Mon, 3 Apr 2017 16:02:09 -0700 Subject: [PATCH 3/3] Update project.json files --- Engine/project.json | 2 +- Rules/project.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Engine/project.json b/Engine/project.json index 7ec75bcde..e24f3c00e 100644 --- a/Engine/project.json +++ b/Engine/project.json @@ -1,6 +1,6 @@ { "name": "Microsoft.Windows.PowerShell.ScriptAnalyzer", - "version": "1.11.0", + "version": "1.11.1", "dependencies": { "System.Management.Automation": "1.0.0-alpha12" }, diff --git a/Rules/project.json b/Rules/project.json index e32e255dd..05142d60c 100644 --- a/Rules/project.json +++ b/Rules/project.json @@ -1,9 +1,9 @@ { "name": "Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules", - "version": "1.11.0", + "version": "1.11.1", "dependencies": { "System.Management.Automation": "1.0.0-alpha12", - "Engine": "1.11.0", + "Engine": "1.11.1", "Newtonsoft.Json": "9.0.1" },