Skip to content

Commit 8c9a911

Browse files
committed
Updated CHANGELOG.md for 1.29.5 release
1 parent a2fecf0 commit 8c9a911

File tree

1 file changed

+30
-27
lines changed

1 file changed

+30
-27
lines changed

CHANGELOG.md

+30-27
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ All notable changes to **bUnit** will be documented in this file. The project ad
66

77
## [Unreleased]
88

9+
## [1.29.5] - 2024-07-05
10+
911
### Fixed
1012

1113
- CI build changes to force running verification on x64 based AMD CPUs.
@@ -521,32 +523,32 @@ List of now removed features.
521523
1. Add the following packages to your test project: `Serilog`, `Serilog.Extensions.Logging`, and `Serilog.Sinks.XUnit`.
522524
2. Add the following class/extension method to your test project (which replicates the signature of the removed `AddXunitLogger` method):
523525
524-
```csharp
525-
using Microsoft.Extensions.DependencyInjection;
526-
using Microsoft.Extensions.Logging;
527-
using Serilog;
528-
using Serilog.Events;
529-
using Xunit.Abstractions;
530-
531-
namespace Bunit
532-
{
533-
public static class ServiceCollectionLoggingExtensions
534-
{
535-
public static IServiceCollection AddXunitLogger(this IServiceCollection services, ITestOutputHelper outputHelper)
536-
{
537-
var serilogLogger = new LoggerConfiguration()
538-
.MinimumLevel.Verbose()
539-
.WriteTo.TestOutput(outputHelper, LogEventLevel.Verbose)
540-
.CreateLogger();
541-
542-
services.AddSingleton<ILoggerFactory>(new LoggerFactory().AddSerilog(serilogLogger, dispose: true));
543-
services.AddSingleton(typeof(ILogger<>), typeof(Logger<>));
544-
545-
return services;
546-
}
547-
}
548-
}
549-
```
526+
```csharp
527+
using Microsoft.Extensions.DependencyInjection;
528+
using Microsoft.Extensions.Logging;
529+
using Serilog;
530+
using Serilog.Events;
531+
using Xunit.Abstractions;
532+
533+
namespace Bunit
534+
{
535+
public static class ServiceCollectionLoggingExtensions
536+
{
537+
public static IServiceCollection AddXunitLogger(this IServiceCollection services, ITestOutputHelper outputHelper)
538+
{
539+
var serilogLogger = new LoggerConfiguration()
540+
.MinimumLevel.Verbose()
541+
.WriteTo.TestOutput(outputHelper, LogEventLevel.Verbose)
542+
.CreateLogger();
543+
544+
services.AddSingleton<ILoggerFactory>(new LoggerFactory().AddSerilog(serilogLogger, dispose: true));
545+
services.AddSingleton(typeof(ILogger<>), typeof(Logger<>));
546+
547+
return services;
548+
}
549+
}
550+
}
551+
```
550552
551553
- The `bunit.xunit` package has been removed, since it is no longer needed (there is no code left in it).
552554
@@ -1374,7 +1376,8 @@ The latest version of the library is availble on NuGet:
13741376
- **Wrong casing on keyboard event dispatch helpers.**
13751377
The helper methods for the keyboard events was not probably cased, so that has been updated. E.g. from `Keypress(...)` to `KeyPress(...)`.
13761378

1377-
[unreleased]: https://github.com/bUnit-dev/bUnit/compare/v1.28.9...HEAD
1379+
[unreleased]: https://github.com/bUnit-dev/bUnit/compare/v1.29.5...HEAD
1380+
[1.29.5]: https://github.com/bUnit-dev/bUnit/compare/v1.28.9...1.29.5
13781381
[1.28.9]: https://github.com/bUnit-dev/bUnit/compare/v1.27.17...v1.28.9
13791382
[1.27.17]: https://github.com/bUnit-dev/bUnit/compare/v1.26.64...1.27.17
13801383
[1.26.64]: https://github.com/bUnit-dev/bUnit/compare/v1.25.3...v1.26.64

0 commit comments

Comments
 (0)