SDWebImage v5.12.0 Release Notes

Release Date: 2021-09-30 // 24 days ago
  • 🚀 See all tickets marked for the 5.12.0 release

    🔋 Features

    Cache

    • 🔀 Do a extra memory cache sync when weak cache feature enabled && Change the default value for shouldUseWeakMemoryCache to NO #3239
    • 🛠 Fix imageFromCacheForKey with options and context behavior, matching the async version one. #3238

    Downloader

    • 🔋 Feature: allow user to custom acceptable status code and content type #3227
    • 🔄 Change the default delegate method to allows optional cert in SSL verify, matches URLSession's behavior #3241

    Animated Image

    • ➕ Added sd_imageFrameCount convenient API for UIAinmatedImage/NSBitmapImageRep #3243
    • 👉 Make SDAnimatedImageRep confirms to correct copy semantic #3258

    🛠 Fixes

    • 🛠 Fix image source release in iOS 15 #3276
    • 🛠 Fix wrong memory cost in _UIAnimatedImage #3237
    • 🛠 Fix pixel ratio thumbnail calculation #3277
    • Fix the warning, enable APPLICATION_EXTENSION_API_ONLY for all framework target #3236

Previous changes from v5.11.1

  • 🚀 See all tickets marked for the 5.11.1 release

    🔄 Changes

    • 🔄 Change the .originalStoreCaheType and .originalQueryCacheType into .disk, Now we will store the full image data into disk and re-query the full image data by default #3219
    • 🔄 Change the willTerminate auto clean cache logic into sync version #3210

    🛠 Fixes

    • 🛠 Fix the bug that when querying original cache miss, the download process will be skipped. This is not designed behavior #3221
    • 👀 Ensure the invalid URLSeesion will receive the cancel callback and does not trigger the any exception from framework #3205

    📚 Documentation

    • 🛠 Fix spelling error in SDWebImageDownloaderOperation #3220