Back to Skiasharp

Version 4.151.0 (Unreleased)

documentation/docfx/releases/4.151.0-unreleased.md

4.151.01.1 KB
Original Source
<!-- RELEASE-NOTES DATA (generated, do not edit) format:3 version:4.151.0 -->

Version 4.151.0 (Unreleased)

Managed math and WASM hardening

Highlights

Color conversion hot paths are ported to managed integer math, and WASM gains exception-handling support for .NET's new exnref mode.

Breaking Changes

None in this preview line.

Bug Fixes

  • SKColor and SKColorF conversion ported to managed C# — The SKColor-to-SKColorF round-trip is now computed in managed integer math, removing a P/Invoke call on every conversion. (#4370)
  • SKPMColor premultiply/unpremultiply ported to managed math — Single-value premultiply and unpremultiply are now handled entirely in managed code, eliminating a native interop call per pixel on hot colour paths. (#4385)

Platform

  • WASM exception-handling regression tests added — A preview-.NET test job validates that SkiaSharp WASM builds compiled with the new exnref exception-handling model do not regress, catching issues before they reach a release. (#4488)