SDWebImage v5.13.0 Release Notes

Release Date: 2022-06-27 // almost 2 years ago
  • ๐Ÿš€ See all tickets marked for the 5.13.0 release

    ๐Ÿ”‹ Features

    Thumbnail

    • ๐Ÿ”„ Change thumbnail cache behavior as expected, share cache through different loading pipeline without extra download #3362
    • Now the thumbnail behavior more like transformer. When request different thumbnail size and cache miss, it prefers to query full size disk cache again, then decode for request thumbnail size without actual network download

    Coder

    • โž• Added new API for custom coder better handling the thumbnail size #3359

    Cache

    • ๐Ÿ‘ Allows store image data only and introduce async API #3336
    • ๐Ÿ”€ Now the queryCacheOperationForKey API return SDImageCacheToken instead of useless placeholder NSOperation. When you cancel the cache query from main queue, it will callback in sync instead of async

    ๐ŸŽ Performance

    • ๐Ÿ‘Œ Support using iOS 15 UIImage new API imageByPreparingForDisplay for faster force decoding #3355 #3340

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix the encodeMaxPixelSize logic #3357
    • ๐Ÿ›  Fix the case when user cancel the image loading for same URL in sequence cause placeholder mass #3363