From b4eca786e66e1bc6fca9c3c832e997e2371306a4 Mon Sep 17 00:00:00 2001 From: Lala Sabathil Date: Sat, 8 Jun 2024 06:33:49 +0200 Subject: [PATCH] fix: missing config copy properties --- .github/workflows/sentry.yml | 2 +- DisCatSharp.Docs/changelogs/index.md | 2 +- DisCatSharp.Docs/changelogs/toc.yml | 4 ++-- DisCatSharp.Docs/changelogs/v10/{10_6_3.md => 10_6_4.md} | 6 +++--- DisCatSharp.Targets/Version.targets | 2 +- DisCatSharp/DiscordConfiguration.cs | 3 +++ 6 files changed, 11 insertions(+), 8 deletions(-) rename DisCatSharp.Docs/changelogs/v10/{10_6_3.md => 10_6_4.md} (98%) diff --git a/.github/workflows/sentry.yml b/.github/workflows/sentry.yml index 2298109e7d..d238be117f 100644 --- a/.github/workflows/sentry.yml +++ b/.github/workflows/sentry.yml @@ -28,7 +28,7 @@ jobs: - name: Set outputs id: vars run: | - echo "version=10.6.3" >> $GITHUB_OUTPUT + echo "version=10.6.4" >> $GITHUB_OUTPUT echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT - name: "Create Sentry release" uses: getsentry/action-release@v1.7.0 diff --git a/DisCatSharp.Docs/changelogs/index.md b/DisCatSharp.Docs/changelogs/index.md index f01750f1ef..21662441f7 100644 --- a/DisCatSharp.Docs/changelogs/index.md +++ b/DisCatSharp.Docs/changelogs/index.md @@ -8,4 +8,4 @@ author: DisCatSharp Team Please select the changelog you want to view from the left side. -Current: [v10.6.3](xref:changelogs_v10_10_6_3) +Current: [v10.6.4](xref:changelogs_v10_10_6_4) diff --git a/DisCatSharp.Docs/changelogs/toc.yml b/DisCatSharp.Docs/changelogs/toc.yml index 05ee18fa21..439941edd9 100644 --- a/DisCatSharp.Docs/changelogs/toc.yml +++ b/DisCatSharp.Docs/changelogs/toc.yml @@ -4,8 +4,8 @@ items: - name: Version 10.X expanded: true items: - - name: Version 10.6.3 - href: v10/10_6_3.md + - name: Version 10.6.4 + href: v10/10_6_4.md - name: Version 10.6.2 href: v10/10_6_2.md - name: Version 10.6.0 diff --git a/DisCatSharp.Docs/changelogs/v10/10_6_3.md b/DisCatSharp.Docs/changelogs/v10/10_6_4.md similarity index 98% rename from DisCatSharp.Docs/changelogs/v10/10_6_3.md rename to DisCatSharp.Docs/changelogs/v10/10_6_4.md index c94b9691cf..0fa0602284 100644 --- a/DisCatSharp.Docs/changelogs/v10/10_6_3.md +++ b/DisCatSharp.Docs/changelogs/v10/10_6_4.md @@ -1,10 +1,10 @@ --- -uid: changelogs_v10_10_6_3 -title: Version 10.6.3 +uid: changelogs_v10_10_6_4 +title: Version 10.6.4 author: DisCatSharp Team --- -# Upgrade from **10.6.2** to **10.6.3** +# Upgrade from **10.6.2** to **10.6.4** > [!NOTE] > This version improves the safety of data transmitted to sentry, if enabled. diff --git a/DisCatSharp.Targets/Version.targets b/DisCatSharp.Targets/Version.targets index c4bffb765d..f3e08c33ec 100644 --- a/DisCatSharp.Targets/Version.targets +++ b/DisCatSharp.Targets/Version.targets @@ -2,7 +2,7 @@ - 10.6.3 + 10.6.4 $(VersionPrefix)-$(VersionSuffix)-$(BuildNumber) diff --git a/DisCatSharp/DiscordConfiguration.cs b/DisCatSharp/DiscordConfiguration.cs index 3419dc746f..b11d81b530 100644 --- a/DisCatSharp/DiscordConfiguration.cs +++ b/DisCatSharp/DiscordConfiguration.cs @@ -432,12 +432,15 @@ public DiscordConfiguration(DiscordConfiguration other) this.Timezone = other.Timezone; this.ReportMissingFields = other.ReportMissingFields; this.EnableSentry = other.EnableSentry; + this.AttachRecentLogEntries = other.AttachRecentLogEntries; this.AttachUserInfo = other.AttachUserInfo; this.FeedbackEmail = other.FeedbackEmail; this.DeveloperUserId = other.DeveloperUserId; + this.EnableDiscordIdScrubber = other.EnableDiscordIdScrubber; this.HasShardLogger = other.HasShardLogger; this._exceptions = other._exceptions; this.EnableLibraryDeveloperMode = other.EnableLibraryDeveloperMode; + this.DisableScrubber = other.DisableScrubber; this.SentryDebug = other.SentryDebug; this.DisableExceptionFilter = other.DisableExceptionFilter; this.CustomSentryDsn = other.CustomSentryDsn;