-
Notifications
You must be signed in to change notification settings - Fork 883
Commit 352c559
authored
Update dependency Swashbuckle.AspNetCore to v8 (#2154)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[Swashbuckle.AspNetCore](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore)
| nuget | major | `7.3.1` -> `8.1.0` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>domaindrivendev/Swashbuckle.AspNetCore
(Swashbuckle.AspNetCore)</summary>
###
[`v8.1.0`](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v8.1.0)
#### What's Changed
- Adopt File-scoped namespaces by
[@​martincostello](https://redirect.github.com/martincostello) in
[https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3331](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3331)
- Apply analyzer suggestions by
[@​martincostello](https://redirect.github.com/martincostello) in
[https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3334](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3334)
- Add cache headers for ReDoc and SwaggerUI by
[@​martincostello](https://redirect.github.com/martincostello) in
[https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3341](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3341)
**Full Changelog**:
domaindrivendev/Swashbuckle.AspNetCore@v8.0.0...v8.1.0
###
[`v8.0.0`](https://redirect.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://redirect.github.com/dotnet/announcements/issues/331)
instead of ASP.NET Core 2.1.
- Updates Microsoft.OpenApi to
[v1.6.23](https://redirect.github.com/microsoft/OpenAPI.NET/releases/tag/1.6.23).
This update requires the use of swagger-ui
[v5.19.0](https://redirect.github.com/swagger-api/swagger-ui/releases/tag/v5.19.0)
or later
([v5.20.1](https://redirect.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
[@​martincostello](https://redirect.github.com/martincostello) in
[https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3294](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3294)
- Apply IDE refactoring suggestions by
[@​martincostello](https://redirect.github.com/martincostello) in
[https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3254](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3254)
- .NET 10 preparation by
[@​martincostello](https://redirect.github.com/martincostello) in
[https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3285](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3285)
- Move snapshots by
[@​martincostello](https://redirect.github.com/martincostello) in
[https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3314](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3314)
- Snapshot OpenApiDocument as JSON by
[@​martincostello](https://redirect.github.com/martincostello) in
[https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3315](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3315)
- Enable implicit usings by
[@​martincostello](https://redirect.github.com/martincostello) in
[https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3316](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3316)
- Drop .NET 6 by
[@​martincostello](https://redirect.github.com/martincostello) in
[https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3183](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3183)
- Deprecate `SerializeAsV2` by
[@​martincostello](https://redirect.github.com/martincostello) in
[https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3286](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3286)
- Improve release automation by
[@​martincostello](https://redirect.github.com/martincostello) in
[https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3317](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3317)
- Bump NuGet packages by
[@​martincostello](https://redirect.github.com/martincostello) in
[https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3319](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3319)
**Full Changelog**:
domaindrivendev/Swashbuckle.AspNetCore@v7.3.2...v8.0.0
###
[`v7.3.2`](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v7.3.2)
#### What's Changed
- Fix humanize for multiline `code` and `<para>` tags by
[@​EvgeniyZ](https://redirect.github.com/EvgeniyZ) in
[https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3295](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3295)
- Fix `DescribeAllParametersInCamelCase` usage for parameters by
[@​maksim-sovkov](https://redirect.github.com/maksim-sovkov) in
[https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3309](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3309)
#### New Contributors
- [@​maksim-sovkov](https://redirect.github.com/maksim-sovkov)
made their first contribution in
[https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3309](https://redirect.github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3309)
**Full Changelog**:
domaindrivendev/Swashbuckle.AspNetCore@v7.3.1...v7.3.2
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 10am every weekday" (UTC),
Automerge - "every weekday" (UTC).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, 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://redirect.github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJpbXBhY3Qvbm8tY2hhbmdlbG9nLXJlcXVpcmVkIl19-->
Co-authored-by: pulumi-renovate[bot] <189166143+pulumi-renovate[bot]@users.noreply.github.com>1 parent 76076a0 commit 352c559Copy full SHA for 352c559
File tree
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changedFilter options
- docker-cs-multi-container-app/App
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changeddocker-cs-multi-container-app/App/App.csproj
Copy file name to clipboardExpand all lines: docker-cs-multi-container-app/App/App.csproj+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
|
0 commit comments