You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+15-10Lines changed: 15 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,24 +6,27 @@ All notable changes to **bUnit** will be documented in this file. The project ad
6
6
7
7
## [Unreleased]
8
8
9
+
## [1.8.15] - 2022-05-19
10
+
9
11
### Added
10
-
- 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).
12
+
13
+
- 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).
11
14
12
15
### Changed
13
16
14
-
-`Htmlizer` uses `StringBuilder` instead of `List<string>` to reduce allocations and improve render speed. By [@linkdotnet](https://github.com/linkdotnet).
17
+
-`Htmlizer` uses `StringBuilder` instead of `List<string>` to reduce allocations and improve render speed. By [@linkdotnet](https://github.com/linkdotnet).
15
18
16
19
### Fixes
17
20
18
-
-`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.
19
-
20
-
To await the disposal of async services registered in the `TestContext.Services` container, do the following:
21
+
-`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.
21
22
22
-
1. Create a new type that derives from `TestContext` and which implement `IAsyncDisposable`.
23
-
2. In the `DisposeAsync()` method, call `Services.DisposeAsync()`.
24
-
3. Override the `Dispose` and have it only call `Services.Dispose()`.
23
+
To await the disposal of async services registered in the `TestContext.Services` container, do the following:
25
24
26
-
Reported by [@vedion](https://github.com/vedion) and fixed by [@egil](https://github.com/egil).
25
+
1. Create a new type that derives from `TestContext` and which implement `IAsyncDisposable`.
26
+
2. In the `DisposeAsync()` method, call `Services.DisposeAsync()`.
27
+
3. Override the `Dispose` and have it only call `Services.Dispose()`.
28
+
29
+
Reported by [@vedion](https://github.com/vedion) and fixed by [@egil](https://github.com/egil).
27
30
28
31
## [1.7.7] - 2022-04-29
29
32
@@ -1159,7 +1162,9 @@ The latest version of the library is availble on NuGet:
1159
1162
-**Wrongcasingonkeyboardeventdispatchhelpers.**
1160
1163
Thehelpermethodsforthekeyboardeventswasnotprobablycased, sothathasbeenupdated. E.g. from `Keypress(...)` to `KeyPress(...)`.
0 commit comments