Skip to content

Commit cebcf04

Browse files
authored
Drop Swift 5.2 and 5.3 (#262)
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.
1 parent f6c7c5a commit cebcf04

8 files changed

+5
-98
lines changed

.swiftformat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# file options
22

3-
--swiftversion 5.2
3+
--swiftversion 5.4
44
--exclude .build
55

66
# format options

Package.swift

+1-1
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
import PackageDescription
44

docker/Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
ARG swift_version=5.2
2-
# FIXME when 5.2 images are available
1+
ARG swift_version=5.4
32
ARG base_image=swift:$swift_version-amazonlinux2
43
FROM $base_image
54
# needed to do again after FROM due to docker limitation

docker/Dockerfile.ubuntu

-36
This file was deleted.

docker/docker-compose.1804.52.yaml

-20
This file was deleted.

docker/docker-compose.al2.52.yaml

-18
This file was deleted.

docker/docker-compose.al2.53.yaml

-18
This file was deleted.

readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ If you have never used AWS Lambda or Docker before, check out this [getting star
1717
First, create a SwiftPM project and pull Swift AWS Lambda Runtime as dependency into your project
1818

1919
```swift
20-
// swift-tools-version:5.2
20+
// swift-tools-version:5.6
2121

2222
import PackageDescription
2323

@@ -80,7 +80,7 @@ Next, create a `main.swift` and implement your Lambda.
8080
First, add a dependency on the event packages:
8181

8282
```swift
83-
// swift-tools-version:5.2
83+
// swift-tools-version:5.6
8484

8585
import PackageDescription
8686

0 commit comments

Comments
 (0)