From e23151a5a7253323b50a3a3f0dbbd48434855ad4 Mon Sep 17 00:00:00 2001 From: Honza Dvorsky Date: Thu, 30 Nov 2023 09:17:09 +0100 Subject: [PATCH 1/3] Add visionOS platform support --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index f6b1f30..449f9af 100644 --- a/Package.swift +++ b/Package.swift @@ -32,7 +32,7 @@ if ProcessInfo.processInfo.environment["SWIFT_OPENAPI_STRICT_CONCURRENCY"].flatM let package = Package( name: "swift-openapi-urlsession", platforms: [ - .macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6), + .macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6), .visionOS(.v1) ], products: [ .library( From 60d1457dae1ab72ce1587bf87f78cf516ff150aa Mon Sep 17 00:00:00 2001 From: Honza Dvorsky Date: Thu, 30 Nov 2023 09:47:23 +0100 Subject: [PATCH 2/3] Update support matrix in docs --- README.md | 6 +++--- .../Documentation.docc/Documentation.md | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6819157..e32655d 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,9 @@ Use the transport with client code generated by [Swift OpenAPI Generator](https: ## Supported platforms and minimum versions -| macOS | Linux | iOS | tvOS | watchOS | -| :-: | :-: | :-: | :-: | :-: | -| ✅ 10.15+ | ✅ | ✅ 13+ | ✅ 13+ | ✅ 6+ | +| macOS | Linux | iOS | tvOS | watchOS | visionOS | +| :-: | :-: | :-: | :-: | :-: | :-: | +| ✅ 10.15+ | ✅ | ✅ 13+ | ✅ 13+ | ✅ 6+ | ✅ 1+ | Note: Streaming support only available on macOS 12+, iOS 15+, tvOS 15+, and watchOS 8+.For streaming support on Linux, please use the [AsyncHTTPClient diff --git a/Sources/OpenAPIURLSession/Documentation.docc/Documentation.md b/Sources/OpenAPIURLSession/Documentation.docc/Documentation.md index 8d87088..f830674 100644 --- a/Sources/OpenAPIURLSession/Documentation.docc/Documentation.md +++ b/Sources/OpenAPIURLSession/Documentation.docc/Documentation.md @@ -10,12 +10,12 @@ Use the transport with client code generated by [Swift OpenAPI Generator](https: ### Supported platforms and minimum versions -| macOS | Linux | iOS | tvOS | watchOS | -| :-: | :-: | :-: | :-: | :-: | -| ✅ 10.15+ | ✅ | ✅ 13+ | ✅ 13+ | ✅ 6+ | +| macOS | Linux | iOS | tvOS | watchOS | visionOS | +| :-: | :-: | :-: | :-: | :-: | :-: | +| ✅ 10.15+ | ✅ | ✅ 13+ | ✅ 13+ | ✅ 6+ | ✅ 1+ | -Note: Streaming support only available on macOS 12+, iOS 15+, tvOS 15+, and -watchOS 8+.For streaming support on Linux, please use the [AsyncHTTPClient +Note: Streaming support only available on macOS 12+, iOS 15+, tvOS 15+, +watchOS 8+, and visionOS 1+.For streaming support on Linux, please use the [AsyncHTTPClient Transport](https://github.com/swift-server/swift-openapi-async-http-client) ### Usage From dc2b18f64ef8064ada215d266bdcf7ab9fc17097 Mon Sep 17 00:00:00 2001 From: Honza Dvorsky Date: Thu, 30 Nov 2023 09:57:18 +0100 Subject: [PATCH 3/3] Language fixups --- README.md | 4 +--- Sources/OpenAPIURLSession/Documentation.docc/Documentation.md | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e32655d..d84ddf6 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,7 @@ Use the transport with client code generated by [Swift OpenAPI Generator](https: | :-: | :-: | :-: | :-: | :-: | :-: | | ✅ 10.15+ | ✅ | ✅ 13+ | ✅ 13+ | ✅ 6+ | ✅ 1+ | -Note: Streaming support only available on macOS 12+, iOS 15+, tvOS 15+, and -watchOS 8+.For streaming support on Linux, please use the [AsyncHTTPClient -Transport](https://github.com/swift-server/swift-openapi-async-http-client) +Note: Streaming support only available on macOS 12+, iOS 15+, tvOS 15+, watchOS 8+, and visionOS 1+. For streaming support on Linux, please use the [AsyncHTTPClient Transport](https://github.com/swift-server/swift-openapi-async-http-client) ## Usage diff --git a/Sources/OpenAPIURLSession/Documentation.docc/Documentation.md b/Sources/OpenAPIURLSession/Documentation.docc/Documentation.md index f830674..d65da4e 100644 --- a/Sources/OpenAPIURLSession/Documentation.docc/Documentation.md +++ b/Sources/OpenAPIURLSession/Documentation.docc/Documentation.md @@ -14,9 +14,7 @@ Use the transport with client code generated by [Swift OpenAPI Generator](https: | :-: | :-: | :-: | :-: | :-: | :-: | | ✅ 10.15+ | ✅ | ✅ 13+ | ✅ 13+ | ✅ 6+ | ✅ 1+ | -Note: Streaming support only available on macOS 12+, iOS 15+, tvOS 15+, -watchOS 8+, and visionOS 1+.For streaming support on Linux, please use the [AsyncHTTPClient -Transport](https://github.com/swift-server/swift-openapi-async-http-client) +Note: Streaming support only available on macOS 12+, iOS 15+, tvOS 15+, watchOS 8+, and visionOS 1+. For streaming support on Linux, please use the [AsyncHTTPClient Transport](https://github.com/swift-server/swift-openapi-async-http-client) ### Usage