Table of Contents

Version 2.88.1

Skottie animations, WinUI, and Tizen support · Released August 17, 2022 · NuGet · GitHub Release

Highlights

This release introduces Skottie (Lottie animation) support as a new standalone package, adds WinUI views for the Uno Platform, brings Tizen as a first-class TFM target, and enables nullable reference type annotations. Native dependencies are updated to address security issues in zlib, libexpat, libwebp, and libjpeg-turbo. Five community contributors made their first contributions.

Breaking Changes

None in this release.

New Features

API Surface

  • Skottie animation support — New SkiaSharp.Skottie package for playing Lottie/Bodymovin animations backed by Skia's Skottie engine, including nullable attributes, TimeSpan overloads, non-seekable stream handling, and BOM support. ❤️ @jeromelaban (#1987, #2091, #2119, #2126, #2167)
  • AVIF image encode format — Exposed the AVIF encoder for saving images in AVIF format. ❤️ @mgood7123 (#2154)
  • SKShaper text alignmentSKShaper now respects the SKPaint.TextAlign property when shaping text. ❤️ @koolkdev (#1910)
  • Nullable annotations — Added nullable reference type annotations and newer TFMs across the library. (#2120)
  • SKDataStream made writeableSKDataStream now supports write operations, matching SKData behavior. (#2128)

Platform

  • WinUI support for Uno — Added SkiaSharp views for Uno Platform's WinUI target. ❤️ @jeromelaban (#2042)
  • Tizen TFM — Added net6.0-tizen target framework for Samsung Tizen devices. (#2099)
  • Emscripten 3.1.7 — Updated WASM builds for Emscripten 3.1.7. ❤️ @jeromelaban (#2094)
  • Skottie on all .NET 6 platforms — Skottie available on iOS, Android, Mac Catalyst, macOS, tvOS, and Tizen. ❤️ @jeromelaban (#2133)

Engine

  • SKGLView backing scale factorSKGLView now reshapes when the window's BackingScaleFactor changes (e.g., moving between Retina and non-Retina displays). ❤️ @HarlanHugh (#1854)
  • Internal library configuration — Added an initial configuration system for internal library settings. (#1856)

Security

  • Update zlib — Fixed PNG loading issues by updating the bundled zlib. (#2045)
  • Update libexpat to 2.4.8 — Addresses known vulnerabilities. (#2189)
  • Update libwebp to 1.2.3 — Addresses known vulnerabilities. (#2193)
  • Update libjpeg-turbo to 2.1.3 — Addresses known vulnerabilities. (#2206)

Bug Fixes

  • Return null on invalid resize bounds — Prevents crashes when calling resize with invalid dimensions. (#2054)
  • Fix Alpine Linux builds — Corrected native library loading on Alpine/musl-based distributions. (#2168, #2192)
  • Fix critical section after deletion — Prevents accessing a deleted critical section during HandleDictionary cleanup. ❤️ @RichardD2 (#2195)
  • Fix font loading with Unicode names — Fonts with Unicode characters in their names now load correctly. ❤️ @lindexi (#2146)
  • Use full libc library name — Fixes P/Invoke resolution on certain Linux configurations. (#2213)

Platform Support

Platform What's New
🍎 Apple Skottie on iOS/macOS/tvOS/Mac Catalyst, SKGLView backing scale fix
🪟 Windows WinUI views for Uno Platform
🐧 Linux Alpine build fixes, full libc name resolution
🤖 Android Skottie support
🌐 WebAssembly Emscripten 3.1.7, Uno WinUI WASM support

Community Contributors ❤️

Contributor What They Did
@jeromelaban Skottie support, WinUI, Emscripten 3.1.7, multi-platform Skottie
@koolkdev SKShaper text alignment support
@mgood7123 AVIF encode format
@HarlanHugh SKGLView backing scale factor reshape
@lindexi Unicode font name loading fix
@RichardD2 Critical section deletion fix

Preview 108 (August 12, 2022)

Internal library configuration, full libc library name, and .NET updates.

Full Changelog


Preview 104 (August 10, 2022)

Security updates for libexpat, libwebp, and libjpeg-turbo. Alpine build fixes and Unicode font name loading.

Full Changelog


Preview 91 (August 4, 2022)

AVIF encode format, Skottie BOM support, Alpine build fixes, and XML documentation improvements.

Full Changelog


Preview 79 (August 4, 2022)

SKDataStream writeable, Skottie on all .NET 6 platform TFMs.

Full Changelog


Preview 75 (August 4, 2022)

SKGLView backing scale factor reshape and Skottie non-seekable stream handling.

Full Changelog


Preview 71 (August 4, 2022)

Nullable annotations and Skottie API improvements with TimeSpan overloads.

Full Changelog


Preview 63 (August 4, 2022)

Skottie animation support, WinUI for Uno, Tizen TFM, SKShaper text alignment, and Emscripten 3.1.7.

Full Changelog


Preview 1 (May 22, 2022)

Initial preview with zlib fix for PNG loading issues.

Full Changelog