Skip to content

Releases: bUnit-dev/bUnit

1.34.0

01 Nov 09:35
a0cfdc8
Compare
Choose a tag to compare

Fixed

  • Fixed other packages that have a CVE like Microsoft.Extensions.Caching.Memory. Reported by @polajenko. Fixed by @linkdotnet.

1.33.3

11 Oct 14:18
a95c4be
Compare
Choose a tag to compare

Added

  • bunit.generators respect parameters from the base class.
  • Supports components using constructor injection in net9.0.

Fixed

  • Use latest System.Text.Json due to CVE in 8.0.4.

1.32.7

04 Oct 17:35
e095b07
Compare
Choose a tag to compare

Fixed

  • Ensure that a check in WaitForAssertion and related methods is always performed at once before the wait timer is started. If not, the timeout could occure before a wait-for check-condition had been attempted, causing tests to fail without reason. Fixed by @egil.

1.31.3

16 Aug 14:54
fa26750
Compare
Choose a tag to compare

Fixed

  • UploadFile should only throw an exception when the file size exceeds the maximum allowed size. Reported by @candritzky. Fixed by @linkdotnet.

1.30.3

21 Jul 17:38
c2ae00e
Compare
Choose a tag to compare

Fixed

  • UploadFile doesn't throw an exception when the file size exceeds the maximum allowed size. Reported by @MorneZaayman in #1503. Fixed by @linkdotnet.

1.29.5

05 Jul 14:12
8c9a911
Compare
Choose a tag to compare

Fixed

  • CI build changes to force running verification on x64 based AMD CPUs.

1.28.9

19 Apr 14:45
f246f7a
Compare
Choose a tag to compare

Fixed

  • bUnit's built-in HTML parser did not correctly parse full HTML documents that included a <!DOCTYPE html> as the first element. Fixed by @egil.
  • @formname directive led to an InvalidOperationException when used on a form element. Reported by @suzu2469 in #1438.
    Fixed by @egil/@linkdotnet.

Changed

  • NavigationManager is again registered as a singleton instead of scoped.

1.27.17

02 Mar 16:35
2aaf01d
Compare
Choose a tag to compare

Added

  • Support for IKeyedServiceProvider in net8.0. Reported by @ViRuSTriNiTy. By @linkdotnet.
  • Support for net9.0. NOTE, there is no commitment as of now to support net9.0 in bUnit v1. However. Support for net9.0 may move to a future v2 release of bUnit and be deprecated in v1. However, allowing bUnit to build and work with net9.0 previews allows our users to keep testing!

Fixed

1.26.64

20 Dec 13:37
2849c0f
Compare
Choose a tag to compare

Changed

  • Upgraded AngleSharp to 1.0.7.

Fixed

  • When the TestContext was disposed, the Blazor Renderer itself didn't dispose components under test. By @linkdotnet.
  • When navigating, the HistoryEntryState on NavigationManager will be populated. By @linkdotnet.

Added

  • New overloads for IRenderedFragmentBase.InvokeAsync that allow retrieving the work item's return value. By @jcparkyn.

1.25.3

14 Nov 21:25
b9db836
Compare
Choose a tag to compare
  • Upgrade all .NET 8 preview dependencies to .NET 8 stable.