Release of v3.0.0-preview.466
Pre-release
Pre-release
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 ofTestCaptureLogger
rather than inherit from it. If your code relied onTestCaptureLogger<T>
inheriting fromTestCaptureLogger
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 fromTestCaptureLogger
. - Add
ITestCaptureLogger
and haveTestCaptureLogger
andTestCaptureLogger<T>
be concrete implementations of the interface so you can reference the interface and not care which concrete implementation you have.
- Potential breaking change:
- #170: Additional xunit extension methods to write out all log messages to the
ITestOutputHelper
.ITestOutputHelper.WriteLogs(ITestCaptureLogger...)
ITestOutputHelper.WriteLogs(TestCaptureLoggerProvider...)
- #171: Add
GetLogs(predicate)
toTestCaptureLogger
andTestCaptureLoggerProvider
. - #184: Add casting between
TestCaptureLogger
andTestCaptureLogger<T>
to compensate forTestCaptureLogger<T>
no longer inheriting fromTestCaptureLogger
TestCaptureLogger<T>
may be implicitly or explicitly cast toTestCaptureLogger
TestCaptureLogger
must be explicitly cast toTestCaptureLogger<T>
. The cast may fail if the category name used by theTestCaptureLogger
does not match the type name ofT
.
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
- .NET 9.0 targets:
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
494 commits in total.
📅 From Saturday, 26 September, 2020 @ 21:26:19 +01:00.
📅 Until Saturday, 23 November, 2024 @ 23:23:05 +00:00.