Skip to content

v0.5.0

Latest
Compare
Choose a tag to compare
@costellobot costellobot released this 20 Dec 10:39
· 1 commit to main since this release
4a5b9ad

Add support for xunit v3 🆕✨

Xunit v3 contains many major architectural changes which means the same package that supports logging for xunit v2 cannot be used with xunit v3.

The equivalent NuGet package to support logging for xunit v3 is the new MartinCostello.Logging.XUnit.v3 package.

To migrate usage of MartinCostello.Logging.XUnit to MartinCostello.Logging.XUnit.v3 for xunit v3:

  1. Follow the relevant steps to migrate any test projects from xunit v2 to v3. The most relevant change in xunit v3 for this library is that the ITestOutputHelper type has moved from the Xunit.Abstractions namespace to Xunit.

  2. Change any package references from MartinCostello.Logging.XUnit to MartinCostello.Logging.XUnit.v3.

    - <PackageReference Include="MartinCostello.Logging.XUnit" Version="0.5.0" />
    + <PackageReference Include="MartinCostello.Logging.XUnit.v3" Version="0.5.0" />

Support for xunit v2 continues with the existing MartinCostello.Logging.XUnit package.

What's Changed

Full Changelog: v0.4.0...v0.5.0