Kaynağa Gözat

Bumped version to 5.15.0

update CHANGELOG
DreamPiggy 3 yıl önce
ebeveyn
işleme
6c6b951845
4 değiştirilmiş dosya ile 26 ekleme ve 3 silme
  1. 22 0
      CHANGELOG.md
  2. 1 0
      README.md
  3. 1 1
      SDWebImage.podspec
  4. 2 2
      WebImage/Info.plist

+ 22 - 0
CHANGELOG.md

@@ -1,3 +1,25 @@
+## [5.15.0 - Performance Enhancement, on Jan 17th, 2023](https://github.com/rs/SDWebImage/releases/tag/5.15.0)
+See [all tickets marked for the 5.15.0 release](https://github.com/SDWebImage/SDWebImage/milestone/108)
+
+### Features
+
+#### Encoder
+- Added encodeWithFrames API for animation encoding in custom coder, better for usage #3469
+- - Previously you have to wrap `SDImageFrame` array into temp image object for encoding, this cause wrap/unwrap performance cost (even bad on macOS because it implicit triggers temp GIF encoding). Now you can directly pass it into new `encodedDataWithFrames:` APIs.
+
+#### Decoder
+- Update the decode solution to allows CoreGraphics avoid using any UIKit method #3468
+
+#### Cache
+- Seperate the SDImageCache encode queue and IO queue to match waitStoreCache behavior #3466
+- - Now, the encode process does not block IO queue and query disk cache faster. Previously `SDWebImageWaitStoreCache` is useless when you use transformer or cache serializer. Now you MUST pass this if you want to query disk cache inside completionBlock.
+
+#### Manager/Cache/Loader
+- Added context option callbackQueue and SDCallbackQueue wrapper for advanced user to control which queue to callback #3465 #3457
+- - If you want SDWebImage callback your completion in current non-main queue, pass `.context[.callbackQueue] = .current`
+- Added SDWebImageContextImageEncodeOptions to pass encode options like compression quality to SDImageCache storeImage API #3466
+- - The re-encode and store cache logic happens if you use transformer or custom cache serializer, now you can pass the encode options.
+
 ## [5.14.3 - 5.14 Opt, on Dec 27th, 2022](https://github.com/rs/SDWebImage/releases/tag/5.14.3)
 See [all tickets marked for the 5.14.3 release](https://github.com/SDWebImage/SDWebImage/milestone/106)
 

+ 1 - 0
README.md

@@ -62,6 +62,7 @@ The new framework introduce two View structs `WebImage` and `AnimatedImage` for
 - [SDWebImageAVIFCoder](https://github.com/SDWebImage/SDWebImageAVIFCoder) - coder for AVIF (AV1-based) format. Based on [libavif](https://github.com/AOMediaCodec/libavif)
 - [SDWebImagePDFCoder](https://github.com/SDWebImage/SDWebImagePDFCoder) - coder for PDF vector format. Using built-in frameworks
 - [SDWebImageSVGCoder](https://github.com/SDWebImage/SDWebImageSVGCoder) - coder for SVG vector format. Using built-in frameworks
+- [SDWebImageSVGNativeCoder](https://github.com/SDWebImage/SDWebImageSVGNativeCoder) - coder for SVG-Native vector format. Based on [svg-native](https://github.com/adobe/svg-native-viewer)
 - [SDWebImageLottieCoder](https://github.com/SDWebImage/SDWebImageLottieCoder) - coder for Lottie animation format. Based on [rlottie](https://github.com/Samsung/rlottie)
 - and more from community!
 

+ 1 - 1
SDWebImage.podspec

@@ -1,6 +1,6 @@
 Pod::Spec.new do |s|
   s.name = 'SDWebImage'
-  s.version = '5.14.3'
+  s.version = '5.15.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.14.3</string>
+	<string>5.15.0</string>
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>
-	<string>5.14.3</string>
+	<string>5.15.0</string>
 	<key>NSPrincipalClass</key>
 	<string></string>
 </dict>