This is because this package is manually versioned in a .csproj. Bump this version so we can release a new NuGet.
# API diff: Xamarin.AndroidX.Security.SecurityCrypto.dll
...
This is because our comparison process compares against the highest versioned publicly available NuGet package. Because we have released a 1.1.0.1-alpha06 version, this is what we compare against, even though we are binding 1.0.0.16 in main.
To fix this, add a new --prefer-released option to api-diff that will choose the highest stable package version if it exists and compare against it. If there are no public stable releases, then we are likely binding a package that hasn't hit stable yet (like Xamarin.AndroidX.Ads.Identifier), and we will compare against the highest preview version.
After a fresh bump of all packages, there are still 2 issues reported in
api-diff
/nuget-diff
:This is because this package is manually versioned in a
.csproj
. Bump this version so we can release a new NuGet.This is because our comparison process compares against the highest versioned publicly available NuGet package. Because we have released a
1.1.0.1-alpha06
version, this is what we compare against, even though we are binding1.0.0.16
inmain
.To fix this, add a new
--prefer-released
option toapi-diff
that will choose the highest stable package version if it exists and compare against it. If there are no public stable releases, then we are likely binding a package that hasn't hit stable yet (likeXamarin.AndroidX.Ads.Identifier
), and we will compare against the highest preview version.