Breaking Dependency Change

We bumped the major version since Fresco is now using AndroidX support libraries. If you are still using the previous support library, please use version 1.14.2 until you've migrated to AndroidX.

New Flipper Images Plugin

We've open sourced our Flipper images plugin, which makes it easy for you to debug images within your application. Take a look at the Flipper documentation here: https://fbflipper.com/docs/features/images-plugin.html It also allows you to track unclosed CloseableReferences if you're using the image pipeline directly.

Fixes and Improvements

Highlights:

Added explicit color management (51efaa7). See #2323 for more information.

Added API to get the size of the disk cache.

Fix scaling up image with RoundingParams.

Prevent Fresco from crashing for certain invalid GIFs.

Added local content URI support for fetching encoded images.

Added CloseableReference leak tracking. You can hook up your own listener to track unclosed references.

Added leak tracking for CloseableRefererence``s. You can hook up your custom leak handler for unclosed CloseableReferences which is triggered when a reference is GCed without being explicitly closed. You can also use the Flipper images plugin (https://github.com/facebook/flipper) to track these leaks.

Assets

Updated to MIT license

Breaking Changes

Inlined ProGuard rules such that you no longer need to manually copy-over the Fresco proguard file (thanks @gengjiawen). If you are manually adding Fresco-specific ProGuard files in your Gradle files, you can now remove them

Breaking changes

SoLoader has been released for a while now, and updated just last week. We've made the decision to add a hard dependency on it and make SoLoader the one and only native code loader that we use in Fresco. API-wise, this means SoLoaderShim is gone. If you were using some other native loading library (e.g. ReLinker), you can either:

keep both and just delete your SoLoaderShim implementation, but this will make your APK size bigger

switch to SoLoader for the rest of your app as well and remove the other dependency