You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using this list and some community libraries, we have found ways to improve compatibility without much additional effort for you or the maintenance in general.
Implementation
This work is 2 parts:
Add "hidden" APIs in 3.x that allow for upgrades where API usage is small or restricted to common things. Typically, the APIs that are used in most apps all have overloads, alternatives or other mechanisms that are better.
I have also been working to make a tool that can be used to detect any cases where a breaking will occur, without having to update and hope everything is fine. In some cases, different overloads will resolve, hiding a potential break.
We added overloads to the SKImageFilter type that allow for creating of filters without SKImageFilter.CropRect and instead use SKRect.
We added a hidden API SKCanvas.SetMatrix that matches 2.x, but we cannot add it to the public API as it is ambiguous to VB and not what we want to use going forward.
The text was updated successfully, but these errors were encountered:
Description
Not sure we can do everything we want and have a perfect world, but we can make things a bit better.
There is a summary and diff here that you can read to learn more about the changes that we have: https://github.com/mono/SkiaSharp/blob/main/changelogs/SkiaSharp/3.0.0/SkiaSharp.humanreadable.md
Using this list and some community libraries, we have found ways to improve compatibility without much additional effort for you or the maintenance in general.
Implementation
This work is 2 parts:
Changes
Here is a list of PRs that may or may not make it in but cover this area:
Tools
I have also been working to make a tool that can be used to detect any cases where a breaking will occur, without having to update and hope everything is fine. In some cases, different overloads will resolve, hiding a potential break.
Tool: https://www.nuget.org/packages/api-tools
Docs: https://github.com/mattleibow/Mono.ApiTools.NuGetDiff/blob/main/docs/api-tools.md#compat-command
For this result, we have done some things:
SKImageFilter
type that allow for creating of filters withoutSKImageFilter.CropRect
and instead useSKRect
.SKCanvas.SetMatrix
that matches 2.x, but we cannot add it to the public API as it is ambiguous to VB and not what we want to use going forward.The text was updated successfully, but these errors were encountered: