From 604c96f80b18b1583431587d7f2ac5465f4c3d1c Mon Sep 17 00:00:00 2001 From: bUnit bot Date: Thu, 19 May 2022 20:30:36 +0000 Subject: [PATCH] Updated CHANGELOG.md for 1.8.15 release --- CHANGELOG.md | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dbea0c91e..812e2bce5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,24 +6,27 @@ All notable changes to **bUnit** will be documented in this file. The project ad ## [Unreleased] +## [1.8.15] - 2022-05-19 + ### Added - - Added test helpers that make it much easier to pass files to the `InputFile` component. Learn more [in the documentation](https://bunit.dev/docs/test-doubles/input-file). By [@egil](https://github.com/egil) and [@linkdotnet](https://github.com/linkdotnet). + +- Added test helpers that make it much easier to pass files to the `InputFile` component. Learn more [in the documentation](https://bunit.dev/docs/test-doubles/input-file). By [@egil](https://github.com/egil) and [@linkdotnet](https://github.com/linkdotnet). ### Changed -- `Htmlizer` uses `StringBuilder` instead of `List` to reduce allocations and improve render speed. By [@linkdotnet](https://github.com/linkdotnet). +- `Htmlizer` uses `StringBuilder` instead of `List` to reduce allocations and improve render speed. By [@linkdotnet](https://github.com/linkdotnet). ### Fixes -- `TestServiceProvider` now implements `IAsyncDisposable`. This means `TestContext.Dispose()` now calls the async disposable method as well as the non-async version on the service provider. It does however not block or await the task returned, since that can lead to deadlocks. - - To await the disposal of async services registered in the `TestContext.Services` container, do the following: +- `TestServiceProvider` now implements `IAsyncDisposable`. This means `TestContext.Dispose()` now calls the async disposable method as well as the non-async version on the service provider. It does however not block or await the task returned, since that can lead to deadlocks. - 1. Create a new type that derives from `TestContext` and which implement `IAsyncDisposable`. - 2. In the `DisposeAsync()` method, call `Services.DisposeAsync()`. - 3. Override the `Dispose` and have it only call `Services.Dispose()`. + To await the disposal of async services registered in the `TestContext.Services` container, do the following: - Reported by [@vedion](https://github.com/vedion) and fixed by [@egil](https://github.com/egil). + 1. Create a new type that derives from `TestContext` and which implement `IAsyncDisposable`. + 2. In the `DisposeAsync()` method, call `Services.DisposeAsync()`. + 3. Override the `Dispose` and have it only call `Services.Dispose()`. + + Reported by [@vedion](https://github.com/vedion) and fixed by [@egil](https://github.com/egil). ## [1.7.7] - 2022-04-29 @@ -1159,7 +1162,9 @@ The latest version of the library is availble on NuGet: - **Wrong casing on keyboard event dispatch helpers.** The helper methods for the keyboard events was not probably cased, so that has been updated. E.g. from `Keypress(...)` to `KeyPress(...)`. -[Unreleased]: https://github.com/bUnit-dev/bUnit/compare/v1.7.7...HEAD +[Unreleased]: https://github.com/bUnit-dev/bUnit/compare/v1.8.15...HEAD + +[1.8.15]: https://github.com/bUnit-dev/bUnit/compare/v1.7.7...v1.8.15 [1.7.7]: https://github.com/bUnit-dev/bUnit/compare/v1.6.4...v1.7.7