Skip to content

Conversation

@askpt
Copy link
Member

@askpt askpt commented Dec 1, 2025

This PR

This pull request adds support for .NET 10.0 across the codebase, updating project files, dependencies, and build/test configurations to ensure compatibility. It also updates the devcontainer and global SDK version to .NET 10.0, and makes minor dependency version bumps for related packages.

.NET 10.0 Support and Configuration Updates:

  • Added net10.0 to TargetFrameworks in main, test, and sample project files, ensuring all relevant projects can build and run against .NET 10.0. (src/Directory.Build.props, test/Directory.Build.props, test/OpenFeature.AotCompatibility/OpenFeature.AotCompatibility.csproj, test/OpenFeature.Benchmarks/OpenFeature.Benchmarks.csproj, test/OpenFeature.IntegrationTests/OpenFeature.IntegrationTests.csproj, [1] [2] [3] [4] [5]
  • Updated the devcontainer image and feature configuration to use .NET 10.0 as the primary version, with 9.0 and 8.0 as additional runtimes. (.devcontainer/devcontainer.json, .devcontainer/devcontainer.jsonL3-R7)
  • Updated global.json to require .NET SDK version 10.0.100. (global.json, global.jsonL4-R4)
  • Updated AOT compatibility documentation to mention net10.0 as a valid target. (docs/AOT_COMPATIBILITY.md, docs/AOT_COMPATIBILITY.mdL29-R29)
  • Updated AOT workflow to include -f net10.0 in the publish step. (.github/workflows/aot-compatibility.yml, .github/workflows/aot-compatibility.ymlR84)

Dependency and Package Version Updates:

  • Added conditional property groups and package references for net10.0 in Directory.Packages.props, including Microsoft.Extensions.Diagnostics.Testing and Microsoft.AspNetCore.TestHost at version 10.0.0. (Directory.Packages.props, [1] [2] [3]

Test Project Adjustments:

  • Cleaned up and unified TargetFrameworks handling in test project files to align with new .NET 10.0 support. (test/OpenFeature.E2ETests/OpenFeature.E2ETests.csproj, test/OpenFeature.Hosting.Tests/OpenFeature.Hosting.Tests.csproj, test/OpenFeature.Providers.MultiProvider.Tests/OpenFeature.Providers.MultiProvider.Tests.csproj, test/OpenFeature.Tests/OpenFeature.Tests.csproj, [1] [2] [3] [4]

Related Issues

Fixes #647

@askpt askpt linked an issue Dec 1, 2025 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Dec 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.21%. Comparing base (4080f03) to head (6290e2b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #658   +/-   ##
=======================================
  Coverage   93.21%   93.21%           
=======================================
  Files          69       69           
  Lines        2993     2993           
  Branches      359      359           
=======================================
  Hits         2790     2790           
  Misses        143      143           
  Partials       60       60           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

askpt added 3 commits December 1, 2025 18:57
…on 10.0.0 and upgrade Microsoft.AspNetCore.TestHost versions for net8.0 and net9.0

Signed-off-by: André Silva <[email protected]>
@askpt askpt marked this pull request as ready for review December 1, 2025 21:55
@askpt askpt requested a review from a team as a code owner December 1, 2025 21:55
@askpt askpt added this pull request to the merge queue Dec 3, 2025
Merged via the queue into main with commit c7be7e0 Dec 3, 2025
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to .NET SDK version 10

4 participants