diff --git a/CHANGELOG.md b/CHANGELOG.md index f93ff7e29..e8448b58e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). ### Removed - Removed alias `Get-PnPSiteCollectionAppCatalogs` for `Get-PnPSiteCollectionAppCatalog` [#2305](https://github.com/pnp/powershell/pull/3025) +- Removed alias `Export-PnPClientSidePage`, please use `Export-PnPPage` cmdlet. [#3158](https://github.com/pnp/powershell/pull/3158) +- Removed alias `Export-PnPClientSidePageMapping`, please use `Export-PnPPageMapping` cmdlet. [#3158](https://github.com/pnp/powershell/pull/3158) +- Removed alias `Get-PnPClientSideComponent`, please use `Get-PnPPageComponent` cmdlet. [#3158](https://github.com/pnp/powershell/pull/3158) +- Removed alias `Remove-PnPClientSideComponent`, please use `Remove-PnPPageComponent` cmdlet. [#3158](https://github.com/pnp/powershell/pull/3158) +- Removed alias `Set-PnPClientSideText`, please use `Set-PnPPageTextPart` cmdlet. [#3158](https://github.com/pnp/powershell/pull/3158) +- Removed alias `Set-PnPClientSideWebPart`, please use `Set-PnPPageWebPart` cmdlet. [#3158](https://github.com/pnp/powershell/pull/3158) ### Contributors diff --git a/src/Commands/Pages/ExportPage.cs b/src/Commands/Pages/ExportPage.cs index c1dfced26..60984d3a3 100644 --- a/src/Commands/Pages/ExportPage.cs +++ b/src/Commands/Pages/ExportPage.cs @@ -11,10 +11,7 @@ namespace PnP.PowerShell.Commands.Provisioning.Tenant { - [Cmdlet(VerbsData.Export, "PnPPage")] - [Alias("Export-PnPClientSidePage")] - [WriteAliasWarning("Please use 'Export-PnPPage'. The alias 'Export-PnPClientSidePage' will be removed in the 1.5.0 release")] - + [Cmdlet(VerbsData.Export, "PnPPage")] public class ExportPage : PnPWebCmdlet { [Parameter(Mandatory = true, ValueFromPipeline = true, Position = 0)] diff --git a/src/Commands/Pages/ExportPageMapping.cs b/src/Commands/Pages/ExportPageMapping.cs index cb9de8293..34d13547e 100644 --- a/src/Commands/Pages/ExportPageMapping.cs +++ b/src/Commands/Pages/ExportPageMapping.cs @@ -13,10 +13,7 @@ namespace PnP.PowerShell.Commands.Pages { - [Cmdlet(VerbsData.Export, "PnPPageMapping")] - [Alias("Export-PnPClientSidePageMapping")] - [WriteAliasWarning("Please use 'Export-PnPPageMapping'. The alias 'Export-PnPClientSidePageMapping' will be removed in the 1.5.0 release")] - + [Cmdlet(VerbsData.Export, "PnPPageMapping")] public class ExportPageMapping : PnPWebCmdlet { private Assembly sitesCoreAssembly; diff --git a/src/Commands/Pages/GetPageComponent.cs b/src/Commands/Pages/GetPageComponent.cs index 2780bdf29..9c3df32f6 100644 --- a/src/Commands/Pages/GetPageComponent.cs +++ b/src/Commands/Pages/GetPageComponent.cs @@ -8,8 +8,6 @@ namespace PnP.PowerShell.Commands.Pages { [Cmdlet(VerbsCommon.Get, "PnPPageComponent")] - [Alias("Get-PnPClientSideComponent")] - [WriteAliasWarning("Please use 'Get-PnPPageComponent'. The alias 'Get-PnPClientSideComponent' will be removed in the 1.5.0 release")] public class GetPageComponent : PnPWebCmdlet { [Parameter(Mandatory = true, ValueFromPipeline = true, Position = 0)] diff --git a/src/Commands/Pages/RemovePageComponent.cs b/src/Commands/Pages/RemovePageComponent.cs index 15abf2276..d8d24126c 100644 --- a/src/Commands/Pages/RemovePageComponent.cs +++ b/src/Commands/Pages/RemovePageComponent.cs @@ -8,8 +8,6 @@ namespace PnP.PowerShell.Commands.Pages { [Cmdlet(VerbsCommon.Remove, "PnPPageComponent")] - [Alias("Remove-PnPClientSideComponent")] - [WriteAliasWarning("Please use 'Remove-PnPPageComponent'. The alias 'Remove-PnPClientSidecComponent' will be removed in the 1.5.0 release")] public class RemovePageComponent : PnPWebCmdlet { [Parameter(Mandatory = true, ValueFromPipeline = true, Position = 0)] diff --git a/src/Commands/Pages/SetPageTextPart.cs b/src/Commands/Pages/SetPageTextPart.cs index 1995a8606..098d178d0 100644 --- a/src/Commands/Pages/SetPageTextPart.cs +++ b/src/Commands/Pages/SetPageTextPart.cs @@ -8,8 +8,6 @@ namespace PnP.PowerShell.Commands.Pages { [Cmdlet(VerbsCommon.Set, "PnPPageTextPart")] - [Alias("Set-PnPClientSideText")] - [WriteAliasWarning("Please use 'Set-PnPPageTextPart'. The alias 'Set-PnPClientSideText' will be removed in the 1.5.0 release")] public class SetClientSideText : PnPWebCmdlet { [Parameter(Mandatory = true, ValueFromPipeline = true, Position = 0)] diff --git a/src/Commands/Pages/SetPageWebPart.cs b/src/Commands/Pages/SetPageWebPart.cs index 5e621347f..c242fd67d 100644 --- a/src/Commands/Pages/SetPageWebPart.cs +++ b/src/Commands/Pages/SetPageWebPart.cs @@ -8,8 +8,6 @@ namespace PnP.PowerShell.Commands.Pages { [Cmdlet(VerbsCommon.Set, "PnPPageWebPart")] - [Alias("Set-PnPClientSideWebPart")] - [WriteAliasWarning("Please use 'Set-PnPPageWebPart'. The alias 'Set-PnPClientSideWebPart' will be removed in the 1.5.0 release")] public class SetClientSideWebPart : PnPWebCmdlet { [Parameter(Mandatory = true, ValueFromPipeline = true, Position = 0)]