Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 21, 2025

Bumps the swashbuckle-aspnetcore group with 3 updates: Microsoft.OpenApi, Swashbuckle.AspNetCore.Annotations and Swashbuckle.AspNetCore.

Updates Microsoft.OpenApi from 1.6.23 to 1.6.23

Commits

Updates Swashbuckle.AspNetCore.Annotations from 7.3.1 to 8.0.0

Release notes

Sourced from Swashbuckle.AspNetCore.Annotations's releases.

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: domaindrivendev/Swashbuckle.AspNetCore@v7.3.2...v8.0.0

    v7.3.2

    What's Changed

    New Contributors

    Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v7.3.1...v7.3.2

    Commits

    Updates Microsoft.OpenApi from 1.6.23 to 1.6.23

    Commits

    Updates Swashbuckle.AspNetCore from 7.3.1 to 8.0.0

    Release notes

    Sourced from Swashbuckle.AspNetCore's releases.

    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: domaindrivendev/Swashbuckle.AspNetCore@v7.3.2...v8.0.0

    v7.3.2

    What's Changed

    New Contributors

    Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v7.3.1...v7.3.2

    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
    • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
    • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
    • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
    • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
    • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

    @dependabot dependabot bot requested a review from martincostello March 21, 2025 05:35
    @dependabot dependabot bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Mar 21, 2025
    @dependabot dependabot bot force-pushed the dependabot/nuget/swashbuckle-aspnetcore-9ad324cd1b branch from 71d80e5 to 0ce47fa Compare March 21, 2025 05:45
    Bumps the swashbuckle-aspnetcore group with 3 updates: [Microsoft.OpenApi](https://github.com/Microsoft/OpenAPI.NET), [Swashbuckle.AspNetCore.Annotations](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) and [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore).
    
    
    Updates `Microsoft.OpenApi` from 1.6.23 to 1.6.23
    - [Release notes](https://github.com/Microsoft/OpenAPI.NET/releases)
    - [Changelog](https://github.com/microsoft/OpenAPI.NET/blob/main/CHANGELOG.md)
    - [Commits](microsoft/OpenAPI.NET@1.6.23...1.6.23)
    
    Updates `Swashbuckle.AspNetCore.Annotations` from 7.3.1 to 8.0.0
    - [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
    - [Commits](domaindrivendev/Swashbuckle.AspNetCore@v7.3.1...v8.0.0)
    
    Updates `Microsoft.OpenApi` from 1.6.23 to 1.6.23
    - [Release notes](https://github.com/Microsoft/OpenAPI.NET/releases)
    - [Changelog](https://github.com/microsoft/OpenAPI.NET/blob/main/CHANGELOG.md)
    - [Commits](microsoft/OpenAPI.NET@1.6.23...1.6.23)
    
    Updates `Swashbuckle.AspNetCore` from 7.3.1 to 8.0.0
    - [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
    - [Commits](domaindrivendev/Swashbuckle.AspNetCore@v7.3.1...v8.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: Microsoft.OpenApi
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: swashbuckle-aspnetcore
    - dependency-name: Swashbuckle.AspNetCore.Annotations
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: swashbuckle-aspnetcore
    - dependency-name: Microsoft.OpenApi
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: swashbuckle-aspnetcore
    - dependency-name: Swashbuckle.AspNetCore
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: swashbuckle-aspnetcore
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    @dependabot dependabot bot force-pushed the dependabot/nuget/swashbuckle-aspnetcore-9ad324cd1b branch from 0ce47fa to 35075d6 Compare March 21, 2025 05:54
    @martincostello martincostello merged commit a18ed34 into main Mar 21, 2025
    9 checks passed
    @martincostello martincostello deleted the dependabot/nuget/swashbuckle-aspnetcore-9ad324cd1b branch March 21, 2025 06:16
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    2 participants