Skip to content

Commit 59971a8

Browse files
authored
Drop support for Swift 5.2 and 5.3 (#154)
As outlined in a [Swift forums post in November ’21](https://forums.swift.org/t/swiftnio-swift-version-support/53232), SwiftNIO will only support the latest non-patch Swift release and the 2 immediately prior non-patch versions. - drop support for Swift 5.2 and 5.3. - update CI for Swift 5.4 to run on bionic instead of focal to ensure that we still test bionic.
1 parent 0cd4cc3 commit 59971a8

File tree

7 files changed

+21
-55
lines changed

7 files changed

+21
-55
lines changed

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.2
1+
// swift-tools-version:5.4
22
//===----------------------------------------------------------------------===//
33
//
44
// This source file is part of the SwiftNIO open source project

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ All code will go through code review like in the other repositories related to t
1414
`swift-nio-extras` part of the SwiftNIO 2 family of repositories and depends on the following:
1515

1616
- [`swift-nio`](https://github.com/apple/swift-nio), version 2.30.0 or better.
17-
- Swift 5.2.
17+
- Swift 5.4.
1818
- `zlib` and its development headers installed on the system. But don't worry, you'll find `zlib` on pretty much any UNIX system that can compile any sort of code.
1919

2020
To depend on `swift-nio-extras`, put the following in the `dependencies` of your `Package.swift`:
@@ -25,7 +25,7 @@ To depend on `swift-nio-extras`, put the following in the `dependencies` of your
2525

2626
### Support for older Swift versions
2727

28-
Earlier versions of SwiftNIO (2.29.x and lower) and SwiftNIOExtras (1.9.x and lower) supported Swift 5.0 and 5.1.
28+
Earlier versions of SwiftNIO (2.39.x and lower) and SwiftNIOExtras (1.10.x and lower) supported Swift 5.2 and 5.3, SwiftNIO (2.29.x and lower) and SwiftNIOExtras (1.9.x and lower) supported Swift 5.0 and 5.1.
2929

3030
On the [`nio-extras-0.1`](https://github.com/apple/swift-nio-extras/tree/nio-extras-0.1) branch, you can find the `swift-nio-extras` version for the SwiftNIO 1 family. It requires Swift 4.1 or better.
3131

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG swift_version=5.2
1+
ARG swift_version=5.4
22
ARG ubuntu_version=focal
33
ARG base_image=swift:$swift_version-$ubuntu_version
44
FROM $base_image

docker/docker-compose.1604.52.yaml

Lines changed: 0 additions & 18 deletions
This file was deleted.

docker/docker-compose.1804.53.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

docker/docker-compose.1804.54.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: "3"
2+
3+
services:
4+
5+
runtime-setup:
6+
image: swift-nio-extras:18.04-5.4
7+
build:
8+
args:
9+
base_image: "swift:5.4-bionic"
10+
ubuntu_version: "bionic"
11+
swift_version: "5.4"
12+
13+
test:
14+
image: swift-nio-extras:18.04-5.4
15+
16+
shell:
17+
image: swift-nio-extras:18.04-5.4

docker/docker-compose.2004.54.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)