Skip to content

Releases: onevcat/Kingfisher

5.7.0 - Summer Bird

03 Jul 13:47
Compare
Choose a tag to compare

Add

  • Mark cacheFileURL(forKey:) of DiskStorage to public. #1214
  • Mark KingfisherManager initializer to public so other dependencies can customize the manager behavior. #1216

Fix

  • Performance improvement on progressive JPEG scanning. #1218
  • Fix a potential thread issue when checking progressive JPEG. #1220

Remove

  • The deprecated Result extensions for Swift 4 back compatibility are removed. #1224

5.6.0 - The Sands of Time

10 Jun 15:27
Compare
Choose a tag to compare

Add

  • Support extending memory cache TTL to a specified time instead of the fixed original expire setting. Use the .memoryCacheAccessExtendingExpiration to set a customize expiration extending duration when accessing the image. #1196
  • Add prebuilt binary framework when releasing to GitHub. Further supporting of fully compatible binary framework would come after Swift module stability. #1194

Fix

  • Resizing performance for animated images should be improved dramatically. #1189
  • A small optimization on MD5 calculation for image file cache key. #1183

5.5.0 - Progressive JPEG

16 May 15:10
Compare
Choose a tag to compare

Add

  • Add support for loading progressive JPEG images. This feature is still in beta and will be improved in the next few releases. To try it out, make sure you are loading a progressive JPEG image with a .progressiveJPEG options passed in. Thanks @lixiang1994 #1181
  • Choose to use Swift.Result as the default result type when Swift 5.0 or above is applied. #1146

Fix

  • Apply to some modern Swift syntax, which may also improve internal performance a bit. #1181

5.4.0 - Accio Support

24 Apr 13:56
Compare
Choose a tag to compare

Add

  • Add support for building project with Accio (and Swift Package Manager). #1153

Fix

  • Now maxCachePeriodInSecond of cache would treat 0 as expiring correctly. #1160
  • Normalization of image now returns an image with .up as orientation. #1163

5.3.1 - Prefetching Thread

28 Mar 14:34
Compare
Choose a tag to compare

Fix

  • Some thread issues which may cause crash when loading images by ImagePrefetcher. #1150
  • Setting a negative value by the deprecated maxCachePeriodInSecond API now expires the cache correctly. #1145

5.3.0 - Prefetching Sources

24 Mar 13:33
Compare
Choose a tag to compare

Add

  • Now ImagePretcher also supports using Source as fetching target. #1142
  • An option to skip file name hashing when storing image to disk cashe. #1140
  • Supports multiple Swift versions for CocoaPods 1.7.0.

Fix

  • An issue that loading a downsampled image from original version might lead to different scale and potential memory performance problem. #1126
  • Marking setter of kf wrapper as nonmutating and seperate value/reference version of KingfisherCompatible. This allows mutating properties on kf even with a let declaration. #1134
  • A regression which causes stack overflow when using ImagePretcher to load huge ammount of images. #1143

5.2.0 - Swift 5.0

27 Feb 13:13
Compare
Choose a tag to compare

Add

  • Compatible with Swift 5.0 and Xcode 10.2. Now Kingfisher builds against Swift 4.0, 4.2 and 5.0. #1098

Fix

  • A possible dead lock when using ImagePretcher heavily in another thread. #1122
  • Redesign Result type based on Swift Result in standard library. Deprecate value and error getter for Kingfisher.Result.

5.1.1 - Racing

11 Feb 13:49
Compare
Choose a tag to compare

Fix

  • Deprecate incorrect ImageCache initializer with path parameter. Now use the cacheDirectoryURL version for clearer implemetation. #1114
  • Fix a race condition when setting download delegate from multiple ImagePrefetchers. #1109
  • Now directoryURL of disk storage backend is marked as public correctly. #1108

5.1.0 - Redirecting & Racing

12 Jan 11:12
Compare
Choose a tag to compare

Add

  • Add a ImageDownloadRedirectHandler for intercepting HTTP request which redirects. #1072

Fix

  • Some thread racing when downloading and resetting images in the same image view. #1089

5.0.1 - Interweave

17 Dec 14:50
Compare
Choose a tag to compare

Fix

  • Retrieving images from cache now respect options callbackQueue setting. #1066
  • A crash when passing zero or negative size to DownsamplingImageProcessor. #1073