Releases: onevcat/Kingfisher
Releases · onevcat/Kingfisher
7.8.0 - ImageSource Protocol
Add
- Introduce a custom image source provider to enable third-party image processors to utilize
AnimatedImageView
. #2094 @yeatse
Fix
- Deprecate the
ImageResource
and rename it toKF.ImageResource
. This triggers a warning when explicitly refering toImageResource
, which conflicts to the identical names from Apple'sGeneratedAssetSymbols
orDeveloperToolsSupport
in Xcode 15. It does not fix the issue automatically, but can help to achieve a smoother transition. #2092 @JohnnyTseng @rtharston
7.7.0 - The Last Chance
Add
- Expose a new
imageDownloader(_:didReceive:completionHandler:)
delegate method inImageDownloaderDelegate
to allow makingResponseDisposition
decision to the download task. #2048 @onevcat
Fix
- Some type conversion warnings which might annoy under Swift 6 compiler. #2060 #2063 @zunda-pixel
- Apply access limitation to the internal
Source.Identifier
. #2074 @iwill-hwang
7.6.2 - Fix Dead Loop
Fix
- An issue causes high CPU usage and infinite loop when setting
nil
URL to aKFImage
whenstartLoadingBeforeViewAppear
is alsotrue
. #2035 Big thanks to @BobbyRohweder - The extension support for
CPListItem
won't set the image back to blank when the loading failing. Now it keeps showing the placeholder, if set. #2031 @DevVenusK
7.6.1 - Strict for Compiling
7.6.0 - Content Configuration
Add
- Add a
contentConfigure
modifier toKFImage
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 ofKFImage
. #2027 - Make the
cachePathBlock
public so you can also configure it when creating a customDiskStorage.Config
. #2025 by @zarechnyy
7.5.0 - Aggressive New Year
7.4.1 - Maple Days
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 totrue
. #1999
7.4.0 - Summer Ends
Add
- A
data
property inRetrieveImageResult
for reading the original data when an image loading is done. #1986 - An async
data
getter inImageDataProvider
. 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 - Align Layout
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'sAsyncImage
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 - Empty Not Void
Fix
- An issue that
EmptyView
asKFImage
placeholder fails loading of the image. #1973 [@damian-rzeszot]