V10.0.7/service update#29
Conversation
Greptile SummaryThis service update bumps Codebelt/Cuemon package dependencies to their latest compatible versions, lifts the NGINX documentation image, and introduces TFM-conditional
Confidence Score: 5/5This PR is safe to merge — changes are limited to dependency version bumps, documentation, and additive test coverage with no modifications to production logic. All production source files are unchanged. The only structural change is the split of Asp.Versioning package versions into TFM-conditional CPM blocks, which is a standard MSBuild inner-build pattern and does not alter any runtime behaviour. New tests correctly exercise existing middleware paths, including the distinction between [ApiController]-filtered controller endpoints and bare minimal-API endpoints for UseStatusCodePages scenarios. No files require special attention. Important Files Changed
Sequence DiagramsequenceDiagram
participant Client as Test Client
participant SCP as UseStatusCodePages
participant EP as Endpoint (minimal-API)
participant Factory as StatusCodeException Factory
Note over Client,Factory: UseRestfulApiVersioning custom factory
Client->>SCP: GET /test/not-acceptable
SCP->>EP: next()
EP-->>SCP: Response 406 (no content-type)
SCP->>Factory: invoke custom factory(context)
Factory-->>SCP: NotAcceptableException
SCP->>SCP: throw NotAcceptableException
SCP-->>Client: NotAcceptableException propagated
Note over Client,Factory: UseRestfulApiVersioning default factory unmapped
Client->>SCP: GET /test/teapot
SCP->>EP: next()
EP-->>SCP: Response 418 (no content-type)
SCP->>Factory: "TryParse(418) = false"
Factory-->>SCP: InternalServerErrorException
SCP->>SCP: throw InternalServerErrorException
SCP-->>Client: InternalServerErrorException propagated
Note over Client,Factory: AddRestfulApiVersioning CustomizeProblemDetails hook
participant PDS as IProblemDetailsService
participant CPD as CustomizeProblemDetails
Client->>EP: GET /fake/problem418
EP->>PDS: "WriteAsync(ProblemDetails Status=418)"
PDS->>CPD: CustomizeProblemDetails(context)
CPD->>CPD: "TryParse(418) = false"
CPD->>CPD: throw InternalServerErrorException
CPD-->>Client: InternalServerErrorException propagated
Reviews (2): Last reviewed commit: "🎯 add integration tests for middleware ..." | Re-trigger Greptile |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #29 +/- ##
============================================
+ Coverage 89.69% 100.00% +10.30%
============================================
Files 4 4
Lines 97 97
Branches 9 9
============================================
+ Hits 87 97 +10
+ Misses 10 0 -10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Comprehensive changelog entry for version 10.0.7 with dual-framework support details. Emphasizes explicit Asp.Versioning package versions for .NET 9 (8.1.1) and .NET 10 (10.0.0), enhanced test coverage, and dependency updates. Updated comparison links.
Refactor Directory.Packages.props to use framework-conditional targeting for Asp.Versioning: 8.1.1 for .NET 9 and 10.0.0 for .NET 10. Upgrade test SDK and coverage tools to latest compatible versions. Bump nginx base image from 1.30.0 to 1.31.0 in Dockerfile.docfx.
Expand FakeController with new endpoints (problem418, teapot) for testing unmapped
HTTP status codes and IProblemDetailsService integration. Add UseApiVersionSelector{T}
test case to RestfulApiVersioningOptionsTest validating fluent builder pattern for API
version selector configuration.
Create ApplicationBuilderExtensionsTest for comprehensive UseRestfulApiVersioning middleware testing with custom factory and default status code mapping scenarios. Create ServiceCollectionExtensionsTest for AddRestfulApiVersioning configuration including API explorer options and IProblemDetailsService integration validation.
|



This is a service update that focuses on package dependencies.
Automated changes:
Note: Third-party packages (Microsoft.Extensions.*, BenchmarkDotNet, etc.) are not auto-updated.
Use Dependabot or manual updates for those.
Generated by codebelt-aicia
Triggered by: yamldotnet @ 10.1.3