AlamofireImage v4.0.0 Release Notes

Release Date: 2019-05-04 // almost 2 years ago
  • ๐Ÿš€ Released on 2020-02-23. All issues associated with this milestone can be found using this filter.

    โž• Added

    • ๐Ÿ‘ Custom cacheKey support to ImageDownloader and UIImageView and UIButton extensions.
    • ๐Ÿ‘ The application/octet-stream to the list of acceptable image content types to support iOS 13.
    • ๐Ÿ‘ Custom ImageResponseSerializer support to ImageDownloader and UIImageView and UIButton extensions.
    • โœ… Tests to various types to verify they can handle URLRequestConvertible types that throw.
    • ๐Ÿ‘ AlamofireExtended support to UIImage, UIImageView, and UIButton types to use af. prefixing instead of af_.
    • A 4.0 migration guide to the project and linked in the README.
    • ๐Ÿ‘ SwiftFormat support to the project.

    โšก๏ธ Updated

    • The license section of the README to link to the actual LICENSE file.
    • The ImageDownloader download image logic by removing variable shadowing to simplify logic flow.
    • The image cache capacity section in the README to improve in-memory setting recommendations.
    • The Alamofire dependency to ~> 5.0 across dependency management files.
    • The README to match all the newer conventions with the Alamofire 5 changes and af. prefixing on extensions.

    ๐Ÿ—„ Deprecated

    • ๐Ÿšš The af_ APIs on UIImage, UIImageView, and UIButton in favor of the new af. equivalent APIs. These APIs will be removed in AFI5.

    ๐Ÿ›  Fixed

    • ๐Ÿ“š Issue in the README where the documentation link was incorrect.
    • Issue where af_setBackgroundImage was not setting the filter correctly on the image download.
    • Issue where runImageTransitionIfCached on UIImageView was not setting the placeholder image correctly.