From 3887612e145b3f16e513d6e2ea4c450a2f1fd913 Mon Sep 17 00:00:00 2001 From: Erwin van Hunen Date: Fri, 9 Nov 2018 11:54:08 +0100 Subject: [PATCH 1/2] suppress deprecated methods, removed unused parameter --- Commands/Provisioning/Site/ConvertProvisioningTemplate.cs | 2 ++ Commands/Provisioning/Site/GetProvisioningTemplate.cs | 2 ++ .../Provisioning/Tenant/NewTenantSequenceTeamNoGroupSubSite.cs | 1 - Commands/Site/SetSite.cs | 3 --- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Provisioning/Site/ConvertProvisioningTemplate.cs b/Commands/Provisioning/Site/ConvertProvisioningTemplate.cs index f896173f9..c9a056eb3 100644 --- a/Commands/Provisioning/Site/ConvertProvisioningTemplate.cs +++ b/Commands/Provisioning/Site/ConvertProvisioningTemplate.cs @@ -104,7 +104,9 @@ protected override void BeginProcessing() } case XMLPnPSchemaVersion.V201605: { +#pragma warning disable CS0618 // Type or member is obsolete formatter = XMLPnPSchemaFormatter.GetSpecificFormatter(XMLConstants.PROVISIONING_SCHEMA_NAMESPACE_2016_05); +#pragma warning restore CS0618 // Type or member is obsolete break; } case XMLPnPSchemaVersion.V201705: diff --git a/Commands/Provisioning/Site/GetProvisioningTemplate.cs b/Commands/Provisioning/Site/GetProvisioningTemplate.cs index 506c1481f..c0d3fffca 100644 --- a/Commands/Provisioning/Site/GetProvisioningTemplate.cs +++ b/Commands/Provisioning/Site/GetProvisioningTemplate.cs @@ -416,7 +416,9 @@ private void ExtractTemplate(XMLPnPSchemaVersion schema, string path, string pac } case XMLPnPSchemaVersion.V201605: { +#pragma warning disable CS0618 // Type or member is obsolete formatter = XMLPnPSchemaFormatter.GetSpecificFormatter(XMLConstants.PROVISIONING_SCHEMA_NAMESPACE_2016_05); +#pragma warning restore CS0618 // Type or member is obsolete break; } case XMLPnPSchemaVersion.V201705: diff --git a/Commands/Provisioning/Tenant/NewTenantSequenceTeamNoGroupSubSite.cs b/Commands/Provisioning/Tenant/NewTenantSequenceTeamNoGroupSubSite.cs index 942311464..19b65c1dc 100644 --- a/Commands/Provisioning/Tenant/NewTenantSequenceTeamNoGroupSubSite.cs +++ b/Commands/Provisioning/Tenant/NewTenantSequenceTeamNoGroupSubSite.cs @@ -48,7 +48,6 @@ protected override void ProcessRecord() WriteWarning("New-PnPProvisioningTeamNoGroupSubSite has been deprecated. Use New-PnPTenantSequenceTeamNoGroupSubSite instead."); } - SiteCollection c; var site = new TeamNoGroupSubSite() { Url = Url, diff --git a/Commands/Site/SetSite.cs b/Commands/Site/SetSite.cs index 32f6319a1..603fa1207 100644 --- a/Commands/Site/SetSite.cs +++ b/Commands/Site/SetSite.cs @@ -114,9 +114,6 @@ public class SetSite : PnPCmdlet [Parameter(Mandatory = false, HelpMessage = @"Specifies the Geo/Region restrictions of this site.", ParameterSetName = ParameterSet_PROPERTIES)] public RestrictedToRegion? RestrictedToGeo; - [Parameter(Mandatory = false, HelpMessage = @"Specifies a list of email domains that is allowed for sharing with the external collaborators. Specify a comma separated list for example ""contoso.com"",""fabrikam.com""", ParameterSetName = ParameterSet_PROPERTIES)] - List SharingAllowedDomainList; - [Parameter(Mandatory = false, HelpMessage = @"Disables or enables the Social Bar for Site Collection.", ParameterSetName = ParameterSet_PROPERTIES)] public SwitchParameter SocialBarOnSitePagesDisabled; From 4f325f84b5d3bdd90a93b48efa9568a5fc19e8f6 Mon Sep 17 00:00:00 2001 From: Erwin van Hunen Date: Fri, 9 Nov 2018 14:11:02 +0100 Subject: [PATCH 2/2] November 2018 Release --- CHANGELOG.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23c894e94..d0451ccf5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). -## [3.3.1811.0] Unreleased +## [3.4.1812.0] + +### Added + +### Changed + +### Deprecated + +### Contributors + +## [3.3.1811.0] ### Added ### Changed