All Versions
129
Latest Version
Avg Release Cycle
33 days
Latest Release
88 days ago

Changelog History
Page 1

  • v5.14.1 Changes

    November 11, 2022

    ๐Ÿš€ See all tickets marked for the 5.14.1 release

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix the iOS 12 crash because the underlyingQueue is nil #3434 #3433
    • ๐Ÿ›  Fix the missing lock for callbackTokens which may cause thread-safe issue #3439 #3438
    • ๐Ÿ‘‰ Use CoreGraphics to decode PDF instead of ImageIO to solve iOS 16's issue #3436
  • v5.14.0 Changes

    November 08, 2022

    ๐Ÿš€ See all tickets marked for the 5.14.0 release

    Behavior Changes

    • ๐Ÿ—„ Introduce SDWebImageContextImageDecodeOptions, deprecate SDImageCoderWebImageContext #3421
    • โšก๏ธ - Note the deprecated SDImageCoderWebImageContext is no longer used. Update your codebase to use SDWebImageContextImageDecodeOptions to pass extra information from manager to coder. Loaded image will also store the same information in image.sd_decodeOptions
    • ๐Ÿ”จ Refactor the hack when multiple different thumbnail image requests for same url called at the same time #3423
    • - Now the SDWebImageDownloader can callback each thumbnail request for same url with the correct image size as well (previously can't)
    • - Now if manager's callback image is thumbnail (image.sd_isThumbnail == YES), or transformed (image.sd_isTransformed == YES), the callback data will be nil. This because the image does not match downloaded data actually. If you really need original full size data, query the disk cache again using the original key. You may need SDWebImageWaitStoreCache options as well. (previously behavior is undefined, may callback with full size data, or encoded small size data, or even nil)

    ๐Ÿ”‹ Features

    Coder

    • ๐Ÿ‘Œ Support use url.path or custom UTI hint passed to ImageIO, solve the TIFF/NEF/SRW raw image decoding with wrong size #3419
    • - Note from 5.14.0, we may pass the file extension to coder as a UTI hint
    • โž• Added SDImageCoderDecodeUseLazyDecoding to control whether to use lazy-decoding for ImageIO #3425
    • 0๏ธโƒฃ - Note from 5.14.0, by default we enable lazy decoding for static image coder, disable lazy decoding for animated image coder, suitable for most cases. If you want, pass .decodeUseLazyDecoding = YES to context option .imageDecodeOptions

    ๐ŸŽ Performance

    • โ†ช Introduce new workaround to strip CGImage retained CGImageSource on iOS 15 #3425 #3387
    • - Note this also fix the limitation that you can not use lazy-decoding for animated image on iOS 15+. Pass .decodeUseLazyDecoding = YES to context option .imageDecodeOptions
    • ๐ŸŽ Replace conformsToProtocol call with appropriate respondsToSelector check to improve performance #3429
    • ๐Ÿ›  Fix del redundant autoreleasepool #3388

    ๐Ÿ›  Fixes

    • Avoid store again when origin disk cache hit during Thumbnail or Transformer with smaller pixel size #3428 #3395
    • โž• Add the possible nullable logic check when the force-decode/copy failed #3427
  • v5.13.5 Changes

    October 29, 2022

    ๐Ÿš€ See all tickets marked for the 5.13.4 release

    ๐Ÿ›  Fixes

    • Quick fix the issue that UIImage.sd_decodeOptions cause retain cycle when pass custom cache in context option #3420 #3371
  • v5.13.4 Changes

    September 26, 2022

    ๐Ÿš€ See all tickets marked for the 5.13.4 release

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix the potential out of bounds crash for ImageIO incremental animation decoding (like GIF) #3408
  • v5.13.3 Changes

    September 19, 2022

    ๐Ÿš€ See all tickets marked for the 5.13.3 release

    ๐Ÿ›  Fixes

    • โ†ช Try to workaround iOS 15+ crash that CGImage retain the CGImageSource during animation image playing #3387
    • ๐Ÿ›  Fix the crash because of SDWebImageCombinedOperation recursive lock #3403
    • ๐Ÿ”€ Synchronise getter and setter of the cancelled property of the SDWebImageCombinedOperation #3393
    • ๐Ÿ›  Fix the switching from animated image rendering to static image does not works on macOS 11+ #3402
  • v5.13.2 Changes

    July 23, 2022

    ๐Ÿš€ See all tickets marked for the 5.13.2 release

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix the rare case when cancel an async disk cache query may cause twice callback #3380 #3374
    • This Bug effect version 5.13.0-5.13.1

    โš  Warnings

    • ๐Ÿ›  Fix pragma mark typo #3379
  • v5.13.1 Changes

    July 16, 2022

    ๐Ÿš€ See all tickets marked for the 5.13.1 release

    ๐Ÿ”‹ Features

    • โž• Added SDImageCoderHelper.defaultDecodeSolution to control the force decode solution. Automatic by default #3368 #3365
    • Now imageByPreparingForDisplay is only applied for JPEG/HEIF images. If you want the 5.12.0 behavior, set the solution to .uiKit instead

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix the PDF image without thumbnailPixelSize will result huge bitmap size, now fixed into 72 DPI matching PDFKit #3370
    • Fix sd_colorAtPoint and sd_colorsWithRect support for grayscale image (white and alpha) #3372

    โš  Warnings

    • ๐Ÿ›  Fix the clang analyze issue #3373
  • v5.13.0 Changes

    June 27, 2022

    ๐Ÿš€ 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
  • v5.12.6 Changes

    June 12, 2022

    ๐Ÿš€ See all tickets marked for the 5.12.6 release

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix the thumbnail pixel size calculation when preserveAspectRatio is true #3354
    • ๐Ÿ›  Fix macOS compile on Xcode 14 which missing necessary CoreImage import #3353
    • ๐Ÿ›  Fix a crash of accessing +[NSScreen mainScreen] from background thread on OSX 10.11. #3337

    ๐ŸŽ Performance

    • ๐ŸŽ Small performance improvement to generating file URLs in SDDiskCache -setData:forKey: #3346
  • v5.12.5 Changes

    March 16, 2022

    ๐Ÿš€ See all tickets marked for the 5.12.5 release

    ๐Ÿ›  Fixes

    • โ†ช Workaround iOS 15+ force decode again using Image Renderer(preferred) and RGB888 #3334