Releases: domaindrivendev/Swashbuckle.AspNetCore
Releases · domaindrivendev/Swashbuckle.AspNetCore
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.0TFM 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
SerializeAsV2property 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
--serializeasv2option 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
SerializeAsV2by @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
v7.3.2
What's Changed
- Fix humanize for multiline
codeand<para>tags by @EvgeniyZ in #3295 - Fix
DescribeAllParametersInCamelCaseusage for parameters by @maksim-sovkov in #3309
New Contributors
- @maksim-sovkov made their first contribution in #3309
Full Changelog: v7.3.1...v7.3.2
v7.3.1
What's Changed
- Fix for ApiDescriptionProvider throws NRE by @EvgeniyZ in #3280
- Bump swagger-ui-dist from 5.19.0 to 5.20.0 by @dependabot in #3279
Full Changelog: v7.3.0...v7.3.1
v7.3.0
What's Changed
- Add
CreateFromJsonoptions overload by @martincostello in #3218 - Stop testing with .NET 6 by @martincostello in #3219
- Replace IdentityServer4 with Duende.IdentityServer (#3008) by @pseudometalhead in #3184
- Fix JWT version for .NET 9 by @Saibamen in #3227
- Adjust readme for issue #1014 by @EvgeniyZ in #3233
- Humanize multiline para tag by @EvgeniyZ in #3234
- Humanize multi line code tag by @EvgeniyZ in #3239
- Fix
JsonSerializerDataContractResolverso that it handles jagged arrays correctly by @ozziepeeps in #3245 - Use
DeepObjectparameter style for dictionary by @EvgeniyZ in #3241 - Remove
MvcOptionsfromSchemaGeneratorby @EvgeniyZ in #3242 - Optional EOL for XML comments (#2947) by @RainDance74 in #3255
- Add support for listing available OpenAPI documents by @rassilon in #3263
- Bump swagger-ui-dist from 5.18.3 to 5.19.0 by @dependabot in #3266
New Contributors
- @pseudometalhead made their first contribution in #3184
- @RainDance74 made their first contribution in #3255
- @rassilon made their first contribution in #3263
Full Changelog: v7.2.0...v7.3.0
v7.2.0
What's Changed
- Path grouping strategy by @Saibamen in #3152
- Add package README by @martincostello in #3178
- Allow no match to be found to avoid throwing an exception by @moni-dips in #3188
New Contributors
- @moni-dips made their first contribution in #3188
Full Changelog: v7.1.0...v7.2.0
v7.1.0
What's Changed
- Update some nugets by @Saibamen in #3143
- Recreate package lock files by @Saibamen in #3146
- More asserts for
SwaggerGeneratorTestsby @Saibamen in #3147 - Add more HTTP codes to
ResponseDescriptionMapby @Saibamen in #3148 - Test more WebAPI examples by @Saibamen in #3149
- Fix issue with
[FromForm]and enums for Controllers by @jgarciadelanoceda in #3164 - Support
[Description]and[ReadOnly]by @jgarciadelanoceda in #3162 - Second level inheritance for
UseOneOfForPolymorphismby @k0ka in #3155 - Avoid exception checking nullability by @martincostello in #3119
- Fix
NotSupportedExceptionin AoT test project by @martincostello in #3171 - Create
snupkgfiles by @martincostello in #3168 - Support of
[JsonPolymorphic]and[JsonDerivedType]attributes by @k0ka in #3170
New Contributors
Full Changelog: v7.0.0...v7.1.0