Skip to content

6.2.0 - Spring Release

Compare
Choose a tag to compare
@onevcat onevcat released this 08 Mar 12:28
· 819 commits to master since this release

Add

  • The backend of Kingfisher's cache solution, DiskStorage and MemoryStorage, are now marked as public. So you can use them standalone in your project. #1649
  • An imageFrameCount property in image view extensions. It holds the frame count of an animated image if available. #1647
  • A new extraSessionDelegateHandler in ImageDownloader. Now you can receive the related session task delegate method by registering an external delegate object. #1620
  • A new method loadImmediately for KFImage to start the load manually. It is useful if you want to load the image before onAppear is called.

Fix

  • Drop the use of @State for keeping image across View update for KFImage. This should fix some SwiftUI internal crash when setting the image in KFImage. #1642
  • The image reference in ImageBinder now is marked with weak. This helps release memory quicker in some cases. #1640