Skip to content

Commit d29e824

Browse files
authored
Require swift 5.5.2 for concurrency (#576)
* Require swift 5.5.2 Xcode 5.5.2 * Fix up availability and compiler checks Available for macOS 10.15, iOS 13
1 parent 51ceacc commit d29e824

File tree

585 files changed

+1178
-1178
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

585 files changed

+1178
-1178
lines changed

Sources/Soto/Extensions/DynamoDB/DynamoDB+Codable+async.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
//
1313
//===----------------------------------------------------------------------===//
1414

15-
#if compiler(>=5.5) && canImport(_Concurrency)
15+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1616

1717
import SotoCore
1818

19-
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
19+
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2020
extension DynamoDB {
2121
// MARK: Codable API
2222

@@ -181,4 +181,4 @@ extension DynamoDB {
181181
}
182182
}
183183

184-
#endif // compiler(>=5.5) && canImport(_Concurrency)
184+
#endif // compiler(>=5.5.2) && canImport(_Concurrency)

Sources/Soto/Extensions/S3/S3+multipart+async.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
//
1313
//===----------------------------------------------------------------------===//
1414

15-
#if compiler(>=5.5) && canImport(_Concurrency)
15+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1616

1717
import NIO
1818
import SotoCore
1919

20-
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
20+
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2121
extension S3 {
2222
/// Multipart download of a file from S3.
2323
///
@@ -578,7 +578,7 @@ extension S3 {
578578
}
579579
}
580580

581-
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
581+
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
582582
extension S3 {
583583
/// Do all the work for opening a file and closing it for MultiUpload function
584584
func openFileForMultipartUpload(
@@ -666,7 +666,7 @@ extension S3 {
666666
}
667667
}
668668

669-
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
669+
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
670670
extension Sequence {
671671
/// Returns an array containing the results of mapping the given async closure over
672672
/// the sequence’s elements.
@@ -715,7 +715,7 @@ extension Sequence {
715715
}
716716
}
717717

718-
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
718+
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
719719
extension S3.ThreadPoolProvider {
720720
/// async version of destroy
721721
func destroy(_ threadPool: NIOThreadPool) async throws {
@@ -733,4 +733,4 @@ extension S3.ThreadPoolProvider {
733733
}
734734
}
735735

736-
#endif // compiler(>=5.5) && canImport(_Concurrency)
736+
#endif // compiler(>=5.5.2) && canImport(_Concurrency)

Sources/Soto/Services/ACM/ACM_API+async.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto-codegenerator.
1616
// DO NOT EDIT.
1717

18-
#if compiler(>=5.5) && canImport(_Concurrency)
18+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1919

2020
import SotoCore
2121

@@ -106,4 +106,4 @@ extension ACM {
106106
}
107107
}
108108

109-
#endif // compiler(>=5.5) && canImport(_Concurrency)
109+
#endif // compiler(>=5.5.2) && canImport(_Concurrency)

Sources/Soto/Services/ACM/ACM_Paginator+async.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto-codegenerator.
1616
// DO NOT EDIT.
1717

18-
#if compiler(>=5.5) && canImport(_Concurrency)
18+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1919

2020
import SotoCore
2121

@@ -46,4 +46,4 @@ extension ACM {
4646
}
4747
}
4848

49-
#endif // compiler(>=5.5) && canImport(_Concurrency)
49+
#endif // compiler(>=5.5.2) && canImport(_Concurrency)

Sources/Soto/Services/ACM/ACM_Waiter+async.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto-codegenerator.
1616
// DO NOT EDIT.
1717

18-
#if compiler(>=5.5) && canImport(_Concurrency)
18+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1919

2020
import SotoCore
2121

@@ -43,4 +43,4 @@ extension ACM {
4343
}
4444
}
4545

46-
#endif // compiler(>=5.5) && canImport(_Concurrency)
46+
#endif // compiler(>=5.5.2) && canImport(_Concurrency)

Sources/Soto/Services/ACMPCA/ACMPCA_API+async.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto-codegenerator.
1616
// DO NOT EDIT.
1717

18-
#if compiler(>=5.5) && canImport(_Concurrency)
18+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1919

2020
import SotoCore
2121

@@ -477,4 +477,4 @@ extension ACMPCA {
477477
}
478478
}
479479

480-
#endif // compiler(>=5.5) && canImport(_Concurrency)
480+
#endif // compiler(>=5.5.2) && canImport(_Concurrency)

Sources/Soto/Services/ACMPCA/ACMPCA_Paginator+async.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto-codegenerator.
1616
// DO NOT EDIT.
1717

18-
#if compiler(>=5.5) && canImport(_Concurrency)
18+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1919

2020
import SotoCore
2121

@@ -113,4 +113,4 @@ extension ACMPCA {
113113
}
114114
}
115115

116-
#endif // compiler(>=5.5) && canImport(_Concurrency)
116+
#endif // compiler(>=5.5.2) && canImport(_Concurrency)

Sources/Soto/Services/ACMPCA/ACMPCA_Waiter+async.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto-codegenerator.
1616
// DO NOT EDIT.
1717

18-
#if compiler(>=5.5) && canImport(_Concurrency)
18+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1919

2020
import SotoCore
2121

@@ -75,4 +75,4 @@ extension ACMPCA {
7575
}
7676
}
7777

78-
#endif // compiler(>=5.5) && canImport(_Concurrency)
78+
#endif // compiler(>=5.5.2) && canImport(_Concurrency)

Sources/Soto/Services/APIGateway/APIGateway_API+async.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto-codegenerator.
1616
// DO NOT EDIT.
1717

18-
#if compiler(>=5.5) && canImport(_Concurrency)
18+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1919

2020
import SotoCore
2121

@@ -611,4 +611,4 @@ extension APIGateway {
611611
}
612612
}
613613

614-
#endif // compiler(>=5.5) && canImport(_Concurrency)
614+
#endif // compiler(>=5.5.2) && canImport(_Concurrency)

Sources/Soto/Services/APIGateway/APIGateway_Paginator+async.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto-codegenerator.
1616
// DO NOT EDIT.
1717

18-
#if compiler(>=5.5) && canImport(_Concurrency)
18+
#if compiler(>=5.5.2) && canImport(_Concurrency)
1919

2020
import SotoCore
2121

@@ -288,4 +288,4 @@ extension APIGateway {
288288
}
289289
}
290290

291-
#endif // compiler(>=5.5) && canImport(_Concurrency)
291+
#endif // compiler(>=5.5.2) && canImport(_Concurrency)

0 commit comments

Comments
 (0)