Skip to content

Commit

Permalink
fix: missing config copy properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Lulalaby committed Jun 8, 2024
1 parent 77098be commit 724e2b1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sentry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion DisCatSharp.Docs/changelogs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
4 changes: 2 additions & 2 deletions DisCatSharp.Docs/changelogs/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion DisCatSharp.Targets/Version.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VersionPrefix>10.6.3</VersionPrefix>
<VersionPrefix>10.6.4</VersionPrefix>
</PropertyGroup>
<PropertyGroup Condition="'$(VersionSuffix)' != '' And '$(BuildNumber)' != ''">
<Version>$(VersionPrefix)-$(VersionSuffix)-$(BuildNumber)</Version>
Expand Down
5 changes: 4 additions & 1 deletion DisCatSharp/DiscordConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public UdpClientFactoryDelegate UdpClientFactory
/// <para>Whether to enable sentry.</para>
/// <para>This helps us to track missing data and library bugs better.</para>
/// <para>Defaults to <see langword="false"/>.</para>
/// <para><note type="note">Please refer to https://docs.dcs.aitsys.dev/articles/misc/sentry for more information.</note></para>
/// <para><note type="note">Please refer to the <a href="https://docs.dcs.aitsys.dev/articles/misc/sentry">docs</a> for more information.</note></para>
/// </summary>
public bool EnableSentry { internal get; set; } = false;

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 724e2b1

Please sign in to comment.