Skip to content

Commit 1a15076

Browse files
author
Kapil Borle
authored
Merge pull request #763 from PowerShell/kapilmb/v1.13.0
Prepare release v1.13.0
2 parents f92dabd + ac19dd3 commit 1a15076

File tree

4 files changed

+21
-11
lines changed

4 files changed

+21
-11
lines changed

CHANGELOG.MD

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1-
## [unreleased]
1+
## [1.13.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.13.0) - 2017-05-18
22

3-
## Fixed
3+
### Added
4+
- [`PSUseSupportsShouldProcess`](https://github.com/PowerShell/PSScriptAnalyzer/blob/f92dabdef61b87d5f9f9f2140739c9f3f210b2d8/RuleDocumentation/UseSupportsShouldProcess.md) rule to discourage manual `whatif` and `confirm` parameter declarations.
5+
- Suggested corrections to [`PSProvideCommentHelp`](https://github.com/PowerShell/PSScriptAnalyzer/blob/f92dabdef61b87d5f9f9f2140739c9f3f210b2d8/RuleDocumentation/ProvideCommentHelp.md) rule. The rule can now be configured to:
6+
- trigger on non-exported functions. But by default, the rule triggers only on exported functions that do have comment help.
7+
- place the suggested corrections either before a function definition, or at the beginning or end of a function's body.
8+
- choose between block comment or line comment style of suggested comment help correction.
9+
10+
### Fixed
411
- `PSAlignAssignmentStatement` to align assignment statements in DSC configurations that have *Undefined DSC Resource* parse errors.
512

6-
## [1.12.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.11.1) - 2017-05-09
13+
## [1.12.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.12.0) - 2017-05-09
714

815
### Added
916
- [PSAlignAssignmentRuleStatement](https://github.com/PowerShell/PSScriptAnalyzer/blob/cca9a2d7ee35be7322f8c5a09b6c500a0a8bd101/RuleDocumentation/AlignAssignmentStatement.md) rule to align assignment statements in property value pairs (#753).

Engine/PSScriptAnalyzer.psd1

+8-5
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.12.0'
14+
ModuleVersion = '1.13.0'
1515

1616
# ID used to uniquely identify this module
1717
GUID = 'd6245802-193d-4068-a631-8863a4342a18'
@@ -88,12 +88,14 @@ PrivateData = @{
8888
IconUri = ''
8989
ReleaseNotes = @'
9090
### Added
91-
- PSAlignAssignmentRuleStatement rule to align assignment statements in property value pairs (#753).
91+
- `PSUseSupportsShouldProcess` rule to discourage manual `whatif` and `confirm` parameter declarations.
92+
- Suggested corrections to `PSProvideCommentHelp` rule. The rule can now be configured to:
93+
- trigger on non-exported functions. But by default, the rule triggers only on exported functions that do have comment help.
94+
- place the suggested corrections either before a function definition, or at the beginning or end of a function's body.
95+
- choose between block comment or line comment style of suggested comment help correction.
9296
9397
### Fixed
94-
- `PSAvoidGlobalVars` rule to ignore `$global:lastexitcode` (#752).
95-
- `PSUseConsistentIndentation` to account for backtick on preceding line (#749).
96-
- `PSPlaceCloseBrace` to ignore one-line blocks when `NewLineAfter` switch is on (#748).
98+
- `PSAlignAssignmentStatement` to align assignment statements in DSC configurations that have *Undefined DSC Resource* parse errors.
9799
'@
98100
}
99101
}
@@ -112,3 +114,4 @@ PrivateData = @{
112114

113115

114116

117+

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.12.0",
3+
"version": "1.13.0",
44
"dependencies": {
55
"System.Management.Automation": "1.0.0-alpha12"
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.12.0",
3+
"version": "1.13.0",
44
"dependencies": {
55
"System.Management.Automation": "1.0.0-alpha12",
6-
"Engine": "1.12.0",
6+
"Engine": "1.13.0",
77
"Newtonsoft.Json": "9.0.1"
88
},
99

0 commit comments

Comments
 (0)