SDWebImage breaking changes
SDWebImage 5.0.0 is its newest release with breaking changes, 57 of them. The first: SDWebImage 5.0.0 requires iOS 8.0 or later. Every breaking API change we have recorded in SDWebImage on CocoaPods: 82 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 5.21.7, released February 26, 2026. Source repository
Its 5.0.0 release requires iOS 8.0 or later. iOS end of life dates.
SDWebImage 5.0.0 breaking changes
- Removed
The 5.0.0 release supports iOS 8.0+, tvOS 9.0+, watchOS 2.0+ and macOS 10.10+. github.com - Removed
SDCGColorSpaceGetDeviceRGB
SDCGColorSpaceGetDeviceRGB moved to helper in SDWebImage 5.0.0 github.com - Removed
SDImageCache.addReadOnlyCachePath:
addReadOnlyCachePath removed from SDImageCache in SDWebImage 5.0.0 github.com - Removed
SDImageCache.cachePathForKey:inPath:
cachePathForKey:inPath: removed in SDWebImage 5.0.0 github.com - Removed
SDImageCache.defaultCachePathForKey:
defaultCachePathForKey removed from SDImageCache in SDWebImage 5.0.0 github.com - Removed
SDImageCache.makeDiskCachePath:
makeDiskCachePath removed from SDImageCache in SDWebImage 5.0.0 github.com - Removed
SDImageCache.maxMemoryCost
Memory limits moved to SDImageCacheConfig in SDWebImage 5.0.0 github.com - Removed
SDImageCacheConfig.shouldDecompressImages
shouldDecompressImages removed from cache config in SDWebImage 5.0.0 github.com - Removed
SDWebImageCacheMemoryOnly
SDWebImageCacheMemoryOnly option removed in SDWebImage 5.0.0 github.com - Removed
SDWebImageDownloader.cancel:
cancel: removed from downloader in SDWebImage 5.0.0 github.com - Removed
SDWebImageDownloader.createNewSessionWithConfiguration:
createNewSessionWithConfiguration: removed in SDWebImage 5.0.0 github.com - Removed
SDWebImageDownloader.headersFilter
headersFilter removed from downloader in SDWebImage 5.0.0 github.com - Removed
SDWebImageDownloader.initWithSessionConfiguration:
initWithSessionConfiguration: removed in SDWebImage 5.0.0 github.com - Removed
SDWebImageDownloaderOperation.expectedSize
expectedSize removed from downloader operation in SDWebImage 5.0.0 github.com - Removed
SDWebImageDownloaderOperation.shouldUseCredentialStorage
shouldUseCredentialStorage property removed in SDWebImage 5.0.0 github.com - Removed
SDWebImageInternalSetImageGroupKey
SDWebImageInternalSetImageGroupKey removed in SDWebImage 5.0.0 github.com - Removed
SDWebImageManager.cachedImageExistsForURL:completion
cachedImageExistsForURL:completion removed in SDWebImage 5.0.0 github.com - Removed
SDWebImageManager.diskImageExistsForURL:completion:
diskImageExistsForURL:completion: removed in SDWebImage 5.0.0 github.com - Removed
SDWebImageManager.saveImageToCache:forURL:
saveImageToCache:forURL: removed in SDWebImage 5.0.0 github.com - Removed
SDWebImageManagerDelegate.imageManager:transformDownloadedImage:forKey:
Image transform delegate method removed in SDWebImage 5.0.0 github.com - Removed
SDWebImageQueryDataWhenInMemory
SDWebImageQueryDataWhenInMemory option removed in SDWebImage 5.0.0 github.com - Removed
SDWebImageQueryDiskSync
SDWebImageQueryDiskSync option removed in SDWebImage 5.0.0 github.com - Removed
UIImage.sd_webpLoopCount
sd_webpLoopCount removed in SDWebImage 5.0.0 github.com - Removed
UIImageView.sd_cancelCurrentAnimationImagesLoad
sd_cancelCurrentAnimationImagesLoad removed in SDWebImage 5.0.0 github.com - Removed
UIImageView.sd_setAnimationImagesWithURLs:
sd_setAnimationImagesWithURLs removed in SDWebImage 5.0.0 github.com - Removed
UIView.sd_setShowActivityIndicatorView
Activity indicator setter removed in SDWebImage 5.0.0 github.com - Renamed
SDCacheQueryCompletedBlock
Cache query block type renamed in SDWebImage 5.0.0 github.com - Renamed
SDImageCache.getDiskCount
getDiskCount renamed to totalDiskCount in SDWebImage 5.0.0 github.com - Renamed
SDImageCache.getSize
getSize renamed to totalDiskSize in SDWebImage 5.0.0 github.com - Renamed
SDImageCacheConfig.maxCacheAge
maxCacheAge renamed to maxDiskAge in SDWebImage 5.0.0 github.com - Renamed
SDImageCacheConfig.maxCacheSize
maxCacheSize renamed to maxDiskSize in SDWebImage 5.0.0 github.com - Renamed
SDWebImageCalculateSizeBlock
Calculate size block type renamed in SDWebImage 5.0.0 github.com - Renamed
SDWebImageCheckCacheCompletionBlock
Cache check block type renamed in SDWebImage 5.0.0 github.com - Renamed
SDWebImageCombinedOperation.initWithCache:downloader:
initWithCache:downloader renamed to initWithCache:loader: in SDWebImage 5.0.0 github.com - Renamed
SDWebImageDownloader.maxConcurrentDownloads
maxConcurrentDownloads moved to downloader config in SDWebImage 5.0.0 github.com - Renamed
SDWebImageDownloader.setSuspended
Swift setSuspended changed to isSuspended property in SDWebImage 5.0.0 github.com - Renamed
SDWebImageDownloadOperationInterface
Download operation protocol renamed in SDWebImage 5.0.0 github.com - Renamed
SDWebImageExternalCustomManagerKey
Custom manager constant renamed in SDWebImage 5.0.0 github.com - Renamed
SDWebImageManager.imageDownloader
The property type is now id<SDImageLoader>. github.com - Renamed
SDWebImageManager.isRunning
Swift isRunning() changed to property in SDWebImage 5.0.0 github.com - Renamed
SDWebImagePrefetcher.maxConcurrentDownloads
Prefetcher concurrency property renamed in SDWebImage 5.0.0 github.com - Renamed
SDWebImagePrefetcher.prefetcherQueue
prefetcherQueue renamed to delegateQueue in SDWebImage 5.0.0 github.com - Renamed
SDWebImageProgressiveDownload
SDWebImageProgressiveDownload renamed in SDWebImage 5.0.0 github.com - Renamed
UIButton.sd_currentImageURL
Swift sd_currentImageURL() renamed to property in SDWebImage 5.0.0 github.com - Renamed
UIImage.decodedImageWithImage:
decodedImageWithImage renamed in SDWebImage 5.0.0 github.com - Renamed
UIImage.isGIF
isGIF renamed to sd_isAnimated in SDWebImage 5.0.0 github.com - Renamed
UIImage.sd_animatedGIFWithData
sd_animatedGIFWithData renamed in SDWebImage 5.0.0 github.com - Renamed
UIView.sd_imageURL
Swift sd_imageURL() renamed to property in SDWebImage 5.0.0 github.com - Behavior changed
SDImageCache
The default cache folder moved; 4.x data is migrated automatically when the shared cache initializes. Custom-namespace caches must migrate manually. github.com - Behavior changed
SDImageCacheConfig.maxMemoryCost
The cost function changed from pixel count to total bytes; multiply old pixel-count limits by 4. github.com
And 7 more in this version. Sign up to see every change
SDWebImage 5.0.0-beta3 breaking changes
- Removed
sd_setAnimationImagesWithURLs
Removed in 5.0.0-beta3 because it caused ambiguity. Stop using it. github.com
SDWebImage 5.0.0-beta2 breaking changes
- Renamed
sd_UTTypeFromSDImageFormat
The function was renamed to sd_UTTypeFromImageFormat. Update calls to the new name. github.com
SDWebImage 5.0.0-beta breaking changes
- Removed
UIImage.sd_imageLoopCount
sd_imageLoopCount was moved to the UIImage+Metadata category and the outdated method was removed. Import UIImage+Metadata to keep using it. github.com - Renamed
SDWebImageDownloader
Downloader configuration was separated into a dedicated SDWebImageDownloaderConfig object. Move config settings there. github.com - Renamed
UIImage.isGIF
UIImage isGIF was renamed to sd_isAnimated and moved to the UIImage+Metadata category. Update calls to use the new name. github.com - Behavior changed
The new minimum requirements are iOS 8.0+ and macOS 10.10+, built with Xcode 9 or later. github.com - Behavior changed
SDImageCache
The disk cache uses NSData writeToFile:options:error instead of NSFileManager createFileAtPath:contents:attributes. Writing options can be set in SDImageCacheConfig. github.com - Behavior changed
SDWebImageManager.loadImageWithURL:options:progress:completed:
The completed parameter of loadImageWithURL is now required to be non-null. Pass a completion block every time. github.com - Configuration changed
SDImageCache.maxMemoryCost
maxMemoryCost moved to SDImageCacheConfig. Set limits through the config object instead. github.com - Configuration changed
SDImageCache.maxMemoryCountLimit
maxMemoryCountLimit moved to SDImageCacheConfig. Set it through the config object instead. github.com
SDWebImage 4.0.0-beta breaking changes
- Removed
Methods kept for backwards compatibility in previous versions were removed. Stop calling any deprecated method before upgrading. github.com - Removed
Build targets SDWebImage+MKAnnotation, SDWebImage+WebP and SDWebImageFramework were deleted; use the new targets instead. github.com - Removed
dispatch_main_sync_safe
The dispatch_main_sync_safe macro was removed because it could be misused. github.com - Renamed
addActivityIndicator
Activity indicator methods now use the sd_ prefix. github.com - Renamed
removeActivityIndicator
Activity indicator methods now use the sd_ prefix. github.com - Renamed
SDWebImageCompletionBlock
Use SDExternalCompletionBlock in place of SDWebImageCompletionBlock. github.com - Renamed
SDWebImageCompletionWithFinishedBlock
Use SDInternalCompletionBlock, and update blocks to include an NSData * parameter. github.com - Renamed
SDWebImageQueryCompletedBlock
Use SDCacheQueryCompletedBlock, and update blocks to include an NSData * parameter. github.com - Renamed
setIndicatorStyle:
Activity indicator methods now use the sd_ prefix. github.com - Renamed
setShowActivityIndicatorView:
Activity indicator methods now use the sd_ prefix. github.com
And 4 more in this version. Sign up to see every change
SDWebImage 3.0 breaking changes
- Removed
The library no longer supports iOS 3 and iOS 4. Apps that still target those versions must stay on an older release or raise their deployment target. github.com
Related packages
- github.com/sdwebimage/sdwebimage on Swift Package Index
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.