From 10d06f6a33bafae8c164fbfd1f03391f6d4692b3 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Fri, 1 Nov 2024 19:15:09 +0800 Subject: [PATCH] Bumped version to 5.20.0 update CHANGELOG --- CHANGELOG.md | 22 ++++++++++++++++++++++ SDWebImage.json | 3 ++- SDWebImage.podspec | 2 +- WebImage/Info.plist | 4 ++-- 4 files changed, 27 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 60f0cdbd..34a1f88b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,25 @@ +## [5.20.0 - Animation Transformer with tint color, on Nov 1st, 2024](https://github.com/rs/SDWebImage/releases/tag/5.20.0) +See [all tickets marked for the 5.20.0 release](https://github.com/SDWebImage/SDWebImage/milestone/139) + +### 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 + +#### 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 use `accessDate` + +#### 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's `tintColor` naming. We now use `sourceIn` to match it. +- - Due to this changes, the `SDWebImageTintTransformer` defaults to use `sourceIn` blend mode as well. You can use transformer to tint SDAnimatedImageView as well + +### Fixes +- Fix sd_imageFormat sometimes returns undefined on static image #3760 + ## [5.19.7 - 5.19 fix, on Sep 22th, 2024](https://github.com/rs/SDWebImage/releases/tag/5.19.7) See [all tickets marked for the 5.19.7 release](https://github.com/SDWebImage/SDWebImage/milestone/139) diff --git a/SDWebImage.json b/SDWebImage.json index 0c287e59..68c9b181 100644 --- a/SDWebImage.json +++ b/SDWebImage.json @@ -4,5 +4,6 @@ "5.19.4": "https://github.com/SDWebImage/SDWebImage/releases/download/5.19.4/SDWebImage-dynamic.xcframework.zip", "5.19.5": "https://github.com/SDWebImage/SDWebImage/releases/download/5.19.5/SDWebImage-dynamic.xcframework.zip", "5.19.6": "https://github.com/SDWebImage/SDWebImage/releases/download/5.19.6/SDWebImage-dynamic.xcframework.zip", - "5.19.7": "https://github.com/SDWebImage/SDWebImage/releases/download/5.19.7/SDWebImage-dynamic.xcframework.zip" + "5.19.7": "https://github.com/SDWebImage/SDWebImage/releases/download/5.19.7/SDWebImage-dynamic.xcframework.zip", + "5.20.0": "https://github.com/SDWebImage/SDWebImage/releases/download/5.20.0/SDWebImage-dynamic.xcframework.zip" } diff --git a/SDWebImage.podspec b/SDWebImage.podspec index 98356711..b0f51ec4 100644 --- a/SDWebImage.podspec +++ b/SDWebImage.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'SDWebImage' - s.version = '5.19.7' + s.version = '5.20.0' s.osx.deployment_target = '10.11' s.ios.deployment_target = '9.0' diff --git a/WebImage/Info.plist b/WebImage/Info.plist index 1aac7dd9..874292f0 100644 --- a/WebImage/Info.plist +++ b/WebImage/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 5.19.7 + 5.20.0 CFBundleSignature ???? CFBundleVersion - 5.19.7 + 5.20.0 NSPrincipalClass