Table of Contents

Version 4.156.0

GTK graphics and Uno 7 · Released November 9, 2026 · NuGet · GitHub Release

API changes · SkiaSharp API diff · HarfBuzzSharp API diff

Highlights

SkiaSharp 4.156.0 pairs Skia m156 with GTK4 GPU drawing, Uno 7 support and rendering and lifetime fixes. Linux NoDependencies builds recover system-font discovery, Android continuous drawing follows display refresh, and WebAssembly linking improves. Review the Uno control, GTK scaling, Apple and Tizen requirements before upgrading.

Breaking Changes

  • Move Uno views to Uno 7 and .NET 10 — Non-Windows Uno views now require Uno Platform 7 and .NET 10. SKSwapChainPanel derives from Grid, removes RaiseOnUnsupported and uses CPU rendering with a null GRContext; use SKCanvasElement for Uno GPU drawing. WinAppSDK retains its ANGLE-backed control. Replace pre-Uno 7 WasmShell pipelines with the .NET SDK WebAssembly path and let Uno.Sdk supply platform native assets. (#5377)
  • Review GTK4 high-density drawing coordinates — SKDrawingArea now allocates physical-pixel backing and exposes physical CanvasSize and paint Info by default. Set IgnorePixelScaling=true to retain logical drawing coordinates while preserving high-resolution backing; RawInfo remains physical and GTK input coordinates remain logical. (#5249)
  • Raise Apple deployment targets — SkiaSharp and HarfBuzzSharp native libraries now require macOS 12 or iOS, tvOS and Mac Catalyst 15, with managed minima aligned. Raise application deployment targets accordingly and retain any higher framework requirement. These final floors supersede the earlier macOS 11 and iOS/tvOS/Catalyst 14 native settings in this release cycle. (#5383, #5514)
  • Target Tizen 10 — The new Tizen native packages target net10.0-tizen10.0 and support x64 and ARM64; Tizen 8/9 and the old 32-bit build paths are not supported. Upgrade application targets and manifests to Tizen 10. Source builds require the Tizen 10 rootstraps and GCC 14.2 toolchain. (#5235)
  • Supply valid text and data buffer lengths — Encoded font/text operations now reject negative byte lengths with ArgumentOutOfRangeException and odd GlyphID byte counts with ArgumentException. SKData.CreateCopy(byte[], ulong) throws ArgumentOutOfRangeException when the requested length exceeds the array. Pass nonnegative lengths within the supplied buffer and complete 16-bit GlyphIDs instead of relying on unchecked native reads. (#5382, #5429)
  • Use portable Windows RIDs for source-built assets — AnyCPU native-asset imports for source-built SkiaSharp, HarfBuzzSharp and WinUI now select win-x86, win-x64 and win-arm64 instead of legacy win10-* identifiers. Update explicit runtime identifiers accordingly. Explicit-platform and empty-RID selection paths remain available. (#5551)
  • Replace the retired fork-specific WinRT target — The fork-specific native WinRT target is retired. Move custom native builds using it to a supported desktop Windows, WinUI/Windows App SDK or NanoServer path; those supported paths remain available. (#5382)
  • Pass one encoded unit to GetUnicodeCharacterCode — StringUtilities.GetUnicodeCharacterCode now validates encoded byte width rather than UTF-16 string length. Pass one ASCII character for Utf8, one BMP character for Utf16, or one Unicode code point for Utf32. Multi-character strings previously accepted by the Utf32 path now throw ArgumentException instead of returning only the first character's code; use Utf32 for supplementary characters. (#5506)
  • Use rebuilt WebAssembly archives with Dawn support — Dawn's WebGPU C++ support now ships inside libSkiaSharp.a rather than compiling on the application's final link line. Newer WebAssembly consumers must use the matching rebuilt archives; pre-change archives and GPU-disabled custom builds do not meet that link contract. The .NET 8 built-in WebGPU path is retained. (#5316)

Engine

  • Skia m156 with native correctness updates — Updates the engine to m156 and incorporates fixes for clipped convex paths, software coverage-mask sampling, glyph replay validation and Graphite clipping. Reflected zero-length hairline caps keep device-space size, and text-atlas selection tolerates interpolation error. (#5247, #5575, #5617, #5624, #5631, #5671)
  • Contain shader and region failures — Checks shader slot-count arithmetic, rejects invalid runtime-effect types earlier, budgets region storage for subdivided conics, and prevents partially constructed runtime-shader pipelines from executing. Graphite also compares complete paint keys and retains hairline stroke bounds. (#5489, #5517)

API Surface

  • Native GTK4 GPU canvas — SKGLArea adds PaintSurface, CanvasSize, GRContext and an opt-in render loop using GTK's own GL context. QueueRender requests a frame. Manually bundled GTK runtimes must include libepoxy, which supplies the current-context GL dispatcher. (#5249)

Bug Fixes

  • Restore Linux font discovery and shaping coexistence — Linux NoDependencies builds discover installed fonts through the directory-backed manager, defaulting to /usr/share/fonts/ without adding fontconfig. Bundled Linux HarfBuzz function binding prevents GTK's system HarfBuzz from redirecting internal calls into incompatible private objects. — ❤️ @ramezgerges, @VirgilMing (#5086, #5352)
  • Pace Android continuous rendering — Automatic GLTextureView and MAUI Android SKGLView render loops follow Choreographer display callbacks while drawing remains on the GL worker. Explicit render requests stay independent; pacing does not guarantee frame presentation timing. (#5345)
  • Report null character buffers consistently — StringUtilities.GetString reports ArgumentNullException for null byte arrays instead of NullReferenceException, matching its other byte-array overload. (#5506)
  • Correct GPU pixel formats — Ganesh GLES no longer advertises unsupported BGRA-as-RGBx uploads. Graphite alpha-to-RGBx readback uses an opaque RGBA transfer so row strides and destination bytes agree. (#5500, #5631)

Lifecycle & Internals

  • Release borrowed streams and custom-font data — Disposing SKFrontBufferedManagedStream releases its reference even when it does not own the wrapped stream; callers still dispose that borrowed stream. DWriteCore custom fonts release application data after the last dependent typeface clone is disposed. (#5327, #5577)
  • Match callback boolean widths to native ABIs — Skia callbacks use one-byte native boolean values and HarfBuzz callbacks use four-byte hb_bool_t values, including false returns. Public managed delegates remain bool; no public signature changes are required. (#5479)
  • Correct native callback ownership — Native lifetime cleanup retains the OpenGL module behind cached WGL entry points and corrects optional stream callbacks and XPS COM ownership without changing public signatures. (#5382)
  • Release graphics resources at teardown — WinUI EGL teardown unbinds its own current context before destroying the surface, allowing the native window to be released. GTK4 raster views dispose the Skia surface before Cairo-owned pixel storage. (#5551, #5249)
  • Avoid intermediate managed image-copy allocations — Valid managed pixel buffers take a direct raster-copy path without allocating intermediate SKData. Invalid inputs retain the original native-validation path and behavior. (#5052)

Platform

  • Match WebAssembly assets to .NET 11 — SkiaSharp and HarfBuzzSharp select Emscripten 6.0.2 archives for .NET 11 and later, retaining 3.1.56 for .NET 9/10. The consumer target mapping is aligned across packaged and source assets. (#5306)
  • Refresh Windows integration dependencies — Windows libraries align on Windows App SDK 1.7.250909003, and WinUI ANGLE advances to chromium/8118. These changes do not raise WinUI's declared Windows 10 build 17763 minimum. (#5390, #5321)

HarfBuzzSharp 14.4.0.100

Native HarfBuzz remains 14.4.0; 14.4.0.100 is the m156 package revision. It reduces AddUtf32 and feature-string allocations, corrects hb_bool_t callback widths, aligns .NET 11 WebAssembly assets and adopts the higher Apple and Tizen floors.

Community Contributors ❤️

Thank you to everyone who contributed to this release!

Contributor Contributions
@ramezgerges Linux NoDependencies font discovery, packaged WebGPU C++ support and Uno 7 integration. (#5086, #5316, #5377)
@akoeplinger Mirror-safe dependency automation and corrected GitOps author mentions. (#5481, #5484)
@VirgilMing Linux HarfBuzz symbol isolation and first-paint readiness checks for Blazor samples. (#5352, #5353)
@dalexsoto Contextual wording and reviewed technical scan dispositions without changing product identifiers. (#5412)
@rolfbjarne Removed unused sample files to reduce irrelevant code-scanning findings. (#5441)
@Saad-elnagar Removed the obsolete libmicrohttpd third-party notice. (#5403)

Release Candidate 1 (November 4, 2026)

Added Uno 7 support, Android display-paced rendering, WebGPU link fixes and corrected font and stream lifetimes. It also tightened buffer validation, corrected callback widths and Linux HarfBuzz binding, and finalized the higher Apple deployment floors.

Full changelog

Preview 1 (October 12, 2026)

Introduced Skia m156, GTK4 GPU drawing with physical-pixel defaults and restored Linux NoDependencies font discovery. It also aligned .NET 11 WebAssembly archives and moved Tizen packages to Tizen 10.

Full changelog


Release notes generated on 2026-11-30 at 17:07 UTC.