Releases: domaindrivendev/Swashbuckle.AspNetCore
Releases · domaindrivendev/Swashbuckle.AspNetCore
v9.0.3
What's Changed
- Fix incorrect
Content-Length
for swagger-ui and Redoc static assets by @martincostello in #3488
Full Changelog: v9.0.2...v9.0.3
v9.0.2
What's Changed
- Generate SBOM by @martincostello in #3468
- Compress swagger-ui and Redoc files in embedded resources with GZip by @stratosblue in #3399
- Refactor GZip compression by @martincostello in #3480
New Contributors
- @stratosblue made their first contribution in #3399
Full Changelog: v9.0.1...v9.0.2
v9.0.1
What's Changed
- Fix missing Swashbuckle.AspNetCore metapackage dependencies by @martincostello in #3460
Full Changelog: v9.0.0...v9.0.1
v9.0.0
📣 This release contains the following breaking changes:
- Drops support for
netstandard2.0
and thus .NET Framework - now onlynet8.0
andnet9.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
- Add tests for
[Range]
and respectParseLimitsInInvariantCulture
property by @martincostello in #3448 - Fix
[Range]
behaviour by @martincostello in #3449 - Refactor sample websites by @martincostello in #3450
- Drop netstandard support by @martincostello in #3422
Full Changelog: v8.1.4...v9.0.0
v8.1.4
What's Changed
- Avoid
ArgumentNullException
being thrown generating examples by @skironDotNet in #3444
Full Changelog: v8.1.3...v8.1.4
v8.1.3
What's Changed
- Re-enable MyGet publishing by @martincostello in #3421
- Improve test reliability by @martincostello in #3423
- Fix conflicting Git/EditorConfig settings by @martincostello in #3430
- Add integration test logging by @martincostello in #3431
- Disable Static Web Assets by @martincostello in #3432
- Typo fixes by @martincostello in #3433
- Fix HumanizeHrefTags not working when see tag spans over multiple lines by @Focus1337 in #3435
- Revert #3377 by @martincostello in #3436
New Contributors
- @Focus1337 made their first contribution in #3435
Full Changelog: v8.1.2...v8.1.3
v8.1.2
What's Changed
- Update to fix Lists/Arrays of nullables not getting marked as nullable by @Scarecrow7250 in #3364
- Add build timeout by @martincostello in #3370
- Bump redoc to 2.5.0 by @dependabot in #3374
- Add test analytics by @martincostello in #3376
- Fix schema for nullable enums by @ItsVeryWindy in #3377
- [Docs] Split readme md by @peter-csala in #3405
- [Docs] Improve the formatting of documentation files by @peter-csala in #3409
- Spruce-up the READMEs by @martincostello in #3410
- Migrate to slnx by @martincostello in #3411
- Documentation refresh by @martincostello in #3412
- Bump swagger-ui to 5.22.0 by @dependabot in #3417
New Contributors
- @Scarecrow7250 made their first contribution in #3364
- @ItsVeryWindy made their first contribution in #3377
- @peter-csala made their first contribution in #3405
Full Changelog: v8.1.1...v8.1.2
v8.1.1
v8.1.0
What's Changed
- Adopt File-scoped namespaces by @martincostello in #3331
- Apply analyzer suggestions by @martincostello in #3334
- Add cache headers for ReDoc and SwaggerUI by @martincostello in #3341
Full Changelog: v8.0.0...v8.1.0
v8.0.0
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
- More reliable coverage by @martincostello in #3294
- Apply IDE refactoring suggestions by @martincostello in #3254
- .NET 10 preparation by @martincostello in #3285
- Move snapshots by @martincostello in #3314
- Snapshot OpenApiDocument as JSON by @martincostello in #3315
- Enable implicit usings by @martincostello in #3316
- Drop .NET 6 by @martincostello in #3183
- Deprecate
SerializeAsV2
by @martincostello in #3286 - Improve release automation by @martincostello in #3317
- Bump NuGet packages by @martincostello in #3319
Full Changelog: v7.3.2...v8.0.0