Skip to content

Commit fd483be

Browse files
committed
Drop support for Swift 5.9
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 fd483be

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
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"
@@ -22,3 +22,5 @@ jobs:
2222
name: Static SDK
2323
# Workaround https://github.com/nektos/act/issues/1875
2424
uses: apple/swift-nio/.github/workflows/static_sdk.yml@main
25+
with:
26+
linux_5_9_enabled: false

.github/workflows/pull_request.yml

Lines changed: 5 additions & 1 deletion
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,8 +24,12 @@ 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
3032
# Workaround https://github.com/nektos/act/issues/1875
3133
uses: apple/swift-nio/.github/workflows/static_sdk.yml@main
34+
with:
35+
linux_5_9_enabled: false

Package.swift

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 2 deletions
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)