Releases: bUnit-dev/bUnit
Releases · bUnit-dev/bUnit
Release list
2.8.6
Added
- New overloads to WaitForHelpers to have async assertions and predicates. Reported by @radmorecameron in #1833. Fixed by @linkdotnet.
AddAssettoBunitContextto seed theResourceAssetCollectionexposed viaComponentBase.Assets. Reported by LasseHerget in #1846. Implemented by @linkdotnet.
2.7.2
Fixed
- Implemented
InvokeConstructorAsynconBunitJSRuntimeandBunitJSObjectReferencefor .NET 10+, which previously threwNotImplementedException. Reported by @Floopy-Doo in #1818. Fixed by @linkdotnet.
2.6.2
2.5.3
Added
Render(RenderFragment)is preferred via theOverloadResolutionAttribute. Reported by @ScarletKuro in #1800. Fixed by @linkdotnet.FindByTestIdtobunit.web.queryto gather elements by a given test id. By @jimSampica
2.4.2
Fixed
- Use proper return typed for
InputAsyncandChangeAsyncmethods.
2.3.4
Added
- Added generic overloads
Find{TComponent, TElement}andFindAll{TComponent, TElement}to query for specific element types (e.g.,IHtmlInputElement). By @linkdotnet. - Added generic overloads
WaitForElement{TComponent, TElement}andWaitForElements{TComponent, TElement}to wait for specific element types. By @linkdotnet.
Fixed
- Adding convenient overloads for
InputAsyncandChangeAsyncto have feature parity with the sync version. Reported by @ScarletKuro. Fixed by @linkdotnet.
2.2.2
Added
- Added
FindByAllByLabeltobunit.web.querypackage. By @linkdotnet.
Fixed
- Updated
AngleSharp.Diffingto fix a bug related to unknown HTML elements. Reported by @md-at-slashwhy.
2.1.1
Changed
- Registering
AuthenticationStatein the services container rather than as part of the RenderTree. Fixes #1774 reported by @aayjaychan.
2.0.66
This major release focuses on platform updates and API simplifications.
For a migration guide, see Upgrading bUnit.
Changed
- Target framework support updated: added support for .NET 10 (
net10.0) and dropped all versions prior to .NET 8 (net8.0). - Cleanup of the API with simplifications of many API calls and methods. This also includes renaming of some objects to better reflect their purpose.
Added
- Support for form submission from submit buttons and inputs that are outside the form element but associated via the HTML5
formattribute. Reported and fixed in #1766. - Improved renderer logic that catches more edge cases.
- Improved developer experience in relation to JSInterop.
1.40.0
Fixed
- Aligned Microsoft packages to their TFM version