diff --git a/Package.resolved b/Package.resolved index bcec95b..dd85d8f 100644 --- a/Package.resolved +++ b/Package.resolved @@ -33,8 +33,8 @@ "repositoryURL": "https://github.com/apple/swift-nio.git", "state": { "branch": null, - "revision": "d161bf658780b209c185994528e7e24376cf7283", - "version": "2.29.0" + "revision": "d79e33308b0ac83326b0ead0ea6446e604b8162d", + "version": "2.30.0" } }, { diff --git a/Package.swift b/Package.swift index 6ab623a..22df58f 100644 --- a/Package.swift +++ b/Package.swift @@ -38,7 +38,7 @@ let package = Package( targets: ["ShapeCoding"]), ], dependencies: [ - .package(url: "https://github.com/apple/swift-nio.git", from: "2.28.0"), + .package(url: "https://github.com/apple/swift-nio.git", from: "2.30.0"), .package(url: "https://github.com/apple/swift-nio-ssl.git", from: "2.0.0"), .package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"), .package(url: "https://github.com/apple/swift-metrics.git", "1.0.0"..<"3.0.0"), diff --git a/Sources/_SmokeHTTPClientConcurrency/HTTPOperationsClient+executeRetriableWithOutput.swift b/Sources/_SmokeHTTPClientConcurrency/HTTPOperationsClient+executeRetriableWithOutput.swift index 6334247..dedcda3 100644 --- a/Sources/_SmokeHTTPClientConcurrency/HTTPOperationsClient+executeRetriableWithOutput.swift +++ b/Sources/_SmokeHTTPClientConcurrency/HTTPOperationsClient+executeRetriableWithOutput.swift @@ -15,7 +15,7 @@ // _SmokeHTTPClientConcurrency // -#if compiler(>=5.5) && $AsyncAwait +#if compiler(>=5.5) import Foundation import NIO @@ -38,7 +38,7 @@ public extension HTTPOperationsClient { - Returns: the response body. - Throws: If an error occurred during the request. */ - @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *) + @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *) func executeRetriableWithOutput( endpointOverride: URL? = nil, diff --git a/Sources/_SmokeHTTPClientConcurrency/HTTPOperationsClient+executeRetriableWithoutOutput.swift b/Sources/_SmokeHTTPClientConcurrency/HTTPOperationsClient+executeRetriableWithoutOutput.swift index bcc2794..ad77b69 100644 --- a/Sources/_SmokeHTTPClientConcurrency/HTTPOperationsClient+executeRetriableWithoutOutput.swift +++ b/Sources/_SmokeHTTPClientConcurrency/HTTPOperationsClient+executeRetriableWithoutOutput.swift @@ -15,7 +15,7 @@ // _SmokeHTTPClientConcurrency // -#if compiler(>=5.5) && $AsyncAwait +#if compiler(>=5.5) import Foundation import NIO @@ -37,7 +37,7 @@ public extension HTTPOperationsClient { - retryOnError: function that should return if the provided error is retryable. - Throws: If an error occurred during the request. */ - @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *) + @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *) func executeRetriableWithoutOutput( endpointOverride: URL? = nil, diff --git a/Sources/_SmokeHTTPClientConcurrency/HTTPOperationsClient+executeWithOutput.swift b/Sources/_SmokeHTTPClientConcurrency/HTTPOperationsClient+executeWithOutput.swift index c119dad..798e515 100644 --- a/Sources/_SmokeHTTPClientConcurrency/HTTPOperationsClient+executeWithOutput.swift +++ b/Sources/_SmokeHTTPClientConcurrency/HTTPOperationsClient+executeWithOutput.swift @@ -15,7 +15,7 @@ // _SmokeHTTPClientConcurrency // -#if compiler(>=5.5) && $AsyncAwait +#if compiler(>=5.5) import Foundation import NIO @@ -37,7 +37,7 @@ public extension HTTPOperationsClient { - Returns: the response body. - Throws: If an error occurred during the request. */ - @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *) + @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *) func executeWithOutput( endpointOverride: URL? = nil, diff --git a/Sources/_SmokeHTTPClientConcurrency/HTTPOperationsClient+executeWithoutOutput.swift b/Sources/_SmokeHTTPClientConcurrency/HTTPOperationsClient+executeWithoutOutput.swift index 773dac1..8d97d30 100644 --- a/Sources/_SmokeHTTPClientConcurrency/HTTPOperationsClient+executeWithoutOutput.swift +++ b/Sources/_SmokeHTTPClientConcurrency/HTTPOperationsClient+executeWithoutOutput.swift @@ -15,7 +15,7 @@ // _SmokeHTTPClientConcurrency // -#if compiler(>=5.5) && $AsyncAwait +#if compiler(>=5.5) import Foundation import NIO @@ -37,7 +37,7 @@ public extension HTTPOperationsClient { - invocationContext: context to use for this invocation. - Throws: If an error occurred during the request. */ - @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *) + @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *) func executeWithoutOutput( endpointOverride: URL? = nil,