Releases: facebook/fresco
Releases · facebook/fresco
Release list
v3.7.0
Highlights
- Adds client-side AVIF transcoding (a19f4cd)
- Adds
intermediateImageBitmapTransformationAPI to Fresco (ad877d5) - Adds a quality-aware
BitmapTransformationAPI and default transformation for intermediate images
(de4f23c) - Adds
SimilarImageLookupinterface and wires it intoImagePipelineConfig(d04a77d) - Adds
UnifiedCacheKeyFactorywith a pluggableUriNormalizer(55ad40a) - Adds
EfficientPlatformDecoderand aRawBitmapDecoderinterface for unified byte-array-to-Bitmap decoding
(cd773ee) - Adds
ZoomableVitoViewto the zoomable library (e6ce122) - Adds
DrawableResImageSource,RetainingImageSource, andColorImageSourceimage sources
(0b41741) - Adds
ScaleType.DISABLEDand a newMatrixScaleType(8cf2538) - Adds loop-count control and static-thumbnail fallback for animated images (8cbe470)
- Adds an API to delete all files from a disk cache (209d705)
- Adds the ability to specify a custom cache key on
ImageRequest/ImageRequestBuilder
(2da616f) - Adds a circuit breaker for consecutive frame-drop failures in animations (1d3adb6)
- (Breaking) Removes the unused
MultiUriclass (0eb4503) - (Breaking) Removes the legacy
GingerbreadPurgeableDecoderandHoneycombBitmapFactory
(1d801a7) - (Breaking) Removes
PoolSizeViolationExceptionandignoreHardCap(537cd77) - Replaces deprecated
setDownsampleEnabled()withsetDownsampleMode()(fd2b684) - Bumps Kotlin to
2.2.0(6a14e11) - Hardens native decoding against OOB reads, use-after-free, integer overflow, and a GIF-parsing memory leak in
webp_bitmapfactory(6328781) - Removes
CallerContextfrom cache keys to prevent caller-context leaks (d14c122) - Fixes an ANR by preventing synchronous network fetches on Litho layout threads (45a60ce)
- Fixes recycled-bitmap crashes via an
isRecycled()check inDefaultDrawableFactory(a122b06) - Fixes a postprocessor not being applied during decoded-image prefetch (6544cc6)
- Fixes image info being fetched after drawable creation to avoid
IllegalStateException(#2839)
(64f3ca9) - Fixes the loop variable in
DropFramesFrameScheduler(#2850) (4ed6d91)
Full Changelog: v3.6.0...v3.7.0
v3.6.0
Highlights
- Adds AVIF image format support (0e05952)
- (Breaking) Adds constructor argument to
PipelineDraweeControllerfor providing a drawable factory for XML (e6b0526) - Marked
AnimatedDrawable2andKAnimatedDrawable2open for custom subclasses (76bde19) - Fixes infinite invalidation of drawables (aade8e8)
- Fixes issue with XML format support not enabling when custom decoder is provided (7896b72)
Full Changelog: v3.5.0...v3.6.0
v3.5.0
Highlights
- Added experimental support for XML drawables (bf62ecb)
- Added disk cache read timeout support (2535bb3)
- Added new API for evicting images from Vito cache (973d3fb)
- Fixed a file descriptor memory leak when reading image metadata (96089bc)
Full Changelog: v3.4.0...v3.5.0
v3.4.0
Highlights
- Bump to AGP 8.5.2 and Gradle 8.7 (f5d7c99)
- Bump to NDK 27 + 16 KB page size (766a877)
- Native binaries are now 16KB page aligned and is still compatible with existing Android OS using 4KB page size
- This will enable Fresco to run on Android 15 devices that choose to use a page size of 16KB
- See here for more details: Android Developers - Support 16KB page size
Full Changelog: v3.3.0...v3.4.0
v3.3.0
Full Changelog: v3.2.0...v3.3.0
A few highlights:
- Updated AGP to 8.2.2 (51d672c)
- Improved null safety and performed Kotlin conversions on both Drawable and Vito internals (e1eaf42, 197426e, 552d09f, 5b4b73c, d30dff3, 5382afc, ad2ce43, c8ba3fe, 5b1cb2a, 8508307, ae7cba8, 3895af5, 572f320, f19831c, cbf842e)
- Added support for tint color to drawable image types (ca6dac1)
- Added an override for disabling downsampling on image requests (9c57738)
- Added support for dynamic caches to image pipeline (affc542)
- Added option to selectively disable image release callbacks for Vito (dc64f21)
- Fixed placeholder images for Vito (6947f27)
- Added functionality to display partial images instead of placeholder if in cache (fe33125)
- Added new FrescoVitoSetup interface to set up Vito (60b8ca9)
v3.2.0
- Upgraded libjpeg-turbo to 2.1.5.1 (no longer associated with CVE-2018-14498)
- Upgraded AGP to 8.1.1
- Setup Github Actions workflows
- More: v3.1.3...v3.2.0