Skip to content

Update to ASP.NET Core 10 preview.6 #3479

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

Merged
merged 2 commits into from
Jul 15, 2025
Merged

Conversation

martincostello
Copy link
Collaborator

@martincostello martincostello commented Jul 4, 2025

Update to the ASP.NET Core .NET 10 preview.6 and Microsoft.OpenApi 2.0.0-preview.29.

Notable changes

  • Simplification of various namespaces to simply Microsoft.OpenApi.
  • Interfaces reintroduced to various properties which simplifies the sorting, but breaks the ability to use collection expressions in a number of places.
  • Some API diffs caused by ordering are reverted by serialization updates, so the diff post-merge should get smaller compared to the default branch again.

Needs updating to the official build, rather than a nightly, before merge.

@martincostello martincostello added dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code labels Jul 4, 2025
Copy link

codecov bot commented Jul 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.75%. Comparing base (c8e5aef) to head (080672c).
Report is 1 commits behind head on dotnet-vnext.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@               Coverage Diff                @@
##           dotnet-vnext    #3479      +/-   ##
================================================
+ Coverage         94.70%   94.75%   +0.05%     
================================================
  Files               110      110              
  Lines              3850     3830      -20     
  Branches            773      758      -15     
================================================
- Hits               3646     3629      -17     
+ Misses              204      201       -3     
Flag Coverage Δ
Linux 94.75% <100.00%> (+0.05%) ⬆️
Windows 94.75% <100.00%> (+0.05%) ⬆️
macOS 94.75% <100.00%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@martincostello martincostello force-pushed the dotnet-10-preview.6 branch 5 times, most recently from 75dca2d to c51b906 Compare July 8, 2025 15:53
Update to the latest nightly build of .NET 10 preview 6 to prepare for bump to Microsoft.OpenApi 2.0.0-preview.29.
@martincostello martincostello mentioned this pull request Jul 13, 2025
12 tasks
Bump versions for public release of preview 6.
@martincostello martincostello marked this pull request as ready for review July 15, 2025 14:33
@Copilot Copilot AI review requested due to automatic review settings July 15, 2025 14:33
@martincostello martincostello merged commit c2bb204 into dotnet-vnext Jul 15, 2025
12 of 15 checks passed
@martincostello martincostello deleted the dotnet-10-preview.6 branch July 15, 2025 14:34
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the project to ASP.NET Core 10 preview.6 and Microsoft.OpenApi 2.0.0-preview.29, simplifying various Microsoft.OpenApi namespaces to use the unified Microsoft.OpenApi namespace as per the notable changes mentioned in the description.

  • Updates package references from preview.5 to preview.6
  • Simplifies Microsoft.OpenApi namespace imports
  • Adapts to breaking changes in the OpenApi library including loss of collection expressions support

Reviewed Changes

Copilot reviewed 146 out of 146 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Directory.Packages.props Updates Microsoft.OpenApi packages to preview.29 and AspNetCore.OpenApi to preview.6
global.json Updates .NET SDK version to 10.0.100-preview.6
src/Swashbuckle.AspNetCore.SwaggerGen/SwaggerGenerator/SwaggerGenerator.cs Simplifies OpenApi namespace imports and removes collection expressions
test/WebSites/TestFirst.IntegrationTests/CreateUserTests.cs Replaces collection expression with explicit SortedSet instantiation
Multiple test and source files Simplifies OpenApi namespace imports from specific Models/Interfaces to unified namespace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant