Kingfisher v5.8.0 Release Notes

Release Date: 2019-09-25 // over 4 years ago
  • ➕ Add

    • ➕ Add support for Swift Package Manager. Now you can build and use Kingfisher with SPM under Xcode 11 and use it in all targets.
    • ➕ Add support for iPad Apps for Mac. You can use Kingfisher's UIKit extensions (like UIImage and UIImageView) on a catalyst project.
    • ➕ Add support for SwiftUI. Build and import KingfisherSwiftUI.framework or contain the "Kingfisher/SwiftUI" subpod, then you can use KFImage to load image asynchronously. KFImage provides a similar interface as View.Image.
    • ➕ Add support for building as a binary framework. A zipped file containing xcframework and related dSYMs is provided in the release page.
    • A diskCacheAccessExtendingExpiration option to give more control of disk cache extending behavior. #1287
    • 🏗 Combine all targets into one. Now Kingfisher is a cross-platform target and you need to specify an SDK to build it.

    🛠 Fix

    • 📇 Rename too generic typealias names in Kingfisher, to avoid conflicting with SwiftUI types. Original Kingfisher.Image is now Kingfisher.KFCrossPlatformImage. The similar rules are applied to other cross-platform typealias too, such as Kingfisher.View, Kingfisher.Color and more.
    • A potential thread issue in taskIdentifier which might cause a crash when using data provider. #1276
    • An issue that causes memory shortage when a large number of network images are loaded in a short time. #1270