Bump bunit from 1.32.7 to 2.7.2#6
Conversation
|
@dependabot rebase |
--- updated-dependencies: - dependency-name: bunit dependency-version: 2.7.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
bae011a to
1b7a248
Compare
|
Closing Dependabot's automated bump — doing the bunit 1.x → 2.x migration manually as a single PR to handle the breaking API changes (IRenderedComponent shape, ComponentParameter rewrites, etc.) properly in our test code. Will track separately. |
Pull request was closed
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
bunit 2.x breaking changes per https://bunit.dev/docs/migrations/1to2.html: - TestContext renamed to BunitContext - RenderComponent<T>() unified into Render<T>() - IRenderedComponent<T> -> IRenderedComponent (not used here) - ComponentParameter / ComponentParameterFactory removed (not used here) Applied across all 9 bunit-using test files: Components/Layout/SidebarFlyoutTests.cs Components/HomeSections/{HomeIntegrationTests,HomeModuleTilesTests, HomeScanBandTests,HomeDiscoveredCamerasTests,HomeDiscoveredAndroidTests}.cs Components/Shared/Settings/{SettingsSectionTests,SettingsGridTests, SettingsGridCellTests}.cs Plus tests/ControlMenu.Tests/ControlMenu.Tests.csproj bunit ref bump. Closes Dependabot PR #6 (closed manually in favor of this migration PR).
…ing + tag-signing) + scorecard PR trigger (#17) Cross-repo Tier B security parity sweep. svgedit, OAO, ws-scrcpy-web all landed equivalent ruleset tightening in parallel sessions today; this PR brings CM to parity plus a CM-specific Scorecard-as-required-check extra. Ruleset changes (API-only, already applied pre-PR via gh api PUT): - Branch ruleset 16554261: - pull_request.allowed_merge_methods ["merge","squash","rebase"] -> ["squash","merge"] - required_status_checks: added Analyze (csharp), Analyze (javascript-typescript), Analyze (actions) (CodeQL App, integration_id 15368) + Scorecard analysis - Tag ruleset 16554225: added required_signatures - Repo-level: allow_rebase_merge true -> false (UI cleanup; ruleset is the binding gate) scorecard.yml companion changes (in this PR): - Added `pull_request: branches: [master]` trigger so the new required check actually reports on PRs. Without it, every PR would block forever waiting for Scorecard analysis that never runs. - Gated `publish_results: ${{ github.event_name == 'push' }}` — PR runs publish a branch-HEAD SHA not on master, triggering the same OpenSSF webapp "imposter commit" 400 we hit in PR #15 (different cause, same SHA-not-on-commit-graph failure mode). Deferrals documented in CHANGELOG: - Items #6 + #7 (secret-scanning non_provider_patterns + validity_checks) require GHAS license; PATCH calls silently no-op on free tier (confirmed empirically on svgedit). Deferred indefinitely.
Updated bunit from 1.32.7 to 2.7.2.
Release notes
Sourced from bunit's releases.
2.7.2
Fixed
InvokeConstructorAsynconBunitJSRuntimeandBunitJSObjectReferencefor .NET 10+, which previously threwNotImplementedException. Reported by @Floopy-Doo in #1818. Fixed by @linkdotnet.2.6.2
Added
2.5.3
Added
Render(RenderFragment)is preferred via theOverloadResolutionAttribute. Reported by @ScarletKuro in #1800. Fixed by @linkdotnet.FindByTestIdtobunit.web.queryto gather elements by a given test id. By @jimSampica2.4.2
Fixed
InputAsyncandChangeAsyncmethods.2.3.4
Added
Find{TComponent, TElement}andFindAll{TComponent, TElement}to query for specific element types (e.g.,IHtmlInputElement). By @linkdotnet.WaitForElement{TComponent, TElement}andWaitForElements{TComponent, TElement}to wait for specific element types. By @linkdotnet.Fixed
InputAsyncandChangeAsyncto have feature parity with the sync version. Reported by @ScarletKuro. Fixed by @linkdotnet.2.2.2
Added
FindByAllByLabeltobunit.web.querypackage. By @linkdotnet.Fixed
AngleSharp.Diffingto fix a bug related to unknown HTML elements. Reported by @md-at-slashwhy.2.1.1
Changed
AuthenticationStatein the services container rather than as part of the RenderTree. Fixes #1774 reported by @aayjaychan.2.0.66
This major release focuses on platform updates and API simplifications.
For a migration guide, see Upgrading bUnit.
Changed
net10.0) and dropped all versions prior to .NET 8 (net8.0).Added
formattribute. Reported and fixed in #1766.1.40.0
Fixed
1.39.5
Fixed
UriorBaseUriproperty on theFakeNavigationManagerif navigation is prevented by a handler onnet7.0or greater. Reported and fixed by @ayyron-dev in #1647FindComponentsthrows an exception, when a base and derived class was searched for. Reported by @BlueDragon709 in [#1691].1.38.5
Added
1.37.7
Added
RendererInfoandAssignedRenderMode(.net9.0).1.36.0
Added
1.35.3
Added
bunit.generatorsandbunit.web.query) are flagged as stable.1.34.0
Fixed
Microsoft.Extensions.Caching.Memory. Reported by @polajenko. Fixed by @linkdotnet.1.33.3
Added
bunit.generatorsrespect parameters from the base class.net9.0.Fixed
System.Text.Jsondue to CVE in8.0.4.Commits viewable in compare view.