-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Support .NET 9 #3007
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
Support .NET 9 #3007
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #3007 +/- ##
==========================================
- Coverage 91.43% 81.99% -9.45%
==========================================
Files 76 76
Lines 3119 3121 +2
Branches 519 520 +1
==========================================
- Hits 2852 2559 -293
- Misses 267 562 +295
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
8114ddd
to
1f1d856
Compare
3035e94
to
3b7a626
Compare
2ae52bb
to
59eb50f
Compare
8649844
to
8a1a816
Compare
8a1a816
to
97ecc3a
Compare
28c0b81
to
91b447e
Compare
test/Swashbuckle.AspNetCore.IntegrationTests/Swashbuckle.AspNetCore.IntegrationTests.csproj
Outdated
Show resolved
Hide resolved
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.
It's great to see preparations being made for .NET 9. I've shared some comments based on my own experience, that may be of help.
src/Swashbuckle.AspNetCore.Annotations/Swashbuckle.AspNetCore.Annotations.csproj
Outdated
Show resolved
Hide resolved
- Add `net9.0` TFMs. - Drop TFMs for all out-of-support versions of .NET. - Bump version to `7.0.0`. - Only audit direct NuGet dependencies. - Suppress vulnerabilities in IdentityServer4 used in sample. - Remove some now-redundant pre-processor directives.
Target .NET 9 versions for Microsoft.AspNetCore.OpenApi in test sites.
Bump Microsoft.OpenApi to the latest version.
* Update .NET SDK Update .NET SDK to version 9.0.100-preview.7.24407.12. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Update NuGet packages Bump NuGet packages for .NET 9 preview 7. --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Martin Costello <[email protected]>
Bump Microsoft.OpenApi to 1.6.18.
Bump Microsoft.OpenApi to 1.6.20.
Update Microsoft.OpenApi to 1.6.21.
* Update .NET SDK Update .NET SDK to version 9.0.100-rc.1.24452.12. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Update NuGet packages Update NuGet packages for RC1. --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Martin Costello <[email protected]>
Make all the middleware classes internal as they have no useful public-facing functionality (e.g. virtual members). Resolves #2805.
* Update .NET SDK Update .NET SDK to version 9.0.100-rc.2.24474.11. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Update NuGet packages Update NuGet packages for .NET 9 RC2. --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Martin Costello <[email protected]>
That's fast! PS: Best of luck with your talk at netconf. |
Thanks for supporting .Net 9.0, just made my life a lot easier. |
Add support for .NET 9 and drop support for out-of-support versions of .NET.
Changes:
net9.0
TFMs.7.0.0
.internal
to resolve Consider making more types internal #2805.