Skip to content

Prepare for v1.10.0 release #693

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
## [unreleased]
## [1.10.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.10.0) - 2017-01-19
### Added
- Three rules to enable code formatting feature in vscode (#690)
- [PSPlaceOpenBrace](https://github.com/PowerShell/PSScriptAnalyzer/blob/03a6e2b4ee24894bf574a8a8ce911d03680da607/RuleDocumentation/PlaceOpenBrace.md)
- [PSPlaceCloseBrace](https://github.com/PowerShell/PSScriptAnalyzer/blob/03a6e2b4ee24894bf574a8a8ce911d03680da607/RuleDocumentation/PlaceCloseBrace.md)
- [PSUseConsistentIdentation](https://github.com/PowerShell/PSScriptAnalyzer/blob/03a6e2b4ee24894bf574a8a8ce911d03680da607/RuleDocumentation/UseConsistentIndentation.md)

### Fixed
- `PSProvideCommentHelp` violation extent (#679)
- `PSAvoidUsingCmdletAliases` rule
Expand All @@ -8,6 +14,8 @@
- `PSUsePSCredentialType` rule (#683)
+ trigger only if invoked from PS version 4 and below
+ violation extent
- `PSAvoidUsingComputerNameHardcoded` rule to ignore `localhost` (#687)
- Performance issues caused by invoking `get-command` method (#692)

## [1.9.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.9.0) - 2016-12-06
### Added
Expand Down
33 changes: 16 additions & 17 deletions Engine/PSScriptAnalyzer.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Author = 'Microsoft Corporation'
RootModule = 'PSScriptAnalyzer.psm1'

# Version number of this module.
ModuleVersion = '1.9.0'
ModuleVersion = '1.10.0'

# ID used to uniquely identify this module
GUID = 'd6245802-193d-4068-a631-8863a4342a18'
Expand Down Expand Up @@ -88,24 +88,22 @@ PrivateData = @{
IconUri = ''
ReleaseNotes = @'
### Added
- SuggestedCorrections for ScriptDefinition input (#665)
- PSAvoidGlobalAliases and PSAvoidGlobalFunction rules (#658)
- Three rules to enable code formatting feature in vscode (#690)
- PSPlaceOpenBrace
- PSPlaceCloseBrace
- PSUseConsistentIdentation

### Fixed
- Regular expression in `target` parameter in SuppressMessageAttribute (#638)
- Filtering on severity level for DSC rules (#642)
- PSUseCompatibleCmdlets rule
+ to check for commands in Microsoft.PowerShell.Core snapin
+ to ignore aliases
+ to ignore custom defind commands
- PSUseDeclaredVarsMoreThanAssignments rule to ignore the following special variables (#653)
+ `$PSModuleAutoLoadingPreference`
+ `$InformationPreference`
- PSShouldProcess rule to not enforce `SupportsShouldProcess` if a function calls built-in cmdlet or function that calls `ShouldProcess` (#652).
- PSShouldProcess rule violation extent (#668)
- PSAvoidUsingCmdletAliases rule violation extent (667)
- Column header of `Invoke-ScriptAnalyzer` to be consistent with corresponding property names (#664)
- `ScriptPath` property of external rule violation (#649)
- `PSProvideCommentHelp` violation extent (#679)
- `PSAvoidUsingCmdletAliases` rule
+ false positives in DSC configurations (#678)
+ violation extent (#685)
- `PSDSCDSCTestsPresent` rule to check for tests in subdirectories
- `PSUsePSCredentialType` rule (#683)
+ trigger only if invoked from PS version 4 and below
+ violation extent
- `PSAvoidUsingComputerNameHardcoded` rule to ignore `localhost` (#687)
- Performance issues caused by invoking `get-command` method (#692)
'@
}
}
Expand All @@ -120,3 +118,4 @@ PrivateData = @{




2 changes: 1 addition & 1 deletion Engine/project.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Microsoft.Windows.PowerShell.ScriptAnalyzer",
"version": "1.9.0",
"version": "1.10.0",
"dependencies": {
"System.Management.Automation": "1.0.0-alpha12"
},
Expand Down
2 changes: 1 addition & 1 deletion RuleDocumentation/PlaceCloseBrace.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PlaceOpenBrace
# PlaceCloseBrace
**Severity Level: Warning**

## Description
Expand Down
5 changes: 4 additions & 1 deletion RuleDocumentation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,7 @@
|[UseSingularNouns](./UseSingularNouns.md) | Warning|
|[UseStandardDSCFunctionsInResource](./UseStandardDSCFunctionsInResource.md) | Error |
|[UseToExportFieldsInManifest](./UseToExportFieldsInManifest.md) | Warning|
|[UseCompatibleCmdlets](./UseCompatibleCmdlets.md) | Warning|
|[UseCompatibleCmdlets](./UseCompatibleCmdlets.md) | Warning|
|[PlaceOpenBrace](./PlaceOpenBrace.md) | Warning|
|[PlaceCloseBrace](./PlaceCloseBrace.md) | Warning|
|[UseConsistentIndentation](./UseConsistentIndentation.md) | Warning|
2 changes: 1 addition & 1 deletion RuleDocumentation/UseConsistentIndentation.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PlaceOpenBrace
# UseConsistentIndentation
**Severity Level: Warning**

## Description
Expand Down
4 changes: 2 additions & 2 deletions Rules/project.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules",
"version": "1.9.0",
"version": "1.10.0",
"dependencies": {
"System.Management.Automation": "1.0.0-alpha12",
"Engine": "1.9.0",
"Engine": "1.10.0",
"Newtonsoft.Json": "9.0.1"
},

Expand Down