-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[10.0-rc1] Mop up changes that missed the RC1 snap #63318
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
Conversation
…tions behavior (#63231) * Add support for type-level validation attributes, update validation ordering * Code review fix, test fix * Fix trimming annotation * Fix trimming annotation * Separate caches for property and type attributes * Fix typo Co-authored-by: Brennan <[email protected]> * Fix typo Co-authored-by: Brennan <[email protected]> * Fix and simplify the emitted code * Update src/Validation/test/Microsoft.Extensions.Validation.GeneratorTests/ValidationsGeneratorTestBase.cs --------- Co-authored-by: Brennan <[email protected]> Co-authored-by: Safia Abdalla <[email protected]>
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.
Pull Request Overview
This PR consolidates "mop up" changes that missed the RC1 snap for .NET 10.0. The changes span multiple areas including validation infrastructure improvements, cookie authentication metadata updates, SignalR client optimizations, and Kestrel HTTP/3 stream handling enhancements.
Key Changes:
- Validation system enhancements: Added support for type-level validation attributes and improved validation ordering (property → type → IValidatableObject)
- Cookie authentication metadata refactoring: Renamed
IApiEndpointMetadata
toIDisableCookieRedirectMetadata
with more granular control - SignalR client optimization: Improved keep-alive ping handling to avoid dependency on JavaScript timer throttling
Reviewed Changes
Copilot reviewed 155 out of 156 changed files in this pull request and generated 3 comments.
Show a summary per file
:
File | Description |
---|---|
src/Validation/ | Added type-level validation support, test consolidation, and validation ordering improvements |
src/Security/Authentication/ | Renamed cookie redirect metadata interfaces and added granular control mechanisms |
src/SignalR/clients/ts/ | Optimized keep-alive ping timing to handle overdue pings immediately |
src/Servers/Kestrel/Core/ | Enhanced HTTP/3 stream reuse logic to prevent reusing aborted streams |
src/Http/Http.Results/ | Updated to use renamed cookie redirect metadata interfaces |
src/Mvc/ | Updated API controller attribute and added .slnx solution file support tests |
src/Validation/test/Microsoft.Extensions.Validation.Tests/ValidatableTypeInfoTests.cs
Show resolved
Hide resolved
src/Validation/test/Microsoft.Extensions.Validation.Tests/ValidatableTypeInfoTests.cs
Show resolved
Hide resolved
src/Validation/test/Microsoft.Extensions.Validation.Tests/ValidatableTypeInfoTests.cs
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.
Mop up for the branching. If there are objections we can take these through tactics.
Folks didn't know we were snapping early this time - merging the last set of Friday changes that missed the snap. Marking as tell-mode as this has already been discussed offline