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:
DreamPiggy 2024-03-09 22:44:01 +08:00
parent 5d6502aba9
commit e057a3cda6
6 changed files with 35 additions and 7 deletions

View File

@ -46,7 +46,7 @@ jobs:
matrix: matrix:
iosDestination: ["platform=iOS Simulator,name=iPhone 14 Pro"] iosDestination: ["platform=iOS Simulator,name=iPhone 14 Pro"]
tvOSDestination: ["platform=tvOS Simulator,name=Apple TV"] 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"] macOSDestination: ["platform=macOS"]
macCatalystDestination: ["platform=macOS,variant=Mac Catalyst"] macCatalystDestination: ["platform=macOS,variant=Mac Catalyst"]
steps: steps:

View File

@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [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 ## [3.0.0-beta.3] - 2023-12-04
### Changed ### Changed

View File

@ -6,8 +6,8 @@
"repositoryURL": "https://github.com/SDWebImage/SDWebImage.git", "repositoryURL": "https://github.com/SDWebImage/SDWebImage.git",
"state": { "state": {
"branch": null, "branch": null,
"revision": "3e48cb68d8e668d146dc59c73fb98cb628616236", "revision": "73b9397cfbd902f606572964055464903b1d84c6",
"version": "5.13.2" "version": "5.19.0"
} }
} }
] ]

View File

@ -20,7 +20,7 @@ The framework provide the different View structs, which API match the SwiftUI fr
## Apple VisionOS ## 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. 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. 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 ## Installation

View File

@ -8,7 +8,7 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'SDWebImageSwiftUI' 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.summary = 'SwiftUI Image loading and Animation framework powered by SDWebImage'
s.description = <<-DESC s.description = <<-DESC

View File

@ -15,7 +15,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string> <string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>3.0.0-beta.3</string> <string>3.0.0</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string> <string>$(CURRENT_PROJECT_VERSION)</string>
</dict> </dict>