diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index 81160146..0f5e54a3 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -46,7 +46,7 @@ jobs:
matrix:
iosDestination: ["platform=iOS Simulator,name=iPhone 14 Pro"]
tvOSDestination: ["platform=tvOS Simulator,name=Apple TV"]
- watchOSDestination: ["platform=watchOS Simulator,os=10.0,name=Apple Watch Series 7 (45mm)"]
+ watchOSDestination: ["platform=watchOS Simulator,name=Apple Watch Series 8 (45mm)"]
macOSDestination: ["platform=macOS"]
macCatalystDestination: ["platform=macOS,variant=Mac Catalyst"]
steps:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a64870b7..95844a61 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [3.0.0] - 2024-03-09
+- This is the first release for 3.x version. Bump the min deplouyment from SwiftUI 1.0 to 2.0 (means iOS 14/macOS 11/tvOS 14/watchOS 7/visionOS 1)
+- Fix AnimatedImage aspectRatio issue when ratio is nil #301
+- Upgrade to support visionOS on CocoaPods #298
+
## [3.0.0-beta.3] - 2023-12-04
### Changed
diff --git a/Package.resolved b/Package.resolved
index 81bbc430..09a660d1 100644
--- a/Package.resolved
+++ b/Package.resolved
@@ -6,8 +6,8 @@
"repositoryURL": "https://github.com/SDWebImage/SDWebImage.git",
"state": {
"branch": null,
- "revision": "3e48cb68d8e668d146dc59c73fb98cb628616236",
- "version": "5.13.2"
+ "revision": "73b9397cfbd902f606572964055464903b1d84c6",
+ "version": "5.19.0"
}
}
]
diff --git a/README.md b/README.md
index 899dac04..ded65a2c 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ The framework provide the different View structs, which API match the SwiftUI fr
## Apple VisionOS
-From v3.0.0 (beta), SDWebImageSwiftUI can be compiled for visionOS platform. However, due to the lacking package manager support (need tools update), we don't support CocoaPods/SPM yet.
+From v3.0.0, SDWebImageSwiftUI can be compiled for visionOS platform. However, due to the lacking package manager support (need tools update), we don't support CocoaPods/SPM yet.
You can only use the Xcode's built-in package manager dependency to build on visionOS.
@@ -75,7 +75,30 @@ All issue reports, feature requests, contributions, and GitHub stars are welcome
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.
-From v3.0.0 (Beta), SDWebImageSwiftUI drop iOS 13 support. To use on iOS 13, checkout the latest v2.x version (or using `2.x` branch) instead.
+From v3.0.0, SDWebImageSwiftUI drop iOS 13 support. To use on iOS 13, checkout the latest v2.x version (or using `2.x` branch) instead.
+
+## for future transition
+
+Since SDWebImage 6.0 will introduce mixed Swift/Objc codebase, this repo will migrate into [SDWebImage Core Repo](https://github.com/SDWebImage/SDWebImage).
+
+But don't worry, we will use the automatic cross module overlay, whic means, you can use:
+
+```swift
+import SwiftUI
+import SDWebImage
+```
+
+to works like:
+
+```
+import SwiftUI
+import SDWebImage
+import SDWebImageSwiftUI // <-- Automatic infer this
+```
+
+You will automatically link the `SDWebImageSwiftUI`, and this library's naming will still be preserved in SPM target. So the transition is smooth for most of you, I don't want to bump another major version. **The 3.x is the final version for SDWebImageSwiftUI dedicated repo**
+
+Note: For super advanced user, if you using some custom Swift toolchain, be sure to pass `-Xfrontend -enable-cross-import-overlays`
## Installation
diff --git a/SDWebImageSwiftUI.podspec b/SDWebImageSwiftUI.podspec
index ac36be43..f347cfa9 100644
--- a/SDWebImageSwiftUI.podspec
+++ b/SDWebImageSwiftUI.podspec
@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = 'SDWebImageSwiftUI'
- s.version = '3.0.0-beta.3'
+ s.version = '3.0.0'
s.summary = 'SwiftUI Image loading and Animation framework powered by SDWebImage'
s.description = <<-DESC
diff --git a/SDWebImageSwiftUI/Module/Info.plist b/SDWebImageSwiftUI/Module/Info.plist
index 7318b946..d7939ad4 100644
--- a/SDWebImageSwiftUI/Module/Info.plist
+++ b/SDWebImageSwiftUI/Module/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
$(PRODUCT_BUNDLE_PACKAGE_TYPE)
CFBundleShortVersionString
- 3.0.0-beta.3
+ 3.0.0
CFBundleVersion
$(CURRENT_PROJECT_VERSION)