-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET 8 SDK Upgrade #56
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<Project> | ||
|
||
<!-- Azure --> | ||
<ItemGroup> | ||
<PackageVersion Include="Microsoft.Azure.DurableTask.Core" Version="2.13.0" /> | ||
<PackageVersion Include="Microsoft.Azure.DurableTask.Core" Version="2.16.1" /> | ||
<PackageVersion Include="Microsoft.Azure.DurableTask.Emulator" Version="2.6.0" /> | ||
<PackageVersion Include="Microsoft.Azure.DurableTask.ServiceBus" Version="2.7.0" /> | ||
<PackageVersion Include="Microsoft.Azure.DurableTask.AzureStorage" Version="1.13.8" /> | ||
<PackageVersion Include="Microsoft.Azure.DurableTask.AzureStorage" Version="1.17.1" /> | ||
</ItemGroup> | ||
|
||
<!-- Microsoft Extensions --> | ||
<ItemGroup> | ||
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="$(ExtensionsPackageVersion)" /> | ||
|
@@ -26,40 +24,35 @@ | |
<PackageVersion Include="Microsoft.Extensions.Options" Version="$(ExtensionsPackageVersion)" /> | ||
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="$(ExtensionsPackageVersion)" /> | ||
</ItemGroup> | ||
|
||
<!-- Telemetry --> | ||
<ItemGroup> | ||
<PackageVersion Include="OpenTelemetry" Version="1.3.1" /> | ||
<PackageVersion Include="OpenTelemetry.Exporter.Console" Version="1.3.1" /> | ||
<PackageVersion Include="OpenTelemetry.Exporter.Zipkin" Version="1.3.1" /> | ||
<PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="6.0.0" /> | ||
<PackageVersion Include="OpenTelemetry" Version="1.7.0" /> | ||
<PackageVersion Include="OpenTelemetry.Exporter.Console" Version="1.7.0" /> | ||
<PackageVersion Include="OpenTelemetry.Exporter.Zipkin" Version="1.7.0" /> | ||
<PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="8.0.0" /> | ||
</ItemGroup> | ||
|
||
<!-- Nuget --> | ||
<ItemGroup> | ||
</ItemGroup> | ||
|
||
<!-- Test projects --> | ||
<!-- Test projects --> | ||
<ItemGroup> | ||
<PackageVersion Include="Bogus" Version="27.0.1" /> | ||
<PackageVersion Include="coverlet.collector" Version="3.1.2" /> | ||
<PackageVersion Include="coverlet.msbuild" Version="3.1.2" /> | ||
<PackageVersion Include="FluentAssertions" Version="6.7.0" /> | ||
<PackageVersion Include="Moq" Version="4.18.2" /> | ||
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.3.1" /> | ||
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="4.7.0" /> | ||
<PackageVersion Include="xunit" Version="2.4.1" /> | ||
<PackageVersion Include="xunit.analyzers" Version="1.0.0" /> | ||
<PackageVersion Include="Xunit.Combinatorial" Version="1.5.7-beta" /> | ||
<PackageVersion Include="xunit.runner.visualstudio" Version="2.4.5" /> | ||
<PackageVersion Include="coverlet.collector" Version="6.0.2" /> | ||
<PackageVersion Include="coverlet.msbuild" Version="6.0.2" /> | ||
<PackageVersion Include="FluentAssertions" Version="6.12.0" /> | ||
<PackageVersion Include="Moq" Version="4.20.70" /> | ||
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" /> | ||
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="8.0.0" /> | ||
<PackageVersion Include="xunit" Version="2.7.0" /> | ||
<PackageVersion Include="xunit.analyzers" Version="1.11.0" /> | ||
<PackageVersion Include="Xunit.Combinatorial" Version="1.6.24" /> | ||
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.7" /> | ||
</ItemGroup> | ||
|
||
<!-- Global --> | ||
<ItemGroup> | ||
<GlobalPackageReference Include="Nerdbank.GitVersioning" Version="3.6.133" Condition="'$(EnableGitVersioning)' != 'false'" /> | ||
<GlobalPackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.406" Condition="'$(EnableStyleCop)' != 'false'" /> | ||
<GlobalPackageReference Include="StyleCop.CSharp.Async.Rules" Version="6.1.41" Condition="'$(EnableStyleCop)' != 'false'" /> | ||
<GlobalPackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" Condition="'$(IsPackable)' != 'false'" /> | ||
</ItemGroup> | ||
|
||
</Project> | ||
</Project> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: add newline at end of file. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<EnableStyleCop>true</EnableStyleCop> | ||
<EnableNETAnalyzers>true</EnableNETAnalyzers> | ||
<ExtensionsPackageVersion Condition="'$(ExtensionsPackageVersion)' == ''">2.1.0</ExtensionsPackageVersion> | ||
<ExtensionsPackageVersion Condition="'$(ExtensionsPackageVersion)' == ''">8.0.0</ExtensionsPackageVersion> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd prefer not to force all users of this library onto |
||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(IsTestProject)' != 'true'"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"sdk": { | ||
"version": "7.0.100", | ||
"version": "8.0.203", | ||
"rollForward": "latestFeature" | ||
}, | ||
"msbuild-sdks": { | ||
"Microsoft.Build.CentralPackageVersions": "2.1.3", | ||
"Microsoft.Build.NoTargets": "3.5.6", | ||
"Microsoft.Build.Traversal": "3.2.0" | ||
"Microsoft.Build.NoTargets": "3.7.56", | ||
"Microsoft.Build.Traversal": "4.1.0" | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to be upgraded? I prefer to leave dependencies of a library at a minimum for what the code base needs directly. End users can then decide to pin transitive dependencies at a higher version if they need.
This lets this library capture the widest customer base possible: if a project for some reason cannot update a transitive dependency, this will not force them to.