Releases: SDWebImage/SDWebImageSwiftUI
Releases · SDWebImage/SDWebImageSwiftUI
1.3.1 - Fix Carthage
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
ImageManagernow public. Which allows advanced usage for custom View type. Use@ObservedObjectto bind the manager with your own View and update the image.
1.0.0 - First Major Version
Added
WebImagenow supports animation, useisAnimatingbinding value on init methods.WebImagenow supports the detailed animation control options, likecustomLoopCount,pausable,purgeable,playbackRate.AnimatedImagenow supports the indicator withViewModifierasWebImage.IndicatorViewModifiernow public.IndicatorReportablenow public.
Changed
- Indicator's
progresstype now changed fromCGFloattoDouble. WebImage.aniamted(_:)now becomes theWebImage.init(url:options:context:isAnimating:)Binding arg, you can use the Binding to control animations as well.AnimatedImage.playBackRatenow becomesAnimatedImage.playbackRateAnimatedImage.customLoopCountnow isUIntinstead ofInt.AnimatedImage.resizablemodifier 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
resizableis 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
WebImagenow 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.playBackRatenow becomesAnimatedImage.playbackRateAnimatedImage.customLoopCountnow isUIntinstead ofInt