All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fix the issue that using
Image(uiImage:)
will result wrong rendering mode in some component likeTabBarItem
, while usingImage(decorative:scale:orientation:)
works well #177
- Remove the WebImage placeholder maxWidth/maxHeight modifier, this may break some use case like
TabView
. If user want to use placeholder, limit themselves #178 #175
- Fix the rare cases that WebImage will lost animation when visibility changes. #171
- Update with the playbackMode support for
WebImage
andAnimatedImage
#168 - Update watchOS demo to watchOS 7, remove the custom indicator sample and use
ProgressView
instead #166 - Update the Example to make WebImage animatable by default #160
- Fix the issue sometime the
WebImage
appear/disappear logic wrong. Using UIKit/AppKit to detect the visibility #164 - Fix the leak of WebImage with animation and NavigationLink. #163
- Try to fix the recursive updateView when using AnimatedImage inside
ScrollView/LazyVStack
. Which cause App freeze #162 - Remove the fix for EXIF image in WebImage, which is fixed by Apple in iOS 14 #159
- Bump the limit to Xcode 12, because we need new iOS 14+ APIs check #167
- Update the WebImage to defaults animatable #165
- Remove the wrong design onSuccess API. Using the full params one instead #169
- Add the convenient API support to use SwiftUI transition with ease-in-out duration #116
- Update the Travis-CI to use Catalina and enable macOS test case #98
- Add the same overload method for onSuccess API, which introduce the image data arg. Keep the source code compatibility #109
- Add the support for image data observable on ImageManager #107
- Revert the changes to prefetch the image url from memory cache #106
- Try to solve the SwiftUI bug of rendering EXIF UIImage in WebImage, as well as vector images #102
- Now
WebImage
will render the vector images as bitmap version even if you don't provide.thumbnailPixelSize
. To render real vector images, useAnimatedImage
instead.
- Automatically import SDWebImage when user write import SDWebImageSwiftUI #100
- Fix Carthage support. Do not embed SDWebImage.framework in SDWebImageSwiftUI.framework #97. Thanks @jonkan
- Supports the
placeholder
View Builder API forAnimatedImage
#94
- Upgrade the dependency of SDWebImage 5.7.0 #93
- Fix the issue when using
WebImage
with some transition like scaleEffect, each time the new state update will cause unused image fetching #92
- Supports the
delayPlaceholder
for WebImage #91 AnimatedImage
little patch - UIKit/AppKit animated image now applied forresizingMode
#89
- Fix the issue when dealloc
AnimatedImage
's native View, the window does not exist and cause Crash #90
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.
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.
- 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 all the description about 0.x version behavior in README.md.