diff --git a/CHANGELOG.md b/CHANGELOG.md index f7a3e9ff..3464d4c5 100644 --- a/CHANGELOG.md +++ b/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) diff --git a/README.md b/README.md index 2a07e55d..da002006 100644 --- a/README.md +++ b/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! diff --git a/SDWebImage.podspec b/SDWebImage.podspec index 65434579..39d16f4a 100644 --- a/SDWebImage.podspec +++ b/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' diff --git a/WebImage/Info.plist b/WebImage/Info.plist index 64004149..318150fb 100644 --- a/WebImage/Info.plist +++ b/WebImage/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 5.14.3 + 5.15.0 CFBundleSignature ???? CFBundleVersion - 5.14.3 + 5.15.0 NSPrincipalClass