Skip to content

Releases: domaindrivendev/Swashbuckle.AspNetCore

v9.0.3

08 Jul 14:03
Compare
Choose a tag to compare

What's Changed

Full Changelog: v9.0.2...v9.0.3

v9.0.2

08 Jul 10:53
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v9.0.1...v9.0.2

v9.0.1

13 Jun 17:12
Compare
Choose a tag to compare

What's Changed

Full Changelog: v9.0.0...v9.0.1

v9.0.0

13 Jun 15:37
Compare
Choose a tag to compare

📣 This release contains the following breaking changes:

  • Drops support for netstandard2.0 and thus .NET Framework - now only net8.0 and net9.0 are supported.
  • Removes all public members annotated as [Obsolete] in previous releases.
  • Removes the deprecated --serializeasv2 option from Swashbuckle.AspNetCore.Cli, which was superseded by --openapiversion from version 8.0.0.

What's Changed

Full Changelog: v8.1.4...v9.0.0

v8.1.4

04 Jun 08:31
3df2947
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.1.3...v8.1.4

v8.1.3

03 Jun 08:56
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.1.2...v8.1.3

v8.1.2

21 May 16:27
5ef71e7
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.1.1...v8.1.2

v8.1.1

10 Apr 12:55
a676de6
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.1.0...v8.1.1

v8.1.0

31 Mar 12:19
8fe3238
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.0.0...v8.1.0

v8.0.0

18 Mar 18:07
Compare
Choose a tag to compare

Important

Swashbuckle.AspNetCore drops support for .NET 6.

Swashbuckle.AspNetCore v8.0.0 makes the following notable changes:

  • Drops support for net6.0.
  • The netstandard2.0 TFM now depends on ASP.NET Core 2.3 instead of ASP.NET Core 2.1.
  • Updates Microsoft.OpenApi to v1.6.23. This update requires the use of swagger-ui v5.19.0 or later (v5.20.1 is included in the Swashbuckle.AspNetCore.SwaggerUI NuGet package). You may need to clear your browser's cache to pick up the latest JavaScript files for swagger-ui.
  • To prepare for future support for OpenAPI 3.1 documents, deprecates the SerializeAsV2 property by marking it as [Obsolete]. Users should update their code as illustrated below, depending on their use case:
    - options.SerializeAsV2 = true;
    + options.OpenApiVersion = Microsoft.OpenApi.OpenApiSpecVersion.OpenApi2_0;
    
    // or if explicitly disabling (the same as the default behaviour)
    - options.SerializeAsV2 = false;
    + options.OpenApiVersion = Microsoft.OpenApi.OpenApiSpecVersion.OpenApi3_0;
  • To prepare for future support for OpenAPI 3.1 documents, the Swashbuckle.AspNetCore.Cli tool has deprecated the --serializeasv2 option and logs a warning to the console. Users should update their usage as illustrated below, depending on their use case:
    - swagger tofile --output [output] [startupassembly] [swaggerdoc] --serializeasv2
    + swagger tofile --output [output] [startupassembly] [swaggerdoc] --openapiversion "2.0"

What's Changed

Full Changelog: v7.3.2...v8.0.0