Skip to content

7.3.0

Choose a tag to compare

@avgalex avgalex released this 14 Nov 07:57
f19f95c

.NET 11 and Swashbuckle 11 support

Version 7.3.0 adds stable .NET 11 support to the shared core and the native ASP.NET Core OpenAPI and Swashbuckle integrations.

  • Native ASP.NET Core OpenAPI: net11.0 asset with stable Microsoft.AspNetCore.OpenApi 11, default OpenAPI 3.2 and explicitly selected 3.1, at runtime and build time.
  • Swashbuckle: dedicated net11.0 asset using stable Swashbuckle 11.0.1 / Microsoft.OpenApi 3.11.0, including real OpenAPI 3.2 middleware serialization with FluentValidation constraints.
  • Compatibility: net8/net9 continue to use Swashbuckle 8 / Microsoft.OpenApi 1.x; net10 continues to use Swashbuckle 10 / Microsoft.OpenApi 2.x. Swashbuckle 11 support requires selecting our net11 asset. NSwag retains its net8/net9 assets, tested in a net11 host.

Fixes and behavior

  • Includes the 7.2.4 / #238 fix preserving string length constraints when a JSON converter leaves the schema type unset.
  • Native net10 now requires Microsoft.OpenApi >= 2.7.5, addressing GHSA-v5pm-xwqc-g5wc.
  • .NET 11 float/double conversion can expose additional decimal digits in generated bounds. The library keeps those runtime values without additional rounding; .NET 8–10 expectations are preserved.

Validation and packages

813 tests passed across the .NET 8/9/10/11 matrix. Release validation includes Linux and Windows CI, native runtime/build-time 3.2 and 3.1 documents, and Swashbuckle 11 end-to-end generation. All four packages are attached with SHA-256 checksums and published to the MicroElements MyGet feed. Promotion to nuget.org is performed manually.

Source builds require SDK 11.0.100 or an eligible newer 11.0 feature band (rollForward: latestFeature). Package consumers use the SDK appropriate to their target framework.

Issue: #236. PR: #237.

Full changelog

Release CI and MyGet publication · Master CI