From 3b31699fb898b2df4bf412c527e71408f418f009 Mon Sep 17 00:00:00 2001 From: Ian Saultz <52051793+atierian@users.noreply.github.com> Date: Fri, 17 May 2024 10:28:51 -0400 Subject: [PATCH 1/2] feat: bump toolchain support to 5.9 and add support blurb in readme --- Package.swift | 2 +- README.md | 17 ++++++++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/Package.swift b/Package.swift index 25639dce9c..2923f2f821 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.7 +// swift-tools-version:5.9 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription diff --git a/README.md b/README.md index d335796bc1..3f766dc3bf 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,13 @@ The Amplify Library for Swift is layered on the [AWS SDK for Swift](https://aws. > To use Amplify Swift with visionOS, you'll need to target the `visionos-preview` branch. > For more information, see [Platform Support](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview#platform-support) on the `visionos-preview` branch. +### Swift Version Support + +The current minimum supported Swift language version is **Swift 5.9**. + +> [!NOTE] +> The minimum Swift language version supported by Amplify Swift matches the version included in the minimum Xcode version allowed by Apple to upload apps to App Store Connect. Historically, Apple updates the minimum allowed Xcode version in April each year. You can expect Amplify Swift to update the minimum supported Swift version within the following 60 days. This is done to ensure Amplify Swift can provide modern Swift APIs and take advantage of Swift language improvements. + ## Semantic versioning We follow [semantic versioning](https://semver.org/) for our releases. @@ -51,7 +58,7 @@ Applications that evaluate all members of an enumeration using a `switch` statem ## License -This library is licensed under the Apache 2.0 License. +This library is licensed under the Apache 2.0 License. ## Installation @@ -59,10 +66,10 @@ Amplify requires the following Xcode versions, according to the targeted platfor | Platform | Xcode Version | | -------------:| ------------: | -| iOS | 14.1+ | -| macOS | 14.1+ | -| tvOS | 14.3+ | -| watchOS | 14.3+ | +| iOS | 15.0+ | +| macOS | 15.0+ | +| tvOS | 15.0+ | +| watchOS | 15.0+ | | visionOS | 15 beta 2+ | | For more detailed instructions, follow the getting started guides in our [documentation site](https://docs.amplify.aws/lib/q/platform/ios) | From fc3502ba0e770c82bab4e51468ca1173ee04fdb9 Mon Sep 17 00:00:00 2001 From: Ian Saultz <52051793+atierian@users.noreply.github.com> Date: Fri, 17 May 2024 11:31:26 -0400 Subject: [PATCH 2/2] revert toolchain bump. handled in other PR --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 2923f2f821..25639dce9c 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.9 +// swift-tools-version:5.7 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription