Skip to content

Commit 3a5e476

Browse files
author
Kapil Borle
authored
Merge pull request #792 from PowerShell/kapilmb/v1.15.0
Prepare release v1.15.0
2 parents fadcfa6 + c11c73d commit 3a5e476

File tree

4 files changed

+26
-8
lines changed

4 files changed

+26
-8
lines changed

CHANGELOG.MD

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
## [1.14.1](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.14.1) - 2017-06-12
1+
## [1.15.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.15.0) - 2017-06-21
2+
3+
### Added
4+
- (#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.
5+
- (#782, #788) Allman style, Stroustrup style and one true brace style (OTBS) code formatting presets.
6+
- (#790) `Kind` switch to `PSUseConsistentIndentation` rule to provide tabbed indentation.
7+
8+
### Fixed
9+
- (#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.
10+
11+
Many thanks to @rkeithhill for contributing the _Stroustrup_ style code formatting preset.
12+
13+
## [1.14.1](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.14.1) - 2017-06-12
214

315
### Fixed
416
- (#777) `Invoke-Formatter`

Engine/PSScriptAnalyzer.psd1

+10-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Author = 'Microsoft Corporation'
1111
RootModule = 'PSScriptAnalyzer.psm1'
1212

1313
# Version number of this module.
14-
ModuleVersion = '1.14.1'
14+
ModuleVersion = '1.15.0'
1515

1616
# ID used to uniquely identify this module
1717
GUID = 'd6245802-193d-4068-a631-8863a4342a18'
@@ -87,10 +87,15 @@ PrivateData = @{
8787
ProjectUri = 'https://github.com/PowerShell/PSScriptAnalyzer'
8888
IconUri = ''
8989
ReleaseNotes = @'
90+
### Added
91+
- (#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.
92+
- (#782, #788) Allman style, Stroustrup style and one true brace style (OTBS) code formatting presets.
93+
- (#790) `Kind` switch to `PSUseConsistentIndentation` rule to provide tabbed indentation.
94+
9095
### Fixed
91-
- (#777) `Invoke-Formatter`
92-
- Make the cmdlet parameters positional.
93-
- Updated documentation so that `Get-Help Invoke-Formatter -Syntax` returns a valid syntax.
96+
- (#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.
97+
98+
Many thanks to @rkeithhill for contributing the _Stroustrup_ style code formatting preset.
9499
'@
95100
}
96101
}
@@ -113,3 +118,4 @@ PrivateData = @{
113118

114119

115120

121+

Engine/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Microsoft.Windows.PowerShell.ScriptAnalyzer",
3-
"version": "1.14.1",
3+
"version": "1.15.0",
44
"dependencies": {
55
"System.Management.Automation": "6.0.0-alpha13"
66
},

Rules/project.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules",
3-
"version": "1.14.1",
3+
"version": "1.15.0",
44
"dependencies": {
55
"System.Management.Automation": "6.0.0-alpha13",
6-
"Engine": "1.14.1",
6+
"Engine": "1.15.0",
77
"Newtonsoft.Json": "9.0.1"
88
},
99

0 commit comments

Comments
 (0)