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
+35-31Lines changed: 35 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,41 +6,43 @@ All notable changes to **bUnit** will be documented in this file. The project ad
6
6
7
7
## [Unreleased]
8
8
9
+
## [1.10.14] - 2022-09-16
10
+
9
11
### Added
10
12
11
-
- Added new test double `FakeWebAssemblyHostEnvironment` that implements `IWebAssemblyHostEnvironment`. By [@KristofferStrube](https://github.com/KristofferStrube).
12
-
13
-
- Added `Bind` method to parameter builder that makes it easier to emulate the `@bind-Value` syntax in C#-based tests.
14
-
15
-
When writing tests in razor files, the `@bind-` directive can be directly applied like this:
16
-
17
-
```razor
18
-
<MyComponent @bind-Value="myParam"></MyComponent>
19
-
```
20
-
21
-
The same expression in C# syntax is more verbose like this:
22
-
23
-
```csharp
24
-
RenderComponent<MyComponent>(ps=>ps
25
-
.Add(c=>c.Value, value)
26
-
.Add(c=>c.ValueChanged, newValue=>value=newValue)
27
-
.Add(c=>c.ValueExpression, () =>value));
28
-
```
29
-
30
-
With the new `Bind` method this can be done in one method:
By [@linkdotnet](https://github.com/linkdotnet) and [@egil](https://github.com/egil).
38
-
39
-
- Added support for `NavigationLock`, which allows user code to intercept and prevent navigation. By [@linkdotnet](https://github.com/linkdotnet) and [@egil](https://github.com/egil).
13
+
-Added new test double `FakeWebAssemblyHostEnvironment` that implements `IWebAssemblyHostEnvironment`. By [@KristofferStrube](https://github.com/KristofferStrube).
14
+
15
+
-Added `Bind` method to parameter builder that makes it easier to emulate the `@bind-Value` syntax in C#-based tests.
16
+
17
+
When writing tests in razor files, the `@bind-` directive can be directly applied like this:
18
+
19
+
```razor
20
+
<MyComponent @bind-Value="myParam"></MyComponent>
21
+
```
22
+
23
+
The same expression in C# syntax is more verbose like this:
24
+
25
+
```csharp
26
+
RenderComponent<MyComponent>(ps => ps
27
+
.Add(c => c.Value, value)
28
+
.Add(c => c.ValueChanged, newValue => value = newValue)
29
+
.Add(c => c.ValueExpression, () => value));
30
+
```
31
+
32
+
With the new `Bind` method this can be done in one method:
By [@linkdotnet](https://github.com/linkdotnet) and [@egil](https://github.com/egil).
40
+
41
+
- Added support for `NavigationLock`, which allows user code to intercept and prevent navigation. By [@linkdotnet](https://github.com/linkdotnet) and [@egil](https://github.com/egil).
40
42
41
43
### Fixed
42
44
43
-
-`JSInterop.VerifyInvoke` reported the wrong number of actual invocations of a given identifier. Reported by [@otori](https://github.com/otori). Fixed by [@linkdotnet](https://github.com/linkdotnet).
45
+
- `JSInterop.VerifyInvoke` reported the wrong number of actual invocations of a given identifier. Reported by [@otori](https://github.com/otori). Fixed by [@linkdotnet](https://github.com/linkdotnet).
44
46
45
47
## [1.9.8] - 2022-06-07
46
48
@@ -1210,7 +1212,9 @@ The latest version of the library is availble on NuGet:
1210
1212
- **Wrong casing on keyboard event dispatch helpers.**
1211
1213
The helper methods for the keyboard events was not probably cased, so that has been updated. E.g. from `Keypress(...)` to `KeyPress(...)`.
0 commit comments