Skip to content

[.NET SDK] Upgrades OpenAPI Generator from 7.12.0 to 7.26.0 - #581

Merged
gbiernacki-dropbox merged 4 commits into
mainfrom
dotnet-generator-upgrade-7.26
Oct 19, 2026
Merged

gbiernacki-dropbox merged 4 commits into
mainfrom
dotnet-generator-upgrade-7.26

Conversation

@gbiernacki-dropbox

@gbiernacki-dropbox gbiernacki-dropbox commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Upgrades OpenAPI Generator from 7.12.0 to 7.26.0 for the .NET SDK and adds a native .NET 10 build. This will ship as 2.6.0.

Breaking changes

None. Package validation against the published 2.5.0 package reports no compatibility issues.

Changes visible to customers (backwards-compatible)

  • .NET 10 build: the package now contains net8.0 and net10.0 builds (#22562, #22234).
  • User-Agent: the default User-Agent is no longer percent-encoded (OpenAPI-Generator/2.6.0/csharp) (#24923).
  • Async: internal awaits use ConfigureAwait(false), avoiding deadlocks in synchronous contexts (#21244).
  • New helper: ClientUtils.ParameterToJsonString() for JSON-encoded header parameters (#25083).

Internal changes (not visible to customers)

  • RetryConfiguration.RetryPolicy / AsyncRetryPolicy keep their Policy<RestResponse> / AsyncPolicy<RestResponse> types; upstream changed them to interfaces (#20821).
  • Optional parameters use default instead of default(T) (same compiled values) (#21147).
  • Server URL variable check fixed (#21122).
  • Templates refreshed from 7.26.0; generation runs on the .NET 10 SDK image, and SDK CI installs .NET 8 and 10.

.NET 8 and .NET 10

  • What changed: net10.0 is added next to net8.0. It is built only when the .NET 10 SDK is used, so the SDK still builds from source with the .NET 8 SDK (net8.0 only).
  • Backwards compatibility:
    • .NET 8 and .NET 9 apps keep using the net8.0 build from the same NuGet package, unchanged.
    • A packaging check fails dotnet pack without the .NET 10 SDK, so a release can never ship without the net10.0 build.
    • Unit tests run on both .NET 8 and .NET 10.

@gbiernacki-dropbox gbiernacki-dropbox added the SDK - Dotnet Affects the Dotnet SDK label Oct 19, 2026
@gbiernacki-dropbox gbiernacki-dropbox changed the title Upgrade .NET generator to 7.26.0 [.NET SDK] Upgrades OpenAPI Generator from 7.12.0 to 7.26.0 Oct 19, 2026
@gbiernacki-dropbox
gbiernacki-dropbox marked this pull request as ready for review October 19, 2026 08:59
@gbiernacki-dropbox
gbiernacki-dropbox merged commit 90e4c25 into main Oct 19, 2026
9 checks passed
@gbiernacki-dropbox
gbiernacki-dropbox deleted the dotnet-generator-upgrade-7.26 branch October 19, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

SDK - Dotnet Affects the Dotnet SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants