Skip to content

Commit 803bcb9

Browse files
committed
Bumped version to 5.21.0
update CHANGELOG
1 parent 3c5ad5e commit 803bcb9

File tree

4 files changed

+30
-4
lines changed

4 files changed

+30
-4
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
## [5.21.0 - HDR Support on Feb 24th, 2025]
2+
See [all tickets marked for the 5.21.0 release](https://github.com/SDWebImage/SDWebImage/milestone/142)
3+
4+
### Features
5+
#### HDR Decoding
6+
- Supports HDR decoding on Apple ImageIO coder (avif/heic/jpeg-xl, etc) #3778
7+
- - Note: Defaults to always use SDR, if you want HDR decoding, pass `SDWebImageContextDecodeToHDR: @(YES)` to context option. Pay attention even decoded CGImage is HDR ready, full rendering require display hardware support and per-image-view level control, it's recommended to read [WWDC23](https://developer.apple.com/videos/play/wwdc2023/10181/) and use proper API to check for current display headroom to turn on HDR.
8+
- - Note: Apple ImageIO coder requires macOS 14/iOS 17+ for HDR decoding. For lower firmware you can consider AVIF/HEIF/JPEG-XL [third-party codec](https://github.com/SDWebImage/SDWebImage/wiki/Coder-Plugin-List)
9+
10+
#### HDR Encoding
11+
- Supports HDR encoding on Apple ImageIO coder #3799
12+
- - Note: Defaults to always use SDR, if you want HDR dencoding, pass `SDImageCoderEncodeToHDR: @(SDImageHDRTypeISOHDR)` for ISO HDR encoding. And `SDImageHDRTypeISOGainMap` for ISO Gain Map based HDR encoding (like JPEG for compatibility)
13+
- - Note: Apple ImageIO coder requires macOS 15/iOS 18+ for HDR encoding. For lower firmware you can consider AVIF/HEIF/JPEG-XL [third-party codec](https://github.com/SDWebImage/SDWebImage/wiki/Coder-Plugin-List)
14+
15+
### Transformer
16+
- Allows user to directly customize preserveImageMetadata for our built-in transformers #3796
17+
18+
### UI Category
19+
- Change the default callback queue policy to SafeAsyncMainThread, don't need main queue check at all #3797
20+
- - Note: This should make `sd_setImageWithURL` related UI API to work on case like `UICollectionViewDiffableDataSource` , which is running on main thread but not main queue.
21+
22+
### Fixes
23+
- fix: sd_colorAtPoint/sd_colorsWithRect should early return when pixel format is not supported #3798
24+
- - Note: In history this may return a wrong color for RGB10/RGB16 pixel format. Now it just return nil, which may supported in the future.
25+
126
## [5.20.1 - 5.20 Patch on Feb 20th, 2025]
227
See [all tickets marked for the 5.20.1 release](https://github.com/SDWebImage/SDWebImage/milestone/141)
328

SDWebImage.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"5.19.6": "https://github.com/SDWebImage/SDWebImage/releases/download/5.19.6/SDWebImage-dynamic.xcframework.zip",
77
"5.19.7": "https://github.com/SDWebImage/SDWebImage/releases/download/5.19.7/SDWebImage-dynamic.xcframework.zip",
88
"5.20.0": "https://github.com/SDWebImage/SDWebImage/releases/download/5.20.0/SDWebImage-dynamic.xcframework.zip",
9-
"5.20.1": "https://github.com/SDWebImage/SDWebImage/releases/download/5.20.1/SDWebImage-dynamic.xcframework.zip"
9+
"5.20.1": "https://github.com/SDWebImage/SDWebImage/releases/download/5.20.1/SDWebImage-dynamic.xcframework.zip",
10+
"5.21.0": "https://github.com/SDWebImage/SDWebImage/releases/download/5.21.0/SDWebImage-dynamic.xcframework.zip"
1011
}

SDWebImage.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'SDWebImage'
3-
s.version = '5.20.1'
3+
s.version = '5.21.0'
44

55
s.osx.deployment_target = '10.11'
66
s.ios.deployment_target = '9.0'

WebImage/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>5.20.1</string>
18+
<string>5.21.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>5.20.1</string>
22+
<string>5.21.0</string>
2323
<key>NSPrincipalClass</key>
2424
<string></string>
2525
</dict>

0 commit comments

Comments
 (0)