Skip to content

Commit 2e77452

Browse files
author
Kapil Borle
authored
Merge pull request #719 from PowerShell/kapilmb/v1.11.0
Prepare release v1.11.0
2 parents 9a6fe53 + 0e80f0d commit 2e77452

File tree

4 files changed

+31
-24
lines changed

4 files changed

+31
-24
lines changed

CHANGELOG.MD

+11-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
1-
## unreleased
2-
1+
## [1.11.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.11.0) - 2017-03-01
32
### Added
4-
- Built-in settings presets to specify settings from command line. Currently, PSSA ships with `PSGallery`, `CodeFormatting`, `DSC`, and other setting 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` parameters. For example, if you want to run rules that *powershellgallery* runs, then use the following command.
3+
- 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.
54
```powershell
65
PS> Invoke-ScriptAnalyzer -Path /path/to/your/module -Settings PSGallery
76
```
8-
- Argument completion for built-in settings presets.
9-
- Argument completion for `IncludeRule` and `ExcludeRule` parameters.
7+
- Argument completion for built-in settings presets (#717).
8+
- Argument completion for `IncludeRule` and `ExcludeRule` parameters (#717).
9+
- Option to `PSCloseBrace` rule to add new line after the brace (#713).
10+
- Option to `PSCloseBrace` rule to ignore expressions that have open and close braces on the same line (#706).
11+
- New rule, [PSUseConsistentWhitespace](https://github.com/PowerShell/PSScriptAnalyzer/blob/9a6fe537c11c9c8d7ed872a7464eb192cab00883/RuleDocumentation/UseConsistentWhitespace.md), to check for whitespace style around operators and separators (#702).
1012

1113
### Fixed
14+
- Indentation when pipes precede new lines in a multi-line command expression in `PSUseConsistentIdentation` rule (#705).
15+
- Handling of SubExpressionAsts (`$(...)`) in `PSUseConsistentIdentation` rule (#700).
16+
- Performance issues caused by `get-command` cmdlet (#695).
1217

1318
### Changed
14-
- Settings implementation to decouple it from engine.
19+
- Settings implementation to decouple it from engine (#717).
1520

1621
## [1.10.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.10.0) - 2017-01-19
1722
### Added

Engine/PSScriptAnalyzer.psd1

+17-15
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.10.0'
14+
ModuleVersion = '1.11.0'
1515

1616
# ID used to uniquely identify this module
1717
GUID = 'd6245802-193d-4068-a631-8863a4342a18'
@@ -88,22 +88,23 @@ PrivateData = @{
8888
IconUri = ''
8989
ReleaseNotes = @'
9090
### Added
91-
- Three rules to enable code formatting feature in vscode (#690)
92-
- PSPlaceOpenBrace
93-
- PSPlaceCloseBrace
94-
- PSUseConsistentIdentation
91+
- 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.
92+
```powershell
93+
PS> Invoke-ScriptAnalyzer -Path /path/to/your/module -Settings PSGallery
94+
```
95+
- Argument completion for built-in settings presets (#717).
96+
- Argument completion for `IncludeRule` and `ExcludeRule` parameters (#717).
97+
- Option to `PSCloseBrace` rule to add new line after the brace (#713).
98+
- Option to `PSCloseBrace` rule to ignore expressions that have open and close braces on the same line (#706).
99+
- New rule, PSUseConsistentWhitespace, to check for whitespace style around operators and separators (#702).
95100
96101
### Fixed
97-
- `PSProvideCommentHelp` violation extent (#679)
98-
- `PSAvoidUsingCmdletAliases` rule
99-
+ false positives in DSC configurations (#678)
100-
+ violation extent (#685)
101-
- `PSDSCDSCTestsPresent` rule to check for tests in subdirectories
102-
- `PSUsePSCredentialType` rule (#683)
103-
+ trigger only if invoked from PS version 4 and below
104-
+ violation extent
105-
- `PSAvoidUsingComputerNameHardcoded` rule to ignore `localhost` (#687)
106-
- Performance issues caused by invoking `get-command` method (#692)
102+
- Indentation when pipes precede new lines in a multi-line command expression in `PSUseConsistentIdentation` rule (#705).
103+
- Handling of SubExpressionAsts (`$(...)`) in `PSUseConsistentIdentation` rule (#700).
104+
- Performance issues caused by `get-command` cmdlet (#695).
105+
106+
### Changed
107+
- Settings implementation to decouple it from engine (#717).
107108
'@
108109
}
109110
}
@@ -119,3 +120,4 @@ PrivateData = @{
119120

120121

121122

123+

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

0 commit comments

Comments
 (0)