Skip to content

Commit c7fa7e1

Browse files
author
Kapil Borle
authored
Merge pull request #693 from PowerShell/kapilmb/v1.10.0
Prepare for v1.10.0 release
2 parents cc41f6d + 63217c3 commit c7fa7e1

File tree

7 files changed

+34
-24
lines changed

7 files changed

+34
-24
lines changed

Diff for: CHANGELOG.MD

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
## [unreleased]
1+
## [1.10.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.10.0) - 2017-01-19
2+
### Added
3+
- Three rules to enable code formatting feature in vscode (#690)
4+
- [PSPlaceOpenBrace](https://github.com/PowerShell/PSScriptAnalyzer/blob/03a6e2b4ee24894bf574a8a8ce911d03680da607/RuleDocumentation/PlaceOpenBrace.md)
5+
- [PSPlaceCloseBrace](https://github.com/PowerShell/PSScriptAnalyzer/blob/03a6e2b4ee24894bf574a8a8ce911d03680da607/RuleDocumentation/PlaceCloseBrace.md)
6+
- [PSUseConsistentIdentation](https://github.com/PowerShell/PSScriptAnalyzer/blob/03a6e2b4ee24894bf574a8a8ce911d03680da607/RuleDocumentation/UseConsistentIndentation.md)
7+
28
### Fixed
39
- `PSProvideCommentHelp` violation extent (#679)
410
- `PSAvoidUsingCmdletAliases` rule
@@ -8,6 +14,8 @@
814
- `PSUsePSCredentialType` rule (#683)
915
+ trigger only if invoked from PS version 4 and below
1016
+ violation extent
17+
- `PSAvoidUsingComputerNameHardcoded` rule to ignore `localhost` (#687)
18+
- Performance issues caused by invoking `get-command` method (#692)
1119

1220
## [1.9.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.9.0) - 2016-12-06
1321
### Added

Diff for: Engine/PSScriptAnalyzer.psd1

+16-17
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.9.0'
14+
ModuleVersion = '1.10.0'
1515

1616
# ID used to uniquely identify this module
1717
GUID = 'd6245802-193d-4068-a631-8863a4342a18'
@@ -88,24 +88,22 @@ PrivateData = @{
8888
IconUri = ''
8989
ReleaseNotes = @'
9090
### Added
91-
- SuggestedCorrections for ScriptDefinition input (#665)
92-
- PSAvoidGlobalAliases and PSAvoidGlobalFunction rules (#658)
91+
- Three rules to enable code formatting feature in vscode (#690)
92+
- PSPlaceOpenBrace
93+
- PSPlaceCloseBrace
94+
- PSUseConsistentIdentation
9395
9496
### Fixed
95-
- Regular expression in `target` parameter in SuppressMessageAttribute (#638)
96-
- Filtering on severity level for DSC rules (#642)
97-
- PSUseCompatibleCmdlets rule
98-
+ to check for commands in Microsoft.PowerShell.Core snapin
99-
+ to ignore aliases
100-
+ to ignore custom defind commands
101-
- PSUseDeclaredVarsMoreThanAssignments rule to ignore the following special variables (#653)
102-
+ `$PSModuleAutoLoadingPreference`
103-
+ `$InformationPreference`
104-
- PSShouldProcess rule to not enforce `SupportsShouldProcess` if a function calls built-in cmdlet or function that calls `ShouldProcess` (#652).
105-
- PSShouldProcess rule violation extent (#668)
106-
- PSAvoidUsingCmdletAliases rule violation extent (667)
107-
- Column header of `Invoke-ScriptAnalyzer` to be consistent with corresponding property names (#664)
108-
- `ScriptPath` property of external rule violation (#649)
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)
109107
'@
110108
}
111109
}
@@ -120,3 +118,4 @@ PrivateData = @{
120118

121119

122120

121+

Diff for: 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.9.0",
3+
"version": "1.10.0",
44
"dependencies": {
55
"System.Management.Automation": "1.0.0-alpha12"
66
},

Diff for: RuleDocumentation/PlaceCloseBrace.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PlaceOpenBrace
1+
# PlaceCloseBrace
22
**Severity Level: Warning**
33

44
## Description

Diff for: RuleDocumentation/README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,7 @@
4646
|[UseSingularNouns](./UseSingularNouns.md) | Warning|
4747
|[UseStandardDSCFunctionsInResource](./UseStandardDSCFunctionsInResource.md) | Error |
4848
|[UseToExportFieldsInManifest](./UseToExportFieldsInManifest.md) | Warning|
49-
|[UseCompatibleCmdlets](./UseCompatibleCmdlets.md) | Warning|
49+
|[UseCompatibleCmdlets](./UseCompatibleCmdlets.md) | Warning|
50+
|[PlaceOpenBrace](./PlaceOpenBrace.md) | Warning|
51+
|[PlaceCloseBrace](./PlaceCloseBrace.md) | Warning|
52+
|[UseConsistentIndentation](./UseConsistentIndentation.md) | Warning|

Diff for: RuleDocumentation/UseConsistentIndentation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PlaceOpenBrace
1+
# UseConsistentIndentation
22
**Severity Level: Warning**
33

44
## Description

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

0 commit comments

Comments
 (0)