Skip to content

Releases: bUnit-dev/bUnit

1.22.19

Choose a tag to compare

@github-actions github-actions released this 28 Jul 15:07
8761655

Added

  • Update bunit templates to support the target framework version of the project. By @linkdotnet.

Fixed

  • Calling MarkupMatches(RenderFragment) from a lambda passed to e.g. WaitForAssertion could lead to a deadlock in certain circumstances. Fixed by @linkdotnet. Reported by @uecasm in #1143.

  • Rendering complex component hierarchies could result in a stack overflow. Fixed by @egil.. Reported by @groogiam in #1064.

  • Remove capturing and dispatching markup updates to test frameworks synchronization context again. This could cause deadlocks and does not have any impact on test stability. Fixed by @egil. Reported by @biohazard999 in #1144.

1.21.9

Choose a tag to compare

@github-actions github-actions released this 02 Jul 16:07
cb0a4cb

Fixed

  • Allow using 3rd party IComponentActivator at the same time as component factories. By @egil. Reported by BenSchoen in #1129.

  • Calling IRenderedComponent.Render() or IRenderedComponent.SetParametersAndRender() did not batch up multiple synchronous re-renders after setting parameters. This is now changed such that the method causes the component to re-render with new parameters in the same way as if a parent component had passed new parameters to it. By @egil. Reported by @Jcparkyn in #1119.

1.20.8

Choose a tag to compare

@github-actions github-actions released this 21 May 10:54
7a69073

Added

  • Added static DefaultWaitTimeout property to TestContext to enable overriding the default timeout of "wait for" methods like WaitForAssertion from 1 second to something else. By @egil.

Fixed

  • TestRenderer throws ObjectDisposedException if any methods is accessed after it has been disposed. It will also prevent changes to the internal render tree after it has been disposed. By @egil.

1.19.14

Choose a tag to compare

@github-actions github-actions released this 26 Apr 17:49
dd0cee4

Fixed

  • Custom elements with attributes throw ArgumentException with MarkupMatches. Reported by @candritzky. Fixed by @linkdotnet.

Changed

  • Changed test renderer such that updates to rendered components markup happen in the same synchronization context as the test framework is using (if any), if any, to avoid memory race conditions. By @egil.

1.18.4

Choose a tag to compare

@github-actions github-actions released this 26 Feb 08:24
1704137

Fixed

  • Some characters where not properly escaped. Reported by @pwhe23. Fixed by @linkdotnet.
  • Clicking a submit button or submit input element inside a form, submits the form, if the submit button or submit input element does not have the @onclick:preventDefault attribute set. Reported by @linkdotnet. Fixed by @egil.

1.17.2

Choose a tag to compare

@github-actions github-actions released this 22 Feb 08:20
997a71a
  • Submit buttons and input fields now no longer cause a form submit when they have the @onclick:preventDefault attribute. By @JelleHissink.

1.16.2

Choose a tag to compare

@github-actions github-actions released this 07 Feb 21:53
33f9c2d
  • Changed semantic comparer to handle elements parsed outside their proper context, e.g. an <path> element parsed without being inside a <svg> element. The semantic comparer will now be able to treat those as regular elements and thus be able to compare correctly to other elements of the same type and with the same node name. By @egil.

1.15.5

Choose a tag to compare

@github-actions github-actions released this 04 Feb 16:55
1c969be
  • Upgrade AngleSharp.Diffing to 0.17.1

1.14.4

Choose a tag to compare

@github-actions github-actions released this 11 Jan 20:35
77da254

Added

  • Added IMemoryCache by default to the Services container. By @linkdotnet.

Fixed

  • Added support in FakeNavigationManager to handle umlauts.
  • Fixed a bug where attribute values did not get escaped. Reported by @brettwinters. Fixed by @linkdotnet.

1.13.5

Choose a tag to compare

@github-actions github-actions released this 16 Dec 08:05
f145a90

This release contains a bunch of small tweaks and fixes.