diff --git a/CHANGELOG.MD b/CHANGELOG.MD index d442fdd4d..2e9da62c2 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,14 @@ -## [1.11.1](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.11.1) - 2017-04-04 +## [1.12.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.11.1) - 2017-05-09 + +### Added +- [PSAlignAssignmentRuleStatement](https://github.com/PowerShell/PSScriptAnalyzer/blob/cca9a2d7ee35be7322f8c5a09b6c500a0a8bd101/RuleDocumentation/AlignAssignmentStatement.md) rule to align assignment statements in property value pairs (#753). + +### Fixed +- `PSAvoidGlobalVars` rule to ignore `$global:lastexitcode` (#752). +- `PSUseConsistentIndentation` to account for backtick on preceding line (#749). +- `PSPlaceCloseBrace` to ignore one-line blocks when `NewLineAfter` switch is on (#748). + +## [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). diff --git a/Engine/PSScriptAnalyzer.psd1 b/Engine/PSScriptAnalyzer.psd1 index 40d9064b6..d09551a93 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.1' +ModuleVersion = '1.12.0' # ID used to uniquely identify this module GUID = 'd6245802-193d-4068-a631-8863a4342a18' @@ -87,11 +87,13 @@ PrivateData = @{ ProjectUri = 'https://github.com/PowerShell/PSScriptAnalyzer' IconUri = '' ReleaseNotes = @' +### Added +- PSAlignAssignmentRuleStatement rule to align assignment statements in property value pairs (#753). + ### 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). +- `PSAvoidGlobalVars` rule to ignore `$global:lastexitcode` (#752). +- `PSUseConsistentIndentation` to account for backtick on preceding line (#749). +- `PSPlaceCloseBrace` to ignore one-line blocks when `NewLineAfter` switch is on (#748). '@ } } @@ -109,3 +111,4 @@ PrivateData = @{ + diff --git a/Engine/project.json b/Engine/project.json index e24f3c00e..73d91158d 100644 --- a/Engine/project.json +++ b/Engine/project.json @@ -1,6 +1,6 @@ { "name": "Microsoft.Windows.PowerShell.ScriptAnalyzer", - "version": "1.11.1", + "version": "1.12.0", "dependencies": { "System.Management.Automation": "1.0.0-alpha12" }, diff --git a/Rules/project.json b/Rules/project.json index 05142d60c..c60459e70 100644 --- a/Rules/project.json +++ b/Rules/project.json @@ -1,9 +1,9 @@ { "name": "Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules", - "version": "1.11.1", + "version": "1.12.0", "dependencies": { "System.Management.Automation": "1.0.0-alpha12", - "Engine": "1.11.1", + "Engine": "1.12.0", "Newtonsoft.Json": "9.0.1" },