All Versions
129
Latest Version
Avg Release Cycle
33 days
Latest Release
693 days ago
Changelog History
Page 1
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
, deprecateSDImageCoderWebImageContext
#3421 - ⚡️ - Note the deprecated
SDImageCoderWebImageContext
is no longer used. Update your codebase to useSDWebImageContextImageDecodeOptions
to pass extra information from manager to coder. Loaded image will also store the same information inimage.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 needSDWebImageWaitStoreCache
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
- 🗄 Introduce
-
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
andsd_colorsWithRect
support for grayscale image (white and alpha) #3372
⚠ Warnings
- 🛠 Fix the clang analyze issue #3373
- ➕ Added
-
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 placeholderNSOperation
. 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