Kingfisher Versions Save

A lightweight, pure-Swift library for downloading and caching images from the web.

7.6.1

1 year ago

Fix

  • A compiling issue that new version of Swift (Swift 5.8) refuses to accept the false-positive optional binding. #2029 @JetForMe

7.6.0

1 year ago

Add

  • Add a contentConfigure modifier to KFImage and related view types under SwiftUI. This allows you returning a non-image view to finish the configuation and display it as the loading result of KFImage. #2027
  • Make the cachePathBlock public so you can also configure it when creating a custom DiskStorage.Config. #2025 by @zarechnyy

7.5.0

1 year ago

Add

  • Add a KFImage modifier startLoadingBeforeViewAppear to allow image loading before SwiftUI view's onAppear. This is a workaround for #1988.

Fix

  • Now loading images from local disk also respects the backgroundDecode option. #2009

7.4.1

1 year ago

Fix

  • A rare crash from _UIImageCGImageContent when loading GIF files on iOS 15 or later. #2004
  • Now the dSYM symbols are contained inside the xcframework bundle instead of as standalone files. #1998
  • An issue that the processor is not applied to original image data when DefaultCacheSerializer.preferCacheOriginalData is set to true. #1999

7.4.0

1 year ago

Add

  • A data property in RetrieveImageResult for reading the original data when an image loading is done. #1986
  • An async data getter in ImageDataProvider. More async methods are on the way. #1989

Fix

  • A workaround for some cases the KFImage does not load images when embedded in the SwiftUI List on iOS 16. This only alleviates the problem when shallow embedded. For deeper nested, waiting for Apple's fix. #1988 FB11564208

7.3.2

1 year ago

Fix

  • A regression introduced by the previous version, which changed the default layout behavior when setting a placeholder. Now the KFImage should have the same layout behavior as SwiftUI's AsyncImage while loading. if no placeholder is set, it takes all the proposed size while loading. If a placeholder is set, it propose size to the placeholder and follow placeholder's layout. #1975

7.3.1

1 year ago

Fix

  • An issue that EmptyView as KFImage placeholder fails loading of the image. #1973 [@damian-rzeszot]

7.3.0

1 year ago

Add

  • Added ImageProgressive now contains a delegate onImageUpdated which will notify you everytime the progressive scanner can decode an intermediate image. You also have a chance to choose an image update strategy to respond the delegate. #1957 @jyounus
  • Now the progressive option can work with KingfisherManager. Previously it only works when set in the view extension methods under kf. #1961 @onevcat

Fix

  • A potential crash in AnimatedImageView that releasing on another thread. #1956 @ufosky
  • A few internal clean up and removal of unused code. #1958 @idrougge

Remove

  • With the support of ImageProgressive.onImageUpdated, the semantic of ImageProgressive.default is conflicting with the behavior. ImageProgressive.default is now marked as deprecated. To initilize a default ImageProgressive, use ImageProgressive.init() instead.

7.2.4

1 year ago

Fix

  • Dependency of DocC plugin is now removed and Swift Package Index can still generate and host the documentation. #1952 @marcusziade

7.2.3

1 year ago

Fix

  • Now the URL based AVAssetImageDataProvider support tracking transform by default. This could solve some cases that the video thumbnail were not at correct orientation. #1951 @sgarg4008
  • Use DocC as documentation generator and switch to Swift Package Index as the host. Big thanks to @daveverwer and all other fellows for the fantastic work!