Releases: SDWebImage/SDWebImageSwiftUI
Releases · SDWebImage/SDWebImageSwiftUI
1.3.0 - Animated placeholder && SDWebImage 5.7
1.2.1 - Fix WebImage unused image fetching
Fixed
- Fix the issue when using WebImage with some transition like scaleEffect, each time the new state update will cause unused image fetching #92
1.2.0 - Supports delayPlaceholder && Bugfix
1.1.0 - ImageManager for Custom View
Added
ImageManager
now public. Which allows advanced usage for custom View type. Use@ObservedObject
to bind the manager with your own View and update the image.
1.0.0 - First Major Version
Added
WebImage
now supports animation, useisAnimating
binding value on init methods.WebImage
now supports the detailed animation control options, likecustomLoopCount
,pausable
,purgeable
,playbackRate
.AnimatedImage
now supports the indicator withViewModifier
asWebImage
.IndicatorViewModifier
now public.IndicatorReportable
now public.
Changed
- Indicator's
progress
type now changed fromCGFloat
toDouble
. WebImage.aniamted(_:)
now becomes theWebImage.init(url:options:context:isAnimating:)
Binding arg, you can use the Binding to control animations as well.AnimatedImage.playBackRate
now becomesAnimatedImage.playbackRate
AnimatedImage.customLoopCount
now isUInt
instead ofInt
.AnimatedImage.resizable
modifier now matches the SwiftUI behavior, you must call it or the size will be fixed to image pixel size.
Removed
- Removed all the description about 0.x version behavior in README.md.
1.0.0 Beta3
Behavior
- Fix AnimatedImage resizable behavior, now
resizable
is required to make it resizable, or it will preserve image pixel size #81
Example
- Update the Example with tvOS, now it supports zooming and edit mode to delete image cells #82
Tests
- Update the test case with more code coverage by using the ViewInspector
1.0.0 Beta2
0.x Compatible Patch
Fixes
- Fix the issue that WebImage's onSuccess does not get called when memory cache hit for new created View Struct
- Fix the issue when Indicator is hidden, which still preserve the layout on watchOS (have no issues on iOS/tvOS/macOS)
1.0.0 Beta - Stable API
Released v1.0.0 Beta
Feature
WebImage
now supports the detailed animation control options, likecustomLoopCount
,pausable
,purgeable
,playbackRate
#72
Test
- Added the Unit Test and Code Coverage #74
Break API
WebImage.aniamted(_:)
now becomes theWebImage.init(url:options:context:isAnimating:)
Binding arg, you can use the Binding to control animations as wellAnimatedImage.playBackRate
now becomesAnimatedImage.playbackRate
AnimatedImage.customLoopCount
now isUInt
instead ofInt
Fix WebImage empty placeholder
Fixes
- Revert the EmptyView usage when WebImage does not have placeholder, which fix iOS 13.3
.frame
modifier issue on WebImage #73