Skip to content

Upgrade to .NET 11 and consolidate dependency updates - #82

Merged
codemonkey85 merged 1 commit into
mainfrom
chore/upgrade-dotnet-11
Nov 19, 2026
Merged

codemonkey85 merged 1 commit into
mainfrom
chore/upgrade-dotnet-11

Conversation

@codemonkey85

@codemonkey85 codemonkey85 commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Upgrade the Blazor WebAssembly app from .NET 10 to .NET 11 and incorporate every dependency update currently proposed against this repository.

  • Pin SDK 11.0.100, target net11.0, and align both Blazor packages on 11.0.0.
  • Update MudBlazor to 9.14.0, SixLabors.Fonts to 3.2.0, ImageSharp to 4.1.3, ImageSharp.Drawing to 3.1.3, and setup-dotnet to 6.1.0.
  • Migrate image generation to the new DrawingCanvas API and color/rectangle APIs, preserving text placement, colors, borders, and resizing. Dispose the generated image after encoding.
  • Add 12 generator regression tests and PR validation for the Debug solution build/tests, Release AOT publish, and a browser smoke test that generates two distinct PNGs. Deployment remains restricted to main.
  • Wire SIXLABORS_LICENSE_KEY into Release publishing and document local build and licensing setup. No license material is committed.

Incorporates #67, #70, #76, #77, #78, #80, and #81. ImageSharp 4.1.3 supersedes the 4.1.2 proposal in #70, and Blazor WebAssembly 11.0.0 supersedes the 10.0.15 proposal in #77.

Validation:

  • .NET 11 Debug solution build passed.
  • All 12 tests passed.
  • Release publish passed with AOT enabled, the Drawing exclusion, and the supplied app license.
  • Published Release app passed the Edge browser regression: two distinct 800x600 PNGs, no browser errors.
  • NuGet vulnerability audit reported no vulnerable direct or transitive packages.
  • GitHub Actions on Linux passed the solution build, all 12 tests, licensed Release AOT publish, and Chromium browser regression.

The issued license covers the app assembly. The host regression tests run in Debug, which Six Labors supports without a key; Release builds of the test assembly would require its own license coverage.

The published browser check exposed a Mono WASM AOT trap in Drawing 3's DefaultRasterizer.Context.FlushBufferedRun<TRowHandler>. Keep only SixLabors.ImageSharp.Drawing interpreted through the SDK's internal assembly interpretation hook; retain AOT for the app and other dependencies. Revalidate this workaround on SDK or Drawing upgrades. The published-app browser regression runs in PR CI.

@codemonkey85
codemonkey85 merged commit b39d60c into main Nov 19, 2026
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