Skip to content

4.3.0 - Image Progress & Transition

Compare
Choose a tag to compare
@dreampiggy dreampiggy released this 01 Feb 03:27
· 2113 commits to master since this release

See all tickets marked for the 4.3.0 release

Features

  • View Category
    • Add NSProgress API in sd_imageProgress property represent the image loading progress, this allow user add KVO on it for complicated logic #2172
    • Add Image Transition API in sd_imageTransition property support custom image transition after image load finished #2182
    • Add NSButton WebCache category on macOS #2183
  • Cache
    • Add query cache options for query method #2162
    • Add sync version API diskImageDataExistsWithKey and diskCacheWritingOptions #2190
  • Manager
    • Add a option SDWebImageFromCacheOnly to load the image from cache only and prevent network #2186

Fixes

  • Coder
    • Fix GIF loopCount when the GIF image has no Netscape 2.0 loop extension #2155
  • View Category
    • Fix the issue that setAnimationImagesWithURLs weak reference may dealloc before the animated images was set #2178
  • Cache
    • Fix the getSize method which use the default file manager instead of current file manager #2180
  • Manager
    • Fix the leak of runningOperations on race condition #2177
  • Downloader
    • Ensure all the session delegate completionHandler called and fix the leak when response error code below iOS 10 #2197
    • Fix dispatch_sync blocking the main queue on race condition #2184
    • Fix the thread-safe issue for headers mutable dictionary in downlaoder #2204
  • Download Operation
    • Fix that 0 pixels error should be used when width OR height is zero but not AND #2160
    • Use the synchronized to access NSURLCache and try fix the potential thread-safe problem #2174
  • Prefetcher
    • Fix the issue that prefetcher will cause stack overflow when the input urls list is huge because of recursion function call #2196

Performances

  • View Category
    • Use the associate object to store the FLAnimatedImage into memory cache, avoid blinking or UIView transition #2181

Improvements

  • Cache
    • Remove the extra memory warning notification for AutoPurgeCache #2153
  • Downloader
    • Avoid user accidentally invalidates the session used in shared downloader #2154
  • Project
    • Update the spec file to define the dependency version for libwebp #2169