chore(deps): update dependency swashbuckle.aspnetcore to v8 #462

Open
kjuulh wants to merge 1 commits from renovate/swashbuckle-aspnetcore-monorepo into main
Owner

This PR contains the following updates:

Package Type Update Change
Swashbuckle.AspNetCore nuget major 7.3.1 -> 8.0.0

Release Notes

domaindrivendev/Swashbuckle.AspNetCore (Swashbuckle.AspNetCore)

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

Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v7.3.2...v8.0.0

v7.3.2

What's Changed

New Contributors

Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v7.3.1...v7.3.2


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) | nuget | major | `7.3.1` -> `8.0.0` | --- ### Release Notes <details> <summary>domaindrivendev/Swashbuckle.AspNetCore (Swashbuckle.AspNetCore)</summary> ### [`v8.0.0`](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/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](https://github.com/dotnet/announcements/issues/331) instead of ASP.NET Core 2.1. - Updates Microsoft.OpenApi to [v1.6.23](https://github.com/microsoft/OpenAPI.NET/releases/tag/1.6.23). This update requires the use of swagger-ui [v5.19.0](https://github.com/swagger-api/swagger-ui/releases/tag/v5.19.0) or later ([v5.20.1](https://github.com/swagger-api/swagger-ui/releases/tag/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: ```diff - 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](https://www.nuget.org/packages/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: ```diff - swagger tofile --output [output] [startupassembly] [swaggerdoc] --serializeasv2 + swagger tofile --output [output] [startupassembly] [swaggerdoc] --openapiversion "2.0" ``` #### What's Changed - More reliable coverage by [@&#8203;martincostello](https://github.com/martincostello) in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3294 - Apply IDE refactoring suggestions by [@&#8203;martincostello](https://github.com/martincostello) in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3254 - .NET 10 preparation by [@&#8203;martincostello](https://github.com/martincostello) in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3285 - Move snapshots by [@&#8203;martincostello](https://github.com/martincostello) in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3314 - Snapshot OpenApiDocument as JSON by [@&#8203;martincostello](https://github.com/martincostello) in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3315 - Enable implicit usings by [@&#8203;martincostello](https://github.com/martincostello) in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3316 - Drop .NET 6 by [@&#8203;martincostello](https://github.com/martincostello) in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3183 - Deprecate `SerializeAsV2` by [@&#8203;martincostello](https://github.com/martincostello) in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3286 - Improve release automation by [@&#8203;martincostello](https://github.com/martincostello) in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3317 - Bump NuGet packages by [@&#8203;martincostello](https://github.com/martincostello) in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3319 **Full Changelog**: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v7.3.2...v8.0.0 ### [`v7.3.2`](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v7.3.2) #### What's Changed - Fix humanize for multiline `code` and `<para>` tags by [@&#8203;EvgeniyZ](https://github.com/EvgeniyZ) in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3295 - Fix `DescribeAllParametersInCamelCase` usage for parameters by [@&#8203;maksim-sovkov](https://github.com/maksim-sovkov) in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3309 #### New Contributors - [@&#8203;maksim-sovkov](https://github.com/maksim-sovkov) made their first contribution in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3309 **Full Changelog**: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v7.3.1...v7.3.2 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMTYuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIxNi4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
kjuulh added 1 commit 2025-03-26 02:00:38 +01:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/swashbuckle-aspnetcore-monorepo:renovate/swashbuckle-aspnetcore-monorepo
git checkout renovate/swashbuckle-aspnetcore-monorepo
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kjuulh/todo#462
No description provided.