Skip to content

Chore/upgrade nuget packages - #44

Open
hflexgrig wants to merge 3 commits into
TheEightBot:mainfrom
hflexgrig:chore/upgrade-nuget-packages
Open

hflexgrig wants to merge 3 commits into
TheEightBot:mainfrom
hflexgrig:chore/upgrade-nuget-packages

Conversation

@hflexgrig

@hflexgrig hflexgrig commented Oct 30, 2026 •

Copy link
Copy Markdown

Summary

Upgrades all NuGet packages to their latest versions and fixes the sample app crashing on launch on iOS 27.

Package upgrades

Package Old New
SkiaSharp / SkiaSharp.Views.Maui.Controls 3.119.2 4.154.0
Svg.Skia 3.2.1 5.2.3
Microsoft.Maui.Controls (MauiVersion, now pinned) 10.0.110 10.0.120
Microsoft.Extensions.Logging.Debug 10.0.0 10.0.14
Microsoft.SourceLink.GitHub 8.0.0 10.0.403
Microsoft.NET.Test.Sdk 17.12.0 18.11.0
xunit 2.9.2 2.9.3
xunit.runner.visualstudio 2.8.2 4.0.1
coverlet.collector 6.0.2 10.1.0

Code changes

  • SkiaSharp 4 removed SKPaint.FilterQuality. SkiaDrawingContext.DrawImage / DrawTintedImage now use SKSamplingOptions(SKCubicResampler.Mitchell), which is what SKFilterQuality.High mapped to. Bitmaps are drawn through SKImage.FromBitmap.
  • MauiVersion is pinned to 10.0.120 in the MAUI projects. MAUI 10.0.110's Resizetizer crashed while generating the sample's app icon (MissingMethodException on HarfBuzzSharp.Font.SetVariations); 10.0.120 fixes it.
  • The sample app now uses the UIScene lifecycle on iOS and Mac Catalyst (scene manifest in Info.plist plus a SceneDelegate : MauiUISceneDelegate). Apps built with the iOS 27 SDK crash on launch without it (UIApplicationEvaluateRuntimeIssueForNoSceneLifecycleAdoption).

Testing

  • dotnet test tests/MintedTextEditor.Core.Tests: 600 passed, 0 failed.
  • The library projects build for every target framework.
  • Built the sample for the iOS simulator and launched it on an iPhone 18 Pro Max simulator running iOS 27: the editor loads with no crash. A clean build (delete the iOS bin/obj folders) is needed so the new Info.plist gets picked up.
  • Not tested: the sample doesn't build for Mac Catalyst locally because its SupportedOSPlatformVersion (15.0) is below the 17.0 the installed Mac Catalyst SDK requires. That problem is unrelated to this PR.
  • Image rendering after the SkiaSharp 4 sampling change was not checked visually.

Checklist

  • dotnet test passes for tests/MintedTextEditor.Core.Tests (tests/MintedTextEditor.SkiaSharp.Tests does not exist in the repo)
  • Changes under src/ have an entry under ## [Unreleased] in CHANGELOG.md (or the PR has the skip-changelog label)
  • Public API changes have XML documentation, and README / docs/ are updated where needed (no public API changes)

hflexgrig and others added 2 commits October 30, 2026 22:54
- SkiaSharp / SkiaSharp.Views.Maui.Controls / SkiaSharp.NativeAssets.Linux 4.153.1 -> 4.154.0
- HarfBuzzSharp / HarfBuzzSharp.NativeAssets.Linux 14.2.1.301 -> 14.2.1.400
- Pin MauiVersion to 10.0.120 (fixes Resizetizer MissingMethodException in 10.0.110)
- Microsoft.Extensions.Logging.Debug 10.0.0 -> 10.0.14
- Microsoft.SourceLink.GitHub 10.0.402 -> 10.0.403

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Apps built with the iOS 27 SDK crash on launch without a scene manifest
(UIApplicationEvaluateRuntimeIssueForNoSceneLifecycleAdoption). Add the
standard MAUI UIApplicationSceneManifest and a SceneDelegate deriving from
MauiUISceneDelegate for iOS and Mac Catalyst.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hflexgrig
hflexgrig force-pushed the chore/upgrade-nuget-packages branch from d531eba to 82b2f90 Compare October 30, 2026 19:09
HarfBuzz applies a legacy 'kern' table (e.g. Helvetica on iOS/macOS) by
splitting the kerning between the first glyph's advance and the second
glyph's x offset. The caret used the pen position and ignored the offset,
so it landed halfway between the kerned and unkerned positions. Record
each glyph's drawn x (pen + offset) instead.

Fixes MeasureCaretOffset_IncludesKerningOfTheWholeRun on macOS.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant