DFImageManager v0.7.0 Release Notes
Release Date: 2015-08-23 // over 8 years ago-
Overview
๐
DFImageManager 0.7.0
brings progressive image decoding support, and puts everything in its right place. It adds a separate stage for image decoding (see newDFImageDecoding
protocol), and narrows role of theDFImageFetching
protocol which is now only responsible for fetching image data (NSData).๐ Changes
Major
- ๐ง #46 Add a separate stage for image decoding. Add multiple ways to configure and extend image decoding: add DFImageDecoding protocol, DFImageDecoder class; add decoder to DFImageManagerConfiguration; add dependency injector to set shared decoder.
- ๐ #41 Add GIF support for PHAsset. Also includes major changes in DFImageFetching protocol, which is now only responsible for fetching image data (NSData).
- ๐ #28 Add progressive image decoding, including progressive JPEG support.
- โ Remove ALAssetsLibrary support due to the changes to the DFImageFetching protocol that now returns NSData instead of UIImage. It's easy to add you own application-specific ALAssetsLibrary support by either implementing DFImageFetching protocol and fetching NSData (and letting DFImageManager class do all the decoding, processing, caching and preheating), or by implementing DFImageManaging protocol itself.
Minor
- #56 Xcode 7 compatibility
- 0๏ธโฃ #54 Add shouldDecompressImages property to DFImageDecoder. Default value is YES.
- ๐ #53 Add Carthage support
- 0๏ธโฃ #52 Add defaultOptions class method to DFMutableImageRequestOptions which allows user to modify request options on per-application level
- #51 DFImageProcessor makes a decision of weather it should process GIF images, not DFImageManager
- ๐ #50 Add removeAllCachedImages to DFImageManaging protocol; Add optional removeAllCachedImages to DFImageFetching protocol
- #49 Add shouldProcessImage:forRequest: method to DFImageProcessing protocol that would allow DFImageManager to skip processing step entirely
- ๐ #47 Better signature checks to identify image formats; Add WebP signature check
- ๐จ Refactor DFImageManagerImageLoader (private class that was introduced in the previous version)
- ๐ Improve DFImageView performance (use DFImageTask directly)
- โ Remove DFNetworkReachability and auto retry from DFImageView