Version 1.68.2
Stability, views, and touch improvements · Released April 30, 2020 · NuGet · GitHub Release
API changes · SkiaSharp API diff · HarfBuzzSharp 2.6.1.2
Highlights
Version 1.68.2 is a broad quality release for the 1.x line, bringing new APIs, better pixel access, improved touch input, and a long list of lifecycle and platform fixes across Android, macOS, UWP, Windows Forms, and Xamarin.Forms. It also ships with HarfBuzzSharp 2.6.1.2 for the matching text-binding updates.
Breaking Changes
None in this release.
New Features
API Surface
- Core graphics expansion — Adds more
SKImage,SKRegion, andSKCanvasmembers, plusSKColorFoverloads with color-space support and improved Perlin noise shader creation. (#1126, #1125, #1090, #1116, #1056) - Writable pixel spans — Exposes a generic writable span over pixel memory to make low-level image manipulation easier and safer. (#1242)
Platform
- View platform coverage — Adds GTK views for Xamarin.Forms, multi-targets Windows Forms views, and fills in expected Xamarin.Forms Tizen overloads. (#1089, #1082, #1117)
- Touch input improvements — Adds device-type reporting for touch events along with pressure and eraser handling. ❤️ @mscherotter (#1191, #1212)
Bug Fixes
- View lifecycle and disposal — Reworks disposal to avoid incorrect ownership transitions, releases Skia objects when views unload, and fixes Android surface recreation behavior. (#1180, #1213, #1234)
- Platform-specific rendering fixes — Fixes UWP antialiasing, macOS
SKGLViewissues, redraw timing problems, and double-load scenarios. ❤️ @validvoid, @zbyszekpy, @alexandrvslv (#1086, #1095, #1083, #1135, #1133) - Memory and threading stability — Resolves concurrency issues, WGL deadlocks, unit test crashes, system-font disposal problems, and GC lifetime hazards around pixel buffers. ❤️ @Gillibald (#1200, #1237, #1224, #1258, #1209)
- API correctness — Allows null merge-filter factory arguments, changes paint encoding behavior to avoid throwing, and removes unnecessary allocations during disposal. ❤️ @ziriax (#1185, #1152, #1257)
Community Contributors ❤️
| Contributor | What They Did |
|---|---|
| @Gillibald | Removed reflection from SKObject creation and helped harden object lifetime behavior |
| @mscherotter | Expanded touch input with device type, pressure, and eraser support |
| @ziriax | Improved merge filter factory null handling |
| @validvoid | Fixed UWP antialiasing for SKSwapChainPanel |
| @zbyszekpy | Corrected SKGLViewRenderer disposal |
| @alexandrvslv | Added WPF mouse wheel touch-event support |
Links
Unreleased
Final release prep focused on pixel-lifetime safety, .NET-friendly naming cleanup, and a last round of Android and WGL fixes.
Preview 60 (April 13, 2020)
This preview tightened view and font lifetimes, improved touch pressure and eraser handling, and removed reflection from object creation.
Preview 50 (April 3, 2020)
This preview resolved concurrency issues and added touch device-type reporting.
Preview 45 (March 24, 2020)
This preview reworked view disposal and improved merge-filter factory null handling.
Preview 43 (March 15, 2020)
This preview added the expected Xamarin.Forms Tizen overload and continued the platform bring-up work for ANGLE-backed rendering.
Preview 39 (February 27, 2020)
This preview fixed redraw, hierarchy, and GL context issues while improving paint encoding behavior.
Preview 29 (February 6, 2020)
This preview expanded the core API surface with new SKImage, SKRegion, and SKColorF capabilities.
Preview 21 (January 19, 2020)
This preview stabilized buffer behavior and prepared the 1.68.2 line for the larger API wave that followed.
Preview 17 (January 10, 2020)
This first 1.68.2 preview introduced improved GPU and text APIs, broader view-platform support, and several platform-specific fixes.
Preview 9 (December 10, 2019)
This carried forward the 1.68.1.1 servicing work around decoding, packaging, native builds, and HarfBuzz string fixes.