Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump bunit from 1.23.9 to 1.24.10 in /src #2619

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 26, 2023

Bumps bunit from 1.23.9 to 1.24.10.

Release notes

Sourced from bunit's releases.

1.24.10

Fixed

  • When the TestContext was disposed, it disposed of all services via the service provider. However, if there were ongoing renders happening, this could cause inconsistent state in the render tree, since the TestRenderer could try to access the service provider to instantiate components.
    This release changes the dispose phase such that the renderer gets disposed first, then the service provider. The disposal of any services that implement IAsyncDisposable is now also awaited. Fixed by @​egil and @​linkdotnet. Reported by @​BenSchoen in bUnit-dev/bUnit#1227.

Added

  • Support for custom service provider factories (IServiceProviderFactory<TContainerBuilder>). This enables the use of Autofac and other frameworks for dependency injection like on real-world ASP.NET Core / Blazor projects. By @​inf9144.

  • Ability to raise the oncancel and onclose event, that was introduced with .NET 8.

Changelog

Sourced from bunit's changelog.

[1.24.10] - 2023-10-14

Fixed

  • When the TestContext was disposed, it disposed of all services via the service provider. However, if there were ongoing renders happening, this could cause inconsistent state in the render tree, since the TestRenderer could try to access the service provider to instantiate components.
    This release changes the dispose phase such that the renderer gets disposed first, then the service provider. The disposal of any services that implement IAsyncDisposable is now also awaited. Fixed by @​egil and @​linkdotnet. Reported by @​BenSchoen in bUnit-dev/bUnit#1227.

Added

  • Support for custom service provider factories (IServiceProviderFactory<TContainerBuilder>). This enables the use of Autofac and other frameworks for dependency injection like on real-world ASP.NET Core / Blazor projects. By @​inf9144.

  • Ability to raise the oncancel and onclose event, that was introduced with .NET 8.

Commits
  • 83ef62f Updated CHANGELOG.md for 1.24.10 release
  • 2891c81 Merge pull request #1240 from bUnit-dev/release/v1.24
  • 9da72c5 Set version to '1.24'
  • 8c579d3 docs: add warning about single not being threadsafe
  • 326eb2d ci: always push preview releases to nuget.org
  • 5a6f8b5 fix: upgrade xunit to 2.5.2
  • 311e2c8 chore: remove old anglesharpwrappers.tests project
  • 2afd487 feat: Trigger OnCancel and OnClose event on dialog
  • c37455b docs: fix code sample references
  • be17d1f fix: copy MemberNotNull attribute internally for use with NETSTANDARD2.1 code
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@dependabot dependabot bot requested a review from a team as a code owner October 26, 2023 13:32
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Oct 26, 2023
@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

see 7 files with indirect coverage changes

📢 Thoughts on this report? Let us know!.

@dependabot dependabot bot force-pushed the dependabot/nuget/src/bunit-1.24.10 branch from 2aa0ea6 to 4b2ace6 Compare October 26, 2023 15:55
@hocinehacherouf hocinehacherouf enabled auto-merge (rebase) October 26, 2023 15:55
Bumps [bunit](https://github.com/bUnit-dev/bUnit) from 1.23.9 to 1.24.10.
- [Release notes](https://github.com/bUnit-dev/bUnit/releases)
- [Changelog](https://github.com/bUnit-dev/bUnit/blob/main/CHANGELOG.md)
- [Commits](bUnit-dev/bUnit@v1.23.9...v1.24.10)

---
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 force-pushed the dependabot/nuget/src/bunit-1.24.10 branch from 4b2ace6 to a4e6453 Compare October 26, 2023 16:18
@hocinehacherouf hocinehacherouf merged commit e4a0d89 into main Oct 26, 2023
5 checks passed
@hocinehacherouf hocinehacherouf deleted the dependabot/nuget/src/bunit-1.24.10 branch October 26, 2023 16:24
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 .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant