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
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,21 @@ All notable changes to **bUnit** will be documented in this file. The project ad
6
6
7
7
## [Unreleased]
8
8
9
+
This major release focuses on platform updates and API simplifications.
10
+
11
+
For a migration guide, see [Upgrading bUnit](https://bunit.dev/docs/migrations/index.html).
12
+
13
+
### Changed
14
+
15
+
- Target framework support updated: added support for .NET 10 (`net10.0`) and dropped all versions prior to .NET 8 (`net8.0`).
16
+
- Cleanup of the API with simplifications of many API calls and methods. This also includes renaming of some objects to better reflect their purpose.
17
+
18
+
### Added
19
+
20
+
- Support for form submission from submit buttons and inputs that are outside the form element but associated via the HTML5 `form` attribute. Reported and fixed in [#1766](https://github.com/bUnit-dev/bUnit/issues/1766).
21
+
- Improved renderer logic that catches more edge cases.
22
+
- Improved developer experience in relation to JSInterop.
23
+
9
24
## [1.40.0] - 2025-06-14
10
25
11
26
### Fixed
@@ -85,6 +100,10 @@ All notable changes to **bUnit** will be documented in this file. The project ad
85
100
86
101
- CI build changes to force running verification on x64 based AMD CPUs.
87
102
103
+
### Added
104
+
105
+
- New overloads for `ComponentParameterCollectionBuilder.Add` that allow passing arguments for asynchronous callback parameters. Reported by [springy76](https://github.com/springy76). By [@Qwertyluk](https://github.com/Qwertyluk).
106
+
88
107
## [1.28.9] - 2024-04-19
89
108
90
109
### Fixed
@@ -743,7 +762,7 @@ List of new features.
743
762
744
763
- Added `Render(RenderFragment)` and `Render<TComponent>(RenderFragment)` methods to `TestContext`, as well as various overloads to the `MarkupMatches` methods, that also takes a `RenderFragment` as the expected value.
745
764
746
-
The difference between the generic `Render` method and the non-generic one is that the generic returns an `IRenderedComponent<TComponent>`, whereas the non-generic one returns a `IRenderedFragment`.
765
+
The difference between the generic `Render` method and the non-generic one is that the generic returns an `IRenderedComponent<TComponent>`, whereas the non-generic one returns a `RenderedFragment`.
747
766
748
767
Calling `Render<TComponent>(RenderFragent)` is equivalent to calling `Render(RenderFragment).FindComponent<TComponent>()`, e.g. it returns the first component in the render tree of type `TComponent`. This is different from the `RenderComponent<TComponent>()` method, where `TComponent` _is_ the root component of the render tree.
0 commit comments