Releases: SDWebImage/SDWebImage
Releases · SDWebImage/SDWebImage
5.20.0 - Animation Transformer with tint color
See all tickets marked for the 5.20.0 release
Features
Animation Transformer
- SDAniamtedImageView now supports to apply transformer (post-processing of frame), with the SDAnimatedImage. #3761
- You can apply transform like blurs, tint, CIFilters on animation frames.
-
- Detailed behavior: Transform is applied just after the frame been decoded, on the global decode queue.
-
- Detailed behavior: The transformed image replace the original decoded one, and re-use the design of
maxBufferSize
on SDAnimatedImageView
- Detailed behavior: The transformed image replace the original decoded one, and re-use the design of
Disk Cache
- Supports LRU eviction on disk cache, change the default expire type to accessDate instead of modificationDate #3759
-
- In previous versions, the disk cache does not actually supports LRU (The NSFileManager read API does not update the
accessDate
), this version fix this issue and change the default behavior to useaccessDate
- In previous versions, the disk cache does not actually supports LRU (The NSFileManager read API does not update the
Tint Color
- Add blend mode to UIImage+Transform tint color API, default blend mode changed to sourceIn #3749
-
- In previous versions, the blend mode use
sourceAtop
and does not match UIKit'stintColor
naming. We now usesourceIn
to match it.
- In previous versions, the blend mode use
-
- Due to this changes, the
SDWebImageTintTransformer
defaults to usesourceIn
blend mode as well. You can use transformer to tint SDAnimatedImageView as well
- Due to this changes, the
Fixes
- Fix sd_imageFormat sometimes returns undefined on static image #3760
5.19.7 - 5.19 Patch
5.19.6 - Thumbnail performance
See all tickets marked for the 5.19.5 release
Performance
- Use the better way to detect lazy/non-lazy CGImage. Only do force decoding for lazy image (avoid thumbnail image been decoded twice) #3736
Fixes
- Remove the unused code for iOS 10 polyfill #3735
5.19.5 - Swift 6 Compatible
See all tickets marked for the 5.19.5 release
Fixes
- Fix our HEIC coder to encode timed image sequences instead of non-timed image gallery for HEIC encoding #3727
-
- If you have use case to encode static multi-frame HEIC image, use ImageIO directly. SDWebImage currenly always assume multi-frame image to be animated.
Project
- Use the new macro from Swift compiler and SDK to mark the UIImage/UIImageView subclass matching what they designed to be #3731
-
- This solve the Xcode 16 Beta issue when trun on Swift 6 mode with strict concurrency.
Tests
- Try to re-enable the HEIC encoding test and visionOS xctest #3728
5.19.4 - 5.19 Patch
See all tickets marked for the 5.19.4 release
Fixes
- Fix the issue that SDAnimatedImage breaks the vector on macOS #3724
5.19.3 - 5.19 Patch
See all tickets marked for the 5.19.3 release
Fixes
- Fix the detection of SVGImageRep on macOS AppKit #3716
5.19.2 - Canonical Binary XCFramework
See all tickets marked for the 5.19.2 release
Fixes
- [Important] Fix some performance regression when SDAnimatedImage created with static format like JPEG #3708
- Fix that colorSpaceGetDeviceRGB cache the color space even when active display changed #3712
Project
- Added GitHub action to release XCFramework which is self-signed #3711 #3709
-
- This is the canonical release of binary framework. Import certifacate and verify the public key when you download the binary framework from unknown sources to avoid supply chain attack.
-
- For Carthage user who build its own SDWebImage binary framwork, you must sign yourself.
- Fix CocoaPods resource bundle when using only
SDWebImage/Core
5.19.1 - 5.9 Patch
See all tickets marked for the 5.19.1 release
Features
- Allows the transformer to preserve the UIImage metadata like image format #3688
- Add a protect when NSString passed into sd_setImageWithURL API (which should be NSURL instance) #3686 @aasdsjk
Performance
- Replace NSFileManager.enumeratorAtPath with enumeratorAtURL for performance and RAM saving #3690 @ChengzhiHuang
Warnings
- mark SDWebImageCacheKeyFilter default initializer unavailable & add missing default case of SDCallbackQueue sync/async function #3683 @adamwangxx
5.19.0 - CocoaPods X VisionOS
See all tickets marked for the 5.19.0 release
Project
- [Part 2]Added the official visionOS support with CocoaPods, include Demo/Tests/CI #3673
- This need CocoaPods 1.13.0+
- Next: We'll bump other SDWebImage.org Pods, like
SDWebImageSwiftUI
,SDWebImageWebPCoder
,libwebp
on CocoaPods with the visionOS podspec support.
Features
- Added SDWebImageWaitTransition to wait for transition finished and then callback completedBlock #3680
Changes
- Formally deprecate
sd_cancelCurrentImageLoad
on UIView category, which cause misunderstanding for the same overloaded method in UIImageView category #3654
5.18.12 - 5.8 Patch
See all tickets marked for the 5.18.12 release
Fixes
- Fix the issue that iOS 17 indexed PNG workaround breaks the 16bit RGBA PNG #3678