diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f20b998..97689966 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +## [5.17.0 - Reduce RAM with Force Decode, on Jul 13th, 2023](https://github.com/rs/SDWebImage/releases/tag/5.17.0) +See [all tickets marked for the 5.17.0 release](https://github.com/SDWebImage/SDWebImage/milestone/118) + +### Performance +- Refactory the logic to handle force decode logic to avoid CA copy frame buffer, introduce SDImageForceDecodePolicy detailed control #3559 #3417 +- - This fix the issue that non-ImageIO coder (means, WebPCoder) will cause CA to copy bitmap buffers and increase memory usage. +- - You can still custom the behavior using the new `SDImageForceDecodePolicy`, defaults to automatic. +- For coder plugin who want to opt-in to avoid `CA::copy_image`, use the new `preferredPixelFormat:` and to do bytes alignment and colorspace convert. + +### Fixes +- Fix macOS bug that SDImageCoderDecodeScaleDownLimitBytes still use the AnimatedImageRep and beyond the byte limit #3561 +- Change macOS `sd_colorAtPoint/sd_colorsWithRect` which may loss colorspace information. Now it correctly convert to sRGB colorspace always. + ## [5.16.0 - Limit Bytes && Frame Pool, on Jun 4th, 2023](https://github.com/rs/SDWebImage/releases/tag/5.16.0) See [all tickets marked for the 5.16.0 release](https://github.com/SDWebImage/SDWebImage/milestone/116) diff --git a/SDWebImage.podspec b/SDWebImage.podspec index 3f569e71..5e8eb939 100644 --- a/SDWebImage.podspec +++ b/SDWebImage.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'SDWebImage' - s.version = '5.16.0' + s.version = '5.17.0' s.osx.deployment_target = '10.11' s.ios.deployment_target = '9.0' diff --git a/WebImage/Info.plist b/WebImage/Info.plist index ea6eccb9..ffb3fa3f 100644 --- a/WebImage/Info.plist +++ b/WebImage/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 5.16.0 + 5.17.0 CFBundleSignature ???? CFBundleVersion - 5.16.0 + 5.17.0 NSPrincipalClass