-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Packages: update to remove CVE dependencies (#2820)
* Packages: update to remove CVE dependencies This bumps *testing* (not the core package) to net8.0 for an easier time maintaining and updates packages outside StackExchange.Redis except for `Microsoft.Bcl.AsyncInterfaces`. `Microsoft.Bcl.AsyncInterfaces` was bumped from 5.0.0 to 6.0.0 due to deprecation warnings, still maintaining widest compatibility we can. * Fix .NET Framework test diff * fix enum flags rendering; involves adding a net8.0 TFM, but that's LTS *anyway*, so: fine also added appropriate [Obsolete] to respect transient net8.0 changes --------- Co-authored-by: Marc Gravell <[email protected]>
- Loading branch information
1 parent
11ef77d
commit 33358b7
Showing
18 changed files
with
149 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,32 @@ | ||
<Project> | ||
<ItemGroup> | ||
<!-- Packages we depend on for StackExchange.Redis, upgrades can create binding redirect pain! --> | ||
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="5.0.0" /> | ||
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" /> | ||
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0" /> | ||
<PackageVersion Include="Pipelines.Sockets.Unofficial" Version="2.2.8" /> | ||
<PackageVersion Include="System.Diagnostics.PerformanceCounter" Version="5.0.0" /> | ||
<PackageVersion Include="System.Threading.Channels" Version="5.0.0" /> | ||
<PackageVersion Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" /> | ||
<PackageVersion Include="System.IO.Compression" Version="4.3.0" /> | ||
|
||
<!-- Packages only used in the solution, upgrade at will --> | ||
<PackageVersion Include="BenchmarkDotNet" Version="0.13.1" /> | ||
<PackageVersion Include="BenchmarkDotNet" Version="0.14.0" /> | ||
<PackageVersion Include="GitHubActionsTestLogger" Version="2.4.1" /> | ||
<PackageVersion Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.4" /> | ||
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0" /> | ||
<PackageVersion Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" /> | ||
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" /> | ||
<PackageVersion Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" /> | ||
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" /> | ||
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" /> | ||
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.6.141" /> | ||
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.6.146" /> | ||
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" /> | ||
<PackageVersion Include="NSubstitute" Version="5.1.0" /> | ||
<PackageVersion Include="NSubstitute" Version="5.3.0" /> | ||
<PackageVersion Include="StackExchange.Redis" Version="2.6.96" /> | ||
<PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.556" /> | ||
<PackageVersion Include="System.Collections.Immutable" Version="9.0.0" /> | ||
<PackageVersion Include="System.Reflection.Metadata" Version="9.0.0" /> | ||
<!-- For binding redirect testing, main package gets this transitively --> | ||
<PackageVersion Include="System.IO.Pipelines" Version="5.0.1" /> | ||
<PackageVersion Include="System.Runtime.Caching" Version="5.0.0" /> | ||
<PackageVersion Include="xunit" Version="2.9.0" /> | ||
<PackageVersion Include="System.IO.Pipelines" Version="9.0.0" /> | ||
<PackageVersion Include="System.Runtime.Caching" Version="9.0.0" /> | ||
<PackageVersion Include="xunit" Version="2.9.2" /> | ||
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace StackExchange.Redis; | ||
|
||
internal static class Obsoletions | ||
{ | ||
public const string LegacyFormatterImplMessage = "This API supports obsolete formatter-based serialization. It should not be called or extended by application code."; | ||
public const string LegacyFormatterImplDiagId = "SYSLIB0051"; | ||
} |
3 changes: 3 additions & 0 deletions
3
src/StackExchange.Redis/PublicAPI/net8.0/PublicAPI.Shipped.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
StackExchange.Redis.ConfigurationOptions.SslClientAuthenticationOptions.get -> System.Func<string!, System.Net.Security.SslClientAuthenticationOptions!>? | ||
StackExchange.Redis.ConfigurationOptions.SslClientAuthenticationOptions.set -> void | ||
System.Runtime.CompilerServices.IsExternalInit (forwarded, contained in System.Runtime) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.