Skip to content

Commit f1936ce

Browse files
authored
Drop Swift 5.2 and 5.3 (#14)
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. In this commit we drop support for Swift 5.2 and 5.3.
1 parent 2101c95 commit f1936ce

File tree

8 files changed

+4
-97
lines changed

8 files changed

+4
-97
lines changed

.swiftformat

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

Examples/Simple/Sources/APIGateway/APIGatewayProxyLambda.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ struct APIGatewayProxyLambda: LambdaHandler {
2424
typealias Event = APIGatewayV2Request
2525
typealias Output = APIGatewayV2Response
2626

27-
init(context: Lambda.InitializationContext) async throws {}
27+
init(context: LambdaInitializationContext) async throws {}
2828

2929
func handle(_ request: APIGatewayV2Request, context: LambdaContext) async throws -> APIGatewayV2Response {
3030
context.logger.debug("hello, api gateway!")

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

docker/Dockerfile

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

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

docker/docker-compose.1804.52.yaml

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

docker/docker-compose.al2.52.yaml

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

docker/docker-compose.al2.53.yaml

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

0 commit comments

Comments
 (0)