Skip to content
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

Bump version from 1.20.0 to 1.21.0 #1796

Merged
merged 1 commit into from
May 30, 2022
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
4 changes: 2 additions & 2 deletions Engine/Engine.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<VersionPrefix>1.20.0</VersionPrefix>
<VersionPrefix>1.21.0</VersionPrefix>
<TargetFrameworks>netcoreapp3.1;net452</TargetFrameworks>
<AssemblyName>Microsoft.Windows.PowerShell.ScriptAnalyzer</AssemblyName>
<AssemblyVersion>1.20.0</AssemblyVersion>
<AssemblyVersion>1.21.0</AssemblyVersion>
<PackageId>Engine</PackageId>
<RootNamespace>Microsoft.Windows.PowerShell.ScriptAnalyzer</RootNamespace> <!-- Namespace needs to match Assembly name for ressource binding -->
<LangVersion>9.0</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion 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.20.0'
ModuleVersion = '1.21.0'

# ID used to uniquely identify this module
GUID = 'd6245802-193d-4068-a631-8863a4342a18'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<VersionPrefix>1.20.0</VersionPrefix>
<VersionPrefix>1.21.0</VersionPrefix>
<TargetFrameworks>netstandard2.0;net452</TargetFrameworks>
<AssemblyVersion>1.20.0</AssemblyVersion>
<AssemblyVersion>1.21.0</AssemblyVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
Expand Down
4 changes: 2 additions & 2 deletions Rules/Rules.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<VersionPrefix>1.20.0</VersionPrefix>
<VersionPrefix>1.21.0</VersionPrefix>
<TargetFrameworks>netcoreapp3.1;net452</TargetFrameworks>
<AssemblyName>Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules</AssemblyName>
<AssemblyVersion>1.20.0</AssemblyVersion>
<AssemblyVersion>1.21.0</AssemblyVersion>
<PackageId>Rules</PackageId>
<RootNamespace>Microsoft.Windows.PowerShell.ScriptAnalyzer</RootNamespace> <!-- Namespace needs to match Assembly name for ressource binding -->
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> <!-- Needed in order for Pluralize.NET DLL to appear in bin folder - https://github.com/NuGet/Home/issues/4488 -->
Expand Down
2 changes: 1 addition & 1 deletion docs/Cmdlets/Get-ScriptAnalyzerRule.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Windows.PowerShell.ScriptAnalyzer.dll-Help.xml
Module Name: PSScriptAnalyzer
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this ok/correct in preparation for the next release @sdwheeler ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bergmeister Yes, this is fine. When we release it, the docs need to be copied from the source repo to the docs repo.

ms.date: 10/07/2021
online version: https://docs.microsoft.com/powershell/module/psscriptanalyzer/get-scriptanalyzerrule?view=ps-modules&wt.mc_id=ps-gethelp
schema: 2.0.0
Expand Down
2 changes: 1 addition & 1 deletion docs/Cmdlets/Invoke-Formatter.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Windows.PowerShell.ScriptAnalyzer.dll-Help.xml
Module Name: PSScriptAnalyzer
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/07/2021
online version: https://docs.microsoft.com/powershell/module/psscriptanalyzer/invoke-formatter?view=ps-modules&wt.mc_id=ps-gethelp
schema: 2.0.0
Expand Down
2 changes: 1 addition & 1 deletion docs/Cmdlets/Invoke-ScriptAnalyzer.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Windows.PowerShell.ScriptAnalyzer.dll-Help.xml
Module Name: PSScriptAnalyzer
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/07/2021
online version: https://docs.microsoft.com/powershell/module/psscriptanalyzer/invoke-scriptanalyzer?view=ps-modules&wt.mc_id=ps-gethelp
schema: 2.0.0
Expand Down
4 changes: 2 additions & 2 deletions docs/Cmdlets/PSScriptAnalyzer.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
Download Help Link: https://aka.ms/ps-modules-help
Help Version: 1.20.0
Help Version: 1.21.0
Locale: en-US
Module Guid: d6245802-193d-4068-a631-8863a4342a18
Module Name: PSScriptAnalyzer
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/07/2021
---

Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AlignAssignmentStatement.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Align assignment statement
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AlignAssignmentStatement
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidAssignmentToAutomaticVariable.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Changing automatic variables might have undesired side effects
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidAssignmentToAutomaticVariable
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidDefaultValueForMandatoryParameter.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid Default Value For Mandatory Parameter
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidDefaultValueForMandatoryParameter
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidDefaultValueSwitchParameter.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Switch Parameters Should Not Default To True
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidDefaultValueSwitchParameter
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidGlobalAliases.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid global aliases.
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidGlobalAliases
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidGlobalFunctions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid global functions and aliases
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidGlobalFunctions
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidGlobalVars.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: No Global Variables
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidGlobalVars
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidInvokingEmptyMembers.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid Invoking Empty Members
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidInvokingEmptyMembers
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidLongLines.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid long lines
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidLongLines
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidMultipleTypeAttributes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid multiple type specifiers on parameters.
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidMultipleTypeAttributes
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidNullOrEmptyHelpMessageAttribute.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid using null or empty HelpMessage parameter attribute.
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidNullOrEmptyHelpMessageAttribute
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidOverwritingBuiltInCmdlets.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid overwriting built in cmdlets
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidOverwritingBuiltInCmdlets
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidShouldContinueWithoutForce.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid Using ShouldContinue Without Boolean Force Parameter
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidShouldContinueWithoutForce
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidTrailingWhitespace.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid trailing whitespace
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidTrailingWhitespace
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidUsingCmdletAliases.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid Using Cmdlet Aliases or omitting the 'Get-' prefix.
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidUsingCmdletAliases
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidUsingComputerNameHardcoded.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid Using ComputerName Hardcoded
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidUsingComputerNameHardcoded
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidUsingConvertToSecureStringWithPlainText.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid Using SecureString With Plain Text
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidUsingConvertToSecureStringWithPlainText
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidUsingDeprecatedManifestFields.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid Using Deprecated Manifest Fields
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidUsingDeprecatedManifestFields
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidUsingDoubleQuotesForConstantString.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid using double quotes if the string is constant.
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidUsingDoubleQuotesForConstantString
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidUsingEmptyCatchBlock.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid Using Empty Catch Block
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidUsingEmptyCatchBlock
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidUsingInvokeExpression.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid Using Invoke-Expression
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidUsingInvokeExpression
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidUsingPlainTextForPassword.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid Using Plain Text For Password Parameter
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidUsingPlainTextForPassword
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidUsingPositionalParameters.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid Using Positional Parameters
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidUsingPositionalParameters
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidUsingUsernameAndPasswordParams.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid Using Username and Password Parameters
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidUsingUsernameAndPasswordParams
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidUsingWMICmdlet.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid Using Get-WMIObject, Remove-WMIObject, Invoke-WmiMethod, Register-WmiEvent, Set-WmiInstance
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidUsingWMICmdlet
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/AvoidUsingWriteHost.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Avoid Using Write-Host
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: AvoidUsingWriteHost
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/DSCDscExamplesPresent.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: DSC examples are present
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: DSCDscExamplesPresent
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/DSCDscTestsPresent.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Dsc tests are present
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: DSCDscTestsPresent
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/DSCReturnCorrectTypesForDSCFunctions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Return Correct Types For DSC Functions
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: DSCReturnCorrectTypesForDSCFunctions
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/DSCStandardDSCFunctionsInResource.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Use Standard Get/Set/Test TargetResource functions in DSC Resource
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: DSCStandardDSCFunctionsInResource
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/DSCUseIdenticalMandatoryParametersForDSC.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Use identical mandatory parameters for DSC Get/Test/Set TargetResource functions
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: DSCUseIdenticalMandatoryParametersForDSC
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/DSCUseIdenticalParametersForDSC.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Use Identical Parameters For DSC Test and Set Functions
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: DSCUseIdenticalParametersForDSC
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/DSCUseVerboseMessageInDSCResource.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Use verbose message in DSC resource
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: DSCUseVerboseMessageInDSCResource
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/MisleadingBacktick.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Misleading Backtick
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: MisleadingBacktick
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/MissingModuleManifestField.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Module Manifest Fields
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: MissingModuleManifestField
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/PlaceCloseBrace.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Place close braces
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: PlaceCloseBrace
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/PlaceOpenBrace.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Place open braces consistently
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: PlaceOpenBrace
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/PossibleIncorrectComparisonWithNull.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Null Comparison
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: PossibleIncorrectComparisonWithNull
Expand Down
2 changes: 1 addition & 1 deletion docs/Rules/PossibleIncorrectUsageOfAssignmentOperator.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Equal sign is not an assignment operator. Did you mean the equality operator \'-eq\'?
ms.custom: PSSA v1.20.0
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.topic: reference
title: PossibleIncorrectUsageOfAssignmentOperator
Expand Down
Loading