Skip to content

Commit

Permalink
Upgrade dependencies and prepare for build using .NET SDK 9.0 for fut…
Browse files Browse the repository at this point in the history
…ure releases
  • Loading branch information
OlegRa committed Nov 15, 2024
1 parent 2f4993a commit 915db9b
Show file tree
Hide file tree
Showing 8 changed files with 384 additions and 350 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<AssemblyOriginatorKeyFile>..\Alpaca.Markets.snk</AssemblyOriginatorKeyFile>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>
Expand All @@ -13,8 +14,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="Moq" Version="4.20.72" />
<PackageReference Include="RichardSzalay.MockHttp" Version="7.0.0" />
Expand All @@ -24,10 +25,10 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="System.Threading.Channels" Version="8.0.0" />
<PackageReference Include="System.IO.Pipelines" Version="8.0.0" />
<PackageReference Include="System.Threading.Channels" Version="9.0.0" />
<PackageReference Include="System.IO.Pipelines" Version="9.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Polly" Version="8.4.2" />
<PackageReference Include="Polly" Version="8.5.0" />
</ItemGroup>

<ItemGroup>
Expand Down
11 changes: 6 additions & 5 deletions Alpaca.Markets.Extensions/Alpaca.Markets.Extensions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@
<PropertyGroup>
<EnableStrictModeForCompatibleFrameworksInPackage>true</EnableStrictModeForCompatibleFrameworksInPackage>
<!--<GenerateCompatibilitySuppressionFile>true</GenerateCompatibilitySuppressionFile>-->
<PackageValidationBaselineVersion>6.2.2</PackageValidationBaselineVersion>
<PackageValidationBaselineVersion>7.0.0</PackageValidationBaselineVersion>
<EnableStrictModeForCompatibleTfms>true</EnableStrictModeForCompatibleTfms>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
<EnablePackageValidation>true</EnablePackageValidation>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
Expand Down Expand Up @@ -97,9 +98,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="8.0.8" PrivateAssets="compile;contentfiles;build;analyzers" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" PrivateAssets="compile;contentfiles;build;analyzers" />
<PackageReference Include="System.Threading.Channels" Version="8.0.0" PrivateAssets="compile;contentfiles;build;analyzers" />
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="9.0.0" PrivateAssets="compile;contentfiles;build;analyzers" />
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" PrivateAssets="compile;contentfiles;build;analyzers" />
<PackageReference Include="System.Threading.Channels" Version="9.0.0" PrivateAssets="compile;contentfiles;build;analyzers" />
<PackageReference Include="System.Linq.Async" Version="6.0.1" PrivateAssets="compile;contentfiles;build;analyzers" />
<PackageReference Include="Alpaca.Markets" Version="7.1.0" PrivateAssets="compile;contentfiles;build;analyzers;" />
</ItemGroup>
Expand All @@ -109,7 +110,7 @@
</ItemGroup>

<ItemGroup Condition="!($(TargetFramework.StartsWith('net6')))">
<PackageReference Include="Portable.System.DateTimeOnly" Version="8.0.1" PrivateAssets="compile;contentfiles;build;analyzers" />
<PackageReference Include="Portable.System.DateTimeOnly" Version="8.0.2" PrivateAssets="compile;contentfiles;build;analyzers" />
</ItemGroup>

<Import Project="..\Portable.Helpers\Portable.Helpers.projitems" Label="Shared" />
Expand Down
28 changes: 0 additions & 28 deletions Alpaca.Markets.Extensions/CompatibilitySuppressions.xml
Original file line number Diff line number Diff line change
@@ -1,32 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://learn.microsoft.com/en-us/dotnet/fundamentals/package-validation/diagnostic-ids -->
<Suppressions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Alpaca.Markets.Extensions.ConfigurationExtensions</Target>
<Left>lib/net462/Alpaca.Markets.Extensions.dll</Left>
<Right>lib/net462/Alpaca.Markets.Extensions.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Alpaca.Markets.Extensions.ConfigurationExtensions</Target>
<Left>lib/net6.0/Alpaca.Markets.Extensions.dll</Left>
<Right>lib/net6.0/Alpaca.Markets.Extensions.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Alpaca.Markets.Extensions.ConfigurationExtensions</Target>
<Left>lib/netstandard2.0/Alpaca.Markets.Extensions.dll</Left>
<Right>lib/netstandard2.0/Alpaca.Markets.Extensions.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:Alpaca.Markets.Extensions.ConfigurationExtensions</Target>
<Left>lib/netstandard2.1/Alpaca.Markets.Extensions.dll</Left>
<Right>lib/netstandard2.1/Alpaca.Markets.Extensions.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
</Suppressions>
Loading

0 comments on commit 915db9b

Please sign in to comment.