Skip to content

FluxorInBlazor: retarget net10.0, pin Fluxor.Blazor.Web 6.11.0, clear two transitive advisories - #2137

Open
vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/108994-fluxor-for-state-management-in-blazor
Open

FluxorInBlazor: retarget net10.0, pin Fluxor.Blazor.Web 6.11.0, clear two transitive advisories#2137
vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/108994-fluxor-for-state-management-in-blazor

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Retargets blazor-libraries/FluxorInBlazor to net10.0 and brings its packages current, alongside the .NET 10 refresh of the Fluxor for State Management in Blazor article.

  • Both projects: net8.0 -> net10.0.
  • Fluxor.Blazor.Web 5.9.1 -> 6.11.0; Microsoft.AspNetCore.Components.WebAssembly and .DevServer 8.0.0 -> 10.0.0.
  • Test project: explicit AngleSharp 1.6.0 and Microsoft.Extensions.Caching.Memory 10.0.0 to clear NU1902 and NU1903, which arrived transitively through bunit. Both were pre-existing and unrelated to Fluxor.

No source changes were needed. Every Fluxor API the sample uses survives 5.9.1 -> 6.11.0 unchanged: <Fluxor.Blazor.Web.StoreInitializer/>, AddFluxor()/ScanAssemblies()/AddMiddleware<T>(), and [FeatureState], [ReducerMethod], [ReducerMethod(typeof(T))], [EffectMethod(typeof(T))].

The sample stays a standalone Blazor WebAssembly app, which is still a first-class supported template on .NET 10. The article's new render-mode material about Blazor Web Apps is prose and needs no sample project.

Verified on SDK 10.0.302: dotnet build -c Release -> 0 warnings, 0 errors; dotnet test -> 4/4 passing.

… two transitive advisories

Retarget both projects from net8.0 to net10.0.
Bump Fluxor.Blazor.Web 5.9.1 -> 6.11.0 and the WebAssembly packages 8.0.0 -> 10.0.0.
Pin AngleSharp 1.6.0 and Microsoft.Extensions.Caching.Memory 10.0.0 in the test
project to clear NU1902 and NU1903, which arrived transitively via bunit.

No source changes are needed: every Fluxor API the sample uses survives the major
version jump unchanged. Build is 0 warnings / 0 errors and all 4 tests pass on
SDK 10.0.302.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant