Version 2.80.2
Bug-fix release with memory debugging and Uno GPU views · Released September 12, 2020 · NuGet · GitHub Release
Highlights
A stability-focused release fixing numerous bugs across image encoding, text rendering, interop, and native library loading. New memory debugging APIs (SKGraphics, SKTraceMemoryDump) help diagnose GPU memory usage. The Uno Platform views gain GPU support via SKSwapChainPanel and WASM CPU rendering. Two community contributors drove key fixes.
Breaking Changes
None in this release.
New Features
API Surface
- Memory debugging APIs — Added
SKGraphicsandSKTraceMemoryDumptypes, plus memory debugging members onGRContext, for inspecting GPU resource usage. SKColorFextension methods — New extension methods in SkiaSharp.Views to convert between native platform colors andSKColorF.- Xamarin.Forms
SKColorFextensions — Convert between Xamarin.FormsColorandSKColorF. - Replacement methods for obsoleted members — Added new methods to replace previously obsoleted APIs.
Platform
- Uno Platform WASM CPU views — CPU rendering views for WASM via Uno Platform. ❤️ @jeromelaban ❤️ @ghuntley ❤️ @MartinZikmund
- Uno Platform GPU views — New
SKSwapChainPanelGPU view for Android, iOS, macOS, and WASM.
Bug Fixes
SKSurface.Createorigin ignored — Fixed the origin parameter being ignored when creating surfaces. ❤️ @ZiriaxSKDatafrom non-seekable stream — Fixed exception when creatingSKDatafrom a non-seekable stream.SKCanvas.DrawTextOnPathnull reference — FixedNullReferenceExceptioninDrawTextOnPath. ❤️ @Ziriax- No-dependency builds using dependencies — Fixed Linux "no dependencies" builds that were still linking against dependencies.
- Image subset encoding — Fixed an issue where encoding a subset of some images would encode the entire original image instead.
- Text rendering crashes — Fixed several text rendering issues and crashes.
- Transitive dependency native binaries — Fixed native binaries not reaching the final app when only referenced as a transitive dependency (also fixed for HarfBuzzSharp).
- ASP.NET
DllNotFoundException— FixedDllNotFoundExceptionwhen running in ASP.NET. - WASM interop — Fixed invalid interop on WASM for some methods.
SKCanvas.DrawPointlayering — Fixed an issue with layering inSKCanvas.DrawPoint.
Platform Support
| Platform | What's New |
|---|---|
| 🐧 Linux | Fixed no-dependency builds |
| 🌐 WebAssembly | WASM interop fixes, Uno CPU + GPU views |
| 📦 General | Transitive dependency fix for native binaries, ASP.NET loading fix |
Community Contributors ❤️
| Contributor | What They Did |
|---|---|
| @Ziriax | Fixed SKSurface.Create origin and DrawTextOnPath null reference |
| @jeromelaban | Uno Platform WASM CPU views |
| @ghuntley | Uno Platform WASM CPU views |
| @MartinZikmund | Uno Platform WASM CPU views |
Links
Preview Build 36 (September 3, 2020)
Stabilization and final bug fixes before the stable release.
Preview Build 33 (August 25, 2020)
Continued bug fixes and stability improvements.
Preview Build 19 (August 4, 2020)
Bug fixes for image encoding, text rendering, and native library loading.
Preview Build 18 (August 2, 2020)
Initial fixes for transitive dependency and ASP.NET loading issues.
Preview Build 9 (July 27, 2020)
First preview of the 2.80.2 release cycle with early bug fixes.