Skip to content

Commit 373862a

Browse files
authored
Drop support for Swift 5.9 (#830)
Motivation: Now that Swift 6.1 has been released, Swift 5.9 has dropped out of the support window. Modifications: - Bumpt tools versions to 5.9 - Disable 5.9 workflows Result: 5.9 is no longer supported
1 parent 16886fd commit 373862a

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Unit tests
1212
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
1313
with:
14-
linux_5_9_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
14+
linux_5_9_enabled: false
1515
linux_5_10_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
1616
linux_6_0_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable"
1717
linux_6_1_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable"

.github/workflows/pull_request.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Unit tests
1515
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
1616
with:
17-
linux_5_9_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
17+
linux_5_9_enabled: false
1818
linux_5_10_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
1919
linux_6_0_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable"
2020
linux_6_1_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable"
@@ -24,6 +24,8 @@ jobs:
2424
cxx-interop:
2525
name: Cxx interop
2626
uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main
27+
with:
28+
linux_5_9_enabled: false
2729

2830
static-sdk:
2931
name: Static SDK

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.8
1+
// swift-tools-version:5.9
22
//===----------------------------------------------------------------------===//
33
//
44
// This source file is part of the AsyncHTTPClient open source project

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ Please have a look at [SECURITY.md](SECURITY.md) for AsyncHTTPClient's security
306306

307307
## Supported Versions
308308

309-
The most recent versions of AsyncHTTPClient support Swift 5.6 and newer. The minimum Swift version supported by AsyncHTTPClient releases are detailed below:
309+
The most recent versions of AsyncHTTPClient support Swift 5.9 and newer. The minimum Swift version supported by AsyncHTTPClient releases are detailed below:
310310

311311
AsyncHTTPClient | Minimum Swift Version
312312
--------------------|----------------------
@@ -316,4 +316,5 @@ AsyncHTTPClient | Minimum Swift Version
316316
`1.13.0 ..< 1.18.0` | 5.5.2
317317
`1.18.0 ..< 1.20.0` | 5.6
318318
`1.20.0 ..< 1.21.0` | 5.7
319-
`1.21.0 ...` | 5.8
319+
`1.21.0 ..< 1.26.0` | 5.8
320+
`1.26.0 ...` | 5.9

0 commit comments

Comments
 (0)