Repository navigation
chore(deps): ignore Microsoft.OpenApi major updates and document the 2.x pin - #300
Merged
Merged
Conversation
This was referenced Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Guards the
Microsoft.OpenApi2.x pin against automatic major-version Dependabot PRs and documents why it is pinned. This does not upgrade to 3.x:Microsoft.AspNetCore.OpenApion .NET 10 cannot use it (details below). The real 3.x upgrade belongs in a separate follow-up issue, which this PR does not create.Changes
.github/dependabot.yml(nuget block): added anignoreforMicrosoft.OpenApiwithupdate-types: ["version-update:semver-major"]only. It is the only ignore entry, andnuget-minor-patchis untouched. A comment names the removal trigger: revisit when the project decides to move to .NET 11.TaskFlow.Api/TaskFlow.Api.csproj: added a comment above theMicrosoft.OpenApi2.7.5 reference. It says 2.7.5 is the patched 2.x release for CVE-2026-49451, that 3.x is blocked by theMicrosoft.AspNetCore.OpenApisource generator (CS0200), and cites chore(deps): upgrade Microsoft.OpenApi to 3.x (blocked by AspNetCore.OpenApi source generator) #279. The version is unchanged.No code, test, generated-client, doc or
MicrosoftPlatformVersionchange.Findings (investigation for #279)
Microsoft.AspNetCore.OpenApidependency onMicrosoft.OpenApi(from the published nuspecs on nuget.org):2.0.0minimum.[2.12.2, 3.0.0), capped below 3.0.0.[3.10.2, 4.0.0). This is the only line that supports 3.x, and there is no stable 11.0.0 yet.MicrosoftPlatformVersionto 10.0.13 or later would force theMicrosoft.OpenApipin up to 2.12.2 or later. This PR does not change either.Asp.Versioning.OpenApi, which has its ownMicrosoft.OpenApidependency. The two pieces of work are decoupled here. Revisit the link if chore: upgrade Asp.Versioning.Mvc to v10.0.0 #165 adds that package.Verification (local)
dotnet build TaskFlow.sln -c Releasedotnet test(CI coverlet command)dotnet format TaskFlow.sln --verify-no-changesdotnet list TaskFlow.sln package --vulnerable/openapi/v1.jsonon this branch vsmainservers[0].urldiffers, which is the port each instance ran on)npm run gen:apiagainst the running APIThe OpenAPI document diff and
gen:apiwere run before the rebase and the final comment rewording. Neither touches C# or the csproj.Existing finding, not caused by this PR
dotnet list package --vulnerable --include-transitivereportsSQLitePCLRaw.lib.e_sqlite32.1.11 (GHSA-2m69-gcr7-jv3q, high), pulled in throughMicrosoft.EntityFrameworkCore.Sqlite. It also shows as the NU1903 build warning. This diff touches no package versions, so it cannot have introduced it, but I did not run the scan againstmainto confirm. It needs its own issue. The direct-package check from the acceptance criteria passes.Notes
docker-compose.dcprojis skipped bydotnet list packagebecause it uses package.config.ignorehas no automatic expiry, so the comment independabot.ymlis the only reminder to revisit it.Closes #279