Browse Source

Bumped version to 5.20.0

update CHANGELOG
DreamPiggy 1 năm trước cách đây
mục cha
commit
10d06f6a33
4 tập tin đã thay đổi với 27 bổ sung4 xóa
  1. 22 0
      CHANGELOG.md
  2. 2 1
      SDWebImage.json
  3. 1 1
      SDWebImage.podspec
  4. 2 2
      WebImage/Info.plist

+ 22 - 0
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)
 

+ 2 - 1
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"
 }

+ 1 - 1
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'

+ 2 - 2
WebImage/Info.plist

@@ -15,11 +15,11 @@
 	<key>CFBundlePackageType</key>
 	<string>FMWK</string>
 	<key>CFBundleShortVersionString</key>
-	<string>5.19.7</string>
+	<string>5.20.0</string>
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>
-	<string>5.19.7</string>
+	<string>5.20.0</string>
 	<key>NSPrincipalClass</key>
 	<string></string>
 </dict>