Skip to content

Releases: SDWebImage/SDWebImageSwiftUI

1.3.0 - Animated placeholder && SDWebImage 5.7

05 Apr 07:29
Compare
Choose a tag to compare

Added

  • Supports the placeholder View Builder API for AnimatedImage #94

Changed

  • Upgrade the dependency of SDWebImage 5.7.0 #93

1.2.1 - Fix WebImage unused image fetching

01 Apr 09:53
Compare
Choose a tag to compare

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

29 Mar 13:34
Compare
Choose a tag to compare

Added

  • Supports the delayPlaceholder for WebImage #91
  • AnimatedImage little patch - UIKit/AppKit animated image now applied for resizingMode #89

Fixed

  • Fix the issue when dealloc AnimatedImage's native View, the window does not exist and cause Crash #90

1.1.0 - ImageManager for Custom View

24 Mar 12:12
Compare
Choose a tag to compare

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

03 Mar 14:30
Compare
Choose a tag to compare

Added

  • WebImage now supports animation, use isAnimating binding value on init methods.
  • WebImage now supports the detailed animation control options, like customLoopCount, pausable, purgeable, playbackRate.
  • AnimatedImage now supports the indicator with ViewModifier as WebImage.
  • IndicatorViewModifier now public.
  • IndicatorReportable now public.

Changed

  • Indicator's progress type now changed from CGFloat to Double.
  • WebImage.aniamted(_:) now becomes the WebImage.init(url:options:context:isAnimating:) Binding arg, you can use the Binding to control animations as well.
  • AnimatedImage.playBackRate now becomes AnimatedImage.playbackRate
  • AnimatedImage.customLoopCount now is UInt instead of Int.
  • 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

25 Feb 10:50
Compare
Choose a tag to compare

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

01 Feb 16:17
Compare
Choose a tag to compare

Fixes

  • Fix the issue that WebImage's onSuccess does not get called when memory cache hit for new created View Struct #77
  • Fix the issue when Indicator is hidden, which still preserve the layout on watchOS (have no issues on iOS/tvOS/macOS) #75

0.x Compatible Patch

01 Feb 10:16
Compare
Choose a tag to compare

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

28 Jan 11:29
Compare
Choose a tag to compare

Released v1.0.0 Beta

Feature

  • WebImage now supports the detailed animation control options, like customLoopCount, pausable, purgeable, playbackRate #72

Test

  • Added the Unit Test and Code Coverage #74

Break API

  • WebImage.aniamted(_:) now becomes the WebImage.init(url:options:context:isAnimating:) Binding arg, you can use the Binding to control animations as well
  • AnimatedImage.playBackRate now becomes AnimatedImage.playbackRate
  • AnimatedImage.customLoopCount now is UInt instead of Int

Fix WebImage empty placeholder

26 Jan 12:17
Compare
Choose a tag to compare

Fixes

  • Revert the EmptyView usage when WebImage does not have placeholder, which fix iOS 13.3 .frame modifier issue on WebImage #73