SDWebImage Changelog

What's new in SDWebImage 3.7.3

Aug 11, 2015
  • Adds support for iOS 8+ Framework and Carthage #1071 #1081 #1101
  • [Refactor] Use NSMutableSet for failed URLs' storage instead of array #1076
  • Make a constant for the error domain #1011
  • Improve operation behavior #988
  • Bug fix: Collection was mutated while being enumerated #985
  • added SDWebImageAvoidAutoSetImage option to avoid automatic image addition in UIImageView and let developer to do it himself #1188
  • Added support for custom disk cache folder with fall back for caches directory #1153
  • Added some files to the workspace so they are easier to edit 8431481
  • Doc update 72ed897 7f99c01 #1016 #1038 #1045
  • [Memory Issue] Clear SDWebImagePrefetcher progressBlock when it has completed #1017
  • avoid warning : ImageIO: CGImageSourceCreateWithData data parameter is nil if imageData is nil 88ee3c6 #1018
  • allow override diskCachePath #1041
  • Use __typeof(self) when assigning weak reference for block #1054
  • [Refactor] Implement cache cost calculation as a inline function #1075
  • @3x support 9620fff #1005
  • Fix parenthesis to avoid crashes #1104
  • Add NSCache countLimit property #1140
  • failedURLs can be removed at the appropriate time #1111
  • Purge NSCache on system memory notifications #1143
  • Determines at runtime is UIApplication is available as per #1082 #1085
  • Fixes http://git.chromium.org/webm/libwebp.git/info/refs not valid #1175 + Reverted #1193 + #1177
  • 404 image url was causing the test to fail 0e761f4
  • Fix for transparency being lost in transformed images. #1121
  • Add handling for additional error codes that shouldn't be considered a permanent failure #1159
  • add webp accepted content type only if WebP enabled #1178
  • fix ImageIO: CGImageSourceCreateWithData data parameter is nil #1167
  • Applied patch for issue #1074 SDWebImage residing in swift module breaks the debugger #1138
  • Fixed URLs with trailing parameters get assigned an incorrect image scale value #1157 #1158
  • Add newline to avoid compiler warning in WebImage.h #1199

New in SDWebImage 3.7.2 (Apr 21, 2015)

  • Updates:
  • bumped libwep version to 0.4.3
  • Features:
  • implement SDWebImageDownloaderAllowInvalidSSLCertificates option - #937
  • flag to transform animated images (SDWebImageTransformAnimatedImage) - #703
  • allows user to override default SDWebImageDownloaderOperation - #876
  • adds option to decompress images and select prefetcher queue - #996
  • Fixes:
  • fixed #809 cancelAll crash - #838
  • fixed #900 by adding a new flag SD_LOG_NONE that allows silencing the SD logs from the Prefetcher
  • fixed #895 unsafe setImage in setImageWithURL: - #896
  • fix NSNotificationCenter dispatch on subthreads - #987
  • fix SDWebImageDownloader threading issue - #1046
  • fixed duplicate failed urls are added into failedURLs - #994
  • increased default maxConcurrentOperationCount, fixes #527 - #897
  • handle empty urls NSArray - #929
  • decoding webp, depends on source image data alpha status - #936
  • fix #610 display progressive jpeg issue - #840
  • the code from SDWebImageDownloaderOperation connection:didFailWithError: should match the code from connectionDidFinishLoading:. This fixes #872 - 7f39e5e
  • 304 - Not Modified HTTP status code handling - #942
  • cost compute fix - #941
  • initialise kPNGSignatureData data - #981

New in SDWebImage 3.7.1 (Jul 23, 2014)

  • fixed sd_imageOrientationFromImageData: crash if imageSource is nil - #819 #813 #808 #828 - temporary fix
  • fixed SDWebImageCombinedOperation cancel crash (also visible as SDWebImageManager cancelAll) - 28109c4 #798 #809
  • fixed duplicate symbols when using with webp via pods - #795
  • fixed missing mark from pragma mark - #827

New in SDWebImage 3.7.0 (Jul 15, 2014)

  • Features:
  • Add category for imageView's highlighted state UIImageView+HighlightedWebCache - #646 #765
  • Keep a reference to the image URL - #560
  • Pass imageURL in completedBlock - #770
  • Implemented NTLM auth support. Replaced deprecated auth challenge methods from NSURLConnectionDelegate - #711 50c4d1d
  • Ability to suspend image downloaders SDWebImageDownloader setSuspended: - #734
  • Delay the loading of the placeholder image until after load - #701
  • Ability to save images to cache directly - #714
  • Support for image orientation - #764
  • Added async SDImageCache removeImageForKey:withCompletion: - #732 cd4b925
  • Exposed cache paths - #339
  • Exposed SDWebImageManager cacheKeyForURL: - 5fd21e5
  • Exposing SDWebImageManager instance from the SDWebImagePrefetcher class - 6c409cd
  • SDWebImageManager uses the shared instance of SDWebImageDownloader - 0772019
  • Refactor the cancel logic - #771 6d01e80 23874cd a6f11b3
  • Added method SDWebImageManager cachedImageExistsForURL: to check if an image exists in either the disk OR the memory cache - #644
  • Added option to use the cached image instead of the placeholder for UIImageView. Replaces #541 - #599 30f6726
  • Created workspace + added unit tests target
  • Updated documentation - #476 #384 #526 #376 a8f5627
  • Bug fixes:
  • Fixed Xcode 6 builds - #741 0b47342
  • Fixed diskImageExistsWithKey: deadlock - #625 6e4fbaf For consistency, added async methods in SDWebImageManager cachedImageExistsForURL:completion: and diskImageExistsForURL:completion:
  • Fixed race condition that causes cancellation of one download operation to stop a run loop that is now used for another download operation. Race is introduced through performSelector:onThread:withObject:waitUntilDone: - #698
  • Fixed race condition between operation cancelation and loading finish - 39db378 #621 #783
  • Fixed race condition in SDWebImageManager if one operation is cancelled - f080e38 #699
  • Fixed issue where cancelled operations aren't removed from runningOperations - #68
  • Should not add url to failedURLs when timeout, cancel and so on - #766 #707
  • Fixed potential object mutated while being enumerated crash - #727 #728 (revert a threading fix from #727)
  • Fixed NSURLConnection response statusCode not valid (e.g. 404), downloader never stops its runloop and hangs the operation queue - #735
  • Fixed SDWebImageRefreshCached bug for large images - #744
  • Added proper handling for SDWebImageDownloaderLowPriority - #713 #745
  • Fixed fixing potential bug when sending a nil url for UIButton+WebCache - #761 #763
  • Fixed issue #529 - if the cacheKeyFilter was set, this was ignored when computing the scaledImageForKey. For most of the developers that did not set cacheKeyFilter, the code will work exactly the same - eb91fdd
  • Returning error in setImage completedBlock if the url was nil. Added dispatch_main_async_safe macro - #505 af3e4f8
  • Avoid premature completion of prefetcher if request fails - #751
  • Return nil from SDScaledImageForKey if the input image is nil - #365 #750
  • Do not load placeholder image if SDWebImageDelayPlaceholder option specified - #780
  • Make sure we call the startPrefetchingAtIndex: method from main queue - #694
  • Save image in cache before calling completion block - #700
  • Fixed arm64 warnings - #685 #720 #721 #687
  • Improved logging - #721
  • Added SDWebImageCompat.m to SDWebImage+MKAnnotation target

New in SDWebImage 3.6 (Jul 5, 2014)

  • Fix and cleanup

New in SDWebImage 3.5 (Nov 23, 2013)

  • Fix iOS 7 related issues
  • Move WebP support to a dedicated target
  • Removed strong reference to UIImageView which was causing a crash in the nested block
  • Fix timeout issue
  • Add some methods that allow to check if an image exists on disk without taking it off disk and decompressing it first

New in SDWebImage 3.4 (Sep 4, 2013)

  • Add -calculateSizeWithCompletionBlock
  • Add multiple download of images for animationImages property of UIImageView
  • Add background task for disk cleanup #306
  • Fix dead thread issue on iOS 5 #444, #399, #466
  • Make IO operations cancelable to fix perf issue with heavy images #462
  • Fix crash "Collection was mutated while being enumerated." #471