Skip to content

Releases: martincostello/xunit-logging

v0.7.0

11 Nov 13:20
811c12a

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.7.0

v0.6.0

21 May 09:01
0062198

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.5.1...v0.6.0

v0.5.1

26 Dec 10:38

Choose a tag to compare

What's Changed

Full Changelog: v0.5.0...v0.5.1

v0.5.0

20 Dec 10:39
4a5b9ad

Choose a tag to compare

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

v0.4.0

01 Jun 11:49

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

22 May 18:06
c522f21

Choose a tag to compare

Added

  • Support custom timestamp format in log messages (#311, #313)

Contributors

Full Changelog: v0.2.1...v0.3.0

v0.2.1

15 May 08:17
4c2b65c

Choose a tag to compare

Added

Contributors

Full Changelog: v0.2.0...v0.2.1

MartinCostello.Logging.XUnit v0.2.0

03 Oct 15:10
2e1613a

Choose a tag to compare

MartinCostello.Logging.XUnit v0.2.0

NuGet

Changed

  • Add support for IMessageSink (#246) Thanks @0xced!

Installation

To install the library from NuGet using the .NET SDK run:

dotnet add package MartinCostello.Logging.XUnit --version 0.2.0

Contributors

MartinCostello.Logging.XUnit v0.1.2

12 Jul 17:40
d0cf3ab

Choose a tag to compare

MartinCostello.Logging.XUnit v0.1.2

NuGet

Changed

Installation

To install the library from NuGet using the .NET SDK run:

dotnet add package MartinCostello.Logging.XUnit --version 0.1.2

Contributors

MartinCostello.Logging.XUnit v0.1.1

26 Mar 15:24
0e85efb

Choose a tag to compare

MartinCostello.Logging.XUnit v0.1.1

NuGet

Changed

  • Detect logging of IEnumerable<KeyValuePair<string, object>> scopes. (#214, #215) Thanks @gkinsman!
  • Update to latest recommended NuGet package publishing standards (snpkg symbols, deterministic builds etc.).
  • Update samples to latest recommended usage patterns and .NET 5.0.

Installation

To install the library from NuGet using the .NET SDK run:

dotnet add package MartinCostello.Logging.XUnit --version 0.1.1

Contributors