Skip to content

Releases

2.15.2

Choose a tag to compare

@github-actions github-actions released this 10 Nov 18:10
feecd99

Added

  • Support for .NET 11 GA. The net11.0 target now references the final .NET 11 packages and is compiled with runtime async. By @linkdotnet.

Changed

  • The bunit.template now targets net11.0 by default.
  • Updated AngleSharp to 1.10.1 and AngleSharp.Css to 1.4.1.

Fixed

  • The bunit.template option to choose the target framework is now --sdk as documented, instead of --targetSdk. By @linkdotnet.

2.14.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 20:36
066dc80

Changed

  • Updated AngleSharp to 1.10.0 and AngleSharp.Css to 1.4.0.

Fixed

  • Find threw TypeLoadException with AngleSharp 1.10.0 because the generated element wrappers did not implement the new BeforeToggle event. Reported by @ryanbaas83-collab in #1968. Fixed by @linkdotnet.

2.13.3

Choose a tag to compare

@github-actions github-actions released this 25 Oct 17:32
08fc821

Fixed

  • Find threw TypeLoadException with AngleSharp 1.8.6 because HtmlSelectElementWrapper did not implement the new SelectedIndex setter. Reported by @poxet in #1957. Fixed by @linkdotnet.
  • A WaitFor* call whose first check passed left its timeout timer running, which kept the helper, the renderer and everything the renderer holds alive until the timeout elapsed. With a long DefaultWaitTimeout, a test suite could hold every rendered component in memory for its whole run. Fixed by @xaviergxf.

2.12.5

Choose a tag to compare

@github-actions github-actions released this 19 Oct 11:48
522a317

Fixed

  • WrapperBase.WrappedElement could return null and throw NullReferenceException when an element was accessed concurrently with component re-renders. Reported by @psu-prog in #1937. Fixed by @Nacl-HCl.
  • DisposeComponentsAsync() could dispose nothing when the renderer's dispatcher was busy, e.g. with a timer calling InvokeAsync. Reported by @xfunc-tim-schneider in #1939. Fixed by @linkdotnet.
  • Markup generation and FindComponents could recurse until the test host crashed with a stack overflow when a render threw while instantiating a child component. Reported in #1935. Fixed by @linkdotnet.
  • Find() could keep returning DOM nodes from the previous render when a render, e.g. from a timer, happened while the nodes were parsed, causing UnknownEventHandlerIdException. Reported by @xfunc-tim-schneider in #1938. Fixed by @linkdotnet.

2.11.3

Choose a tag to compare

@github-actions github-actions released this 13 Sep 12:28
94f1826

Fixed

  • InvokeOnSpacerBeforeVisible now uses 4 parameters on .NET 11.0. Reported by @vnbaaij in #1915. Fixed by @vnbaaij in #1919.
  • A JSInterop timeout elapsing while a result was set could crash the test host with InvalidOperationException: Nullable object must have a value. Reported by @calebcwells in #1920. Fixed by @linkdotnet.

2.10.3

Choose a tag to compare

@github-actions github-actions released this 08 Sep 08:46
c872f70

Fixed

  • BunitHtmlParser.Dispose() no longer throws InvalidOperationException: Collection was modified when a parse is in flight on another thread during test teardown. Reported by @thimobuchheister in #1892. Fixed by @linkdotnet.

2.9.0

Choose a tag to compare

@github-actions github-actions released this 03 Aug 19:51
76f3168

Changed

  • Update to stable package of AngleSharp.Css

2.8.6

Choose a tag to compare

@github-actions github-actions released this 27 Jul 10:39
7f24fa5

Added

  • New overloads to WaitForHelpers to have async assertions and predicates. Reported by @radmorecameron in #1833. Fixed by @linkdotnet.
  • AddAsset to BunitContext to seed the ResourceAssetCollection exposed via ComponentBase.Assets. Reported by LasseHerget in #1846. Implemented by @linkdotnet.

2.7.2

Choose a tag to compare

@github-actions github-actions released this 31 Mar 13:37
c855b93

Fixed

  • Implemented InvokeConstructorAsync on BunitJSRuntime and BunitJSObjectReference for .NET 10+, which previously threw NotImplementedException. Reported by @Floopy-Doo in #1818. Fixed by @linkdotnet.

2.6.2

Choose a tag to compare

@github-actions github-actions released this 27 Feb 14:41
2395161

Added

  • net11.0 support