Skip to content

Bump coverlet.collector and 4 others #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 5, 2025

Updated coverlet.collector from 3.0.2 to 6.0.4.

Release notes

Sourced from coverlet.collector's releases.

6.0.4

Fixed

  • Fix empty coverage report when using include and exclude filters #​1726

Diff between 6.0.3 and 6.0.4

6.0.3

Fixed

Improvements

  • Cache the regex used in InstrumentationHelper #​1693
  • Enable dotnetTool integration tests for linux #​660

Diff between 6.0.2 and 6.0.3

6.0.2

Fixed

  • Threshold-stat triggers error #​1634
  • Fixed coverlet collector 6.0.1 requires dotnet sdk 8 #​1625
  • Type initializer errors after updating from 6.0.0 to 6.0.1 #​1629
  • Exception when multiple exclude-by-attribute filters specified #​1624

Improvements

  • More concise options to specify multiple parameters in coverlet.console #​1624

Diff between 6.0.1 and 6.0.2

6.0.1

Fixed

Improvements

Diff between 6.0.0 and 6.0.1

6.0.0

Fixed
-Could not write lines to file CoverletSourceRootsMapping - in use by another process coverlet-coverage/coverlet#1155
-Incorrect coverage for methods returning IAsyncEnumerable in generic classes coverlet-coverage/coverlet#1383
-Wrong branch coverage for async methods .NET Standard 1.x coverlet-coverage/coverlet#1376
-Empty path exception in visual basic projects coverlet-coverage/coverlet#775
-Align published nuget package version to github release version coverlet-coverage/coverlet#1413
-Sync nuget and github release versions coverlet-coverage/coverlet#1122

Improvements
-Migration of the project to .NET 6.0 coverlet-coverage/coverlet#1473

Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic assembly exclusion coverlet-coverage/coverlet#1164. The parameter InstrumentModulesWithoutLocalSources has been removed. since it can be handled by setting ExcludeAssembliesWithoutSources to None.
The default heuristics for determining whether to instrument an assembly has been changed. In previous versions any missing source file was taken as a signal that it was a third-party project that shouldn't be instrumented, with exceptions for some common file name patterns for source generators. Now only assemblies where no source files at all can be found are excluded from instrumentation, and the code for detecting source generator files have been removed. To get back to the behaviour that at least one missing file is sufficient to exclude an assembly, set ExcludeAssembliesWithoutSources to MissingAny, or use assembly exclusion filters for more fine-grained control.

Diff between 3.2.0 and 6.0.0

5.8.0

Fixed

-Fix TypeLoadException when referencing Microsoft.Extensions.DependencyInjection v6.0.1 #​1390
-Source Link for code generators fails #​1322
-Await foreach has wrong branch coverage when method is generic #​1210
-ExcludeFromCodeCoverage attribute on local functions ignores lambda expression #​1302

Added

-Added InstrumentModulesWithoutLocalSources setting #​1360 by @​TFTomSun

Diff between 3.1.2 and 3.2.0

5.7.2

Fixed
-Fix CoreLib's coverage measurement is broken #​1286
-Fix UnloadModule injection 1291

Diff between 3.1.1 and 3.1.2

5.7.1

Fixed
-Fix wrong branch coverage with EnumeratorCancellation attribute #​1275 -Fix negative coverage exceeding int.MaxValue #​1266
-Fix summary output format for culture de-DE #​1263
-Fix branch coverage issue for finally block with await #​1233
-Fix threshold doesn't work when coverage empty #​1205
-Fix branch coverage issue for il switch #​1177
-Fix branch coverage with using statement and several awaits#​1176
-Fix CopyCoverletDataCollectorFiles to avoid to override user dlls for dotnet publish scenario #​1243

Improvements
-Improve logging in case of exception inside static ctor of NetstandardAwareAssemblyResolver #​1230
-When collecting open the hitfile with read access #​1214 by https://github.com/JamesWTruher
-Add CompilerGenerated attribute to the tracker #​1229

Diff between 3.1.0 and 3.1.1

5.7.0

Fixed
-Fix branch coverage for targetframework net472 #​1167
-Fix F# projects with unkown source #​1145
-Fix SkipAutoProps for inline assigned properties #​1139
-Fix partially covered throw statement #​1144
-Fix coverage threshold not failing when no coverage #​1115
-Fix partially covered await foreach statement #​1107 by https://github.com/alexthornton1
-Fix System.MissingMethodException(TryGetIntArgFromDict) #​1101
-Fix ExcludeFromCodeCoverage on props #​1114
-Fix incorrect branch coverage with await using #​1111 by https://github.com/alexthornton1

Added
-Support deterministic reports #​1113
-Specifying threshold level for each threshold type #​1123 by https://github.com/pbmiguel

Improvements
-Implementation of Npath complexity for the OpenCover reports #​1058 by https://github.com/benjaminZale

Diff between 3.0.3 and 3.1.0

5.6.3

Fixed
-Fix code coverage stops working if assembly contains source generators generated file #​1091

Diff between 3.0.2 and 3.0.3

5.6.2

Fixed
-Fix multi-line lambda coverage regression #​1060
-Opt-in reachability helper to mitigate resolution issue #​1061

Diff between 3.0.1 and 3.0.2

5.6.1

Fixed
-Fix severe loss in coverage #​1043 by https://github.com/daveMueller

5.6.0

Fixed
-Attribute exclusion does not work if attribute name does not end with "Attribute" #​884 by https://github.com/bddckr
-Fix deterministic build+source link bug #​895
-Fix anonymous delegate compiler generate bug #​896
-Fix incorrect branch coverage with await ValueTask #​949 by https://github.com/alexthornton1
-Fix switch pattern coverage #​1006

Added
-Skip autoprops feature #​912
-Exclude code that follows [DoesNotReturn] from code coverage #​904 by https://github.com/kevin-montrose
-CoverletReport MSBuild variable containing coverage filenames #​932 by https://github.com/0xced
-Add Visual Studio Add-In #​954 by https://github.com/FortuneN
-Remove workaround for deterministic build for sdk >= 3.1.100 #​965
-Allow standalone coverlet usage for integration/end-to-end tests using .NET tool driver #​991
-Support .NET Framework(>= net461) for in-process data collectors #​970

5.4.0

Fixed
-Fix for code complexity not being generated for methods for cobertura reporter #​738 by https://github.com/dannyBies
-Fix coverage, skip branches in generated MoveNext() for singleton iterators #​813 by https://github.com/bert2
-Fix 'The process cannot access the file...because it is being used by another process' due to double flush for collectors driver #coverlet-coverage/coverlet#835
-Fix skip [ExcludefromCoverage] for generated async state machine #​849

Added
-Added support for deterministic build for msbuild/collectors driver #​802 #​796 with the help of https://github.com/clairernovotny and https://github.com/tmat

Improvements
-Refactore DependencyInjection #​728 by https://github.com/daveMueller

5.3.1

Fixed
-Fix ExcludeFromCodeCoverage attribute bugs #​129 and #​670 with #​671 by https://github.com/matteoerigozzi
-Fix bug with nested types filtering #​689
-Fix Coverage Issue - New Using + Async/Await + ConfigureAwait #​669
-Improve branch detection for lambda functions and async/await statements #​702 by https://github.com/matteoerigozzi
-Improve coverage, hide compiler generated branches for try/catch blocks inside async state machine #​716 by https://github.com/matteoerigozzi
-Improve coverage, skip lambda cached field #​753

Improvements
-Trim whitespace between values when reading from configuration from runsettings #​679 by https://github.com/EricStG
-Code improvement, flow ILogger to InstrumentationHelper #​727 by https://github.com/daveMueller
-Add support for line branch coverage in OpenCover format #​772 by https://github.com/costin-zaharia

5.3.0

Added
-Add log to tracker #​553
-Exclude by assembly level System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage #​589
-Allow coverlet integration with other MSBuild test strategies#​615 by https://github.com/sharwell

Fixed
-Fix and simplify async coverage #​549
-Improve lambda scenario coverage #​583
-Mitigate issue in case of failure in assembly loading by cecil #​625
-Fix ConfigureAwait state machine generated branches #​634
-Fix coverage overwritten if the project has multiple target frameworks #​636
-Fix cobertura Jenkins reporter + source link support #​614 by https://github.com/daveMueller
-Fix pdb file locking during instrumentation #​656

Improvements
-Improve exception message for unsupported runtime [#​569](https://github.com/tonerdo/ coverlet/pull/569) by https://github.com/daveMueller
-Improve cobertura absolute/relative path report generation #​661 by https://github.com/daveMueller

5.2.0

[Feature][Collectors]Output multiple formats #​533
[Bug fix] Fix exclude by files #​524
[Feature] Skip instrumentation of module with embedded ppbd without local sources #​510 -> with this today xunit will be skipped in automatic way.
[Bug fix] Changed to calculate based on the average coverage of the module #​479
[Bug fix] Fix property attribute detection #​477
[Feature] Different exit codes to indicate particular failures #​412
[Bug fix] Fix instrumentation serialization bug #​458
[Bug fix] Fix culture for cobertura xml report #​464

5.1.1

#​406 downgrades verbosity when hits file isn't found
#​409 Improves Coverage object to remove need to statically pass an instance of it
#​415 Improves validation of hits file existence

5.1.0

#​367 ensures invalid PDBs do not error out instrumentation
#​368 fixes package layout adding support for .NET framework projects
#​375 ensures PDBs exist before trying to restore them and prevents errors for assemblies with embedded PDBs
#​376 makes inclusion of test assembly excluded by default and configurable
#​383 ensures Coverlet restores original assemblies if process exits unexpectedly
#​397 rounds down Coverage result

5.0.0

#​303 fixes strong name validation errors
#​309 adds option to only record a single hit to improve performance
#​318 adds support for covering test files
#​322 reverts using memory mapped files to store hit counts
#​331 fixes open cover reporting errors
#​341 adds logging to Coverlet to improve debugging

4.1.1

#​286 Fixes type loading issues with .NET Framework assemblies
#​291 Adds enhancements to multi-threaded scenarios
#​297 and #​302 Fixes issues with instrumenting System.Private.CoreLib
#​276 switches to using memory mapped files instead of regular files for storing hit information
#​277 Enhances support for async/await branches after coverage merge

4.1.0

  • #​259 adds support for assemblies with embedded PDBs
  • #​260 adds support for using SourceLink provided source file URLs in coverage results
  • #​236 improves matcher when computing excluded source files
  • #​256 fixes TeamCity reporter decimal separator

4.0.0

  • #​244 fixes error in TeamCity reporting
  • #​252 updates version of Mono.Cecil
  • #​233 adds support for specifying custom attributes on types/methods that you'd like to exclude
  • #​253 allows Coverlet to probe for additional assemblies beyond the dependencies of the test assembly

3.2.2

  • #​220 ensure merging doesn't fail if existing results file doesn't exist
  • #​132 adds support for computation of cyclomatic complexity
  • #​227 adds support for TeamCity reporting format

3.2.1

  • #​158 supports branch coverage on asynchronous calls
  • #​204 and #​211 fixes coverage result merging algorithm
  • #​209 Adds specific support for instrumenting System.Private.CoreLib

3.2.0

  • #​172 adds performance enhancements during instrumentation
  • #​181 removes instrumented assemblies' dependency on the coverlet.tracker assembly
  • #​186 adds support for merging results of current run with result from different run

3.1.0

  • 141 adds performance improvements to coverage tracker for multi-threaded scenarios
  • a189fc26ea35b8ad77bd3be2bceac5c2996149a8 replaces Jil with JSON.NET for JSON serialization
  • #​147 adds support for instrumenting constructors
  • 4efea75e7c92e01652eb6c1c465ae1bcf9e56e6b ensures output filenames have extensions if non is specified
  • #​154 makes enumeration based MSBuild properties case insensitive
  • #​164 adds support for specifying include filters
  • #​169 adds slight improvement for coverage tracking performance

Commits viewable in compare view.

Updated Microsoft.NET.Test.Sdk from 16.9.4 to 17.13.0.

Release notes

Sourced from Microsoft.NET.Test.Sdk's releases.

17.13.0

What's Changed

New Contributors

Full Changelog: microsoft/vstest@v17.12.0...v17.13.0

17.12.0

What's Changed

Internal and infrastructure fixes:

Full Changelog: microsoft/vstest@v17.11.1...v17.12.0

17.11.1

What's Changed

Full Changelog: microsoft/vstest@v17.11.0...v17.11.1

17.11.0

What's Changed

New Contributors

Full Changelog: microsoft/vstest@v17.10.0...v17.11.0-release-24352-06

17.11.0-release-24373-02

What's Changed

Full Changelog: microsoft/vstest@v17.11.0-release-24352-06...v17.11.0-release-24373-02

17.11.0-release-24352-06

What's Changed

New Contributors

Full Changelog: microsoft/vstest@v17.10.0...v17.11.0-release-24352-06

17.10.0

What's Changed

And many infrastructure related changes and updates.

New Contributors

Full Changelog: microsoft/vstest@v17.9.0...v17.10.0

17.10.0-release-24177-07

What's Changed

New Contributors

And many infrastructure related changes to migrate our pipelines to common build system.

Full Changelog: microsoft/vstest@v17.10.0-preview-24080-01...v17.10.0-release-24177-07

17.10.0-preview-24080-01

What's Changed

New Contributors

Full Changelog: microsoft/vstest@v17.9.0-preview-23577-04...v17.10.0-preview-24080-01

17.9.0

What's Changed

New Contributors

Full Changelog: microsoft/vstest@v17.8.0...v17.9.0

17.9.0-release-23619-01

What's Changed

Full Changelog: microsoft/vstest@v17.9.0-preview-23577-04...v17.9.0-release-23619-01

17.9.0-preview-23577-04

What's Changed

  • Updated VSSDK.BuildTools version by @​cvpoienaru in #​4765
  • Update dump client to latest by @​nohwnd in #​4724
  • Fix staircase in logger by @​nohwnd in #​4756
  • Create a proper MSBuild ToolTask based VSTestTask by @​nohwnd in #​2702
  • Fix CPU is consumed by polling frequently when there is no subscriber by @​nohwnd, @​cvpoienaru in #​4735
  • Remove javascript in HtmlLogger by @​daveMueller in #​4744
  • Update VSIX metadata by @​nohwnd in #​4550
  • Add platform guard by @​dotMorten in #​4737

Full Changelog: microsoft/vstest@v17.9.0-preview-23531-01...v17.9.0-preview-23577-04

17.9.0-preview-23531-01

What's Changed

Full Changelog: microsoft/vstest@v17.9.0-preview-23503-02...v17.9.0-preview-23531-01

17.9.0-preview-23503-02

What's Changed

  • Remove dependency on Nuget.Frameworks by @​nohwnd in #​4693

Full Changelog: microsoft/vstest@v17.8.0-release-23468-02...v17.9.0-preview-23503-02

17.8.0

What's Changed

Full Changelog: microsoft/vstest@v17.7.2...v17.8.0

17.8.0-release-23468-02

What's Changed

  • Upgrade Newtonsoft.Json from 13.0.1 to 13.0.3 by @​mthalman in #​4681

Full Changelog: microsoft/vstest@v17.8.0-preview-23424-02...v17.8.0-release-23468-02

17.8.0-preview-23424-02

What's Changed

New Contributors

Full Changelog: microsoft/vstest@v17.8.0-preview-23371-04...v17.8.0-preview-23424-02

17.8.0-preview-23371-04

Issues Fixed

  • Take System dlls from testhost folder #​4610
  • Simplify naming in ExecutionTests
  • Fix XmlException when writing Html log with certain test names #​4576

Full Changelog: here

Drops

17.7.2

What's Changed

Full Changelog: microsoft/vstest@v17.7.1...v17.7.2

17.7.1

What's Changed

  • Take System dlls from testhost folder to fix running .NET Framework dlls on mono and under VS on Mac in #​4610 by @​Evangelink
  • Fix hangs in parallel execution and discovery in #​4629 by @​nohwnd
  • Fix executable bitness for testhost.x86 in #​4654 by @​nohwnd

Full Changelog: microsoft/vstest@v17.7.0...v17.7.1

17.7.0

⚠️ Microsoft.TestPlatform 17.7.0 nuget package is hidden from Nuget.org, we've encountered an unexpected issue with versioning which prevents it from being used in all AzDO clients. We are working on a fix.

The most pressing issues were all backported to 17.6.1, 17.6.2 and 17.6.3.

Issues fixed (since 17.6.3)

  • Don't print socket transport error in console by @​nohwnd in #​4493 which fixes #​4461
    When testhost crashes, we no longer print the transport error:

     ---> System.Exception: Unable to read data from the transport connection: 
     		An existing connection was forcibly closed by the remote host..
    

    This error is a side-effect or our architecture is almost never the culprit. Instead it leads developers away from the actual issue which is crash of testhost, or datacollector.

  • Pass workloads to proxy managers in #​4422 by @​nohwnd
    Which allows datacollector users to only receive the sources that are currently running in the testhost associated to datacollector, instead of all the sources that have the same target framework.

  • Fix Newtonsoft versions in testhost.deps.json in #​4367 by @​nohwnd
    testhost.runtimeconfig.json files that we ship with testhost contained an old version of Newtonsoft.Json. The version in this file does not have an effect on execution, but some compliance tools statically analyze it and report possible vulnerabilities.

Other fixes:

  • Replacing calls to BuildMultipleAssemblyPath when passing only one source in acceptance tests in #​4358 by @​daveMueller
  • Check for null Path in #​4391 by @​lewing
  • Remove unused variable in #​4425 by @​mthalman
  • Fix execution gets stucks on single netstandard source by @​nohwnd in #​4497 which fixes #​4392
  • TestObject use ConcurrentDictionary instead of Dictionary in #​4450 by @​Evangelink
  • Drop usage of Microsoft.Internal.TestPlatform.Remote in #​4456 by @​Evangelink

Special thanks to @​SimonCropp for the many fixes regarding nullability spelling and code style in #​4518, #​4520, #​4525, #​4526, #​4521, #​4519, #​4522, #​4529 🙇

Full Changelog: microsoft/vstest@v17.6.3...v17.7.0

Drops

  • Microsoft.TestPlatform.ObjectModel : v17.7.0

17.7.0-preview-23364-03

Issues Fixed

  • Trim away netframework targets in source-build #​4357
  • Re-enable publishing nugets, don't continue on error #​4356
  • Merged PR 30352: arcade into main
  • Merged PR 29591: Onboard to arcade

Full Changelog: here

Drops

17.7.0-preview.23280.1

⚠️ This version of Microsoft.TestPlatform nuget was unlisted on Nuget.org, because it causes issues when running tests in AzureDevOps, when VSTest installer is used, and configured to pick up the latest preview version (#​4544).


What is new since 17.6.0?

Version 17.7.0 was filled with moving our infrastructure to build via Arcade, which brought us a more unified build experience and better cooperation with other teams in dotnet organization.

This migration brought a major change to our versioning of preview packages, which will no longer follow the 17.6.0-preview-20230223-05 (<version>-preview<date>-<build>).

Fixes

When test run aborts we are no longer printing the connection related error:

System.Exception: One or more errors occurred.
 ---> System.Exception: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
 ---> System.Exception: An existing connection was forcibly closed by the remote host.
   at System.Net.Sockets.NetworkStream.Read(Span`1 buffer)

This error is a common source of confusion, and is not actionable for the user. It simply means that testhost crashed, and the testhost error follows after it, or that logs need to be inspected.

When both --blame-hang and --blame-crash are specified on Windows, and hang dump is triggered then stopping ProcDump is subject to a race condition. Stopping ProcDump too early causes testhost to crash and no dump (nor the hang dump or the crash dump) is generated. This release fixes this issue by waiting for crash dump to finish.

Regressions from 17.5.0 causing crashes of TestHost when .NET Standard dlls, or TestPlatform own dlls are provided for run are fixed, and a list of dlls that are known platform dlls are excluded.

Data collectors consuming the dlls that are run are now provided only paths to dlls that the current testhost is running, rather than all dlls that were provided to the run.

Additional fixes

New Contributors

... (truncated)

17.6.3

Issues Fixed

  • [rel/17.6] Update version to 17.6.3 by @​nohwnd in #​4555
  • [rel/17.6] Disable pre-start of testhosts by @​nohwnd in #​4554

Full Changelog: microsoft/vstest@v17.6.2...v17.6.3

Artifacts

  • TestPlatform vsix: 17.6.3
  • Microsoft.TestPlatform.ObjectModel : 17.6.3

17.6.2

Fixes

This patch addresses the problems that were introduced in 17.6.0 that happen when running on AzDo with the default test.dll filter, which includes additional TestPlatform dlls into the run and fails it.

To mitigate this issue we solved the bug in 17.6.1, and added additional exclusions for known assemblies that are coming from TestPlatform and commonly used test adapters, to avoid trying to run tests from those assemblies.

Description and workarounds for this issue are available here: microsoft/vstest#4516

Full Changelog: microsoft/vstest@v17.6.1...v17.6.2

Artifacts
TestPlatform vsix: 17.6.2
Microsoft.TestPlatform.ObjectModel : 17.6.2

17.6.1

Issues Fixed

This is a tiny patch to fixup few latest issues,

Internal updates:

Full Changelog: microsoft/vstest@v17.6.0...v17.6.1

Artifacts

  • TestPlatform vsix: 17.6.1
  • Microsoft.TestPlatform.ObjectModel : 17.6.1

17.6.0

See the release notes here.

17.6.0-preview-20230223-05

See the release notes here.

17.5.0

See the release notes here.

17.5.0-preview-20221221-03

See the release notes here.

17.5.0-preview-20221003-04

See the release notes here.

17.4.1

See the release notes here.

17.4.0

See the release notes here.

17.4.0-preview-20221003-03

See the release notes here.

17.4.0-preview-20220726-02

See the release notes here.

17.4.0-preview-20220707-01

See the release notes here.

17.3.3

See the release notes here.

17.3.2

See the release notes here.

17.3.1

See the release notes here.

17.3.0

See the release notes here.

17.3.0-preview-20220612-01

See the release notes here.

17.3.0-preview-20220530-08

See the release notes here.

17.3.0-preview-20220426-02

See the release notes here.

17.2.1

See the release notes here.

17.2.0

See the release notes here.

17.2.0-preview-20220401-08

See the release notes here.

17.2.0-preview-20220401-07

See the release notes here.

17.2.0-preview-20220301-01

See the release notes here.

17.2.0-preview-20220131-20

See the release notes here.

17.1.0

See the release notes here.

17.1.0-release-20220113-05

See the release notes here.

17.1.0-preview-20211130-02

See the release notes here.

17.1.0-preview-20211109-03

See the release notes here.

17.0.2

See the release notes here.

17.0.0

See the release notes here.

16.11.0

See the release notes here.

16.10.0

See the release notes here.

16.10.0-release-20210429-01

See the release notes here.

16.10.0-release-20210422-02

See the release notes here.

16.10.0-release-20210330-02

See the release notes here.

16.10.0-release-20210329-03

See the release notes here.

16.10.0-preview-20210219-03

See the release notes here.

Commits viewable in compare view.

Updated Swashbuckle.AspNetCore from 5.6.3 to 9.0.0.

Release notes

Sourced from Swashbuckle.AspNetCore's releases.

9.0.0

📣 This release contains the following breaking changes:

  • Drops support for netstandard2.0 and thus .NET Framework - now only net8.0 and net9.0 are supported.
  • Removes all public members annotated as [Obsolete] in previous releases.
  • Removes the deprecated --serializeasv2 option from Swashbuckle.AspNetCore.Cli, which was superseded by --openapiversion from version 8.0.0.

What's Changed

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v8.1.4...v9.0.0

8.1.4

What's Changed

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v8.1.3...v8.1.4

8.1.3

What's Changed

New Contributors

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v8.1.2...v8.1.3

8.1.2

What's Changed

New Contributors

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

8.1.1

What's Changed

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

8.1.0

What's Changed

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

8.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

Description has been truncated

Bumps coverlet.collector from 3.0.2 to 6.0.4
Bumps Microsoft.NET.Test.Sdk from 16.9.4 to 17.13.0
Bumps Swashbuckle.AspNetCore from 5.6.3 to 9.0.0
Bumps xunit from 2.4.1 to 2.9.3
Bumps xunit.runner.visualstudio from 2.4.3 to 2.4.5

---
updated-dependencies:
- dependency-name: coverlet.collector
  dependency-version: 6.0.4
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-version: 17.13.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Swashbuckle.AspNetCore
  dependency-version: 9.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: xunit
  dependency-version: 2.9.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: xunit.runner.visualstudio
  dependency-version: 2.4.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code labels Aug 5, 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