Skip to content

fix: raise the Microsoft.OpenApi floor to 2.12.2 - #64

Merged
thebuilder merged 1 commit into
mainfrom
fix/microsoft-openapi-2.12.2
Oct 13, 2026
Merged

thebuilder merged 1 commit into
mainfrom
fix/microsoft-openapi-2.12.2

Conversation

@thebuilder

Copy link
Copy Markdown
Owner

Summary

Umbraco 18.2.1 depends on Microsoft.OpenApi 2.12.2 or newer, but src/TheBuilder.WebAnalytics/TheBuilder.WebAnalytics.csproj references 2.11.0. When CI restores against Umbraco 18.2.1, NuGet treats that as a downgrade (NU1605, warning as error), so the ".NET (Umbraco 18.*)" job fails on every branch, including main on its next run.

This raises the version to 2.12.2. It's still a minimum, as the comment above those references describes ("at or above the versions Umbraco's transitive graph requires"), and Umbraco 17.1 and 17.x accept 2.12.2.

Testing

Ran the CI job's command (dotnet test tests/TheBuilder.WebAnalytics.Tests/TheBuilder.WebAnalytics.Tests.csproj --configuration Release -p:UmbracoVersion=<version>) locally for each version in the matrix:

  • 17.1.0: 233 of 233 tests pass
  • 17.*: 233 of 233 tests pass
  • 18.*: 233 of 233 tests pass, resolving Umbraco 18.2.1 with Microsoft.OpenApi 2.12.2

Unblocks #63.

Umbraco 18.2.1 depends on Microsoft.OpenApi >= 2.12.2. The 2.11.0 floor
made restores against Umbraco 18.2.1 fail with NU1605 (package
downgrade, warning as error), which broke the Umbraco 18.* CI job.
@vercel

vercel Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
web-analytics Ready Ready Preview Oct 13, 2026 9:14pm UTC

@thebuilder
thebuilder merged commit 76568b0 into main Oct 13, 2026
8 checks passed
@thebuilder
thebuilder deleted the fix/microsoft-openapi-2.12.2 branch October 13, 2026 21:16

This branch was successfully deployed

1 active deployment
Preview — b8f51b6c Deployed Oct 13, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant