DFImageManager v0.7.0 Release Notes

Release Date: 2015-08-23 // over 7 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 new DFImageDecoding protocol), and narrows role of the DFImageFetching protocol which is now only responsible for fetching image data (NSData).

    ๐Ÿ”„ Changes


    • ๐Ÿ”ง #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.


    • #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