Release 3.0.0
This is the initial release. In the future this SwiftUI repo will merged into SDWebImage Core repo
This commit is contained in:
parent
5d6502aba9
commit
e057a3cda6
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
27
README.md
27
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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>3.0.0-beta.3</string>
|
||||
<string>3.0.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>$(CURRENT_PROJECT_VERSION)</string>
|
||||
</dict>
|
||||
|
|
Loading…
Reference in New Issue