From 724e2b183ff78f6a46c3149487bd703d0f4412a0 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 | 5 ++++- 6 files changed, 12 insertions(+), 9 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 2298109e7..d238be117 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 f01750f1e..21662441f 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 05ee18fa2..439941edd 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 c94b9691c..0fa060228 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 c4bffb765..f3e08c33e 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 3419dc746..1480fdd8a 100644 --- a/DisCatSharp/DiscordConfiguration.cs +++ b/DisCatSharp/DiscordConfiguration.cs @@ -243,7 +243,7 @@ public UdpClientFactoryDelegate UdpClientFactory /// Whether to enable sentry. /// This helps us to track missing data and library bugs better. /// Defaults to . - /// Please refer to https://docs.dcs.aitsys.dev/articles/misc/sentry for more information. + /// Please refer to the docs for more information. /// public bool EnableSentry { internal get; set; } = false; @@ -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;