Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps 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).
  • 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 compatibility score

    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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

    Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/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: Swashbuckle.AspNetCore
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    @dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Mar 19, 2025
    Copy link

    @mergify mergify bot left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Automatically approving dependabot

    @codecov
    Copy link

    codecov bot commented Mar 19, 2025

    Codecov Report

    All modified and coverable lines are covered by tests ✅

    Project coverage is 27.13%. Comparing base (5e38012) to head (268ab4a).
    Report is 2 commits behind head on main.

    Additional details and impacted files
    @@           Coverage Diff           @@
    ##             main    #2795   +/-   ##
    =======================================
      Coverage   27.13%   27.13%           
    =======================================
      Files          39       39           
      Lines         678      678           
      Branches       17       17           
    =======================================
      Hits          184      184           
      Misses        490      490           
      Partials        4        4           

    ☔ View full report in Codecov by Sentry.
    📢 Have feedback on the report? Share it here.

    🚀 New features to boost your workflow:
    • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

    @mergify mergify bot merged commit a6aefdf into main Mar 19, 2025
    15 checks passed
    @dependabot dependabot bot deleted the dependabot/nuget/Swashbuckle.AspNetCore-8.0.0 branch March 19, 2025 01:28
    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.

    1 participant