Skip to content

Build(deps): Bump bunit from 1.3.30-preview to 1.9.8 in /src#31

Closed
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/nuget/src/dev/bunit-1.9.8
Closed

Build(deps): Bump bunit from 1.3.30-preview to 1.9.8 in /src#31
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/nuget/src/dev/bunit-1.9.8

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 13, 2022

Copy link
Copy Markdown

Bumps bunit from 1.3.30-preview to 1.9.8.

Release notes

Sourced from bunit's releases.

1.9.8

Changed

  • WaitForAssertion method is now marked as an assertion method with the [AssertionMethod] attribute. This makes certain analyzers like SonarSource's Tests should include assertions happy. By @​egil.

Fixes

  • A race condition existed between WaitForState / WaitForAssertion and FindComponents, if the first used the latter. Reported by @​rmihael, @​SviatoslavK, and @​RaphaelMarcouxCTRL. Fixed by @​egil and @​linkdotnet.

  • Triggering of event handlers now runs entirely inside the renderers synchronization context, avoiding race condition between elements in the DOM tree being updated by the renderer and the event triggering logic traversing the DOM tree to find event handlers to trigger. Reported by @​FlukeFan. Fixed by @​egil.

1.8.15

Added

Changed

  • Htmlizer uses StringBuilder instead of List<string> to reduce allocations and improve render speed. By @​linkdotnet.

Fixes

  • TestServiceProvider now implements IAsyncDisposable. This means TestContext.Dispose() now calls the async disposable method as well as the non-async version on the service provider. It does however not block or await the task returned, since that can lead to deadlocks.

    To await the disposal of async services registered in the TestContext.Services container, do the following:

    1. Create a new type that derives from TestContext and which implement IAsyncDisposable.
    2. In the DisposeAsync() method, call Services.DisposeAsync().
    3. Override the Dispose and have it only call Services.Dispose().

    Reported by @​vedion and fixed by @​egil.

1.7.7

Added

  • Added method SetAuthenticationType to TestAuthorizationContext to allow for custom authentication type checks. By @​TimPurdum.

  • Added DisposeComponents to TestContextBase. It will dispose and remove all components rendered by the TestContextBase. By @​linkdotnet.

  • Added .NET 7 as a target framework for bUnit. By @​linkdotnet.

Fixed

  • Fixed step by step guide for building and viewing the documentation locally. By @​linkdotnet.

  • FakeNavigationManager.NavigateTo could lead to exceptions when navigating to external url's. Reported by (@​TDroogers)[https://github.com/TDroogers]. Fixed by @​linkdotnet.

1.6.4

A quick minor release that primiarily fixes a regression in 1.5.12.

Fixed

... (truncated)

Changelog

Sourced from bunit's changelog.

[1.9.8] - 2022-06-07

Changed

  • WaitForAssertion method is now marked as an assertion method with the [AssertionMethod] attribute. This makes certain analyzers like SonarSource's Tests should include assertions happy. By @​egil.

Fixes

  • A race condition existed between WaitForState / WaitForAssertion and FindComponents, if the first used the latter. Reported by @​rmihael, @​SviatoslavK, and @​RaphaelMarcouxCTRL. Fixed by @​egil and @​linkdotnet.

  • Triggering of event handlers now runs entirely inside the renderers synchronization context, avoiding race condition between elements in the DOM tree being updated by the renderer and the event triggering logic traversing the DOM tree to find event handlers to trigger. Reported by @​FlukeFan. Fixed by @​egil.

[1.8.15] - 2022-05-19

Added

Changed

  • Htmlizer uses StringBuilder instead of List<string> to reduce allocations and improve render speed. By @​linkdotnet.

Fixes

  • TestServiceProvider now implements IAsyncDisposable. This means TestContext.Dispose() now calls the async disposable method as well as the non-async version on the service provider. It does however not block or await the task returned, since that can lead to deadlocks.

    To await the disposal of async services registered in the TestContext.Services container, do the following:

    1. Create a new type that derives from TestContext and which implement IAsyncDisposable.
    2. In the DisposeAsync() method, call Services.DisposeAsync().
    3. Override the Dispose and have it only call Services.Dispose().

    Reported by @​vedion and fixed by @​egil.

[1.7.7] - 2022-04-29

Added

  • Added method SetAuthenticationType to TestAuthorizationContext to allow for custom authentication type checks. By @​TimPurdum.

  • Added DisposeComponents to TestContextBase. It will dispose and remove all components rendered by the TestContextBase. By @​linkdotnet.

  • Added .NET 7 as a target framework for bUnit. By @​linkdotnet.

Fixed

  • Fixed step by step guide for building and viewing the documentation locally. By @​linkdotnet.

  • FakeNavigationManager.NavigateTo could lead to exceptions when navigating to external url's. Reported by @​TDroogers. Fixed by @​linkdotnet.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [bunit](https://github.com/bUnit-dev/bUnit) from 1.3.30-preview to 1.9.8.
- [Release notes](https://github.com/bUnit-dev/bUnit/releases)
- [Changelog](https://github.com/bUnit-dev/bUnit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bUnit-dev/bUnit/commits/v1.9.8)

---
updated-dependencies:
- dependency-name: bunit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 13, 2022
@dependabot @github

dependabot Bot commented on behalf of github Sep 19, 2022

Copy link
Copy Markdown
Author

Superseded by #37.

@dependabot dependabot Bot closed this Sep 19, 2022
@dependabot dependabot Bot deleted the dependabot/nuget/src/dev/bunit-1.9.8 branch September 19, 2022 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants