Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 10, 2025

Bumps Swashbuckle.AspNetCore.Annotations from 6.8.1 to 8.1.1.

Release notes

Sourced from Swashbuckle.AspNetCore.Annotations's releases.

v8.1.1

What's Changed

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v8.1.0...v8.1.1

v8.1.0

What's Changed

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@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.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

    ... (truncated)

    Commits
    • a676de6 Bump swagger-ui-dist in /src/Swashbuckle.AspNetCore.SwaggerUI (#3359)
    • 01eca21 Update .NET SDK (#3358)
    • 19c30f7 Bump github/codeql-action from 3.28.14 to 3.28.15 (#3357)
    • ad1f366 Bump Verify.XunitV3 from 29.1.0 to 29.2.0 in the xunit group (#3354)
    • 43aa9de Bump dotnet-validate from 0.0.1-preview.304 to 0.0.1-preview.537 (#3355)
    • 5c03a14 Bump github/codeql-action from 3.28.13 to 3.28.14 (#3353)
    • 83d8abd Bump swagger-ui-dist in /src/Swashbuckle.AspNetCore.SwaggerUI (#3352)
    • 9bbb2bb Bump martincostello/update-dotnet-sdk from 3.5.0 to 3.6.0 (#3351)
    • 56bba2f Update to xunit v3
    • 22c8c36 Move .NET to D drive on Windows runner
    • Additional commits viewable in compare view

    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.Annotations](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.8.1 to 8.1.1.
    - [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
    - [Commits](domaindrivendev/Swashbuckle.AspNetCore@v6.8.1...v8.1.1)
    
    ---
    updated-dependencies:
    - dependency-name: Swashbuckle.AspNetCore.Annotations
      dependency-version: 8.1.1
      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 Apr 10, 2025
    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.

    0 participants