Version 2.80.2
Uno, WASM, and platform polish · Released September 11, 2020 · NuGet · GitHub Release
API changes · SkiaSharp API diff · HarfBuzzSharp API diff
Highlights
SkiaSharp 2.80.2 finishes Uno Platform support, wires WASM + GL for Uno, and fixes stream, text, and platform bugs. Uno Platform gets GPU views, WASM support, and refreshed package versions. Alongside that, the release fixes non-seekable stream handling for SKData, several text-rendering regressions, and platform-specific issues on macOS, UWP, and ASP.NET.
Breaking Changes
None in this release.
API Surface
- Uno Platform coverage expanded — Adds GPU views for Uno, WASM support for Uno, and refreshes the Uno package versions and samples. (#1429, #1333, #1426, #1420)
- SKGraphics exposed for debugging — The SKGraphics diagnostics surface (font cache limits, purge, memory dump) is now available from managed code, alongside a few additional GPU debugging members. (#1473, #1478)
- SKColorF extensions — New extension methods make it easier to convert to and work with SKColorF values. (#1469)
Bug Fixes
- SKData from non-seekable streams — Creating SKData from a stream that can't seek no longer fails, and SKSurface.Create honours the origin parameter that was previously ignored. — ❤️ @ziriax (#1411, #1404)
- Text rendering fixes — Uses linear metrics for backwards compatibility, handles invalid text without crashing, and fixes an iOS NullReferenceException in SKCanvas.DrawTextOnPath. — ❤️ @ziriax (#1439, #1438, #1410)
- WASM + GL uses the correct natives — The WASM build now picks up the correct native code for GL rendering. (#1445)
- Pixel and matrix correctness — Overwrites the underlying pixel where it should, reverts a bad SetScaleTranslate path, and adjusts a float-return signature that couldn't be used everywhere. (#1457, #1452, #1453)
- Native library discovery under ASP.NET — SkiaSharp now checks the correct directory for its native libraries when hosted under ASP.NET. (#1483)
Platform
- macOS uses NeedsDisplay — The macOS view now invalidates via NeedsDisplay instead of the eager Display call, matching platform expectations. (#1475)
- UWP no longer blocks the UI thread on invalidate — UWP invalidation is now non-blocking, removing a source of hangs when redrawing frequently. (#1468)
- Skia updated — Bundled Skia is updated to pick up an upstream fix for issue #465. (#1436)
HarfBuzzSharp 2.6.1.7
No HarfBuzzSharp binding changes shipped in this release — it rebuilds the same HarfBuzz as the previous line.
Community Contributors ❤️
Thank you to everyone who contributed to this release!
| Contributor | Contributions |
|---|---|
| @ziriax | Fixed the iOS NullReferenceException in SKCanvas.DrawTextOnPath and the ignored origin parameter in SKSurface.Create (#1404, #1410) |
Preview 36 (September 2, 2020)
Preview 36 fixed ASP.NET native library discovery, macOS NeedsDisplay behaviour, and added GPU debugging APIs.
Preview 33 (August 25, 2020)
Preview 33 exposed SKGraphics, unblocked the UWP UI thread on invalidate, and added SKColorF extensions.
Preview 19 (August 4, 2020)
Preview 19 reverted a bad SetScaleTranslate and corrected pixel writes.
Preview 18 (August 2, 2020)
Preview 18 fixed WASM + GL native selection and shipped text-rendering fixes (linear metrics, invalid text).
Preview 9 (July 27, 2020)
Preview 9 landed the Uno Platform expansion — GPU views, WASM support, and refreshed package versions.