Skip to content

Commit 6fcaa47

Browse files
committed
Released v2.0.0 version
Update the CHANGELOG.md
1 parent 087eac6 commit 6fcaa47

File tree

5 files changed

+46
-15
lines changed

5 files changed

+46
-15
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [2.0.0] - 2021-02-23
10+
### Added
11+
- Update with the playbackMode support for `WebImage` and `AnimatedImage` #168
12+
- Update watchOS demo to watchOS 7, remove the custom indicator sample and use `ProgressView` instead #166
13+
- Update the WebImage to defaults animatable #165
14+
- Update the Example to make WebImage animatable by default #160
15+
16+
### Fixed
17+
- Fix the issue sometime the `WebImage` appear/disappear logic wrong. Using UIKit/AppKit to detect the visibility #164
18+
- Fix the leak of WebImage with animation and NavigationLink. #163
19+
- Try to fix the recursive updateView when using AnimatedImage inside `ScrollView/LazyVStack`. Which cause App freeze #162
20+
- Remove the fix for EXIF image in WebImage, which is fixed by Apple in iOS 14 #159
21+
22+
### Changed
23+
- Bump the limit to Xcode 12, because we need new iOS 14+ APIs check #167
24+
- Update the WebImage to defaults animatable #165
25+
26+
### Removed
27+
- Remove the wrong design onSuccess API. Using the full params one instead #169
28+
929
## [1.5.0] - 2020-06-01
1030
### Added
1131
- Add the convenient API support to use SwiftUI transition with ease-in-out duration #116

Example/SDWebImageSwiftUI.xcodeproj/xcshareddata/xcschemes/SDWebImageSwiftUIDemo-watchOS WatchKit App.xcscheme

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,33 +54,46 @@
5454
debugDocumentVersioning = "YES"
5555
debugServiceExtension = "internal"
5656
allowLocationSimulation = "YES">
57-
<BuildableProductRunnable
58-
runnableDebuggingMode = "0">
57+
<RemoteRunnable
58+
runnableDebuggingMode = "2"
59+
BundleIdentifier = "com.apple.Carousel"
60+
RemotePath = "/SDWebImageSwiftUIDemo-watchOS WatchKit App">
5961
<BuildableReference
6062
BuildableIdentifier = "primary"
6163
BlueprintIdentifier = "32E529362348A0DD00EA46FF"
6264
BuildableName = "SDWebImageSwiftUIDemo-watchOS WatchKit App.app"
6365
BlueprintName = "SDWebImageSwiftUIDemo-watchOS WatchKit App"
6466
ReferencedContainer = "container:SDWebImageSwiftUI.xcodeproj">
6567
</BuildableReference>
66-
</BuildableProductRunnable>
68+
</RemoteRunnable>
6769
</LaunchAction>
6870
<ProfileAction
6971
buildConfiguration = "Release"
7072
shouldUseLaunchSchemeArgsEnv = "YES"
7173
savedToolIdentifier = ""
7274
useCustomWorkingDirectory = "NO"
7375
debugDocumentVersioning = "YES">
74-
<BuildableProductRunnable
75-
runnableDebuggingMode = "0">
76+
<RemoteRunnable
77+
runnableDebuggingMode = "2"
78+
BundleIdentifier = "com.apple.Carousel"
79+
RemotePath = "/SDWebImageSwiftUIDemo-watchOS WatchKit App">
7680
<BuildableReference
7781
BuildableIdentifier = "primary"
7882
BlueprintIdentifier = "32E529362348A0DD00EA46FF"
7983
BuildableName = "SDWebImageSwiftUIDemo-watchOS WatchKit App.app"
8084
BlueprintName = "SDWebImageSwiftUIDemo-watchOS WatchKit App"
8185
ReferencedContainer = "container:SDWebImageSwiftUI.xcodeproj">
8286
</BuildableReference>
83-
</BuildableProductRunnable>
87+
</RemoteRunnable>
88+
<MacroExpansion>
89+
<BuildableReference
90+
BuildableIdentifier = "primary"
91+
BlueprintIdentifier = "32E529362348A0DD00EA46FF"
92+
BuildableName = "SDWebImageSwiftUIDemo-watchOS WatchKit App.app"
93+
BlueprintName = "SDWebImageSwiftUIDemo-watchOS WatchKit App"
94+
ReferencedContainer = "container:SDWebImageSwiftUI.xcodeproj">
95+
</BuildableReference>
96+
</MacroExpansion>
8497
</ProfileAction>
8598
<AnalyzeAction
8699
buildConfiguration = "Debug">

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ Besides all these features, we do optimization for SwiftUI, like Binding, View M
3636

3737
This framework is under heavily development, it's recommended to use [the latest release](https://github.com/SDWebImage/SDWebImageSwiftUI/releases) as much as possible (including SDWebImage dependency).
3838

39-
The v1.0.0 version is now **released**, which provide all the function above, with the stable API, fully documentation and unit test.
40-
4139
This framework follows [Semantic Versioning](https://semver.org/). Each source-break API changes will bump to a major version.
4240

4341
## Changelog
@@ -61,7 +59,7 @@ All issue reports, feature requests, contributions, and GitHub stars are welcome
6159

6260
iOS 14(macOS 11) introduce the SwiftUI 2.0, which keep the most API compatible, but changes many internal behaviors, which breaks the SDWebImageSwiftUI's function.
6361

64-
From v1.6.0, we adopt SwiftUI 2.0 and iOS 14(macOS 11)'s behavior.You can use `WebImage` and `AnimatedImage` inside the new `LazyVStack`.
62+
From v2.0.0, we adopt SwiftUI 2.0 and iOS 14(macOS 11)'s behavior.You can use `WebImage` and `AnimatedImage` inside the new `LazyVStack`.
6563

6664
```swift
6765
var body: some View {
@@ -75,7 +73,7 @@ var body: some View {
7573
}
7674
```
7775

78-
Note: However, many differences behavior between iOS 13/14's is hard to fixup. Due to maintain issue, in the future v2.0.0, we will drop the iOS 13 supports and always match SwiftUI 2.0's behavior.
76+
Note: However, many differences behavior between iOS 13/14's is hard to fixup. Due to maintain issue, in the future release, we will drop the iOS 13 supports and always match SwiftUI 2.0's behavior.
7977

8078

8179
## Installation
@@ -86,7 +84,7 @@ SDWebImageSwiftUI is available through [Swift Package Manager](https://swift.org
8684

8785
+ For App integration
8886

89-
For App integration, you should using Xcode 11 or higher, to add this package to your App target. To do this, check [Adding Package Dependencies to Your App](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app?language=objc) about the step by step tutorial using Xcode.
87+
For App integration, you should using Xcode 12 or higher, to add this package to your App target. To do this, check [Adding Package Dependencies to Your App](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app?language=objc) about the step by step tutorial using Xcode.
9088

9189
+ For downstream framework
9290

@@ -95,7 +93,7 @@ For downstream framework author, you should create a `Package.swift` file into y
9593
```swift
9694
let package = Package(
9795
dependencies: [
98-
.package(url: "https://github.com/SDWebImage/SDWebImageSwiftUI.git", from: "1.0")
96+
.package(url: "https://github.com/SDWebImage/SDWebImageSwiftUI.git", from: "2.0.0")
9997
],
10098
)
10199
```
@@ -149,7 +147,7 @@ var body: some View {
149147
}
150148
```
151149

152-
Note: This `WebImage` using `Image` for internal implementation, which is the best compatible for SwiftUI layout and animation system. But unlike SwiftUI's `Image` which does not support animated image or vector image, `WebImage` supports animated image as well (by defaults from v1.6.0).
150+
Note: This `WebImage` using `Image` for internal implementation, which is the best compatible for SwiftUI layout and animation system. But unlike SwiftUI's `Image` which does not support animated image or vector image, `WebImage` supports animated image as well (by defaults from v2.0.0).
153151

154152
However, The `WebImage` animation provide simple common use case, so it's still recommend to use `AnimatedImage` for advanced controls like progressive animation rendering, or vector image rendering.
155153

SDWebImageSwiftUI.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'SDWebImageSwiftUI'
11-
s.version = '1.5.0'
11+
s.version = '2.0.0'
1212
s.summary = 'SwiftUI Image loading and Animation framework powered by SDWebImage'
1313

1414
s.description = <<-DESC

SDWebImageSwiftUI/Module/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.6.0</string>
18+
<string>2.0.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
</dict>

0 commit comments

Comments
 (0)