Skip to content

Release of v3.0.0-preview.466

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Nov 23:27
478e3e0

Release Notes

Version 3.0.0

Date: Saturday, 23 November, 2024 at 23:24:08 +00:00

Breaking Changes

  • Feature #123 changes the TestCaptureLogger<T> class to encapsulate an instance of TestCaptureLogger rather than inherit from it. If your code relied on TestCaptureLogger<T> inheriting from TestCaptureLogger then it will likely break, however an implicit and explicit cast operators were added to mitigate this issue.
  • Feature #172 drops support for .NET 7.0. Use .NET 6.0 LTS, .NET 8.0 LTS or .NET 9.0 STS.

Features

  • #123: TestCaptureLoggerProvider.CreateLogger<T>()
    • Potential breaking change: TestCaptureLogger<T> no longer inherits from TestCaptureLogger.
    • Add ITestCaptureLogger and have TestCaptureLogger and TestCaptureLogger<T> be concrete implementations of the interface so you can reference the interface and not care which concrete implementation you have.
  • #170: Additional xunit extension methods to write out all log messages to the ITestOutputHelper.
    • ITestOutputHelper.WriteLogs(ITestCaptureLogger...)
    • ITestOutputHelper.WriteLogs(TestCaptureLoggerProvider...)
  • #171: Add GetLogs(predicate) to TestCaptureLogger and TestCaptureLoggerProvider.
  • #184: Add casting between TestCaptureLogger and TestCaptureLogger<T> to compensate for TestCaptureLogger<T> no longer inheriting from TestCaptureLogger
    • TestCaptureLogger<T> may be implicitly or explicitly cast to TestCaptureLogger
    • TestCaptureLogger must be explicitly cast to TestCaptureLogger<T>. The cast may fail if the category name used by the TestCaptureLogger does not match the type name of T.

Miscellaneous

  • #36: Add package readme.
  • #164: Update pipeline.
  • #172: Drop support and package targeting for .NET 7.0.
  • #179: Update github pages pipeline.
  • #181: Add support for .NET 9.0.
  • #183: Update github action workflow to separate the build and deploy stages.

Dependencies

  • #166, #172 & #181 Update package references:
    • .NET 9.0 targets:
      • Added
    • .NET 8.0 targets:
      • Bump Microsoft.Extensions.Logging.Abstractions to 8.0.2
    • .NET 7.0 targets:
      • Dropped

Contributors

This is a list of all the contributors to this repository in ascending order by the contributor name.

Colin Mackay contributed 407 commits from Saturday, 26 September, 2020 @ 21:26:19 +01:00 to Saturday, 23 November, 2024 @ 23:23:05 +00:00.

dependabot[bot] contributed 59 commits from Wednesday, 14 October, 2020 @ 20:13:43 +01:00 to Monday, 26 February, 2024 @ 14:54:09 +00:00.

StravaigBot contributed 28 commits from Monday, 14 December, 2020 @ 19:28:09 +00:00 to Tuesday, 27 February, 2024 @ 21:50:14 +00:00.

Summary

:octocat: 494 commits in total.

📅 From Saturday, 26 September, 2020 @ 21:26:19 +01:00.

📅 Until Saturday, 23 November, 2024 @ 23:23:05 +00:00.