chore: update dependencies, update wpf sentry dsn

This commit is contained in:
genteure 2022-08-26 16:11:32 +08:00
parent 626e0a5304
commit 4717b6038a
7 changed files with 13 additions and 14 deletions

View File

@ -23,10 +23,10 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" /> <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" /> <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" />
<PackageReference Include="Serilog" Version="2.11.0" /> <PackageReference Include="Serilog" Version="2.11.0" />
<PackageReference Include="Serilog.AspNetCore" Version="5.0.0" /> <PackageReference Include="Serilog.AspNetCore" Version="6.0.1" />
<PackageReference Include="Serilog.Enrichers.Process" Version="2.0.2" /> <PackageReference Include="Serilog.Enrichers.Process" Version="2.0.2" />
<PackageReference Include="Serilog.Enrichers.Thread" Version="3.1.0" /> <PackageReference Include="Serilog.Enrichers.Thread" Version="3.1.0" />
<PackageReference Include="Serilog.Exceptions" Version="8.2.0" /> <PackageReference Include="Serilog.Exceptions" Version="8.4.0" />
<PackageReference Include="Serilog.Expressions" Version="3.4.0" /> <PackageReference Include="Serilog.Expressions" Version="3.4.0" />
<PackageReference Include="Serilog.Formatting.Compact" Version="1.1.0" /> <PackageReference Include="Serilog.Formatting.Compact" Version="1.1.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.0.1" /> <PackageReference Include="Serilog.Sinks.Console" Version="4.0.1" />

View File

@ -18,7 +18,7 @@
<PackageReference Include="HierarchicalPropertyDefault" Version="0.1.4-beta-g75fdf624b1" /> <PackageReference Include="HierarchicalPropertyDefault" Version="0.1.4-beta-g75fdf624b1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" /> <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" />
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="2.2.0" /> <PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="2.2.0" />
<PackageReference Include="Nerdbank.Streams" Version="2.8.57" /> <PackageReference Include="Nerdbank.Streams" Version="2.8.61" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" /> <PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Polly" Version="7.2.3" /> <PackageReference Include="Polly" Version="7.2.3" />
<PackageReference Include="Polly.Caching.Memory" Version="3.0.2" /> <PackageReference Include="Polly.Caching.Memory" Version="3.0.2" />

View File

@ -360,10 +360,10 @@
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
</PackageReference> </PackageReference>
<PackageReference Include="Sentry"> <PackageReference Include="Sentry">
<Version>3.17.1</Version> <Version>3.20.1</Version>
</PackageReference> </PackageReference>
<PackageReference Include="Sentry.Serilog"> <PackageReference Include="Sentry.Serilog">
<Version>3.17.1</Version> <Version>3.20.1</Version>
</PackageReference> </PackageReference>
<PackageReference Include="Serilog.Enrichers.Process"> <PackageReference Include="Serilog.Enrichers.Process">
<Version>2.0.2</Version> <Version>2.0.2</Version>
@ -372,7 +372,7 @@
<Version>3.1.0</Version> <Version>3.1.0</Version>
</PackageReference> </PackageReference>
<PackageReference Include="Serilog.Exceptions"> <PackageReference Include="Serilog.Exceptions">
<Version>8.2.0</Version> <Version>8.4.0</Version>
</PackageReference> </PackageReference>
<PackageReference Include="Serilog.Formatting.Compact"> <PackageReference Include="Serilog.Formatting.Compact">
<Version>1.1.0</Version> <Version>1.1.0</Version>

View File

@ -14,7 +14,6 @@ using BililiveRecorder.Flv.Pipeline;
using BililiveRecorder.ToolBox; using BililiveRecorder.ToolBox;
using Esprima; using Esprima;
using Jint.Runtime; using Jint.Runtime;
using Microsoft.Toolkit.Uwp.Notifications;
using Sentry; using Sentry;
using Sentry.Extensibility; using Sentry.Extensibility;
using Serilog; using Serilog;
@ -224,7 +223,7 @@ namespace BililiveRecorder.WPF
{ {
try try
{ {
ToastNotificationManagerCompat.Uninstall(); Microsoft.Toolkit.Uwp.Notifications.ToastNotificationManagerCompat.Uninstall();
} }
catch (Exception) catch (Exception)
{ } { }
@ -312,7 +311,7 @@ namespace BililiveRecorder.WPF
.WriteTo.File(new CompactJsonFormatter(), logFilePath, shared: true, rollingInterval: RollingInterval.Day, rollOnFileSizeLimit: true) .WriteTo.File(new CompactJsonFormatter(), logFilePath, shared: true, rollingInterval: RollingInterval.Day, rollOnFileSizeLimit: true)
.WriteTo.Sentry(o => .WriteTo.Sentry(o =>
{ {
o.Dsn = "https://8ba5fc18189a4793bd50288bef231ee6@o210546.ingest.sentry.io/5556540"; o.Dsn = "https://6f92720d5ce84b2dba5db75ab5a5014d@o210546.ingest.sentry.io/5556540";
o.SendDefaultPii = true; o.SendDefaultPii = true;
o.IsGlobalModeEnabled = true; o.IsGlobalModeEnabled = true;
o.DisableAppDomainUnhandledExceptionCapture(); o.DisableAppDomainUnhandledExceptionCapture();

View File

@ -21,9 +21,9 @@
<PackageReference Include="GraphQL.Server.Ui.Playground" Version="5.2.1" /> <PackageReference Include="GraphQL.Server.Ui.Playground" Version="5.2.1" />
<PackageReference Include="GraphQL.Server.Ui.Voyager" Version="5.2.1" /> <PackageReference Include="GraphQL.Server.Ui.Voyager" Version="5.2.1" />
<PackageReference Include="GraphQL.SystemReactive" Version="4.8.0" /> <PackageReference Include="GraphQL.SystemReactive" Version="4.8.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.5" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.8" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="6.0.5" /> <PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="6.0.8" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.3.1" /> <PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -8,7 +8,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" /> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.0" />
<PackageReference Include="PublicApiGenerator" Version="10.3.0" /> <PackageReference Include="PublicApiGenerator" Version="10.3.0" />
<PackageReference Include="Spectre.Verify.Extensions" Version="16.3.2" /> <PackageReference Include="Spectre.Verify.Extensions" Version="16.3.2" />
<PackageReference Include="Verify.Xunit" Version="17.1.2" /> <PackageReference Include="Verify.Xunit" Version="17.1.2" />

View File

@ -9,7 +9,7 @@
<PackageReference Include="FluentAssertions" Version="6.6.0" /> <PackageReference Include="FluentAssertions" Version="6.6.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" /> <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" />
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="2.2.0" /> <PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="2.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" /> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.0" />
<PackageReference Include="PublicApiGenerator" Version="10.3.0" /> <PackageReference Include="PublicApiGenerator" Version="10.3.0" />
<PackageReference Include="Spectre.Verify.Extensions" Version="16.3.2" /> <PackageReference Include="Spectre.Verify.Extensions" Version="16.3.2" />
<PackageReference Include="Verify.Xunit" Version="17.1.2" /> <PackageReference Include="Verify.Xunit" Version="17.1.2" />