Version 4.151.0 (Unreleased)
Color parsing and stability
Highlights
The unreleased 4.151.0 line adds faster color parsing and an upstream GPU text stability fix. It also removes the unnecessary unsafe marker from GRContextOptions, making GPU context configuration easier to use in projects that do not enable unsafe code.
Breaking Changes
None in this preview line.
API Surface
- SKColor parsing is faster and span-friendly — Parse and TryParse now use an allocation-free hex parser and add ReadOnlySpan
overloads, so callers can parse colors from larger buffers without slicing strings. (#4345) - GRContextOptions no longer requires unsafe context — The type no longer carries an unsafe modifier, allowing projects to configure GPU contexts without enabling unsafe code just to reference the options class. (#3991)
Bug Fixes
- GPU text allocator stability fix — Pulls in Skia's m151 SubRunAllocator use-after-free fix, improving stability for text rendering paths backed by the bundled engine. (#4382)
Community Contributors ❤️
Thank you to everyone who contributed to this release!
| Contributor | Contributions |
|---|---|
| @ramezgerges | Added the cross-backend golden-image visual regression test harness (#4340) |